Skip to content

feat(contracts)!: release enforcement ladder 3.0.0 with a verification tier and capability-named rungs - #16087

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16077-43540897139-1
Nov 14, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16077-43540897139-1

Conversation

@melodic-automation-lanes

@melodic-automation-lanes melodic-automation-lanes Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Closes #16077

Summary

Opened by the work-resolve-issue lane. The run's own summary:

The enforcement-ladder contract moves to 3.0.0. The rung id semgrep-rule is renamed syntax-pattern-rule and stays an alias, with a printed notice, through 3.x. custom-analyzer and architecture-test are now defined by capability, with no tool names. A new Tier 3 Verification holds runtime-verification and an opt-in formal-verification, so Guidance moves to tier 4 and Human only to tier 5; tests stay on static analysis. New Proportion (in words, no digit) and Order of work sections are added. The five plugin copies are regenerated, each carrier gets one major fragment, and the redirect stub points at the renumbered anchors. Design choices, each based on the parent issue #15708: rung ids other than the three named in D13 are kept. The guardrail criterion now names the codebase and static-analysis tiers instead of 'tier 1 or 2', so its scope is unchanged. The test fixture path in docs-hygiene's detector test is renamed so that semgrep-rule appears only on the alias line outside corrections and changelogs. Pre-flight readers of rung ids and tier numbers: the five copies; three codify eval cases and their samples, updated to accept both ids; the docs-hygiene detect.test.sh fixture name; and two tier-number mentions in docs/upstream/poteto-all-code-is-slop-talk.md, reworded to name the tier. No script parses a rung id. plugins/corrections/skills/codify/reference/finding-classes.md still writes semgrep-rule, which the alias accepts. Codify's finding classes are the next item on this path, and the issue lists them as out of scope.

Not verified

  • Tidy skipped: the change has 22 files across several areas, over the 10-file, 300-line and 1-area cutoffs
  • check-evals-quality not run on the changed codify cases: the script reads only evals.json sets and refused case.yaml (jq parse error); CI's eval-cases and evals-schema jobs cover them
  • Eval runs (the two-version compare per carrier) not run here; issue #16077 dropped that done-when item, which belongs to part 2 of #15708
  • codify's finding-classes.md still writes semgrep-rule (the alias accepts it), and the guardrail fallback and codify selection row do not yet say whether a reader can land on the verification tier; both belong to the next items on this path (codify finding classes; carrier selection rows), which…
  • validate-plugins sub-checks and changed-skills inside check-affected were skipped by the runner because they run code from the checked tree; CI runs them

Fix

  • docs/contracts/enforcement-ladder/README.md: version 3.0.0; syntax-pattern-rule rung and alias line; capability definitions for custom-analyzer and architecture-test; Tier 3 Verification (runtime-verification, formal-verification opt-in); Guidance to tier 4, Human only to tier 5; Proportion and…
  • docs/contracts/enforcement-ladder/CHANGELOG.md: 3.0.0 entry with the verification tier's reason (the talk's pyramid, slides 8 to 10), the rename, the alias, the tier moves and the new sections
  • docs/conventions/enforcement-ladder/README.md: redirect stub keeps its headings; the Guidance and Human only links now point at #tier-4-guidance and #tier-5-human-only
  • plugins/review/context/enforcement-ladder.md, plugins/session-flow/skills/retro/reference/enforcement-ladder.md, plugins/harness-config/skills/audit-automation-gaps/context/enforcement-ladder.md, plugins/architecture/skills/improve/research/enforcement-ladder.md,…
  • .changes/{review,session-flow,harness-config,architecture,corrections}/work-resolve-issue-issue-16077-*.md: one bump: major fragment per carrier plugin; no plugin version edited
  • .changes/docs-hygiene/work-resolve-issue-issue-16077-43540897139-1-e353703c.md: bump: none fragment for the test fixture rename
  • plugins/corrections/evals/codify-repeated-mechanical-mistake-gets-a-check/case.yaml and samples/checking-rung.json: grader accepts syntax-pattern-rule; pass sample added
  • plugins/corrections/evals/codify-checkable-lesson-takes-a-strong-rung/case.yaml and samples/strong-rung.json: grader accepts syntax-pattern-rule; pass sample added
  • plugins/corrections/evals/codify-invalid-state-lands-on-make-impossible/case.yaml and samples/semgrep-pointer.json: grader accepts syntax-pattern-rule; description and expected outcome mention the syntax-pattern rung; pass sample added
  • plugins/docs-hygiene/skills/audit-noise/scripts/detect.test.sh: ghost-ref fixture path renamed from 01-semgrep-rule-src.md to 01-syntax-pattern-rule-src.md
  • docs/upstream/poteto-all-code-is-slop-talk.md: 'Tier 3 Guidance' and 'Tier 4 Human only' reworded to the Guidance tier and the Human only tier

