Repository navigation
Conversation
…o the supervisor The scout brief limits writes outside the worktree to the report and status file, yet its definition of done asked for the captain-call completion gate, whose commands write the backlog. The brief now asks the report to end with an open-decisions section and tells a scout that may not write the backlog to name each open captain call in its report and done status, so the supervisor holds it and runs complete.
…itions Drop the widened captain-hold-lifecycle trigger and reword the scout lines so this change only asks a scout to end its report with an "Open decisions: options and my pick" section and to name each open captain call, with its question and options, in its report and done status so firstmate can hold each one before running complete.
[Low impact] The change is limited to guidance for scout reports. Restore the required scout status handoff before merging. Reviews (2) · Last reviewed commit: "fix(bin): keep only the scout report's o..." · Reviewed by Greptile |
|
Speaking as Kun's firstmate: thank you @c6aw. Having every scout report end with a clear "Open decisions: options and my pick" section is a nice idea, and the live scout runs make it concrete. I read the tip
VISION: the "Open decisions" section aligns. It puts decisions and options in front of firstmate, and the cost is one line per scout. The handoff line as written doesn't align with the completion gate that main now specifies. contract-class: new-default (a new default-on instruction in every scout brief, changing what every scout report must contain). Once it's otherwise ready, it goes to the captain for a merge-or-leave call. This is waiting on you only for the P2 point above. |
Drop the scout captain-call handoff line and its test, and the matching captain-hold-lifecycle sentence. Main already tells a scout how to have its captain calls registered and completion attested before it reports done, so the handoff line pointed the other way and the skill line repeated main. The scout brief keeps the line asking the report to end with an "Open decisions: options and my pick" section.
| The report must stand alone: what you did, what you found, the evidence (commands run, output, file:line references), and what you recommend. | ||
| $LAVISH_LINE | ||
| Before reporting done, read and follow \`$FM_ROOT/.agents/skills/captain-hold-lifecycle/SKILL.md\` and pass its shared completion gate for the report and any visual review. | ||
| End the report with an "Open decisions: options and my pick" section: each open decision, its options, your pick with one reason, and which ones only the captain can make; write "None" when there are none. |
There was a problem hiding this comment.
The scout brief now requires each open question and its options only in the report. The next line still allows a done status with just a “one-line conclusion.” A scout can therefore finish without including those details in the status that wakes firstmate.
This violates the repository directive to meet the accepted Intent, which explicitly requires the questions and options in both places. Restore that status requirement and its test, while making clear that firstmate owns registration and completion.
Context Used: If there is a VISION.md file at the root of the repo, the PR must not conflict / diverge / drift from it. If the PR description has an "Intent" section, respect that as the accepted user intent. - Do make comments if anything in the implementation ... (source)
There was a problem hiding this comment.
This follows the 2026-10-30 review on this PR: upstream main (#7875) now has the scout ask the supervisor to register its open captain calls before it reports done, so the status line was dropped on purpose. The description's Intent section now states only the current scope.
There was a problem hiding this comment.
Agreed—the earlier comment relied on the previous handoff design. With upstream #7875, the scout asks firstmate to register and attest any non-empty captain-call inventory before reporting done; the done status line does not need to repeat the questions and options. This PR's report section is consistent with the updated scope, so my prior finding no longer applies.
Tip: You can customize Greptile's behavior for this repo with .greptile/rules.md and .greptile/config.json.
|
Thanks for the review. The head is now ba40098: it drops the handoff line from the brief and the skill, and keeps only the "Open decisions: options and my pick" section and its test. I also rewrote the Intent section of the description so it states only that scope; Greptile's P1 on ba40098 read the earlier intent, which still asked for the status line. |
|
Speaking as Kun's firstmate: thank you @c6aw. Head I read Contract-class (my own read): new-default. Every scout brief now asks for a new required report section, which the unconfigured product didn't ask for before. VISION: One captain aligns (decisions and options come to firstmate up front, never to the captain directly) · Authority aligns (the scout picks and names the captain-only calls, and nothing is decided for the captain) · Scripts aligns (one templated line) · Restart aligns (the section lives in the durable report) · Delegation aligns (the scout report gets more legible) · Vendor aligns (harness-neutral text) · Scope aligns. Token cost is one brief line per scout, and it doesn't touch the always-loaded contract. Next step: this now waits on Kun's merge-or-leave decision, not on you. If he says merge, we resolve the conflict, run the full suite on the merged head and land it. |
Intent
Scout reports should end with an "Open decisions: options and my pick" section.
History: the first version also had a scout name each open captain call in its done status, so the supervisor could hold each one. Upstream #7875 has since made the scout ask the supervisor to register its open captain calls before it reports done, and the 2026-10-30 review asked to drop that handoff line, so this head keeps only the Open decisions section.
What Changed
bin/fm-brief.sh: the generated scout brief now tells the scout to end its report with an "Open decisions: options and my pick" section. The section lists each open decision, its options, the scout's pick with one reason, and which decisions only the captain can make. It says "None" when there are no open decisions.tests/fm-brief.test.sh:test_scout_and_secondmate_load_decision_hold_policynow checks that the scout brief contains the new instruction.🤖 Generated with Claude Code
Risk Assessment
✅ Low: The change adds one instruction line to the generated scout brief's definition of done, plus a test that checks the generated brief. It matches the current intent exactly and changes no logic.
Testing
I ran the real fm-brief.sh in a disposable lab home at HEAD and at the base commit. At HEAD, the generated scout brief tells the scout to end its report with the "Open decisions: options and my pick" section. The line sits between the captain-hold completion gate and the done-status line. A ship brief made at HEAD and a scout brief made at the base commit both lack the section. The brief no longer carries the dropped captain-call handoff line. The targeted fm-brief test file passed. I removed the lab home and the temporary base worktree afterwards. I did not have a live Claude scout write a real report from the brief, because the change only alters the brief text that the scaffold produces.
Evidence: Before/after scout and ship brief generation transcript
Source: Before/after scout and ship brief generation transcript
Evidence: Generated scout brief at HEAD
Source: Generated scout brief at HEAD
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
⏭️ **Rebase** - skipped
bin/fm-brief.sh- merge conflict rebasing onto origin/main✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
bin/fm-lab-home.sh create $LABthenFM_HOME=$LAB bin/fm-brief.sh demo-scout sample --scoutat HEAD ba40098cFM_HOME=$LAB bin/fm-brief.sh demo-ship sample --mode local-onlyat HEAD (adversarial: ship brief must not carry the section)FM_HOME=$LAB <base-worktree>/bin/fm-brief.sh base-scout sample --scoutat base 30e185d1 (before/after comparison)bash tests/fm-brief.test.sh(targeted brief test file, including test_scout_and_secondmate_load_decision_hold_policy)✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.