Skip to content

Approve the must-not-break gate set, defaults and reviewer rule from #5678's design proposal #9154

Closed
5 of 5 issues completed

Description

@kyle-sexton

Problem

#5678 moves must-not-break verification into deterministic gates plus a scoped verifier. Owner decision D3 (2026-10-18): design first, then decompose. A read-only lane posts the design proposal on #5678 (a gate table with vehicle, default and basis, plus options for the reviewer-weaker-than-implementer rule and for review on Sonnet against the consequential-verdict tier rule). Choosing among those is an owner decision, not lane work.

Criteria moved from #5678

Blocked by: #5678

Sub-issues

Sub-issues

5 of 5 Issues completed
Loading 5 sub-issues

Activity

  1. added
    needs-human
    on Oct 22, 2026
  2. added theissue type on Oct 22, 2026
  3. added
    status: confirmed
    and removed
    needs-human
    on Oct 22, 2026
  4. kyle-sexton commented on Oct 25, 2026

    @kyle-sexton
    MemberAuthor

    Released for re-triage under the owner's 2026-10-24 rule: an issue stops for a person only for an intent or vision question, a security call, a host or attended run, or spend outside prepaid credit. The hold label came off and intake triage runs again now; it re-applies a hold, with a numbered question, when one of those applies.

    To hold this issue again, add needs-human (or status: needs-decision) and say why in a comment.

  5. added
    needs-human
    on Oct 25, 2026
  6. kyle-sexton commented on Oct 25, 2026

    @kyle-sexton
    MemberAuthor

    Hold restored: the 2026-10-25 release took needs-human off, but this issue does need a person under the owner's stop rule. Reason (intent): "The owner approves the gate set, each gate's default and the reviewer rule, recorded as a Decision recorded comment"

  7. kyle-sexton commented on Oct 26, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The owner answered in the Refinement and Issue Triage sessions (2026-10-25), deciding the open items below on the facts:

    go with whatever the facts/data/metrics + /discovery:research says and ensure we're aligned with SOLID, DRY/SSOT principles

    I should only ever be in the loop ONLY when necessary (intent/vision changed, something came up during implementation that impacts trajectory/alignment, OR a high security risk) - I've covered this all before

    The owner's standing rule of 2026-10-26 (full text in ledger-2026-10-26.md) opens:

    I (the human) should only ever be in the loop or involved via signals like needs-human / needs-decision labels if there is

    Approving the gate set, the defaults and the reviewer rule sets no new intent. #5678's intent is already stated: deterministic gates, "with one off/advisory/enforce setting per gate defaulting to Anthropic's recommendation" (#5678 body, #5678). The owner's D3 (#5678 (comment)) chose design first, then decompose. So this record replaces the per-row approval with a rule. Each row of the proposal is accepted or dropped by that rule when the proposal is posted.

    No owner ledger (.work/*/interview-checklist.md, .work/gh-monitor-owner-decisions/, refinement/ledger*.md) names #9154 or #5678.

    The proposal table is not posted yet. The latest triage comment on #5678 (#5678 (comment)) says what remains is the read-only design proposal comment. This record names no gates of its own.

    1. Which gates are in the set?
      Decided (Basis: verification: gate-based verification across Sonnet 5.5, Opus 5.5 and Fable 5.1 #5678 body criteria, verification: gate-based verification across Sonnet 5.5, Opus 5.5 and Fable 5.1 #5678): every proposal row whose definition is one checkable condition, as verification: gate-based verification across Sonnet 5.5, Opus 5.5 and Fable 5.1 #5678's criteria require, is in the set. A row whose condition a check already enforces does not get a new Stop hook or /goal. Its gate is that check, named as the file that owns it today, which verification: gate-based verification across Sonnet 5.5, Opus 5.5 and Fable 5.1 #5678's second criterion already asks the table to list (for example plugins/toolchain/skills/check/SKILL.md and plugins/verification/skills/confirm/SKILL.md). This follows the brief's "No added mechanisms" rule.
    2. Each gate's default.
      Decided (Basis: verification: gate-based verification across Sonnet 5.5, Opus 5.5 and Fable 5.1 #5678 body, verification: gate-based verification across Sonnet 5.5, Opus 5.5 and Fable 5.1 #5678): a row that cites an upstream URL takes the default that URL recommends, per verification: gate-based verification across Sonnet 5.5, Opus 5.5 and Fable 5.1 #5678's "defaulting to Anthropic's recommendation". A row marked judgment takes advisory. off does nothing, so it does not protect a must-not-break condition. enforce with no source would add blocking with no evidence. advisory reports and blocks nothing. The default is revisited when the advisory reports give data. A condition that already blocks today, such as the required ci-status check (AGENTS.md, "Pull request states"), is never lowered below enforce.
    3. The reviewer-weaker-than-implementer rule, and review on Sonnet.
      Decided: this is already on main, in one place, so no new rule is written. docs/plugin-philosophy.md:1237-1240, "Model tiers": rule 3, "A judgment verdict is never on a weaker model than the work it checks. An equal model is valid." Rule 4: "A cheaper checker is acceptable only when an objective failure signal backs it". Review on Sonnet is therefore allowed when the work it checks ran on Sonnet or a weaker model, or when an objective failure signal such as a build, test or exit-code check backs it. Otherwise it is not allowed. The repo's own caveat stays: applying the advisor rule to a subagent verdict is "our reading, not a source statement" (docs/plugin-philosophy.md:1253-1256). The consequential-verdict pin the issue names is the effort pin in the same file (docs/plugin-philosophy.md:1189-1192), and it cites rule 3.

    Acceptance criteria:

    • After verification: gate-based verification across Sonnet 5.5, Opus 5.5 and Fable 5.1 #5678's proposal comment is posted, /work-items:decompose files one C3 slice per row that decision 1 keeps, and each slice states its default under decision 2.
    • No slice adds a Stop hook or /goal for a condition that an existing check already enforces. That slice points at the file that owns the check.
    • No slice writes a second reviewer-strength rule. A slice that needs one cites docs/plugin-philosophy.md "Model tiers" rules 3 and 4.
  8. added
    agent-ready
    and removed
    needs-human
    on Oct 26, 2026
  9. added
    needs-human
    and removed
    agent-ready
    on Oct 26, 2026
  10. melodic-automation-lanes commented on Oct 26, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped partway through this issue and needs a person.

    Why, in the run's own words:

    Blocked by #5678: its read-only design proposal comment (the gate table with vehicle, default and basis) is still not posted, so there are no proposal rows for the recorded decision's rules to accept or drop. The decision on #9154 (2026-10-26) says its acceptance criteria apply 'After #5678's proposal comment is posted'. What is left is tracker work: /work-items:decompose files one C3 slice per kept row. This lane only edits the working tree and cannot file tracker items, so nothing was changed. Run this again, or run /work-items:decompose by hand, once the proposal comment is on #5678.

    What the run says it did not do:

    • Filing one C3 slice per kept gate row through /work-items:decompose: #5678's proposal comment is not posted, and this lane cannot write to the tracker.
    • The GitHub page for #5678 has a 'Load more' timeline fold, so this read may have missed a later comment. The latest visible triage comment still says the proposal is outstanding.

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40356668313

    To retry, remove needs-human and add agent-ready again.

  11. removed
    needs-human
    on Oct 29, 2026
  12. kyle-sexton commented on Oct 31, 2026

    @kyle-sexton
    MemberAuthor

    Host run. This run applied the three decisions in 6420943844 to every row of #5678's proposal and filed the slices they keep.

    What ran

    • Read origin/main at 2d8bba0e80: every owner file below, cited by file:line.
    • Read these upstream pages live on 2026-10-31, as raw markdown: best-practices, goal, hooks, advisor tool.
    • No model run and no eval. No file edited, no branch, no PR.

    Rows

    "D1", "D2" and "D3" are decisions 1, 2 and 3 in 6420943844. The proposal's Facts section says no upstream page sets an off/advisory/enforce value, so every row is judgment for D2. Re-read today: "How strict you make the check is up to you" (give Claude a check to run).

    Row Result Default under D2 Evidence
    G1 Slice. Stop hook reading a recorded result advisory everywhere. The proposal's "enforce in lanes" is dropped: D2 says "enforce with no source would add blocking with no evidence", and this row has no source for a default No hook: plugins/toolchain has no hooks directory. Counting rules: plugins/toolchain/skills/check/SKILL.md:152,172. Vehicle: enforce the check with a Stop hook. systemMessage is "Warning message shown to the user" (hooks: JSON output)
    G2 Folded into G1 as one criterion As G1 #6192 is delivered: #7067 merged as 97f04e003e. Lint names its skips and reads INCOMPLETE (plugins/toolchain/skills/lint/SKILL.md:140,200,202); confirm holds on it (plugins/verification/skills/confirm/SKILL.md:153). No drift remains. The proposal's "the drift is tracked in #6192" is out of date. All that remains is that G1's hook treats a lint INCOMPLETE as not passing
    G3 Slice. Record and report the verdict per head advisory The verdict exists (plugins/verification/skills/confirm/SKILL.md:148-153,191), but nothing records it per head: the ready verify step records check-affected.sh --tests, not confirm (plugins/source-control/skills/pull-request/reference/ready-for-review.md:238)
    G4 No new mechanism. Gate is the existing hook advisory (unchanged) plugins/testing/hooks/test-weaken.sh:4-6,18
    G5 No new mechanism. Opted-in lanes stay enforce See below plugins/autonomy/hooks/lane-stop-gate.sh:5-11,21-23
    G6 No slice of its own. Gate is /verification:confirm, reported through G3's slice advisory, not the proposal's off See below
    G7 Slice. Record and report the verdict per head advisory Rule: plugins/verification/skills/measure/SKILL.md:17. No per-head record exists
    G8 No new mechanism. Never lowered enforce plugins/source-control/skills/pull-request/scripts/verify-gate.sh:2-9
    G9 Slice, larger than a default flip advisory, not the proposal's off See below
    G10 No new mechanism. Never lowered enforce .github/workflows/pr-require-checks.yml, Require both review lanes on this head; ADR 0002 addendum (docs/adr/0002-default-on-ai-review-advisory-with-earned-promotion.md:422-427)

    G5: how D2 reads for the interactive default

    D2's "off does nothing" does not change G5. Its condition names "an opted-in autonomous lane", so an interactive session is outside the condition, and there is nothing for an advisory default to protect. The proposal's "off interactive" states that scope, not a gate default. The gate already blocks for opted-in lanes (first stop attempt, lane-stop-gate.sh:5-11), so D2's last sentence keeps them at enforce. Engaging it by default "would wedge every interactive user's stop" (:21-23).

    G6: /goal has no advisory form and no default to set

    • /goal is user-only, so no plugin default can start it: "invocation mode ...: user-invocable only, model invocation disabled" (docs/native-surfaces.md:250-258, a record from Claude Code 2.1.284, recheck when it changes).
    • It cannot report without acting. Its evaluator returns three verdicts, and "Not yet met" means "Claude keeps working" (goal: how evaluation works). D2 says advisory "reports and blocks nothing".
    • /verification:confirm already checks the condition. Every requirement is extracted and marked COMPLETE, PARTIAL or MISSING (plugins/verification/skills/confirm/context/outcome.md:15,57), a MISSING or unjustified PARTIAL item gives NEEDS WORK (:99), and the check's output goes in the evidence (:109). D1 names that skill as a check that counts, and says such a row "does not get a new Stop hook or /goal".

    So G6's gate is that file. Nothing blocks on it, which is advisory. What it lacks is a per-head report, and G3's slice adds one. /planning:draft-goal-condition stays the way a person sets a goal on a long run, which is where upstream says it matters: "You rarely need this in the session yourself. It matters for long background runs" (give Claude a check to run).

    G9: the existing knob cannot mean advisory

    markdown_format_end_of_turn is a boolean, default false (plugins/markdown-format/.claude-plugin/plugin.json:30-35). With it on, findings exit 2 (plugins/markdown-format/hooks/markdown-format.sh:39-48), and exit 2 on Stop "sends Claude back to keep working" (hooks: Stop decision control). That is enforce under the proposal's mapping, so flipping the default would add blocking with no source, which D2 refuses. The slice adds a reporting state (exit 0 with systemMessage) and makes it the default. Whoever opted in today keeps today's behavior.

    Reviewer rule

    D3 stands, and no new rule is written. Tier rules 3 and 4 are at docs/plugin-philosophy.md:1237-1240, and the caveat that applying the advisor rule to a subagent verdict is "our reading, not a source statement" is at :1253-1256. The upstream rule is unchanged: the advisor "must be at least as capable as the executor" (advisor tool: model compatibility).

    pr-review is sonnet at effort high (docs/conventions/pr-pipeline.yaml:686-688), routes review-code and review-security use it (:734-735), and both lanes gate merges (ADR 0002 addendum, :422-427). D3 allows that only when the work ran on Sonnet or weaker, or an objective failure signal backs it, and "Otherwise it is not allowed". One slice brings the lanes in line. S1, S2 or S3 stays that slice's choice.

    Correction to the proposal: it names #5682 as the Sonnet-against-Opus recall evidence. That issue's body sweeps each pinned agent at medium and high effort, and compares no models. It does not settle S1 to S3, so the slice is not blocked by it. The slice takes its own measurement, on a host because it is a paid eval run.

    Slices

    Filed through /work-items:decompose, each a sub-issue of this issue and class C3 by its body. Decompose stamps no work-class: label.

    Slice Rows Label
    #11500 G1, G2 agent-ready
    #11501 G3, carrying G6's report agent-ready
    #11504, blocked by #11501 G7 agent-ready
    #11502 G9 agent-ready
    #11503 Review lanes, D3 host-run

    G4, G5, G8 and G10 get no slice. Every Done-when line passes main's unpushablePaths and unrunnableCriteria.

    This issue's three criteria: the first is met by the table above, with G6 served through #11501. The second holds: no slice adds a Stop hook or /goal for a row an existing check covers. The third holds: #11503 writes no second rule.

    Target labels: add none; remove none.

  13. kyle-sexton commented on Nov 1, 2026

    @kyle-sexton
    MemberAuthor

    Closing as completed. The 2026-10-31 host run applied the 2026-10-26 decisions to every row of #5678's proposal and filed #11500-#11504, meeting all three criteria. Each slice has since merged: #11684, #11510, #11756, #11713, #11531.

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

    status: confirmed

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions