Skip to content

feat(toolchain): warn at turn end when the tree's recorded check or lint result is not a pass #11500

Description

@kyle-sexton

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

Key interfaces

  • The Overall line of /toolchain:check and /toolchain:lint, as those skills define it: this slice reads it and changes none of its meanings.
  • The Stop hook output: advisory is exit 0 with systemMessage (hooks: JSON output). It sets no decision: "block", no exit 2 and no additionalContext, each of which continues the turn (hooks: Stop decision control).
  • One off, advisory, enforce setting in plugin userConfig, read from trusted sources only, as the autonomy plugin's lane stop gate does, so a watched repository's env block cannot turn it off.

Done when

  • AC1: With a recorded FAIL, INCOMPLETE or STOPPED result for the current tree, a test shows the hook exits 0 with a systemMessage naming that result and sets no block.
  • AC2: A recorded lint INCOMPLETE is reported the same way as a check INCOMPLETE, shown by a test.
  • AC3: With a recorded PASS for 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, off prints nothing, and enforce blocks 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 enforce anywhere: a later change, once the advisory reports give data, per decision 2.
  • The meaning of /toolchain:check and /toolchain:lint results.
  • Reporting verifier verdicts (the G3 and G7 slices).

Activity

  1. added
    agent-ready
    on Oct 31, 2026
  2. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor

    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 a systemMessage naming the result. It never blocks and never runs a build, test or lint command. A single off, advisory or enforce setting defaults to advisory. 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.

  3. added
    status: ready
    on Oct 31, 2026
  4. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor
    No description provided.
  5. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor
    No description provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readystatus: ready

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions