Skip to content

fix(bin): stop no-mistakes briefs from inviting a premature done - #3957

Open
AgardnerAU wants to merge 26 commits into
kunchenguid:mainfrom
AgardnerAU:fm/fm-brief-dod-premature-done
Open

AgardnerAU wants to merge 26 commits into
kunchenguid:mainfrom
AgardnerAU:fm/fm-brief-dod-premature-done

Conversation

@AgardnerAU

@AgardnerAU AgardnerAU commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Intent

start the upstream fixes now. we have capacity with codex.

Context: a read-only check on 2026-11-04 of our open upstream PRs found #3957 needs fleet work: GitHub reports it CONFLICTING with main at head 746f8bc although all 19 checks were green; the last maintainer note predates the conflict. The approved update is to merge current upstream main into the PR, fix the conflicts, run the tests, and push through the pipeline. Upstream kunchenguid/firstmate closes a PR after 14 days of author silence. Merging upstream is the maintainer's call, never ours. The PR is on branch fm/fm-brief-dod-premature-done from the fork AgardnerAU/firstmate into kunchenguid:main; reuse that branch and that PR, never replace them.

What Changed

  • Every ship and report Definition of done in bin/fm-dod-lib.sh and bin/fm-brief.sh now opens with a Terminal condition: line. This line names the only legal done: form for the task (for example done: PR {url} checks green for no-mistakes). The no-mistakes, pr=manual, and Gerrit no-mistakes briefs now hand off the implementation commit with the nonterminal working [at=<epoch>]: implemented, ready for the pipeline line, not a pre-validation done: {summary}. The removed "The task is complete only when committed on your branch" lines no longer let a local commit read as delivery. The rule 4 brief text also lets a Definition of done name a working: line as its stop gate.
  • status_is_captain_relevant in bin/fm-classify-lib.sh now treats that exact working: handoff as captain-relevant, so the watcher and the away daemon both wake firstmate for it. A custom FM_CAPTAIN_RE cannot suppress this wake, and other working: lines (including near matches) stay nonterminal. A pre-validation done: from an older brief is still accepted and not gated.
  • The afk, ship-landing, and validation-supervision skills, docs/architecture.md, docs/configuration.md, and the fm-inactive-reconcile.sh header now describe the new handoff. New tests in tests/fm-brief.test.sh cover the brief changes. New tests in tests/fm-daemon.test.sh check that the handoff escalates under a custom FM_CAPTAIN_RE and that a non-exact working: line does not.

🤖 Generated with Claude Code

Risk Assessment

✅ Low: The round-1 fix brings the merged pr=manual no-mistakes block in line with the working-handoff contract (terminal condition line, nonterminal working handoff, no bare-commit done). No other scaffold in bin/, the skills or the docs still permits a pre-validation done, and the changed tests exercise the generated brief output for the manual row as well.

Testing

I ran the real brief scaffolder in a disposable FM_HOME for all seven ship and scout shapes, including the pr=manual block that review round 1 fixed. Every Definition of done opens with its mode-specific terminal condition. The three no-mistakes variants hand off with the working: line, and no brief licenses a premature done: {summary}. I also drove the status classifier directly. The exact handoff wakes firstmate even under a restrictive FM_CAPTAIN_RE, while a near-match and normal progress lines are absorbed. The targeted brief and daemon test suites both passed with zero failures. There is no UI surface, so the evidence is CLI transcripts. The scratch directory /tmp/fm-brief-lab.Rq17WE was not removed because the sandbox did not permit the rm. The worktree is clean.

  • Live validation: ✅ go - 5 of 5 scenarios driven live against the product
Scenario Result Live Evidence
Scaffold a no-mistakes pr=manual ship brief: DOD names done: PR {url} checks green as the only legal done and hands off with the working: line ✅ pass live brief-dod-transcript.txt (nm-manual section, rc=0)
Scaffold no-mistakes auto and gerrit briefs: terminal condition plus working: handoff, no premature done ✅ pass live brief-dod-transcript.txt (nm-auto, nm-gerrit sections and counts)
Scaffold direct-PR, direct-PR gerrit, local-only, and scout briefs: each leads with its terminal condition and has no pipeline handoff ✅ pass live brief-dod-transcript.txt (dpr, dpr-gerrit, lo, sc sections and counts)
Worker writes working [at=..]: implemented, ready for the pipeline: classifier wakes firstmate, even with a restrictive FM_CAPTAIN_RE ✅ pass live classifier-transcript.txt; tests/fm-daemon.test.sh 'handle_wake routes routine progress, the pipeline handoff, and terminal events'
Adversarial: near-match handoff and normal working: progress lines do not wake firstmate ✅ pass live classifier-transcript.txt
Evidence: Generated Definition of done per ship mode

Source: Generated Definition of done per ship mode

=== bin/fm-brief.sh nm-auto some-proj --mode no-mistakes (rc=0) ===
# Definition of done
Delivery contract: mode=no-mistakes
Ship branch: fm/nm-auto
Terminal condition: `done [at=<epoch>]: PR {url} checks green`. That is this task's ONLY legal `done:` line: a commit with no PR is not done.
Commit the finished implementation, then append `working [at=<epoch>]: implemented, ready for the pipeline` to the status file and stop the turn. Do not start the pipeline yourself; firstmate owns that runtime-specific invocation and sends it to you.

You drive no-mistakes by responding to its gates, not by implementing fixes.
Follow the guidance no-mistakes itself provides for the mechanics: it loads when you invoke /no-mistakes, and `no-mistakes axi run --help` plus the `help` lines in each `axi` response are authoritative and version-matched to the installed binary.
When starting no-mistakes, pass `--intent` as only this brief's `## Captain's intent` subsection body, not its heading, plus any later words the captain actually said.
Preserve the actual words without adding speaker labels or direct address; the subsection heading supplies provenance outside the pipeline input.

=== bin/fm-brief.sh nm-manual some-proj --mode no-mistakes --pr manual (rc=0) ===
# Definition of done
Delivery contract: mode=no-mistakes pr=manual
Ship branch: fm/nm-manual
Terminal condition: `done [at=<epoch>]: PR {url} checks green`. That is this task's ONLY legal `done:` line: a commit with no PR is not done.
This project's pull-request text is written by hand: the pipeline's `pr` step would rewrite the title and body you write on every validated push, so **no-mistakes runs here as a validation pass that pushes the branch**, and you then open the PR yourself.
Pass `--skip pr,ci` on every `no-mistakes axi run` for this task, and skip nothing else: `review`, `test`, `document`, `lint`, and `push` still run, and `ci` has no pipeline-opened PR to watch.
Commit the finished implementation, then append `working [at=<epoch>]: implemented, ready for the pipeline` to the status file and stop the turn. Do not start the pipeline yourself; firstmate owns that runtime-specific invocation and sends it to you.

You drive no-mistakes by responding to its gates, not by implementing fixes.
Follow the guidance no-mistakes itself provides for the mechanics: it loads when you invoke /no-mistakes, and `no-mistakes axi run --help` plus the `help` lines in each `axi` response are authoritative and version-matched to the installed binary.

=== bin/fm-brief.sh nm-gerrit some-proj --mode no-mistakes --forge gerrit (rc=0) ===
# Definition of done
Delivery contract: mode=no-mistakes forge=gerrit shape=squash
Ship branch: fm/nm-gerrit
Terminal condition: `done [at=<epoch>]: PR {change url} published for review`. A commit without a published change is not done.
This project's review server is Gerrit: it has no pull requests and no forge CI the pipeline can watch, so **no-mistakes runs here as a review pass that ends at a ready branch**, and you then publish that branch as one change.
Pass `--skip push,pr,ci` on every `no-mistakes axi run` for this task, and skip nothing else: `review`, `test`, `document`, and `lint` are the whole point of the run.
Those three are the only steps that reach a forge, and skipping them is a supported outcome, not a degraded one.
Commit the finished implementation, then append `working [at=<epoch>]: implemented, ready for the pipeline` to the status file and stop the turn.
Firstmate will then instruct you to run /no-mistakes to validate.
That `working:` line is the handoff that starts the pipeline; it is not a request to publish.

=== bin/fm-brief.sh dpr some-proj --mode direct-PR (rc=0) ===
# Definition of done
Delivery contract: mode=direct-PR
Ship branch: fm/dpr
Terminal condition: `done [at=<epoch>]: PR {url}`. That is this task's ONLY legal `done:` line: a commit with no PR is not done.
This task ships **direct-PR**: you raise the PR yourself, without the no-mistakes pipeline.
When it is implemented and committed, push your branch and open a PR with `gh-axi` that is ready for review, not a draft.
Before you report done, read the PR back from the forge and confirm it is not a draft (`gh-axi pr view <number>` must print `draft: no`, where <number> is the PR number from your PR URL); if it is a draft, mark it ready with `gh-axi pr ready <number>`.
A draft cannot be merged, so a done report on one leaves the merge unasked.
Then append `done [at=<epoch>]: PR {url}` to the status file and stop.
That `done:` is accepted only when this copy's HEAD - your latest commit - is pushed to your PR branch; the check tests that commit, not merely that a branch moved.

=== bin/fm-brief.sh dpr-gerrit some-proj --mode direct-PR --forge gerrit (rc=0) ===
# Definition of done
Delivery contract: mode=direct-PR forge=gerrit shape=squash
Ship branch: fm/dpr-gerrit
Terminal condition: `done [at=<epoch>]: PR {change url} published for review`. A commit without a published change is not done.
This task ships **direct-PR** to a Gerrit review server: you publish the change yourself, without the no-mistakes pipeline.
Gerrit has no pull requests, so there is nothing to open; publishing creates the change.
When it is implemented and committed, publish it.
Publish from this copy with `gerrit-axi`, never with `git push`:
1. Run `git fetch origin` so the server's branch tip is in this repository; `gerrit-axi` reads its base off the server and refuses when that tip is not here.
2. Run `gerrit-axi publish --squash --json`, adding `--branch <b>` only when the task names a target branch other than the server's default.

=== bin/fm-brief.sh lo some-proj --mode local-only (rc=0) ===
# Definition of done
Delivery contract: mode=local-only
Ship branch: fm/lo
Terminal condition: `done [at=<epoch>]: ready in branch fm/lo`. That is this task's ONLY legal `done:` line.
This task ships **local-only**: no remote, no PR, no pipeline.
The task is complete only when committed on your branch `fm/lo`. Do NOT push, do NOT open a PR, do NOT merge.
A `done:` is accepted when the named head is on this project's shared local branch, not only on a detached copy; the check tests that head, not merely that a branch moved.
Keep your branch a clean fast-forward onto the current default branch - if `main` has advanced, rebase onto it so the eventual merge stays a fast-forward.
When it is implemented and committed, append `done [at=<epoch>]: ready in branch fm/lo` to the status file and stop.
The configured merge authority approves the ready branch, then firstmate merges it into local `main` through the guarded fast-forward path.

=== bin/fm-brief.sh sc some-proj --scout (rc=0) ===
# Definition of done
Terminal condition: `done [at=<epoch>]: {one-line conclusion}`. That is this task's ONLY legal `done:` line, and it is legal only once the report below exists and the completion gate passes; then append it to the status file and stop.
Write your findings to `/tmp/fm-brief-lab.Rq17WE/home/data/sc/report.md`.
The report must stand alone: what you did, what you found, the evidence (commands run, output, file:line references), and what you recommend.
If your deliverable is a visual artifact the captain will review and iterate on, use the lavish-axi rule: arm your board with bin/fm-procevent-lavish.sh arm <artifact.html> --for <task-id>; never run lavish-axi poll yourself. Re-arm with the reply after each nonterminal round to acknowledge it, route the board feedback through your steering inbox, write needs-decision [key=board-review] with the live board URL when the captain owes a decision, and stop at session_ended or an empty End without re-arming - acknowledge that final round with bin/fm-procevent.sh handled <source-id> <sequence> to conclude and retire your board.
Before reporting done, read and follow `{run-worktree}/.agents/skills/captain-hold-lifecycle/SKILL.md` and pass its shared completion gate for the report and any visual review.
Only when the reviewed inventory is empty, run `FM_HOME='/tmp/fm-brief-lab.Rq17WE/home' bash '{run-worktree}/bin/fm-captain-hold.sh' complete 'sc' --none`.
This exception permits only that command, not direct metadata edits, another task, or any backlog write.
If any captain call remains, ask firstmate to register the inventory and attest completion before you report done.
If the command refuses, report the refusal to firstmate and stop rather than bypassing the completion gate.

--- premature-done licence / commit-is-complete wording counts per brief ---
dpr done-summary-licence=0 commit-complete=0 working-handoff=0
dpr-gerrit done-summary-licence=0 commit-complete=0 working-handoff=0
lo done-summary-licence=0 commit-complete=0 working-handoff=0
nm-auto done-summary-licence=0 commit-complete=0 working-handoff=1
nm-gerrit done-summary-licence=0 commit-complete=0 working-handoff=1
nm-manual done-summary-licence=0 commit-complete=0 working-handoff=1
sc done-summary-licence=0 commit-complete=0 working-handoff=0
Evidence: Classifier decisions on worker status lines

Source: Classifier decisions on worker status lines

working: implemented, ready for the pipeline                           -> captain-relevant
working [at=1793750400]: implemented, ready for the pipeline           -> captain-relevant
working: implemented, ready for the pipeline soon                      -> absorbed
working: rebased onto merged #76                                       -> absorbed
working: setup complete                                                -> absorbed
done [at=1793750400]: PR https://github.com/o/r/pull/1 checks green    -> captain-relevant
working [at=1793750400]: implemented, ready for the pipeline           -> captain-relevant  (FM_CAPTAIN_RE=^(blocked):)
working: rebased onto merged #76                                       -> absorbed  (FM_CAPTAIN_RE=^(blocked):)
Evidence: Targeted brief and daemon test results

Source: Targeted brief and daemon test results

ok - fm-afk-start.sh fails before daemon startup when the afk flag cannot be written
ok - fm-afk-start.sh ignores stale pidfile-only live pids
ok - fm-afk-start.sh refuses tern as an away-mode supervisor backend (unsupported; documented in docs/tern-backend.md)
ok - fm-afk-start.sh reclaims stale daemon locks whose live pid identity no longer matches
ok - supervise daemon state root is scoped by FM_HOME
ok - routine signal self-handles
ok - captain-relevant status verbs escalate
ok - check + unknown escalate; heartbeat self-handles
ok - a delivered unknown wake is acknowledged once per away session; a new one and ordinary escalations still fire
ok - a failed unknown-wake acknowledgement write does not re-inject a delivered digest
ok - transient stale self-handles and records a persistence marker
ok - enriched stale wedges bypass status absorption except under a declared wait, without disturbing busy workers
ok - an enriched wedge under a declared wait uses the pause cadence and restores wedge detection on resume
ok - an enriched wedge under a worker blocker is not escalated only where config/wedge-defer-worker-wait arms it
ok - stale + terminal status escalates immediately
ok - stale escalation and current wait cadence remain independent
ok - paused reasons with captain phrases remain pause-classified
ok - a foreign resolved line keeps a pause, while the worker's own resolved line retracts it
ok - a captain-held transfer classifies as pause, not as a wedge candidate
ok - handle_wake on a paused stale records a pause marker, drops the wedge marker, and does not escalate
ok - handle_wake records a declared pause from a routine signal for long-cadence rechecks
ok - a terminal signal clears pause and stale tracking across both supervisors
ok - housekeeping migrates a normal-watcher's declared pause into daemon tracking
ok - housekeeping clears an already-resumed watcher pause across both supervisors
ok - housekeeping seeds pause tracking from status without a watcher marker
ok - persistent stale escalates after threshold and clears its marker
ok - resumed (busy) stale clears its marker without escalating
ok - housekeeping re-surfaces a stale declared pause on the long cadence and resets its window
ok - housekeeping re-surfaces a forgotten captain hold on the long cadence and resets its window
ok - housekeeping silences a captain hold only under an away record, never under quiet mode's
ok - a busy pane cannot gate the pause clear once its crew's status no longer declares the wait
ok - housekeeping matures a busy pane's declared-wait window into exactly one recheck per window
ok - housekeeping bounds a distant declared time, defers to a near one, and rechecks a passed one at once
ok - housekeeping clears a paused marker once the crew is no longer declaring the pause
ok - housekeeping clears the pause marker once a captain hold is answered
ok - housekeeping moves an existing stale marker to pause before wedge escalation
ok - housekeeping moves a captain hold's existing stale marker to pause before wedge escalation
ok - housekeeping clears tracking when a crew leaves pause
ok - persistent herdr stale resolves the target from metadata and escalates
ok - herdr idle busy-footer stale clears through capture corroboration
ok - resumed herdr stale clears through backend-aware busy state
ok - persistent Orca stale resolves the terminal from metadata
ok - multiple escalations flush as a single batched digest
ok - batch flush measures max-delay from the first append, not the last
ok - catch-all scan escalates a missed terminal once, not twice
ok - handle_wake routes routine progress, the pipeline handoff, and terminal events
ok - a decision-owned queued row escalates once as the decision, then suppresses until the status changes
ok - a captain-held decision-owned row is self-handled without escalation, now and on repeat
ok - INJECT_SKIP forces self-handle, bypassing captain-relevant classification
ok - is_wake_reason distinguishes watcher wake reasons from singleton-status stdout
ok - terminal-stale escalate removes its marker so housekeeping does not re-escalate
ok - captain signal escalate marks seen so the catch-all scan does not re-fire
ok - _collapse_newlines replaces newlines with literal separator
ok - afk flag absent: daemon does not inject, buffer preserved
ok - busy-guard defers injection when supervisor pane is busy
ok - marker detection: marker -> stay afk, no marker -> exit afk
ok - /afk invocation is exempt from afk exit (no self-cancel)
ok - should_exit_afk returns false when afk is not active
ok - strip_injection_marker removes the sentinel marker cleanly
ok - a marker-preserving primary still receives the typed U+2063 away-supervisor envelope and no record
ok - record-backed doorbell: only a doorbell naming this home's own record stays afk; a bare ASCII label, a missing record, and another home's record exit
ok - pane_input_pending detects partial input on the cursor line
ok - pane_input_pending: a blank unidentified cursor row defers (strict container-proof rule)
ok - pane_input_pending: only proven empty agent prompts pass
ok - fm_tmux_composer_state: a bare shell prompt ($/%/#/>) reads unknown, never empty (dead-shell injection safety)
ok - fm_tmux_composer_state: a bordered composer box and bare agent glyphs (❯/›) still read empty
ok - fm_tmux_composer_state: only matching edge borders form a composer box
ok - pane_input_pending preserves bright placeholder-like drafts in styled captures
ok - classify_signal dedupes against the catch-all scan seen marker
ok - turn-end markers stay routine while mixed actionable status batches escalate
ok - an actionable event is escalated to an away captain despite later routine appends
ok - the daemon commits exactly the endpoint captured by classification
ok - a stale wake escalates a blocker hidden by later progress
ok - a stale span read failure surfaces without advancing its marker
ok - a recreated status rejects the old captured identity
ok - an unverifiable status identity surfaces without advancing markers
ok - a status read failure surfaces without advancing the daemon suppressor
ok - catch-all routine scans advance before later actionable appends
ok - failed escalation writes retain durable wakes and classification positions
ok - stuck inbox escalation reaches supervision in away mode and survives buffering failure
ok - stuck inbox escalation reaches supervision in quiet mode and survives buffering failure
ok - write inbox escalation reaches supervision in away mode and survives buffering failure
ok - write inbox escalation reaches supervision in quiet mode and survives buffering failure
ok - reset inbox escalation reaches supervision in away mode and survives buffering failure
ok - reset inbox escalation reaches supervision in quiet mode and survives buffering failure
ok - inbox dispatch preserves ordinary stale, busy-turn, and other doorbell routing
ok - catch-all markers advance only after escalation buffering succeeds
ok - classification failure retains the complete durable wake batch
ok - missing-status stale wakes remain ordinary and acknowledgeable
ok - transient unreadable signals recover without advancing their position
ok - daemon catch-all reclassifies permission-recovered status content
ok - a permanent classification failure is reported, acknowledged, and never advances its position
ok - the away-mode catch-all scan surfaces a masked event once
ok - classify_stale dedupes against the signal path seen marker
ok - AFK nonterminal working:+merged keeps wedge aging and re-escalates at bound
ok - genuine done: and merge-check events still escalate
ok - pane_input_pending: an idle bordered composer is NOT pending (afk-invx-i5)
ok - pane_input_pending: text inside a bordered composer is still pending
ok - submit-ACK confirms a submit when the composer returns to a bordered-empty box
ok - submit-ACK reports pending on a persistently swallowed Enter (type-once)
ok - max-defer on an empty stuck pane types once, alarms, and preserves the buffer
ok - max-defer flushes and clears the buffer on an empty bordered pane
ok - max-defer on a pending composer alarms without typing
ok - a comp

... [495 bytes truncated] ...

rvives a failure after typing, and a deferral writes none
ok - below MAX_DEFER: no inject, no alarm, buffer preserved
ok - max-defer does not flush or alarm while afk is inactive
ok - library mode: sourcing the daemon defaults FM_WEDGE_ALARM_EXEC to discard (no test can fire a real notification)
ok - wake helpers replace inherited notifier overrides with the safe recorder
ok - the discard seam suppresses every notifier, including command: (fires nothing)
ok - direct notifier helpers honor the discard seam, including command:
ok - osascript channel routes through the notifier seam with the summary (never a real notification)
ok - herdr channel routes through the notifier seam with the summary (never a real notification)
ok - rex channel routes through the notifier seam with the summary (never a real pane write)
ok - auto never adds the opt-in rex channel, even on a Rex supervisor pane
ok - command channel runs the captain command with the summary on $1 and on stdin
ok - command channel failures redact configured commands while logging their exit status
ok - unknown channel directives are redacted while the alarm keeps running
ok - off disables every active alert regardless of directive position (marker and tmux flash are unaffected)
ok - auto resolves to the macOS osascript notifier on Darwin (default-on)
ok - auto on a non-macOS platform selects no built-in OS channel (the marker or a configured command carries it)
ok - config/wedge-alarm selects every configured channel and skips comment and blank lines
ok - a failing channel logs and falls back to the next channel, never crashing the alarm
ok - a hung notifier is bounded, logged, and falls through to the next channel
ok - a backgrounded command notifier remains bounded until its process group is reaped
ok - a hung notifier override is bounded, logged, and proceeds to the next channel
ok - daemon shutdown stops and reaps the active notifier process group
ok - inject_wedge_alarm writes the marker AND emits the active alert even with no tmux status-line (herdr backend)
ok - in-process wedge throttle prevents alert spam when the marker cannot persist
ok - fm-send returns 3 with a non-error no-resend warning when confirmation stays pending
ok - fm-send exits non-zero when initial text send fails
ok - fm-send exits non-zero unless delivery is proven empty
ok - discover_supervisor_backend: override > TMUX_PANE > HERDR_ENV+HERDR_PANE_ID > tmux fallback
ok - discover_supervisor_target: override > TMUX_PANE > herdr '<session>:<pane-id>' composition > firstmate:0 fallback
ok - discover_supervisor_{target,backend}: hc markers resolve <session>:<address> + hc; bare id, nested tmux/herdr keep their verdicts; supported list stays closed to hc
ok - discover_supervisor_*: t3code resolves from the home's live thread after env, TMUX_PANE, and herdr; zero, ambiguous, and no-bearer fall through
ok - pane_is_busy: t3code accepts only a settled thread with no pending request and never reads a rendered tail
ok - pane_is_busy: herdr native busy_state='busy' short-circuits without a capture fallback
ok - primary busy guard isolates rendered signatures by detected harness
ok - pane_is_busy: omitted backend defaults to tmux for Grok's isolated fallback
ok - pane_input_pending: dispatches through fm_backend_composer_state for backend=herdr
ok - inject_msg: herdr busy-guard defers before ever attempting a submit
ok - inject_msg: herdr composer-guard defers before ever attempting a submit
ok - inject_msg: herdr pane-gone check defers before any busy/composer/submit call
ok - inject_msg: dispatches busy-guard/composer-guard/submit through the herdr backend and succeeds on a confirmed empty composer
ok - inject_msg: defers on a dead-shell/unreadable composer (unknown), never typing the escalation into a shell
ok - inject_msg: unrecognized composer states defer by default
ok - a dialog name on a first-sight stale reaches the away persistence line
ok - a seen terminal status on the picker clears like a plain stale
ok - a dialog name joins the escalation of an unseen status
ok - a dialog name after demand-deep-inspection still escalates, and a declared wait still pauses
ok - fm-brief: scaffolds leave the worker role scope to the launch boundary and keep the secondmate contract
ok - fm-brief.sh: bash -n succeeds
ok - fm-brief.sh: no heredoc is nested inside a command substitution (Bash 3.2 parse-safe)
ok - fm-brief.sh: --help renders the complete header
ok - fm-brief.sh: no-mistakes/direct-PR/local-only briefs generate cleanly
ok - fm-brief.sh: --forge forgejo names tea in Rule 3, the direct-PR DOD, and the draft read-back, marks the delivery contract, and the closed set refuses everything else
ok - fm-brief.sh: --forge external renders the no-push rule, the review contract, and the adapter, and refuses every impossible shape
ok - fm-brief.sh: ship --mode is required and closed-set validated
ok - fm-brief.sh: the explicit ship mode wins over the registered posture
ok - fm-brief.sh: --yolo and scout/secondmate --mode are refused, never silently dropped
ok - fm-brief.sh: faster paths use configured authority without stacked review
ok - fm-brief.sh: no-mistakes DOD keeps its apostrophe prose and bans --yes outright
ok - fm-brief.sh: every scaffold's Definition of done leads with its mode-specific terminal condition
ok - fm-brief.sh: no-mistakes reserves done: for the delivered PR and hands off with working:
ok - fm-brief.sh: no-mistakes DOD detects a green PR from the drive call, not a status poll
ok - fm-brief.sh: PR-based done requires a non-draft PR; a deliberate draft declares a wait
ok - fm-brief.sh: no-mistakes ask-user findings use one event plus a verbatim snapshot
ok - fm-brief.sh: ship project-memory wording bounds edits to corrections of wrong information
ok - fm-brief.sh: --herdr-lab emits the complete hard safety contract
ok - fm-brief.sh: --herdr-lab uses its quoted Firstmate-owned helper path
ok - fm-brief.sh: ship and scout scaffolds make omitted Herdr intent fail-visible
ok - fm-brief.sh: the documented {TASK} and {FIRSTMATE_SPEC} fills cannot corrupt the Herdr safety gate
ok - fm-brief.sh: Herdr lab contract covers scouts and rejects secondmate misuse
ok - fm-brief.sh: --no-projects scaffolds a project-less charter and guards misuse
ok - fm-brief.sh: marked requests avoid generic acknowledgements and preserve material reporting
ok - fm-brief.sh: relative directory inputs ignore CDPATH, render stable absolute charter paths, or fail loudly
ok - fm-brief.sh: custom pause verb renders in every scaffold
ok - fm-brief.sh: ship and scout scaffolds declare a validation-round pause once, then hold it
ok - fm-brief.sh: investigation and visual-review completions load the shared decision policy
ok - fm-brief.sh: scouts may attest only their own empty inventory through the guarded command
ok - fm-brief: scout and secondmate code paths still scaffold well-formed briefs
ok - fm-brief.sh: scout Lavish hosting follows the bootstrap lavish-axi floor
ok - fm-brief: inbox listing is silent on empty/absent inbox and numerically ordered
ok - fm-brief: workers end the turn on a decision, wait in one bounded shell command, and never poll
ok - fm-brief: without config/wait-no-turns the brief and drive text stay as they were
ok - fm-brief: inbox guidance explains marked synthetic terminators in every scaffold
ok - fm-brief.sh: the home brief include lands last on ship and scout, verbatim, and fails closed
ok - fm-brief.sh: --base-branch records the base, targets the PR at it, and is refused where no PR carries it
ok - fm-brief.sh: --branch-prefix omitted defaults every ship mode to fm/<task-id>
ok - fm-brief.sh: a --branch-prefix override renders identically across every generated section
ok - fm-brief.sh: an empty --branch-prefix override resolves to a bare <task-id> branch
ok - fm-brief.sh: --branch-prefix is refused on scout and secondmate scaffolds
ok - fm-brief.sh: --branch-prefix value is validated against embedded spaces and a leading dash
ok - fm-brief.sh: ref-format-valid shell metacharacters stay literal in generated branch commands
ok - fm-brief.sh: every crewmate scaffold forbids administering the shared worktree pool

Pipeline

Updates from git push no-mistakes

✅ **Intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

⚠️ **Review** - 1 info
  • 🚨 bin/fm-dod-lib.sh:520 - The merge brought in upstream's no-mistakes pr=manual Definition of done (fm_dod_manual_pr_block, added in feat(bin): add per-project pr=manual registry token for worker-written PR text #7937), but that block was not updated to this PR's completion contract. It still says "The task is complete only when committed on your branch." and "append done [at=&lt;epoch&gt;]: {summary} ... and stop". It still has no Terminal condition: line and still calls that first done: the pipeline handoff (lines 518-524). So the premature-done failure this PR fixes can still happen: a no-mistakes ship on a project registered pr=manual (fm_dod_block at bin/fm-dod-lib.sh:680) tells the worker to report done: on a bare local commit. This now also contradicts .agents/skills/validation-supervision/SKILL.md:11 and .agents/skills/ship-landing/SKILL.md:19, which say every no-mistakes handoff is working: implemented, ready for the pipeline. Fix: in the manual block, add Terminal condition: \done [at=<epoch>]: PR {url} checks green`. That is this task's ONLY legal `done:` line: a commit with no PR is not done.after the Ship branch line. Replace the three handoff lines with the sameCommit the finished implementation, then append `working [at=<epoch>]: implemented, ready for the pipeline` ...wording the auto and gerrit no-mistakes blocks use. Add a pr=manual row totest_definition_of_done_leads_with_its_terminal_condition` and to the no-done-handoff loop in tests/fm-brief.test.sh, because those tests claim to cover every scaffold but skip this one.
  • ℹ️ bin/fm-classify-lib.sh:308 - The handoff counts only when the note matches implemented, ready for the pipeline exactly. status_line_note trims leading whitespace only, so a worker line with a trailing period, trailing space or CR, or extra words does not count as captain-relevant on the signal path. The worker then waits idle until stale or turn-end supervision surfaces it, instead of getting the intended immediate wake. This exact match is a deliberate choice (the daemon test pins that a near-match is rejected), so this is noted only as a tradeoff. Trimming trailing whitespace before the comparison would make it more robust without widening what matches.

🔧 Fix applied.
1 info still open:

  • ℹ️ bin/fm-classify-lib.sh:308 - The handoff counts only when the note matches implemented, ready for the pipeline exactly. status_line_note trims leading whitespace only, so a worker line with a trailing period, trailing space or CR, or extra words does not count as captain-relevant on the signal path. The worker then waits idle until stale or turn-end supervision surfaces it, instead of getting the intended immediate wake. This exact match is a deliberate choice (the daemon test pins that a near-match is rejected), so this is noted only as a tradeoff. Trimming trailing whitespace before the comparison would make it more robust without widening what matches.
✅ **Test** - passed

✅ No issues found.

  • Live validation: ✅ go - 5 of 5 scenarios driven live against the product
Scenario Result Live Evidence
Scaffold a no-mistakes pr=manual ship brief: DOD names done: PR {url} checks green as the only legal done and hands off with the working: line ✅ pass live brief-dod-transcript.txt (nm-manual section, rc=0)
Scaffold no-mistakes auto and gerrit briefs: terminal condition plus working: handoff, no premature done ✅ pass live brief-dod-transcript.txt (nm-auto, nm-gerrit sections and counts)
Scaffold direct-PR, direct-PR gerrit, local-only, and scout briefs: each leads with its terminal condition and has no pipeline handoff ✅ pass live brief-dod-transcript.txt (dpr, dpr-gerrit, lo, sc sections and counts)
Worker writes working [at=..]: implemented, ready for the pipeline: classifier wakes firstmate, even with a restrictive FM_CAPTAIN_RE ✅ pass live classifier-transcript.txt; tests/fm-daemon.test.sh 'handle_wake routes routine progress, the pipeline handoff, and terminal events'
Adversarial: near-match handoff and normal working: progress lines do not wake firstmate ✅ pass live classifier-transcript.txt
  • bin/fm-brief.sh &lt;id&gt; some-proj --mode no-mistakes | --mode no-mistakes --pr manual | --mode no-mistakes --forge gerrit | --mode direct-PR | --mode direct-PR --forge gerrit | --mode local-only | --scout in a disposable FM_HOME, Definition of done captured
  • grep counts on every generated brief: done [at=&lt;epoch&gt;]: {summary}, complete only when committed on your branch., implemented, ready for the pipeline
  • status_is_captain_relevant from sourced bin/fm-classify-lib.sh on handoff, stamped handoff, near-match, progress, and done lines, with and without FM_CAPTAIN_RE='^(blocked):'
  • bash tests/fm-brief.test.sh (rc=0)
  • bash tests/fm-daemon.test.sh (rc=0, includes the handle_wake pipeline-handoff routing test)
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

Three of three no-mistakes ship workers reported `done:` on a local commit
with nothing pushed and no PR. The generated brief licensed it: the
no-mistakes Definition of done opened with "The task is complete only when
committed on your branch" and "append `done: {summary}` ... and stop", while
the real terminal line sat far below the setup, --intent, and gate prose.

Reserve `done:` for the delivered outcome. Every ship mode and the scout
scaffold now lead their Definition of done with one "Terminal condition:"
line naming that mode's single legal `done:` form, and a no-mistakes worker
hands off its implementation commit with the nonterminal
`working: implemented, ready for the pipeline` instead. That handoff still
reaches firstmate, which surfaces any crew that stopped its turn without
positive evidence it is still executing.

Rule 4 now defers its stop gates to the Definition of done rather than
requiring each to be a `done:` line, so it no longer contradicts the handoff.

No brief grows: the no-mistakes brief loses a line and the other three hold
their line count.
@greptile-apps

greptile-apps Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Reviews (3) · Last reviewed commit: "no-mistakes(review): Align pr=manual DOD..." · Reviewed by Greptile

Three of three no-mistakes ship workers reported `done:` on a local commit
with nothing pushed and no PR. The generated brief licensed it: the
no-mistakes Definition of done opened with "The task is complete only when
committed on your branch" and "append `done: {summary}` ... and stop", while
the real terminal line sat far below the setup, --intent, and gate prose.

