Repository navigation
feat(bin): require a checked: part on every captain call and needs-decision - #23
Merged
Merged
Conversation
…cision An escalation that names no read-only check reads exactly like a verified one. In this fleet's own status logs roughly a fifth of escalated questions either were answerable by a read-only check outright or hid a checkable fact inside a judgement, and the motivating case was a call recorded as "confirmed" by a read-only query with no query, output, or date filed anywhere while other records contradicted it. Every captain hold reason, worker needs-decision line, and questions-for-the-captain list in a scout report now carries a one-line `checked:` part naming the check that was run and its result, or `checked: none possible - <why>` so an absent check reads as absent. captain-hold-lifecycle states the convention once; ask-user-authority, fm-brief.sh's ship, scout, and secondmate scaffolds, and fm-captain-hold.sh's header carry pointers to it. No script refuses a reason or status line without the part.
max-metaplanet
added a commit
that referenced
this pull request
Oct 6, 2026
…cision (#23) * feat(bin): require a checked: part on every captain call and needs-decision An escalation that names no read-only check reads exactly like a verified one. In this fleet's own status logs roughly a fifth of escalated questions either were answerable by a read-only check outright or hid a checkable fact inside a judgement, and the motivating case was a call recorded as "confirmed" by a read-only query with no query, output, or date filed anywhere while other records contradicted it. Every captain hold reason, worker needs-decision line, and questions-for-the-captain list in a scout report now carries a one-line `checked:` part naming the check that was run and its result, or `checked: none possible - <why>` so an absent check reads as absent. captain-hold-lifecycle states the convention once; ask-user-authority, fm-brief.sh's ship, scout, and secondmate scaffolds, and fm-captain-hold.sh's header carry pointers to it. No script refuses a reason or status line without the part. * no-mistakes(review): Narrow secondmate checked: rule to escalated decisions only
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Add a required 'checked:' convention.
Every captain hold (the reasons passed to bin/fm-captain-hold.sh hold), every worker needs-decision status line, and every 'questions for the captain/owner' list in scout reports must carry a checked: part naming the read-only check that was run and its result, or 'checked: none possible - '.
Put the convention in its owners - the captain-hold-lifecycle skill, ask-user-authority where it formats escalations, the brief scaffold status-protocol text in bin/fm-brief.sh, and the scout report contract - not as AGENTS.md bloat.
Do not make the scripts refuse a missing checked: line yet; convention plus guidance only.
Context, from the jev-lab report that proposed it (data/jev-escalation-check/report.md in the jev-lab home, sections 6-8):
Of 53 unique escalation questions in the local status logs, about 9% were answerable by a read-only check with no judgement and about 11% more contained a checkable fact inside a judgement.
A classifier or rule to catch these was not worth building; the cheap intervention is a required line on every captain hold and needs-decision naming the check already run and its result, or why none exists, so an answer that was never checked cannot pass as settled.
The motivating case was a hold recorded as "confirmed" by a read-only query with no query, output or date recorded anywhere, while other records contradicted it.
The report's own section 8 models the shape: each open question for the captain is preceded by "Checked: ..." stating what was read and what it showed, before the question and recommendation.
Constraint noted in the report: a captain-hold reason is a single line and cannot contain parentheses (bin/fm-captain-hold.sh around lines 830-831).
What Changed
bin/fm-brief.shnow require achecked:part, which names the read-only check that was run and what it showed, orchecked: none possible - <why>. The rule coversneeds-decisionlines in ship and scout briefs, decisions escalated by a secondmate, and every question for the captain in a scout report, where it opens asChecked:. A new test intests/fm-brief.test.shscaffolds each kind of brief and checks that the rule appears.captain-hold-lifecycleskill has a new "checked: requirement" section that covers hold reasons,needs-decisionlines and scout question lists. It applies to new entries only, keeps the part on one line with no parentheses so it fits a hold reason, and gives examples. The operating sequence now runs the check before a hold and includes it in the hold reason.ask-user-authorityescalations now open with the same part.bin/fm-captain-hold.shnow documents thechecked:part in a hold reason and says the script does not refuse a reason that lacks it yet.🤖 Generated with Claude Code
Risk Assessment
✅ Low: This change only adds guidance text, in the skill docs, the generated brief prompts and one script comment, plus a test that checks the generated brief output. It changes no script behaviour, and the round-1 fix that narrows the secondmate wording to decisions only is in place.
Testing
I ran the real brief scaffolder and the captain-hold CLI against a throwaway FM_HOME and markdown backlog, saving the transcript as evidence. Every generated ship and scout brief tells workers to open needs-decision lines with checked: or 'checked: none possible - <why>'. The scout report contract asks for a Checked: line before each question for the captain. The secondmate charter limits the rule to decisions, with no blocker wording and nothing added to blocked lines. Captain holds with the documented checked: reason forms are stored intact. A hold with no checked: is still accepted, as the intent requires for now. A checked: reason with parentheses is refused by the existing one-line rule for hold reasons, which matches the skill's guidance. The brief test file, including its new checked-convention test, passed. No Herdr lab was needed: Herdr lifecycle is untouched by this change. No UI surface was involved.checked:part'; 0 matches for 'decision or blocker'; the blocked rule has no checked: wordingEvidence: Transcript of the live run (generated briefs + captain holds)
Source: Transcript of the live run (generated briefs + captain holds)
Evidence: Driver script used to run the scenarios
Source: Driver script used to run the scenarios
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 1 issue found → auto-fixed ✅
bin/fm-brief.sh:394- The secondmate charter text reads "When you escalate a decision or blocker, carry thechecked:part". That extends the requirement toblockedlines. The intent only names captain holds, worker needs-decision lines, and scout-report captain questions. The skill this text points to also lists only those three records. Ship and scout briefs attach the rule only to needs-decision, so secondmates get a broader rule than the policy they are told to follow. Suggested fix: narrow it to "When you escalate a decision" (needs-decision), or confirm that blockers are meant to be covered and add them to captain-hold-lifecycle's list.🔧 Fix applied.
✅ Re-checked - no issues remain.
✅ **Test** - passed
✅ No issues found.
checked:part'; 0 matches for 'decision or blocker'; the blocked rule has no checked: wordingbash ~/.no-mistakes/evidence/01M4836GVBBC3PX47MTT3QPZHH/drive-checked.sh <worktree>: ran the real bin/fm-brief.sh for the no-mistakes, direct-PR and local-only ship modes, plus --scout and --secondmate, in a throwaway FM_HOME, and searched the generated brief.md filesSame script: ran the real bin/fm-captain-hold.sh hold against an isolated markdown backlog with the skill's own example checked: reason, a 'checked: none possible - <why>' reason, a reason with no checked:, and a checked: reason containing parentheses; then inspected the backlog.md left behindbash tests/fm-brief.test.sh: includes the new test_checked_convention_reaches_every_escalation_path, which scaffolds briefs and asserts on the generated output✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.