Skip to content

fix(rate-limits): name the reader contract as owner of the reactive-only rule in setup check - #16057

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

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

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #16049

Summary

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

The setup skill's step 3 row for a fresh snapshot without rate_limits now names the reader contract's "Snapshot file absent, stale, or missing rate_limits" row in its "Capability detection (fail-open)" table as the owner of the reactive-only rule. It is a pointer to that file and row, not a copy, and it tells the reply to name the owner, so a reply written from the skill body alone can still cite it. Root cause: the brief has no Root cause field, so the gate was skipped; the cause is as the issue states, the skill row never named the owning document.

Not verified

  • ci-status green on the PR: left to the PR's CI
  • Host check after merge (8 runs of the eval case with claude plugin eval): not a done-when item and not runnable in this lane
  • tidy pass 5 (ai-slop): the deterministic detector (detect.sh) and digest guard could not run, since this lane's Bash runs only the named wrappers; the rubric was applied by reading the in-scope lines and found nothing to fix. Passes 1-3 had no code lines; pass 4 (write-for-agents on SKILL.md,…
  • verify step: the change is markdown only, with no build or test target for these files; the plugin's eval suite runs on the host
  • check-affected skipped typos (not installed) and three validate-plugins sub-checks plus changed-skills inside it (they run code from the checked tree); the CI-only checks it lists run on the PR

Fix

  • plugins/rate-limits/skills/setup/SKILL.md: step 3's "Fresh but rate_limits absent" row names ${CLAUDE_PLUGIN_ROOT}/reference/reader-contract.md, its "Capability detection (fail-open)" table and the "Snapshot file absent, stale, or missing rate_limits" row as the owner of the fail-open rule,…
  • .changes/rate-limits/work-resolve-issue-issue-16049-43531418603-1-2c200479.md: new patch changelog fragment for the rate-limits plugin

Verification

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

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

The run reports:

  • check-changelog-fragments: all 8 fragments valid
  • check-changed-skills: CHECK-SKILL setup PASS, 0 errors, 5 warnings (4 pre-existing: no Gotchas surface, an unguarded ! injection, description 699 chars, body over 160 lines; 1 from this change: body grew 266 -> 269 lines)
  • check-affected: 14 passed, 7 skipped over 2 changed files
  • Fresh-context review subagent: row and table names match plugins/rate-limits/reference/reader-contract.md:143 and :151 character for character; path form matches SKILL.md's other references; fragment well-formed; one low clarity finding ("this row" ambiguous after the pointer) fixed by reordering;…
  • Eval case plugins/rate-limits/evals/setup-reads-absent-rate-limits-as-reactive-only/case.yaml read and left unchanged; git-read status shows only the two files above changed by this run
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/43531418603

Left out: the items under Not verified.

Related

#16049

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

Copy link
Copy Markdown
Contributor

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

I found no security issues in this pull request.

I read every hunk of both changed files:

  • .changes/rate-limits/…-2c200479.md is a new patch changelog fragment. It is prose only.
  • plugins/rate-limits/skills/setup/SKILL.md changes one row of the check step: "Fresh but rate_limits absent". The row now points to the reader contract's "Snapshot file absent, stale, or missing rate_limits" row, in ${CLAUDE_PLUGIN_ROOT}/reference/reader-contract.md, as the owner of the fail-open rule. It also tells the reply to name that row.

Under the instruction-surface lens, the change deletes, narrows or softens no instruction. It keeps the existing wording ("Not a defect", "needs no source read"), reflows it, and adds a pointer to a file inside the plugin. The check mode stays read-only, and the skill gains no tool, command, path or network reach.

Neither file matches a trusted-path glob or a trust control. The pull request changes no plugin manifest, workflow, token scope or merge hold. The PR context contains no embedded instructions aimed at this review. There are no earlier findings from this lane, and this was a full review rather than a blocking-only one.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

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

Code review: no findings

This change only touches Markdown: the step 3 "Fresh but rate_limits absent" row in plugins/rate-limits/skills/setup/SKILL.md and a new changelog fragment that sets bump: patch for the rate-limits plugin. I read both files' changes in full.

Checked against closing issue #16049

  • "The step 3 row for a fresh snapshot without rate_limits names the reader contract and its row as the owner of the reactive-only rule." Met. The row now points to ${CLAUDE_PLUGIN_ROOT}/reference/reader-contract.md, to its "Capability detection (fail-open)" table, and to that table's "Snapshot file absent, stale, or missing rate_limits" row. I checked the names against the reader contract myself: the heading is at reader-contract.md#L143 and the row at #L151, and both match exactly. The change adds a pointer and does not copy the row, which is what the issue asks for. The existing eval case setup-reads-absent-rate-limits-as-reactive-only (grader expectation-3) would fail if this broke.
  • "The case files and graders are unchanged." Met. The diff touches only the two files above.
  • "ci-status is green." I can't check this from inside the lane, so the PR's CI has to settle it.

Rules applied: .claude/rules/skill-bodies-state-current-rules.md and .claude/rules/cost-claims.md both cover this file. The new text points to a reference file inside the repository. It does not restate anything from an upstream source, so neither rule is broken.

Not applicable: no plugin manifest changed, so there are no manifest lines. The changelog fragment's patch bump fits a wording-only change.

Not verified by me: the PR body says the changelog-fragment and changed-skills checks passed. The author reported that and I did not confirm it.

Verifier dropped 0 of 0 candidates.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

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

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for a76ee8e

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-16057-a76ee8e7bde9360cfa3cdb4e0cf0a7e62e59dee0, 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=MEDIUM demote=false head=a76ee8e7bde9360cfa3cdb4e0cf0a7e62e59dee0 rubric=8.6.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 3e85945 Nov 14, 2026
49 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16049-43531418603-1 branch November 14, 2026 00:38
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 3e85945c30108421253cd31fa2dd52fc6f52ef65; 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.

Name the reader contract as owner of the reactive-only rule in the rate-limits setup check

0 participants