Skip to content

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

Closed

Description

@kyle-sexton

Agent Brief

Type: Bug
Summary: The rate-limits setup skill states that consumers run reactive-only when a fresh snapshot has no rate_limits key, but does not name the reader contract as the owner of that rule, so a reply that answers without reading the contract leaves the owner out and the eval case setup-reads-absent-rate-limits-as-reactive-only fails about half the time.

Current behavior:
Found by the simplify epic's eval after-runs (#14161); no simplify commit is on the case's path.

  • plugins/rate-limits/skills/setup/SKILL.md:121-124 (step 3, the "Fresh but rate_limits absent" row) says consumers correctly run reactive-only and that the row needs no source read. It does not say which document owns the rule.
  • The rule lives in plugins/rate-limits/reference/reader-contract.md:151, the table row for a snapshot file that is absent, stale, or missing rate_limits.
  • The case's expectation-3 grader asks that the reply cites the reader contract as the owner of the fail-open rule (case.yaml:12-14), and expected_outcome says "as the reader contract requires".
  • 8 runs on each tree: at commit d8275a6 (plugin directory rate-limit-guard) 8 of 8 score 1.00; at commit 7131451 (plugin directory rate-limits) 4 of 8 do (one-sided Fisher p = 0.038). The step 3 text and the case files are the same on both trees apart from the plugin name.
  • All 12 passing replies searched the reader contract and quoted its table row. The 4 failing replies made no tool call and answered from the skill body alone: two never mention the reader contract, two name it only for the staleness window.
  • Which change makes the skill answer without a tool call more often is not established. The setup skill grew between the two commits (refactor(rate-limits)!: rename rate-limit-guard plugin to rate-limits #15827 added the apply section and the earlier-name row; docs: point setup skills' shared reconfiguration and placeholder text at their sources #15381 and docs: point user-interface, mutation-testing, rate-limit-guard re-audit findings at live sources #15116 also edited it).

Desired behavior:

  • The step 3 row names the reader contract's row for an absent, stale, or missing rate_limits as the owner of the reactive-only rule, as a pointer to that file and row, not a copy of the row.
  • A reply that answers from the skill body alone can then cite the owner.

Files:

  • plugins/rate-limits/skills/setup/SKILL.md
  • a changelog fragment for the rate-limits plugin

Acceptance criteria:

  • 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.
  • The case files and graders are unchanged.
  • ci-status is green.

Host check after merge (not a done-when item): the case setup-reads-absent-rate-limits-as-reactive-only alone, 8 runs with claude plugin eval on the fixed tree; the target is 1.00 with the plugin in at least 7 of 8.

Out of scope:

  • The plugin's hooks and lib scripts: the failing replies ran none of them.
  • Other rows of the setup check.

Activity

  1. added
    status: ready
    on Nov 13, 2026
  2. added theissue type on Nov 13, 2026
  3. removed
    status: ready
    on Nov 13, 2026
  4. melodic-automation-lanes commented on Nov 13, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: its done-when asks for what an unattended lane run cannot perform: item 2 (eval: "The case setup-reads-absent-rate-limits-as-reactive-only scores 1.00 with the..."); recommended split: keep the other items here as the admissible issue and move these to a child issue for the host queue (host-run). Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  5. added
    status: ready
    on Nov 13, 2026
  6. removed
    status: ready
    on Nov 13, 2026
  7. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"a0b1f886a00fece974022e8f59ee73b188bbac65ec6456087501972fc1b46346","body_sha256":"dd36d30426212087b98dba19db857b2e0be881d161ed599f1983ccc615e05262"}

  8. github-actions commented on Nov 14, 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

    No labels
    No labels

    Type

    Fields

    Work status

    needs-triage

    Priority

    low

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions