Repository navigation
contract: direct-PR ship tasks get one independent review before merge - #1
Merged
Merged
Conversation
added 2 commits
August 19, 2026 15:43
Four direct-PR ship tasks reviewed on 2026-08-19 each surfaced a confirmed defect that the implementing worker's own self-review had missed. direct-PR is the one delivery mode with no review step of its own, so it now gets exactly one independent scout review of its opened PR before the merge authority decides, never stacked, never inferred from risk alone, with any further review still gated on an explicit captain request.
Say "the pull or merge request it opened" instead of "PR" so the new review-standard sentence reads correctly for GitLab projects too, not just GitHub ones. The direct-PR mode name itself is unchanged; renaming it is a separate, out-of-scope task.
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.
Why it matters
direct-PRis the only delivery mode with no review step of its own. no-mistakes owns review on its path,local-onlylands through a guarded merge, anddirect-PRruns implementation straight to an opened review request awaiting the merge authority. Nothing sits between the implementing worker's self-review and the captain.On 2026-08-19 four
direct-PRship tasks inai-monorepowere each given one independent scout review after their merge request was opened. All four reviews found confirmed defects, including two that regressed behaviour which had previously worked:Every one had already passed the implementing worker's own self-review. That is the gap this closes: self-review by the author does not catch this class, and
direct-PRhas nothing after it.Change
AGENTS.mdsection 7, "Selected delivery path and approval authority" — the three sentences owning review authority are patched in place rather than extended, per the one-owner rule infirstmate-coding-guidelines:direct-PRship task now gets exactly one independent scout review before the configured merge authority decides, with the reason stated inline: that mode carries no pipeline review of its ownCross-reference reconciled: section 7's intake classification previously framed scout work as appropriate only when the captain explicitly requests it, which the new standing review would have contradicted. It now admits the standing direct-PR review without becoming a second copy of the rule.
Validation
bin/fm-doc-audience-check.sh— passbin/fm-lint.sh— passNot run: the no-mistakes pipeline. This repo's own contract ships shared tracked material through that pipeline, and it has not run against this branch. The two checks above were run directly. Treat this as unvalidated by the pipeline until it does.
Ticket deviations
No ticket — filed directly from a captain instruction.
The scope is deliberately broader than the evidence strictly supports: every
direct-PRship task in every project, generalised from four tasks in one repository on one day. Justification: in none of the four cases was the failure class predictable from the surface, so a "review only risky-looking changes" rule would have missed all four. A narrower rule keyed on product-facing or shared-contract surfaces is defensible and was considered.Follow-ups
AGENTS.mdis GitHub-flavoured: 25 mentions of "PR", zero of "MR", while every project this fleet manages is GitLab.direct-PRis additionally a literal accepted flag value in sixbin/*.shscripts and indata/projects.mdentries, so a rename is a breaking change needing its own task rather than a wording fix.