Skip to content

Review a proposal

Two pipelines propose changes instead of making them. coach proposes changes to an agent’s instructions and skills, from corrections people keep making. improve proposes a change to another pipeline’s file. A change reaches you only after the runner has checked its evidence and, when it changes an agent’s or a pipeline’s text, replays have shown it helps. You decide at the run’s gate. How coach and improve prove a change explains the checks.

Both pipelines need an agent named improver on the team.

  1. Choose Pipelines, then coach.
  2. In What the run works on, write Coach <agent name> as the title, such as Coach fixer. The agent’s name must be a whole word in the title or, failing that, the details, and must be the only agent name there.
  3. Choose Start the run.

Coach reads only the agent’s sessions that have been quiet for 30 minutes, from the last 90 days. It reads each session once and at most 8 sessions per run, so a second run finds what is new.

The run can end without asking you. It ends as succeeded with Nothing new to read. when no session is unread. It ends as succeeded when no change has enough evidence, since a correction needs two sessions and deleting a rule needs two findings of harm. It ends as stopped when every hunk breaks a rule for changes, or when the change does not win on replays.

When a change wins its replays, the run waits at its gate. The run’s page shows the proposal under Needs a decision, headed Proposed change to <agent> · waiting for the shepherd.

  1. Read the summary and the table. It compares With the change and Current on Corrections still needed, the turns that still needed the correction, and Other turns worse.
  2. Read each hunk. Its title says what it does, and under it are the change as a diff and the quotes it rests on. Each quote names who said it, the step, and what it shows. A title is one of these.
    • Add a rule, Reword a rule or Delete a rule in the agent’s instructions.
    • Add the skill or Change the skill, followed by the skill’s name.
    • Add to a person’s profile, followed by their login.
    • Make this a lint rule, type or check.
  3. To keep a hunk, choose Keep. To turn one down, write a reason in the field Why, needed to turn it down, then choose Turn down. A hunk you leave alone counts as kept.
  4. Choose Approve or Reject under Needs a decision. Approve applies every hunk you have not turned down. Reject turns them all down.

Each decision shows on the hunk with who made it and why. The run ends as succeeded when at least one hunk applied, with The kept hunks are applied., and as stopped with The shepherd kept the agent as it is. when none did.

A hunk of the kind Make this a lint rule, type or check changes nothing. The run’s summary lists it as a check to add. A turned-down hunk is remembered, so coach does not propose the same change again until more sessions back it.

If the agent’s instructions or a skill changed after the proposal was written, the hunks may no longer apply. The run then hands off with the reason.

improve edits a pipeline’s file, so it runs on the repo that holds the files.

  1. Choose Pipelines, then improve.
  2. Write Improve <pipeline name> as the title, such as Improve bug-fix. Add what to improve in the details, if you want to steer it.
  3. Open the repo chip, or type #, and pick the team’s pipelines repo.
  4. Choose Start the run.

improve scores its change by replaying past runs of the named pipeline. If that pipeline has no finished runs to replay, the run hands off. When the change does not score better, or the runs give no reason to change anything, the run ends without asking you.

When a change scores better, the run waits at its gate with a pull request open on the pipelines repo. The proposal shows on the run’s page and, beside the pipeline’s Versions, on the pipeline’s page. Its link The run that proposed it goes back to the run.

  1. Read the table. It compares With the change and Current on Finished, Reminders and hand-offs, Stages run, Cost and Time.
  2. Read the diff and the quotes each hunk rests on, and open the Pull request.
  3. Choose Approve to merge the pull request, or Reject to turn the change down.

A pipeline change is kept or turned down whole, since it was scored whole. After Approve, the change is the pipeline’s current version and the run ends as succeeded with Merged. The change is now the current version.