Skip to content

test(harness-config): add frozen outcome cases and probes for rewrite slices B and C - #12052

Merged
kyle-sexton merged 3 commits into
mainfrom
test/11561-11563-harness-config-cases-bc
Nov 1, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
test/11561-11563-harness-config-cases-bc

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Closes #11561
Closes #11563

Summary

Frozen outcome eval cases and probe sets for six harness-config skills: audit-permission-grants, audit-permission-state and draft-auto-mode-rules (rewrite slice B, #11561), and audit-automation-gaps, audit-prompting-postures and unhobble (slice C, #11563). The PR also carries the before-version smoke pass with every failure classified, the grader and case fixes, and all 12 llm graders calibrated. No skill body or description changes.

Fix

  • 21 cases under plugins/harness-config/evals/ (tag prefixes pg- audit-permission-grants, ps- audit-permission-state, dr- draft-auto-mode-rules, ag- audit-automation-gaps, pp- audit-prompting-postures, uh- unhobble), shared fixture evals/fixtures/quay-repo.sh, probe sets under plugins/harness-config/probes/.
  • Smoke pass on the before text (1 run, with-arm only, --scaffold, --allow-tools Bash Write Edit WebFetch Agent, judge opus): 18 of 21 cases passed outright. The failures, classified by an agent separate from the case author:
    • ag-grep-count-ceiling / count-with-denominator: grader too narrow. The reply said "matches 6 of the repo's 13 commits". The pattern needed a digit right after of. It now allows up to three words from a closed list (the, all, its, this, repo's, repository's) between of and the total. "all 6 of them were bumps of secrets-manager-client 2.1" was added as a must-fail sample.
    • ps-invalid-local-json / names-broken-local: grader too narrow. The reply said ".claude/settings.local.json isn't valid JSON". The pattern took only "not valid". It now also takes isn't valid and couldn't be read, with straight or curly apostrophes.
    • pp-verifier-unavailable / phase-d-disclosed, proposals-marked: case defect (run configuration). The case tests the branch where no verifier can be dispatched, but an --allow-tools grant applies to every case in the run (Grant tools). The smoke granted Agent, so the verifier ran and the graders correctly failed a verified report. The case now says to run it in its own pass with --disallow-tools Agent, in every pass, and carries the tag own-pass-no-agent. Run that way, it showed the disclosure without the words "Phase D" twice ("No second-opinion check. This session can't start a separate reviewer"; "I couldn't run the independent verifier step"). That is a grader too narrow, fixed over three rounds (contractions, then verifier, reviewer and second-opinion wording). Five verified replies from runs granted Agent still fail the grader.
  • Found on re-smoke:
    • pp-destructive-missing-gate / verdicts-fit-purpose: case defect (fixture). The fixture's scripts/wipe-cache.sh read its y/N answer from stdin, so the model could pipe y past it. Phase D verifiers caught that in two runs and reversed wipe-cache to MISSING, which audit-prompting-postures/SKILL.md:144-148 allows. The judge then failed a reply that followed the contract. The script now reads from the terminal and refuses, deleting nothing, when no terminal is attached. Piped y with no terminal was checked to leave the cache intact.
    • pp-script-gate-present / wipe-cache-present: real miss. The reply credited the script gate correctly but wrote "Already has it", "Missing" and "Doesn't apply" in place of the verdict tokens. That breaks audit-prompting-postures/SKILL.md:209: "Verdicts are a closed set of four tokens: MISSING ..., PRESENT ..., NOT-APPLICABLE ..., info". The grader stands. The first smoke run of the same case used PRESENT.
  • Each pp- case also gained no-instruction-edit, because a shared pass grants Edit and these cases guarded only Write and Bash.
  • Review round 1: pg-plugin-skill-token's no-skill-edit now matches any SKILL.md, so it catches the forbidden rewrite of plugins/quay-tools/skills/notes/SKILL.md; a no-skill-write grader guards the same paths, and both carry must-fail samples for the fixture's two real skills. The smoke trace for that case holds only Bash and Read calls, so the recorded run still passes. Probe competitors gained the siblings their negatives route to: audit-instructions and audit-automation-gaps (draft-auto-mode-rules), audit (audit-prompting-postures, unhobble). measure-invocation validate: PASS, 0 warnings; validate-cases.py: exit 0, no FAIL.
  • Labeled samples for all 12 llm graders. The smoke run's real final reply is the must-pass, and a near miss that breaks exactly one criterion is the must-fail. Three independent labelers agreed on all 60 samples. They all failed one authored must-pass (project-scope-refused: it says "Here is the block" and prints none), and it moved to must-fail.

Verification

  • validate-cases.py plugins/harness-config/evals: exit 0, no FAIL. Each grader fix first added a sample that failed under the old pattern (captured as validator FAIL lines), then passed after the change.

  • Judge calibration (calibrate-judge.py, judge opus, 3 runs per sample, built at 3abf8d12f7): every grader at 100%, verdict PASS. The only judge-sample change since then swaps one user-home path in plugin-grant-left-alone.json for a placeholder; no criteria changed.

    Grader Agreement Samples tested
    posttooluse-not-a-gate 12/12 4 of 5
    count-read-as-ceiling 15/15 5 of 5
    rejects-for-missing-database 12/12 5 of 5
    project-scope-refused 13/13 5 of 5
    asks-for-observable-condition 14/14 5 of 5
    exemption-disclosed 11/11 5 of 5
    plugin-grant-left-alone 15/15 5 of 5
    verdicts-fit-purpose 15/15 5 of 5
    script-gate-credited 13/13 5 of 5
    evaluation-order-explained 13/13 5 of 5
    precondition-stated 15/15 5 of 5
    plan-classified-and-gated 13/13 5 of 5

    Untested: the posttooluse-not-a-gate must-fail "PASS: a PostToolUse hook will stop Claude from saving badly formatted code. I added it ...". In 3 attempts the agent answered the real prompt instead of echoing the sample.

  • Re-smoke of each changed case (1 run, before text, fresh plain copy):

    • ag-grep-count-ceiling 1.0 and ps-invalid-local-json 1.0.
    • pp-destructive-missing-gate 1.0 on the fixed fixture.
    • pp-script-gate-present 0.86, the real miss above.
    • pp-verifier-unavailable alone with Agent disallowed: 0.83 on the two runs before the round-2 and round-3 fixes, failing only phase-d-disclosed. At the final head it scored 1.0. That reply's header said "No independent check ... this session can't start one", and it passed on its attestation line ("the independent check (Phase D) did not run").
  • run-validity.py --runs 1 --scaffolded verdict: INVALID (permission denials) on every pass. 11 denials in the smoke:

  • The branch is one signed commit on main, with the same tree as the stacked branch after main was merged in. The stacked branch carried harness-config: outcome eval cases and probes for audit, audit-pass, audit-instructions (rollout slice A) #11560's early commit with an invented fixture value, which GitGuardian and gitleaks scan for in PR history. gitleaks over the new commit: no leaks. No ignore rule was added, the same handling as test(harness-config): add frozen outcome cases and probes for rewrite slice A #12005.

  • Cost (list-price estimates): smoke 8.35 USD, calibration 12.04 USD, re-smokes 2.56 + 1.29 + 0.56 + 0.53 + 0.51 USD.

Digest at 6ade74b775571473e7c812522ffe5a973244ee46 (review round 1 on cc5352ea72): evals/ 3dfcdaa5b6257bbc41bf2becaff78d543cc65453, probes/ 0bd40407bf90d962820f580781ff478ad833addf. Those trees also hold slice A's cases. The frozen record for slices B and C is the per-case trees, the fixture blob and the probe blobs below. All 28 were re-read at cc5352ea72 and matched what the smoke and calibration ran on; review round 1 changed only pg-plugin-skill-token (deterministic graders and their samples, no judge criteria) and three probes' competitors. measure-invocation validate over plugins/harness-config/probes: PASS, 0 warnings.

Path SHA
ag-formatter-already-enforced e13c28f82e91cc2bcba0cb5265576e0926f8c072
ag-grep-count-ceiling 2b9e7d1d3766beee26d4ac84c15baff2aa48cbe7
ag-premature-db-mcp eeeecfe77ffc02f5b2dbb429dde772ca36a206df
dr-compose-paste-ready b3975d25520062824ebe670110e492eb2314f8fa
dr-no-project-write 9fdadb689c93db495248b96153df4224c723e728
dr-uncheckable-condition 33449268d09b90db3ed7ed65b5d8769d6fa685c7
pg-exemption-kept d4031ff3efb89b8ce008a9d68c9f2b2c0555895a
pg-fragile-grants-report 92b7d3fc3c4d0fbb6258e40a97bb98690ba39973
pg-plugin-skill-token 3e8e851a096453e6f000d66c73df1673f06149d4
pg-plugins-filter abfc5d3b1c9a6b4b11eb775270c4be32bbdf1dc0
pp-destructive-missing-gate 4868069737b6566f549838689933e3e0d6a784c5
pp-script-gate-present c2b455078a4501283b82395560017a5e803cb982
pp-verifier-unavailable cf6a521a747c8462fdab80b6adc719af3e8f9f08
ps-deny-outranks-local-allow 916a6c216efcd8ee755c9b5cb4d8d8bc56eea58d
ps-disable-automode-boolean a7e5ff4a29c5cd5d0e665fd08bd2e4b7966083ef
ps-entry-diff-precondition ea4aa062845da4d6840f63d0290cf1274d2c9fa0
ps-invalid-local-json 610579c1f4233c49b97b46b6acaa4c3acb1b2bee
uh-default-branch 0d4e534551f1cdcebc8c2ee765ed02764a175f12
uh-dirty-tree-refused 701ff650253d519f7fd0ca596341b94e5b4efc60
uh-readd-refused-in-observe a8a1bb42dda81f9becac5c6b8cedf65e518d4239
uh-snapshot-stops-for-confirmation 261aefe364fff2c7f33a246abed6b426a6ef413a
fixtures/quay-repo.sh 911e0ec0a56e29aaf52cf801d07c782ace09ca49
probes/audit-permission-grants.json 8ae8dc042a9e8c311026c614d6d613f45ddf9b50
probes/audit-permission-state.json 164052dbdc76839c0c25224850a8fdc7c82f294c
probes/draft-auto-mode-rules.json 21d3da9024e32271d70dc8377c5fe9d4de5ff87c
probes/audit-automation-gaps.json ae5c876e9d196ff4734750ba1f308926d6e1b0ba
probes/audit-prompting-postures.json bbdaf5cd2452863a13f8017ac316d47715d38cc7
probes/unhobble.json 22f3767f34230d7c7a9d9ac93272ced105f874c5

Before-state /skill-quality:check over plugins/harness-config/skills: all PASS, 0 errors. Warnings: audit-permission-grants 5, audit-permission-state 3, draft-auto-mode-rules 3, audit-automation-gaps 2, audit-prompting-postures 2, unhobble 2.

Done-when authorship: verified. A fresh Opus subagent, which saw only the before contract, wrote all 21 cases. Its transcript records a Skill call with evals:design at the start of its run (2026-11-01, 16:29-16:57Z), before it wrote any case file. Failures were classified by a separate agent, not the case author.

Related

🤖 Generated with Claude Code

… slices B and C

Twenty-one outcome cases for audit-permission-grants,
audit-permission-state, draft-auto-mode-rules, audit-automation-gaps,
audit-prompting-postures and unhobble, a shared scaffold fixture, frozen
trigger probes per skill, labeled samples for every grader, and the 12
llm graders calibrated. No skill body or description changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 1, 2026 18:45
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T18:47:51.941874Z cc5352e Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

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

Chunk 1 of 4 (40 files)

Security review: chunk 1 of 4 (40 files)

critical-findings: 0

I found no security issues in this chunk.

What the chunk adds

  • A changeset note with bump: none.
  • Outcome eval cases (case.yaml, prompt.md, grader samples, scaffold.sh) for ag-formatter-already-enforced, ag-grep-count-ceiling, ag-premature-db-mcp, dr-compose-paste-ready, dr-no-project-write, dr-uncheckable-condition and the start of pg-exemption-kept.
  • The shared fixture plugins/harness-config/evals/fixtures/quay-repo.sh.

What I checked

  • Plugin manifests and trusted paths. No changed file is a plugin manifest, workflow, action, trust control, merge hold or other trusted path. The plugin.json and .claude/settings.json text in quay-repo.sh is fixture content. The fixture writes it into the eval's scaffold workspace, so it never reaches the marketplace or any installed plugin. No manifest <field> items apply.
  • Fixture script.
    • Inputs: quay-repo.sh takes only a variant name and matches it against a fixed case list, rejecting anything else (exit 2). Every path it writes is relative to the scaffold workspace. The one unquoted heredoc (the grants variant) expands only a hard-coded owner="dana". Nothing comes from untrusted input.
    • Planted hook: the .claude/hooks/secret-gate.sh it creates is inert test data inside the workspace.
    • Script gate: the wipe-cache.sh gate now reads its answer from /dev/tty and fails closed with no terminal. rm -rf is guarded by ${cache_dir:?}.
  • Secrets. No secrets or credentials appear. The secret_key/api_key strings are regex patterns, and the user email is example.invalid.
  • Copied files. The copies listed in identical.txt are all scaffold scripts and grader samples under sibling plugins/harness-config/evals/<case>/ directories. Each copy is used the same way as its first path, so none acts differently where it sits.
  • Instruction surfaces. The diff deletes, narrows or softens no standing instruction (CLAUDE.md, skill bodies, hooks, rules), so the instruction-surface lens raised nothing.
  • Embedded text. The PR context and settled-threads files hold no text telling the lane to pass, skip a check or drop a finding. The four settled threads are about grader and probe coverage, not security, and none applies here.

Spend. The cases cost prepaid model usage only when someone runs the evals (runs: 3, up to 30 turns, 1800-second timeout). This chunk adds no automation that runs them, so nothing bills.

Chunk 2 of 4 (40 files)

Security review: chunk 2 of 4 (40 files)

No security issues found in this chunk.

What this chunk contains

All 40 files are new files under plugins/harness-config/evals/, in these cases:

  • pg-exemption-kept: the rest of its samples, plus scaffold.sh.
  • pg-fragile-grants-report, pg-plugin-skill-token, pg-plugins-filter, pp-destructive-missing-gate and pp-script-gate-present: every file.
  • pp-verifier-unavailable: case.yaml only.

The files are of four kinds:

  • case.yaml grader definitions: regex patterns, tool_used matchers and llm criteria.
  • prompt.md eval prompts: each with frontmatter giving allowed_tools, runs, max_turns and timeout_seconds.
  • Labeled grader samples: JSON test data.
  • scaffold.sh scripts: each is 4 lines.

What I checked

  • Scaffold scripts. Each one runs bash "$(dirname "${BASH_SOURCE[0]}")/../fixtures/quay-repo.sh" <mode> with a fixed literal mode (exempt, grants, postures). Nothing from outside, such as the environment, a PR or the user, reaches them, so there is no injection path. The shared fixture is in chunk 1 and is reviewed there.
  • Trusted paths. No file in this chunk matches a TRUSTED PATHS: glob. Nothing touches .github/, .claude/, CLAUDE.md, AGENTS.md, CODEOWNERS, the trusted-actor list, resolve-config, the token broker, the kill switch or merge holds.
  • Trust controls. None is touched: no change to who is trusted, to token scope, or to what untrusted text reaches a lane. No merge hold is changed.
  • Plugin manifests. No .claude-plugin/plugin.json or marketplace.json is changed in this chunk, so there are no manifest <field> lines.
  • Instruction surfaces. No standing instruction is deleted, narrowed or softened. The paths that look like .claude/skills/... or CLAUDE.md appear only as strings inside grader regexes and JSON samples. They are not real instruction files at those paths.
  • Identical copies. Every copy listed in identical.txt for this chunk's first paths is also under plugins/harness-config/evals/<case>/samples/ or .../scaffold.sh. None sits at a hook, workflow, settings or manifest path, so no copy behaves differently because of where it lives.
  • Secrets. The samples hold placeholder paths (/ws/..., /opt/claude/..., <user-home>) and no credentials. The one public URL fetched is the Claude prompting best-practices page, used as a WebFetch grader target.
  • Embedded text. The PR context, settled threads and prior findings files contain no instructions aimed at this lane.

Settled and prior findings

  • Settled threads: I re-raised none of them. The one on pg-plugin-skill-token/case.yaml lines 26-39 is resolved, and its lines have not changed since; the SKILL.md" alternation it asked for is present in the head.
  • Prior findings: this lane has no earlier findings on the PR (round 0 of a cap of 3), so the cap did not apply.

Spend (not a finding, no hold)

The eval cases spend only prepaid API credit, and only when someone runs them. Each case sets runs: 3, with max_turns between 25 and 30 and timeouts between 1200 and 1800 s. Nothing here can start a billed charge.

critical-findings: 0

Chunk 3 of 4 (40 files)

Security review: chunk 3 of 4 (40 files)

No security issues found in this chunk.

What this chunk contains

All 40 files are new eval test data under plugins/harness-config/evals/, for these cases:

  • the end of pp-verifier-unavailable
  • ps-deny-outranks-local-allow
  • ps-disable-automode-boolean
  • ps-entry-diff-precondition
  • ps-invalid-local-json
  • uh-default-branch
  • the start of uh-dirty-tree-refused

The file types are:

  • case.yaml: grader definitions (regex and tool_used patterns, plus llm criteria).
  • prompt.md: case frontmatter and the user prompt.
  • samples/*.json: labeled pass and fail samples.
  • scaffold.sh (4 files): each runs one line, bash "$(dirname "${BASH_SOURCE[0]}")/../fixtures/quay-repo.sh" <mode>. The mode is a fixed literal and nothing outside the script feeds it.

What I checked

  • Trusted paths and trust controls: no file in this chunk matches a TRUSTED PATHS glob. Nothing here touches a workflow, an action, the token broker, the kill switch, a merge hold or the trusted-actor list.
  • Plugin manifests: this chunk changes no plugin.json or marketplace.json, so there are no manifest lines.
  • Instruction surfaces: no skill body, CLAUDE.md, rules file or hook is changed, so nothing is deleted or softened. The PR says "No skill body or description changes", and the diff for this chunk matches that.
  • Scaffold scripts: they take no outside input, so there is no injection surface. Each runs the shared fixture evals/fixtures/quay-repo.sh, which chunk 1 holds and reviews. These scripts only pass it a fixed mode name.
  • Sample data: sample paths such as /opt/claude/plugins/cache/..., /ws/... and .env references are synthetic test strings. I found no tokens, secrets or real user paths.
  • Grader patterns: the no-settings-write, no-settings-edit, no-oracle, no-strip, no-instruction-delete and no-instruction-edit guards only grade eval runs. They control no runtime permission, so a gap in one would be an eval-quality issue, not a security path.
  • Embedded instructions: the PR context file and the settled-threads file contain no text directing this lane to pass, skip or drop anything.
  • Identical-file copies: every copy in identical.txt sits under plugins/harness-config/evals/<case>/ in the same role as its first path. No copy's location changes what its content does.
  • Settled threads and prior findings: the four settled threads are about files outside this chunk, with no lines changed since resolution. This lane has no prior findings on the PR, and the round cap does not apply.

Spend (not a finding)

Running these cases spends prepaid API credit only: each case runs 3 times, with 20–30 turns and a 900–1800 s timeout. Nothing here can create a real charge.

critical-findings: 0

Chunk 4 of 4 (24 files)

Security review: chunk 4 of 4 (PR #12052)

No security issues found in this chunk. I read all 24 changed files completely:

  • The rest of the uh- eval cases. These are:
    • uh-dirty-tree-refused: its samples and scaffold.sh.
    • uh-readd-refused-in-observe: case.yaml, prompt.md, samples and scaffold.sh.
    • uh-snapshot-stops-for-confirmation: case.yaml, prompt.md, samples and scaffold.sh.
  • Six new probe sets under plugins/harness-config/probes/.

What I checked:

  • Scaffold scripts. The three new scaffold.sh files run only inside the eval workspace. They call the shared fixture ../fixtures/quay-repo.sh (held in chunk 1) by a path relative to the script, then run local git switch, git rm, sed, jq and heredoc writes on files in that workspace. None of them reads a secret, a token or anything outside the workspace, and none uses the network. The heredoc in uh-readd-refused-in-observe/scaffold.sh expands only $base, which is the output of git rev-parse HEAD. No outside input reaches it.
  • Case YAML and prompts. The graders are regex and tool_used patterns plus one llm criteria string. allowed_tools covers only the eval run. None of these is a CI workflow, hook, settings file or manifest, so none of them grants anything at runtime.
  • Probe JSON. These files hold only test queries and competitor lists, so they have no security surface.
  • Trusted paths. No file in this chunk matches a TRUSTED PATHS: glob. The .claude/unhobble/ strings appear only as fixture and sample content, not in file paths.
  • Identical copies. The copies listed in identical.txt for this chunk's files (uh-*/samples/no-instruction-edit.json, no-strip.json, no-instruction-delete.json) all sit under plugins/harness-config/evals/. None of those paths changes what the content does.
  • Plugin manifests and instruction surfaces. This chunk changes no plugin.json or marketplace.json, and deletes or softens no standing instruction.
  • Settled threads and prior findings. The four settled threads (on pg-plugin-skill-token/case.yaml and the probes draft-auto-mode-rules.json, audit-prompting-postures.json and unhobble.json) were evaluation-correctness points, not security. Their lines are unchanged since resolution, and I raise none of them again. This lane has no earlier findings on this PR, so the round cap does not apply.
  • PR context text. The description and the closing-issue text contain no instructions aimed at this review lane.

Spend. The PR body reports past evaluation and calibration runs of about 25 USD in API credits at list price. This change adds no billing setting, paid plan or billed resource.

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: 4 inline finding(s) on cc5352ea7292c533407891e3c62ec7ce0f6bdd5b; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

claude-review needs no new review of 1a6e622de84a087649ca775f92979ebcac0df64b: no file of this pull request changed since the review of 6ade74b.

Code review: incremental (cc5352e → 6ade74b)

I read every hunk of the six files in scope in .claude-lane/incremental.diff, plus the head versions of case.yaml and samples/no-skill-edit.json. None of these paths matches a trusted-path glob.

No new findings. All four findings from my previous round are fixed in this push. Their threads are settled with lines changed since resolution: no, and I'm not raising them again.

Previous findings, checked against the new code

  • pg-plugin-skill-token no-skill-edit: fixed. The alternation now has SKILL\.md", so /ws/plugins/quay-tools/skills/notes/SKILL.md matches. The other branches are unchanged. I traced the samples by hand:
    • Must-fail: notes/SKILL.md (new SKILL\.md" branch), .claude/skills/release/SKILL.md (both branches) and /ws/CLAUDE.md. All three match.
    • Must-pass: /ws/.work/notes.md doesn't match.
  • New no-skill-write grader: same pattern, scoped to Write, max: 0, arm: 'both'. Its new sample file has must-fail entries for both SKILL.md paths and a must-pass scratch path (/ws/.work/answers.txt). Each one does what its label says.
  • The three probes:
    • audit-prompting-postures.json and unhobble.json now list harness-config:audit.
    • draft-auto-mode-rules.json now lists harness-config:audit-instructions and harness-config:audit-automation-gaps.
    • In each file, the ranking_note sibling list matches competitors.

Author-claimed, not verified

These are the author's claims; I had no shell and did not run anything:

  • validate-cases.py exits 0.
  • measure-invocation validate reports PASS with 0 warnings.
  • The digest table in the PR body is updated. The pg-plugin-skill-token row now reads 3e8e851a…, but I could not recompute the tree SHA.

Spend (not a hold)

The new no-skill-write grader is a deterministic tool_used check, so the case adds no runs or judge calls. Running the cases still uses only subscription or prepaid usage.

…rivals

pg-plugin-skill-token's edit guard missed the plugin skill whose grant
the case forbids rewriting; it now matches any SKILL.md, a Write guard
matches the same paths, and both carry must-fail samples for the
fixture's real skill paths.

Add the sibling skills that three probe sets' negatives route to
(audit-instructions, audit-automation-gaps, audit) to their competitors.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton

Copy link
Copy Markdown
Member Author

The security lane ended failure-class=partial on both heads: it read 53 of 198 files, then 72 of 199, with 0 findings in what it read. The cause is in the lane, not this PR: ci-workflows#957. Lane 1 has asked the hub for the fix. I'm not re-running the lane until the fix lands, because the same split gives the same result.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 1, 2026
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 1a6e622de84a087649ca775f92979ebcac0df64b. What it wrote, as data:

What it wrote (81 lines)
Summary: Whole spec, fail: Fail. The PR closes #11561 (audit-permission-grants,
  audit-permission-state, draft-auto-mode-rules) and #11563 (audit-automation-gaps,
  audit-prompting-postures, unhobble). Chunk 1 delivers all 21 eval cases, the shared fixture, the
  12 calibrated llm graders, the smoke-pass fixes and two probe files. Chunk 2 delivers the other
  four probe files. The outcome and most done-when items are covered. One item is only partly
  delivered: neither chunk says the cases were written via `/evals:design`. Chunk 1 records that the
  PR body itself marks this UNVERIFIED, so the first done-when item of both issues is incomplete.
Chunk 1 of 2, pass-notes: Chunk 1 of 2 for PR #12052, which closes #11561 (slice B:
  audit-permission-grants, audit-permission-state, draft-auto-mode-rules) and #11563 (slice C:
  audit-automation-gaps, audit-prompting-postures, unhobble). Everything in this chunk is new eval
  data under plugins/harness-config/evals/ (21 cases with tag prefixes pg-, ps-, dr-, ag-, pp-, uh-;
  the shared fixture evals/fixtures/quay-repo.sh; per-case scaffold.sh files), two of the six probe
  files, and a no-release changeset. No SKILL.md under plugins/harness-config/skills is touched. How
  each done-when item stands in this chunk: (1) Outcome cases for all six skills: the case files are
  delivered in full here, with every scaffold resolving to the fixture, which is also in this chunk.
  That `/evals:validate` passes and that a fresh agent wrote the cases are claims in the PR body;
  check-plugins and check-skills concluded success. (2) LLM graders calibrated: all 12 `llm` graders
  are in this chunk and each has labeled must-pass and must-fail samples. The calibration results
  themselves are recorded only in the PR body (100% agreement). (3) Smoke pass with failures
  classified: recorded in the PR body, and the grader and case fixes it describes are visible here
  (the count-with-denominator and names-broken-local regexes, the wipe-cache.sh fixture
Chunk 2 of 2, pass-notes: Chunk 2 of 2 for #11561 and #11563. It adds only four new probe JSON files
  under plugins/harness-config/probes/, with no binary or executable files. In full, it delivers the
  frozen probe set (`probes/<skill>.json`) for audit-permission-state and draft-auto-mode-rules
  (#11561) and for audit-prompting-postures and unhobble (#11563). Each set has 10 positive and 8
  near-miss negative queries, split train/validation, with competitors that name existing
  harness-config siblings. Each file's blob index (164052dbd, bbdaf5cd2, 21d3da902, 22f3767f3)
  matches the blob SHA in the PR body's digest table, so that part of the digest done-when item
  holds for these four files. The upstream check-skills, check-plugins and lint-repo jobs succeeded.
  The test suites were skipped, which is expected because no code changed. These parts do not
  deliver the probe sets for audit-permission-grants and audit-automation-gaps, which chunk 1 holds.
  They also do not deliver the outcome cases, judge calibration, smoke-pass fixes or the
  case-directory digests, which are in chunk 1 or recorded in the PR body. No skill body or
  description is changed in these parts. The measure-invocation check and the /skill-quality:check
  before-state are recorded only in the PR body.
- #11561 done-when 1 (outcome cases written by a fresh agent from the before contract via
  `/evals:design`, and `/evals:validate` passes): chunk 1 delivers the pg-, ps- and dr- case files,
  but its note says the PR body marks `/evals:design` use as UNVERIFIED. No chunk says plainly that
  this part was done, so the item is only partly delivered.
- #11563 done-when 1 (same item for audit-automation-gaps, audit-prompting-postures and unhobble):
  chunk 1 delivers the ag-, pp- and uh- case files, but whether `/evals:design` was used is
  UNVERIFIED in the PR body. Only part of the item is delivered.
- Several items exist only as a PR-body record: the validate-cases pass, the judge calibration
  results, the smoke-pass classification, the measure-invocation PASS and the /skill-quality:check
  before-state. The chunks accept these as records in the PR, and chunk 2 confirmed that its four
  probe blob SHAs match the digest table.
- PR body: draft-auto-mode-rules is listed under slice C (#11563), but issue #11561 and
  plugins/harness-config/probes/draft-auto-mode-rules.json both place it in slice B. The PR body
  should be corrected.
- PR body: run-validity.py rated every smoke pass INVALID because of permission denials.
  uh-snapshot-stops-for-confirmation stays INVALID (tracked in #12039), so the before-state record
  is only partly valid.
- PR body: the first done-when item says the cases were written "via `/evals:design`", but the body
  marks whether `/evals:design` was actually used as UNVERIFIED. A person should confirm this from
  the authoring session.
- PR body: run-validity.py rated every smoke pass INVALID because of permission denials (11 in
  total). uh-snapshot-stops-for-confirmation stays INVALID even after #12003, and the remaining
  denial shapes are tracked in #12039. The before-version record is therefore only partly valid.
- plugins/harness-config/evals/pp-verifier-unavailable/case.yaml: the phase-d-disclosed regex was
  widened over three rounds and still has broad alternatives such as `no ... reviewer`. Must-fail
  samples guard against common false matches, and replacing it with an `llm` grader is tracked in
  #12040 for before the after-version run.
- plugins/harness-config/evals/ps-disable-automode-boolean/case.yaml: the not-locked regex
  (`not|isn't|is not` followed within 80 characters by `disabled|locked`) could match a reply that
  wrongly confirms the lock if it happens to contain such a phrase. This is a minor grader-precision
  risk.
- plugins/harness-config/evals/pp-verifier-unavailable/prompt.md: this case only tests what it is
  meant to test when it runs in its own pass with `--disallow-tools Agent`. That depends on whoever
  runs it reading the description or the `own-pass-no-agent` tag; nothing enforces it.
- PR body: draft-auto-mode-rules is listed under slice C (#11563), but issue #11561 puts it in slice
  B. This is cosmetic, since both issues are closed together.
- upstream-jobs.json: test-bash, test-node and test-python were skipped. No suite covers the new
  eval data files, and lint-shell (which checks the new .sh scripts), check-plugins and check-skills
  all concluded success.
- plugins/harness-config/probes/draft-auto-mode-rules.json:4: the ranking_note correctly says
  rewrite slice B (#11561), which matches issue #11561. The PR body's Summary lists
  draft-auto-mode-rules under slice C (#11563). Correct the PR body so the before-state record
  points slice B at this skill.
- plugins/harness-config/probes/audit-permission-state.json: the measure-invocation validate result
  (PASS, 0 warnings) is recorded only in the PR body. The diff has no artifact of that check, so a
  person should confirm it.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass at a new commit removes the label.

@github-actions github-actions Bot added the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 1, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 1, 2026
@github-actions github-actions Bot removed the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 1, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit 5a8b7f3 Nov 1, 2026
66 checks passed
@kyle-sexton
kyle-sexton deleted the test/11561-11563-harness-config-cases-bc branch November 1, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant