Repository navigation
Conversation
Ship-task crewmates repeatedly finished their implementation commit, appended `done: committed <work>`, and idled forever - never invoking the validation pipeline and never opening a PR. The generated ship contract under-specified that committing is not the definition of done, and the status protocol let `done:` be appended before the mode's real finish line. For every ship mode, make the mode-specific finish line unmissable at the point of action, immediately after the implementation commit: - no-mistakes: immediately invoke /no-mistakes and drive to green CI. - direct-PR: immediately push and open the PR. - local-only: the committed ready branch is itself the finish line (named explicitly). Constrain the shared status protocol so `done:` is reserved for the mode's finish line; a finished implementation commit that has not reached it is `working:`, never `done:`. Extend tests/fm-brief.test.sh to assert the finish-line and `done:`-reservation lines render for all three ship modes.
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.
Problem: "committed = delivered" trap in the generated ship contract
Ship-task crewmates repeatedly finish their implementation commit, append
done: committed <work>to the status file, and then idle forever - never invoking the validation pipeline and never opening a PR.Observed instances:
done: committed(sp-create-nav-6d,sp-heldout-corpus-4b,sp-combat-panel-2k).ct-mcp-profiles-settings-5mstopped atdone: committedwith 37 passing tests and no pipeline run.Root cause: the generated ship contract in
bin/fm-brief.shunder-specifies that committing is not the definition of done, and the shared status protocol letsdone:be appended before the delivery mode's real finish line. Two lines drive it:no-mistakes(finish line: PR with green checks) anddirect-PR(finish line: PR opened).done:as a valid state with no constraint that it may only be used at the finish line, so a finished commit reads asdone:.Fix
All changes are confined to
bin/fm-brief.sh's generated ship contract plus its colocated tests.no-mistakes: immediately invoke/no-mistakesand drive the pipeline through to green CI.direct-PR: immediately push the branch and open the PR.local-only: the committed ready branch is itself the finish line (now named explicitly).done:for the delivery-mode finish line named in Definition of done; a finished implementation commit that has not reached that finish line isworking:, neverdone:. Each mode's DOD repeats the constraint at its point of action.tests/fm-brief.test.shgainstest_ship_dod_finish_line_is_not_commit, asserting the finish-line anddone:-reservation lines render in generated briefs for all three ship modes.Wording follows repo style (one sentence per line, plain dashes, literal backticks preserved through the heredocs).
Design note
For
no-mistakes, the contract now has the worker drive validation to green immediately after committing rather than stopping at the commit and waiting to be told to run the pipeline. This is what the observed idle-forever failure requires, and it is consistent with the existing "the task worker drives the pipeline" model and with Rule 4 ("a mid-taskworking:line is nonterminal … continue until a defineddone:gate"). Firstmate triggering validation remains a valid supervisory backstop; maintainers may want to align theAGENTS.md"Validate" wording accordingly, which is left out of scope here.Verification