Skip to content

fix(shepherd): correct the settle procedure and stop restating its command - #430

Merged
evanharmon1 merged 1 commit into
mainfrom
fix/settle-docs-fix-path
Aug 12, 2026
Merged

fix(shepherd): correct the settle procedure and stop restating its command#430
evanharmon1 merged 1 commit into
mainfrom
fix/settle-docs-fix-path

Conversation

@evanharmon1

Copy link
Copy Markdown
Owner

What

Both AGENTS.md and the shepherd SKILL.md told agents to answer a non-thread
finding "(fix it, decline it, or file it), then settle" — and only two of
those three can end there. settle --disposition accepts declined|filed and
nothing else, and a fix means a push, which moves the head, invalidates the
cycle the state file describes, and starts a fresh one. An agent that fixed
such a finding and followed the prose reached a command that cannot succeed,
having been told it completes the cycle.

Both files now separate the paths: fixing means push and let the new head be
reviewed on its own merits; settle records the two answers that leave the
code alone, with its required note, because the record is a human's
adjudication and not a suppression.

AGENTS.md additionally stops restating the invocation and routes to the
recipe in SKILL.md. That is not tidying — evanharmon1/harmon-init#799 inlined
this same command and three consecutive review rounds each found a different
defect in it: missing required flags, this impossible fix path, and
--surface comment|review parsing as a shell pipe when copied. Deleting the
duplicate converged it immediately. One authoritative copy, in the file that
ships the command, cannot drift from itself.

SKILL.md's fenced recipe was already correct and is unchanged apart from the
fix-path sentence.

Consumers

evanharmon1/harmon-init#799 already corrected its own copy rather than waiting
on this release, so a task sync:skills after this ships re-vendors matching
guidance instead of overwriting it with the broken text.

Verification

task verify green; local task challenge and task review each clean in one
round.

Closes #427

…mmand

Closes #427.

Both files told agents to answer a non-thread finding "(fix it, decline
it, or file it), then settle" — and only two of those three can end
there. `settle --disposition` accepts `declined|filed` and nothing else,
and a fix means a push, which moves the head, invalidates the cycle the
state file describes, and starts a fresh one. An agent that fixed such a
finding and followed the prose reached a command that cannot succeed,
having been told it completes the cycle.

Both now separate the paths: fixing means push and let the new head be
reviewed on its own merits; settle records the two answers that leave
the code alone, with its required note, because the record is a human's
adjudication and not a suppression.

AGENTS.md additionally stops restating the invocation and routes to the
recipe in the shepherd SKILL.md. That is not tidying: harmon-init#799
inlined the same command and three consecutive review rounds each found
a different defect in it — missing required flags, this impossible fix
path, and `--surface comment|review` parsing as a shell pipe when
copied. Deleting the duplicate converged it immediately, and one
authoritative copy in the file that ships the command cannot drift from
itself. SKILL.md's fenced recipe was already correct and is unchanged
apart from the fix-path sentence.

Consumers already have the corrected text: harmon-init#799 fixed its own
copy rather than waiting on this release, so a `task sync:skills` after
this ships re-vendors matching guidance instead of overwriting it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JzKn4zxYJAZXX3zg9v4Nqy
@evanharmon1

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 77634568ec

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@evanharmon1
evanharmon1 marked this pull request as ready for review August 12, 2026 03:01
@evanharmon1

Copy link
Copy Markdown
Owner Author

Ready for review — all gates clean

Head 7763456.

Gate Result
Required CI checks 5/5 pass
Local task verify green
Local task challenge clean, round 1
Local task review clean, round 1
Current-head Codex cloud cycle clean (exit 0)
Review threads none raised
mergeStateStatus CLEAN

One thing worth recording, because the guard caught me rather than the other way round: the first CI run failed the closing-keywords check. I had written acceptance criteria on #427, satisfied both, and never ticked them — then used a closing keyword anyway. That is precisely the lapse the guard exists to prevent, and it was mine. Both criteria were verified against the diff before ticking (one grep came back empty only because the phrase wraps across lines in AGENTS.md; the text is there and says what the criterion requires).

Consumers already carry the corrected text: evanharmon1/harmon-init#799 fixed its own copy rather than waiting on this release, so a task sync:skills after this ships re-vendors matching guidance instead of overwriting it.

@evanharmon1
evanharmon1 merged commit 8a3e306 into main Aug 12, 2026
5 of 6 checks passed
@evanharmon1
evanharmon1 deleted the fix/settle-docs-fix-path branch August 12, 2026 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

shepherd docs: "fix it, then settle" is impossible — settle takes only declined|filed, and a fix moves the head

1 participant