Repository navigation
Closed
Feature
Copy link
Labels
agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
Description
Parent
Refs #9154
Depends on
- none: on the frontier now
Outcome
When a turn ends on a tree whose newest recorded mechanical result is not a pass, the user sees a warning naming the result. Nothing blocks, and the turn ends as it would have.
Demo: run /toolchain:check on a tree with a failing test and end the turn: a warning names Overall: FAIL. Change a file so the tree no longer matches the result and end the turn again: the warning says no result is recorded for this tree.
Decisions
- Gate G1, with G2 folded, from the proposal on verification: gate-based verification across Sonnet 5.5, Opus 5.5 and Fable 5.1 #5678: the newest mechanical result for the current tree reads
Overall: PASS;FAIL,INCOMPLETEandSTOPPEDdo not pass. The hook reads a result recorded for the tree hash and does not rerun the suite. - Decision 2 on Approve the must-not-break gate set, defaults and reviewer rule from #5678's design proposal #9154: a
judgmentrow takesadvisory, "enforcewith no source would add blocking with no evidence", andadvisory"reports and blocks nothing". This row has no source for a default, so it isadvisoryeverywhere. The proposal's "enforcein lanes" is not carried over. - G2 needs no lint change: fix(toolchain): lint reports a bare skip, so confirm can pass a lint-only environment gap #6192 is delivered by fix(toolchain): name lint environment skips and report INCOMPLETE #7067, and lint already reads
INCOMPLETE. The hook only has to read that result the way it reads check's. - Class: C3, per Approve the must-not-break gate set, defaults and reviewer rule from #5678's design proposal #9154's first acceptance criterion.
Key interfaces
- The Overall line of
/toolchain:checkand/toolchain:lint, as those skills define it: this slice reads it and changes none of its meanings. - The Stop hook output:
advisoryis exit 0 withsystemMessage(hooks: JSON output). It sets nodecision: "block", no exit 2 and noadditionalContext, each of which continues the turn (hooks: Stop decision control). - One
off,advisory,enforcesetting in pluginuserConfig, read from trusted sources only, as the autonomy plugin's lane stop gate does, so a watched repository'senvblock cannot turn it off.
Done when
- AC1: With a recorded
FAIL,INCOMPLETEorSTOPPEDresult for the current tree, a test shows the hook exits 0 with asystemMessagenaming that result and sets no block. - AC2: A recorded lint
INCOMPLETEis reported the same way as a checkINCOMPLETE, shown by a test. - AC3: With a recorded
PASSfor the current tree, a test shows the hook prints nothing. - AC4: A result recorded for another tree hash does not count, shown by a test.
- AC5: A turn with no changed file produces no warning, shown by a test that fails if the hook warns there.
- AC6: The setting defaults to
advisory,offprints nothing, andenforceblocks only on a definite failure, never on an unreadable record or missing tool (fail-open), each shown by a test. - AC7: The hook never runs a build, test or lint command.
Out of scope
- A default of
enforceanywhere: a later change, once the advisory reports give data, per decision 2. - The meaning of
/toolchain:checkand/toolchain:lintresults. - Reporting verifier verdicts (the G3 and G7 slices).
Metadata
Metadata
Assignees
Labels
agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
Type
Fields
No fields configured for Feature.
Activity
github-actions commentedon Oct 31, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Understood: add an advisory Stop hook to the toolchain plugin. When a turn ends on a tree whose recorded check or lint result for the current tree hash is not
Overall: PASS, it exits 0 with asystemMessagenaming the result. It never blocks and never runs a build, test or lint command. A singleoff,advisoryorenforcesetting defaults toadvisory. The done-when items AC1 to AC7 are testable and the outcome is exact. No duplicates found among the open issues. #9154 is the parent and is referenced, not a duplicate.Automated triage, applied by the lanes App.
github-actions commentedon Oct 31, 2026
github-actions commentedon Oct 31, 2026