Reserve `done:` for the delivered outcome. Every ship mode and the scout
scaffold now lead their Definition of done with one "Terminal condition:"
line naming that mode's single legal `done:` form, and a no-mistakes worker
hands off its implementation commit with the nonterminal
`working: implemented, ready for the pipeline` instead. That handoff still
reaches firstmate, which surfaces any crew that stopped its turn without
positive evidence it is still executing.

Rule 4 now defers its stop gates to the Definition of done rather than
requiring each to be a `done:` line, so it no longer contradicts the handoff.

No brief grows: the no-mistakes brief loses a line and the other three hold
their line count.
@AgardnerAU
AgardnerAU force-pushed the fm/fm-brief-dod-premature-done branch from be0f4e1 to 5bc4d70 Compare September 13, 2026 07:05
This commit carries no content change. Its tree is byte-identical to its
first parent 5bc4d70: it adds no file, removes no file, and edits no file.

It exists solely so the validation pipeline can re-bind its attestation.
The 2026-09-13 rebase moved this branch off the head the pipeline had
recorded, so the pipeline could no longer advance its own gate and its
attestation stayed bound to the abandoned pre-rebase head be0f4e1.
Recording be0f4e1 as a second parent makes that gate update a
fast-forward, so the pipeline can bind the attestation to the current
head as CONTRIBUTING.md requires.
@AgardnerAU AgardnerAU changed the title fix: reserve completion reports for delivered work fix(bin): lead every generated Definition of done with its terminal condition Sep 14, 2026
@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate:

First triage on HEAD 87936f0eafe30d1a1d67c605f3792d75bb1d8409. Diff reviewed (no .github/workflows/*): every ship/scout Definition of done now leads with a mode-specific Terminal condition: line; no-mistakes hands the implementation commit off with nonterminal working: implemented, ready for the pipeline instead of done: {summary}; rule 4 names an explicit stop-gate exception; AGENTS.md / afk skill match. Related open surfaces (not GitHub closing links on this PR): #3141 / #4370 / #1033; competing open PRs #3135 and #3683 touch the same done/validation contract — leave them for their own queues.

VISION per-rule:

  1. One captain, one interface — aligns (terminal done: stays a delivered outcome captains can trust).
  2. Authority explicit — aligns (no consent widen; delivery modes unchanged).
  3. Scripts own mechanics / agents own judgment — aligns (generated contract text + regression pins).
  4. Restart is a non-event — aligns (handoff still wakes via status append / watch surface).
  5. Delegation with a spine — aligns (ship contract: done means delivered for the mode).
  6. Fleet outlives any vendor — not in play.
  7. Scope — aligns (brief/DOD command-layer wording; validation stays no-mistakes).

contract-class: restore — unconfigured briefs were licensing premature done: on a local commit while status consumers already treat done: as delivered; this restores the promised delivery contract (and drops the “complete only when committed” wording for PR-delivering modes). Not a new delivery mode.

CI/NM: tip runs were action_required; approved this pass: CI 34855018847, Require no-mistakes 34855065462 / 34855018806. Waiting on green. attestation: MATCH (body 87936f0eafe30d1a1d67c605f3792d75bb1d8409 == tip). mergeable: MERGEABLE/UNSTABLE (checks pending). draft: no. workflow-zero: yes. security: none. closes issues verified: no (body has no Fixes/Closes; closingIssuesReferences empty).

Stamp waiting-ci. Do not escalate while CI/NM pending. Re-check for auto-merge when green.

Reconcile the Definition of done terminal-condition change with upstream's
status-line and draft-PR work.

Three files conflicted, all in the Definition of done contract:

- bin/fm-dod-lib.sh: keep the leading "Terminal condition:" line for every
  mode and drop the trailing restatement, while preserving upstream's
  non-draft read-back, its paused alternative for a deliberately held draft,
  and the `[at=<epoch>]` status form. Upstream's "The task is complete only
  when committed on your branch" line stays removed for the PR-based modes:
  it is the wording this branch exists to fix, and tests assert its absence.
- bin/fm-brief.sh: keep the scout Definition of done led by its terminal
  condition, without upstream's trailing duplicate.
- tests/fm-brief.test.sh: keep all three test registrations; the branch's two
  and upstream's non-draft test are independent and all pass together.

Every terminal condition now carries the `[at=<epoch>]` form upstream adopted,
so the line naming the only legal done form matches the form the rest of the
brief instructs, rather than teaching a stale one.
@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: stamped waiting-author (was waiting-ci at 87936f0e…; tip moved).

HEAD b6a364820b6de7165ba538eef047bff9c555a04c. Attestation MISMATCH (body still bound 87936f0eafe30d1a1d67c605f3792d75bb1d8409 ≠ tip after main-merge + no-mistakes(review): Stamp the no-mistakes pipeline handoff). workflow-zero yes. MERGEABLE/UNSTABLE.

contract-class: restore — generated ship/scout Definition of done now leads with mode-specific Terminal condition:; no-mistakes hands implementation off with nonterminal working: instead of premature done: on a local commit. Restores the promised delivery contract status consumers already treat as terminal. Not a new delivery mode.

VISION: One captain/interface aligns (trustworthy done:); Authority aligns (modes unchanged); Scripts/judgment aligns (generated contract + tests); Restart aligns (handoff still wakes); Delegation aligns (done means delivered for the mode); Fleet/vendor n/a; Scope aligns (brief/DOD wording; validation stays no-mistakes). Align.

Diff re-reviewed at tip (no workflows). Approved fork runs this pass: CI 35679045305, Require no-mistakes 35679045333. Please rebind attestation to this HEAD; then we re-check for auto-merge when MATCH + green.

Related open (leave on their queues): #3135, #3683. No GitHub Fixes/Closes on this PR.

@AgardnerAU AgardnerAU changed the title fix(bin): lead every generated Definition of done with its terminal condition fix(brief): reserve done for delivered no-mistakes PRs Sep 22, 2026
@AgardnerAU

Copy link
Copy Markdown
Contributor Author

The workflow runs on this pull request are held at action_required with no job started, so the required checks cannot report a result. The change itself is validated at the current head and the branch is not conflicting.

Could a maintainer release the held runs when convenient? Happy to rebase first if the base has moved far enough to matter.

@AgardnerAU AgardnerAU changed the title fix(brief): reserve done for delivered no-mistakes PRs fix(bin): prevent premature no-mistakes completion reports Sep 23, 2026
@AgardnerAU

Copy link
Copy Markdown
Contributor Author

Branch updated: the head is now f3df714.
Upstream main (706254d) was merged into the branch, so it is up to date with main and no longer conflicting.
The pipeline attestation in the PR body binds this head.
The workflow runs on this head are still held at action_required with zero jobs, awaiting maintainer approval.

@AgardnerAU AgardnerAU changed the title fix(bin): prevent premature no-mistakes completion reports fix(brief): lead every Definition of done with its terminal condition Sep 27, 2026
Upstream moved the Validate and PR-ready sections of AGENTS.md into the
validation-supervision and ship-landing skills. Take upstream AGENTS.md and
carry this branch's no-mistakes working: handoff wording into those skills.
@AgardnerAU

Copy link
Copy Markdown
Contributor Author

Updated this branch with current main. The PR is mergeable and ready for CI; the fork workflow runs await maintainer approval.

@AgardnerAU

Copy link
Copy Markdown
Contributor Author

Merged current upstream main into this branch (head 5bc9ba8); no-mistakes attestation is bound to this head. Up to date with main and ready for CI - the CI and Require no-mistakes runs are awaiting maintainer approval.

@AgardnerAU

Copy link
Copy Markdown
Contributor Author

Merged current main (conflict in bin/fm-dod-lib.sh resolved, keeping main's base-branch text); head cf5080e is up to date and mergeable, with the attestation bound to it. Ready for CI - the workflow runs are waiting for maintainer approval.

@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate (OSS triage, not the captain).

Thanks @AgardnerAU. My 09-22 stamp was waiting-author because of an attestation mismatch. You've since rebound the attestation and merged main. The new head is cf5080e3, attestation matches it, and it merges cleanly with main fb75c1f9.

I re-reviewed the tip diff. There are no workflow or secret changes, so I approved the fork runs: CI 38008983313 and Require no-mistakes 38008983367.

I'm correcting my earlier class: this is new-default, not restore. Main's specified default for a no-mistakes ship hands off with the pre-validation done: {summary}, and the docs and code say so explicitly. This tip replaces that with working: implemented, ready for the pipeline. It also makes that exact working line a mandatory captain-relevant wake that FM_CAPTAIN_RE can't suppress, and it adds a "Terminal condition:" lead to every generated Definition of done. Replacing a specified default path counts as new-default under our rules, even with a good motive. That was my mistake earlier, not anything you changed.

VISION:

  • One captain/one interface: aligns (a trustworthy done:).
  • Authority: aligns (modes unchanged).
  • Scripts/judgment: aligns.
  • Restart: aligns (the handoff still wakes).
  • Delegation with a spine: aligns.
  • Vendor: n/a.
  • Scope: aligns.

Outcome: waiting-ci. Once CI and no-mistakes are green, this goes to the captain to merge or leave. It won't auto-merge. Nothing is needed from you right now.

@AgardnerAU AgardnerAU changed the title fix(brief): lead every Definition of done with its terminal condition fix(bin): lead every Definition of done with its terminal condition Oct 13, 2026
@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: thanks @AgardnerAU for keeping this current.

What changed since my 10 Oct stamp (cf5080e3): you merged main 6407052f (head is now d4d7f8bf), and the attestation in the body is bound to this head (live go 6/6). The merge only brings main's changes into files this PR already edits. The PR's own change is the same as before: a "Terminal condition:" lead for each Definition of done, and the no-mistakes handoff as working: implemented, ready for the pipeline. I re-reviewed the tip diff and found no workflow or secret changes. CI at cf5080e3 was green.

I approved the held fork runs on this head: CI 38379042903 and Require no-mistakes 38379042852, 38379176853.

Contract-class: new-default (unchanged). It replaces the specified done: {summary} handoff, and the exact working line becomes a captain-relevant wake.
VISION.md: unchanged. All rules align, and the vendor rule is n/a.

Heads-up: main is currently red on unrelated Pi type drift. If this run fails only on those same shards, that's not on you, and nothing is needed from you. Also, #7218 adds lines to the same no-mistakes Definition of done block in bin/fm-dod-lib.sh, so whichever lands second may need a small rebase.

Status: waiting-ci. Once CI and no-mistakes are green on a green main, this goes to Kun to merge or leave. It won't auto-merge.

@AgardnerAU

Copy link
Copy Markdown
Contributor Author

Merged current main (6407052) into this branch; the only conflict, in bin/fm-dod-lib.sh, combined the new Forgejo forge support with this PR's terminal-condition lines. It is up to date and ready for CI. The one red check, Behavior portable parallel 1 (tests/fm-pi-primary-types.test.sh: Property 'prompt' does not exist on type 'BeforeAgentStartEvent'), fails identically on main at 6407052 and is not caused by this change.

@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: thanks @AgardnerAU.

What changed since my stamp earlier today: the code hasn't changed. The head is still d4d7f8bf, and that is the merge your note describes, including the Forgejo conflict in bin/fm-dod-lib.sh. The attestation still matches it, with live go 6/6. The approved CI run has finished. Everything passed except Behavior portable parallel 1, and I confirmed from the job log that its only failing suite is tests/fm-pi-primary-types.test.sh. That is the same BeforeAgentStartEvent.prompt type drift that has main 6407052f red, so it isn't caused by this change. Both Require no-mistakes runs passed.

Contract-class: new-default, same as before: it replaces the specified done: {summary} handoff. VISION.md: no change. All rules align, and the vendor rule doesn't apply. The overlap with #7218 in the same no-mistakes Definition of done block still stands.

Status: waiting for main to go green. Once main is green, this goes to Kun to merge or leave. It won't auto-merge, and nothing is waiting on you.

…ture-done

# Conflicts:
#	.agents/skills/afk/SKILL.md
#	bin/fm-dod-lib.sh
@AgardnerAU

Copy link
Copy Markdown
Contributor Author

Merged current main into this branch (head 746f8bc) and resolved the conflicts in bin/fm-dod-lib.sh and the afk skill. Upstream's new external-review Definition of done now also leads with its terminal condition, with a test. It is up to date with current main and ready for CI; the workflow runs are waiting for maintainer approval.

@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: thanks @AgardnerAU for keeping this current.

Changes since my 13 Oct stamp (d4d7f8bf): you merged current main, and the head is now 746f8bc5. The new conflicts in bin/fm-dod-lib.sh and the afk skill are resolved. Upstream's new forge=external direct-PR Definition of done now also starts with its own Terminal condition: line, and it has a generated-output test. The attestation in the body is bound to this head, with live go 7/7. Apart from that, the change is the same as before. I re-reviewed the tip diff: no workflow, secret or network changes. GitHub reports it MERGEABLE.

I approved the held fork runs on this head: CI 39134140149 and Require no-mistakes 39134140117.

Contract-class: new-default (unchanged). It replaces the specified no-mistakes done: {summary} handoff with working: implemented, ready for the pipeline, makes that exact line a captain-relevant wake that FM_CAPTAIN_RE cannot suppress, and adds a Terminal condition lead to every generated Definition of done.
VISION.md: unchanged. All rules align, and the vendor rule doesn't apply. #7218, which is still open, touches the same no-mistakes Definition of done block, so whichever PR lands second may need a small rebase.

Status: waiting-ci. Once CI and no-mistakes are green, this goes to Kun to merge or leave. It won't auto-merge, and nothing is waiting on you right now. Main's last run has Behavior portable serial 2 cancelled at the 30-minute ceiling (#7255). If that shard is the only red here, it mirrors main and isn't on you.

@AgardnerAU AgardnerAU changed the title fix(bin): lead every Definition of done with its terminal condition fix(bin): stop no-mistakes briefs from inviting a premature done Nov 4, 2026
@kunchenguid kunchenguid added the full-ci Maintainer go-ahead: run the full CI suite on this outside pull request label Nov 4, 2026
@kunchenguid

kunchenguid commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: thank you @AgardnerAU for keeping this current. Since my 18 Oct note you merged main again (head 204a8432, merging cleanly with main), and no-mistakes' review caught that upstream's newer pr=manual Definition of done (#7937) still invited a premature done:, which 204a8432 now aligns with the working: handoff and a Terminal condition line. The attestation binds this head with every step completed, live is go 5/5, Greptile is 5/5 with no open threads, the quick checks pass, and tests/fm-brief.test.sh passes here (45 ok). I've added the full-ci label so the Full suite runs on this head. Nothing is needed from you. Contract-class: new-default (unchanged): once Full is green this goes to Kun to merge or leave, and that part is on him.

@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: @kunchenguid this one is ready for your merge-or-leave call. It's new-default: every generated Definition of done now leads with a Terminal condition: line naming the only legal done:, and no-mistakes ships (including pr=manual and Gerrit) hand off with working: implemented, ready for the pipeline instead of the specified pre-validation done: {summary}. That line becomes a captain-relevant wake that FM_CAPTAIN_RE can't suppress, and older done: lines are still accepted. All gates are green on 204a8432: Full suite (run 41792366177), quick checks, no-mistakes with no skipped steps, live 5/5, Greptile 5/5. VISION aligns on every rule (vendor n/a). Overlap: #7218 edits the same Definition-of-done block. Rockets: none.

@AgardnerAU nothing is needed from you; this is waiting on Kun, not you, and any merge conflict is ours to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-ci Maintainer go-ahead: run the full CI suite on this outside pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants