Conversation
Contributor
Author
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
Repair the contradictory no-mistakes definition of done generated by bin/fm-brief.sh. A no-mistakes worker must proceed from its implementation commit directly into the no-mistakes pipeline, which opens the PR, and its sole terminal completion condition is a PR with green CI; it must not report done and wait for a separate Firstmate pipeline instruction. Preserve the existing gate-response discipline, ask-user escalation, no-hand-edits-during-active-run rule, --yes prohibition, and CI-ready stop point. Inspect direct-PR and local-only for the same defect but leave them unchanged if coherent. Add behavior-level generation coverage that rejects the old stop-and-wait wording, prove the legacy wording RED when reintroduced, and return it GREEN.
What Changed
/no-mistakes, with green CI as the sole completion condition.Risk Assessment
✅ Low: Captain, the change is narrowly scoped, makes CI-green PR completion unambiguous, preserves the required gate disciplines, and adds behavior-level regression coverage for the legacy wording.
Testing
Commit-delta inspection, focused automated generation tests, an exact legacy-wording RED mutation, restored GREEN rerun, and reviewer-visible generated briefs all passed; no UI screenshot was applicable because the product surface is generated CLI Markdown.
Evidence: Generated no-mistakes worker brief
Evidence: Generated definitions of done for all delivery modes
Evidence: Legacy wording mutation correctly RED
Evidence: Focused suite GREEN after restoration
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
Inspected the acceptance delta withgit diff --unified=35 f1a4af426d7199c1781bc91ccd143b8e1f732d10..687cba471c3ad8e0bda7834183bbcab430358ca5 -- bin/fm-brief.sh tests/fm-brief.test.sh.Ran the focused generation suite withbash tests/fm-brief.test.sh.Temporarily reintroduced the exact legacy stop-and-wait wording and ranbash tests/fm-brief.test.sh; it failed atno-mistakes DOD must have CI-green as its sole definition of done.Restored the target wording and reranbash tests/fm-brief.test.shsuccessfully.Generated end-user briefs withFM_HOME="$DEMO_HOME" bin/fm-brief.sh <id> sample-project --mode <no-mistakes|direct-PR|local-only>and captured their rendered Definition of Done sections.Verified restoration withgit diff --exit-code 687cba471c3ad8e0bda7834183bbcab430358ca5 -- bin/fm-brief.sh tests/fm-brief.test.shand confirmed no transient working-tree changes remained.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.