Verification

The runner ran each check from the base copy against df97456:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • sync-shared-copies --check: all 848 registered copies match their canonical sources
  • check-changelog-fragments: all 42 fragments valid
  • check-changed-skills: 5 skills checked, 0 failed (warnings only, all from before this change)
  • check-affected: 15 passed, 6 skipped over 22 changed files; the first run failed on a missing docs-hygiene fragment, which was then added
  • Grep for semgrep-rule outside plugins/corrections: only the alias line in the contract and its four non-corrections copies, plus changelogs and fragments
  • Grep for tier-3-guidance, tier-4-human-only and Tier 3 Guidance / Tier 4 Human: none left outside the stub's kept headings
  • Fresh-context review subagent: anchors resolve, no digit in Proportion, all copies identical, eval regexes match every pass sample and no fail sample; its in-scope findings (the CHANGELOG reason, the tests rationale, the scaffold wording, the proportion wording, the definition of loop, the eval…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43540897139

Left out: the items under Not verified.

Related

#16077

Follow-ups

  • Pre-existing (advisory): **Advisory: this change breaks the contract's own Versioning rule.** That section ([L215-L216](https://github.com/melodic-software/claude-code-plugins/blob/df97456ad38f1b43f8eaeecc2c052c9ca561ca94/doc (thread)

Lane-Activity: work-resolve-issue/resolve-issue
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head df97456ad38f1b43f8eaeecc2c052c9ca561ca94. No person needs to act: a lane clears this reason, and the next scheduled run judges it again.

pr-merge's gate refuses its verifier verdict (verify:missing)

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 43542421087

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed df97456ad38f1b43f8eaeecc2c052c9ca561ca94: read 22 of 22 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #16087 (enforcement ladder 3.0.0)

I found no security issues.

Scope: I read every hunk of the 15 files in the to-read list. Their copies under identical.txt were skipped: four changelog fragments, plus four generated ladder copies under plugins/{corrections,harness-config,review,session-flow}. Each copy sits at a documentation or context path, the same kind of path its first file uses. None of them is a hook, workflow, settings or manifest path, so moving the content there does not change what it does. None of the changed files matches a TRUSTED PATHS glob.

What changed:

  • Ladder docs: the enforcement-ladder contract, its changelog, the redirect stub, and the generated copies (rung renamed to syntax-pattern-rule with an alias, new Tier 3 Verification, Guidance and Human only renumbered, Proportion and Order of work sections added).
  • Changelog fragments.
  • Three codify eval cases: each grader regex gains the syntax-pattern-rule alternative, and each case gets a pass sample.
  • One test fixture path in plugins/docs-hygiene/skills/audit-noise/scripts/detect.test.sh, inside a quoted heredoc (<<'EOF'), so nothing is expanded.

Instruction-surface lens: the diff edits standing guidance that skills read, so I checked it for a guardrail that was deleted, narrowed or softened. None was:

  • Guardrail criterion: "tier 1 or 2" becomes "the codebase or static-analysis tier". These are the same two tiers, so its scope is unchanged.
  • Renamed rungs: the custom-analyzer, syntax-pattern-rule and architecture-test rows only reword what each rung is. No rule is removed.
  • New Verification tier: it adds a layer. The formal-verification rung is opt-in.
  • Eval graders: they now accept one more rung id. This loosens a quality check, not a security control.

docs/contracts/instruction-exception-register/README.md was not consulted; I judged by consequence instead.

Other checks:

  • No plugin manifest, workflow, hook, token, trust-control or merge-hold file is changed.
  • The PR text contains no embedded instructions aimed at this lane.
  • No prior findings were posted (0 earlier heads reviewed), and this was not a blocking-only review.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on df97456ad38f1b43f8eaeecc2c052c9ca561ca94; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed df97456ad38f1b43f8eaeecc2c052c9ca561ca94: read 22 of 22 changed file(s); 2 finding(s), 1 as inline comments.

Code review: enforcement ladder 3.0.0 (#16087)

I read all 15 files on the to-read list in full, plus the contract and redirect stub at head. The four identical .changes/* major fragments and the five generated ladder copies match their first paths. Their paths (changelog fragments and plugin reference/context docs) don't change what the content does.

Closing issue #16077 acceptance criteria

  • AC2 is met. The ladder has no tool-named rung id: syntax-pattern-rule, and custom-analyzer/architecture-test are defined by capability. Tier 3 Verification is third. Proportion is stated in words with no digit. Order of work is lint, clean up, strengthen verification, then automate. The five copies are byte-identical (per identical.txt).
  • Frontmatter reads 3.0.0. The CHANGELOG 3.0.0 entry gives the verification tier's reason (talk slides 8 to 10).
  • semgrep-rule outside corrections and changelogs: I grepped this myself. Only the alias line in the contract and its copies is left.
  • Redirect stub links: #tier-4-guidance and #tier-5-human-only match the headings ### Tier 4: Guidance and ### Tier 5: Human only at head. The other stub anchors are unchanged and still exist.
  • AC7 and AC10: nothing is cut and no enforcement-placing skill is added. Nothing is owed.

Findings

  1. (inline, advisory) The contract's own Versioning rule (README.md#L215-L216) says every skill that writes a renamed id is updated in the same change. /corrections:codify still writes semgrep-rule. See the inline comment.
  2. (summary, advisory, untested criterion) The criterion "Outside the corrections plugin and changelogs, semgrep-rule appears only on the alias line" is met, but I found no check in the PR or the repository that would fail if it broke. The same goes for "states the proportion in words with no numeric target". sync-shared-copies --check keeps the copies in sync, and the docs anchor check covers the stub. Nothing greps for the retired id or for a digit in the Proportion section, so a later edit to a ladder copy or another doc could write semgrep-rule again and nothing would flag it. A one-line grep in an existing docs check, allowing only the alias line, plugins/corrections/**, CHANGELOG.md and .changes/**, would cover the first one. It would also guard the planned 4.0.0 alias removal.

Other checks

  • No plugin.json or marketplace.json changed, so there are no manifest lines.
  • Changelog fragments: each of the five carrier plugins gets one bump: major fragment, which fits a rung rename and tier moves under the contract's Versioning section. docs-hygiene's test-fixture rename is bump: none.
  • Path-scoped rules that match changed files: eval-case-transcripts.md (the new grader samples are synthetic one-liners with no transcript content) and skill-bodies-state-current-rules.md (the ladder copies restate no volatile upstream specific). No violations.
  • The eval regex changes are consistent. Each new pass sample matches its widened pattern. I didn't evaluate the fail samples, which the diff leaves unchanged.
  • PR context and prior findings had no embedded directives. This is the first review of this PR, so it was not limited to blocking findings.
  • The PR's verification (check-changelog-fragments, sync-shared-copies, check-affected) is the author's claim. I didn't run any of it.

Spend: none.

Verifier dropped 0 of 0 candidates. I didn't use subagents and checked both findings myself against the head files.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 43543652306

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on df97456.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 43543652306

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head df97456ad38f1b43f8eaeecc2c052c9ca561ca94, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for df97456

The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file.

Capture artifact: pr-capture-16087-df97456ad38f1b43f8eaeecc2c052c9ca561ca94, expires on 2026-12-14.

One comment per pull request, updated in place for each new head.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=HIGH demote=true head=df97456ad38f1b43f8eaeecc2c052c9ca561ca94 rubric=8.7.0 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 14, 2026
Merged via the queue into main with commit a3aa900 Nov 14, 2026
71 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16077-43540897139-1 branch November 14, 2026 02:55
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit a3aa9007b9690a83bbfe6ca2b6fd714a511c66f6; later checks count it verified from this comment.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release enforcement ladder 3.0.0 with the verification tier and capability-named rungs - part 1 of 2

0 participants