Skip to content

docs(harness-ops): ship eval-gated held rows and three stale-fact fixes - #15469

Merged
kyle-sexton merged 9 commits into
mainfrom
docs/harness-ops-held-rows-pilot
Nov 12, 2026
Merged

kyle-sexton merged 9 commits into
mainfrom
docs/harness-ops-held-rows-pilot

Conversation

@kyle-sexton

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

Copy link
Copy Markdown
Member

No related issue: the held-rows eval pilot for harness-ops (owner decision D24); it has no tracking issue.

Summary

The stage-3 skill re-audit held 24 harness-ops rows (1 cut, 23 rewrites) because no eval suite could see them. This pilot built nine cases for them, ran a detection control (each row's text removed) to find which rows a case can see, and gated each detectable row on base vs head, three runs per arm, with-plugin arm only, on Opus 5.5 and Fable 5.2 (judge opus, deterministic graders only). Three rows ship. The other 21 stay held, with their numbers below.

Fix

  • Row 113 (plugins): the shallow-clone reason for comparing only installs at the clone's HEAD now points at What background auto-update does with credentials. Before, it restated the re-clone beside an unanchored link.
  • Row 74 (lanes): the cloud-session note points at List sessions as JSON, and the schtasks limit points at the /tr row that the config already cites.
  • Row 45 (audit-skill-visibility): usage-counters.md names the binary reading behind the plugin-use definition, and drops an unsourced 1 Hz polling rate and an unlinked "public report".
  • Row 84, fix route (observability): data-sources.md 4.5 and output-format.md no longer describe cli-flag-verify as a PostToolUse hook. It runs at push time in guardrails' reference-verify git hook: plugins/guardrails/git-hooks/entries.json:43-52 lists it as a pre-push entry carrying hooks/cli-flag-verify.sh, and hooks.json registers no cli-flag-verify hook. The section now reports "not collected" instead of reading an empty count as clean.
  • Row 108, fix route (plugins): on Claude Code 2.1.322, claude plugin list prints one row per install record, each with its own scope and version (fresh run plus --help). It no longer prints the highest version across scopes. The record keeps its version, date and trigger, and the rule (never read list or details as what loads here) stays.
  • Row 110, fix route (plugins): changelog 2.1.268, fetched live, says closing /plugin applies changes with no /reload-plugins afterwards. Install a plugin says the panel runs the reload itself after Run /reload-plugins to apply.. The two-step keeps bare-first and --force only on the cache warning. That pointer block drops its as-of/trigger under the pointer rule (contract 6.0.0, docs: a stored value is a copied or measured number or string #15468).
  • Nine new cases under plugins/harness-ops/evals/ stay as coverage.

Verification

Detection uses the base and control trees on Opus 5.5. A row counts as detectable when its grader dropped by at least 2 of 3 runs. Ship needs the documented compare verdict, non-inferior at margin 0.05, on both models. All runs used docker-links.py run -- (the link swap: DOCKER_CONFIG was unset, both links point under /mnt/, and there is no tls/), --ablation none, and TMPDIR=$HOME/.ev.

row case detectable (base → control, Opus) Opus base → head Fable base → head verdict
113 pl-install-summary-and-rollback-lines yes (3/3 → 0/3) 1/3 → 3/3 3/3 → 3/3 shipped
74 la-compaction-resume-and-cloud yes (2/3 → 0/3) 3/3 → 1/3 (CLI); 3/3 → 2/3 after the grader fix 3/3 → 3/3 shipped
45 asv-absent-key-subagent-use-counts yes (3/3 → 1/3) 3/3 → 3/3 3/3 → 3/3 shipped
107 pl-list-version-and-orphan-records yes (3/3 → 0/3) 6/6 → 6/6 6/6 → 5/6 held: Fable not shown non-inferior (lower bound -0.08)
108 pl-list-version-and-orphan-records yes (3/3 → 0/3) n/a n/a fixed as a stale fact (fix route)
20, 29 ap-, pl-install- no (1-run drop) held
15, 17, 25, 34, 38, 50, 64, 66, 71, 90, 115, 120 various no (control did not drop) held
48, 49 cl-one-cluster-stays-inline no held: on base text, Opus already keeps one cluster in-session
84 ob-cost-and-flag-verify no (INVALID: plugin-dir Grep denials; base = control) fixed as a defect (fix route), not eval-gated
52 none no case designable held

The compare runs on the three shipped cases were VALID on both models: Opus non-inferior (lower bound -0.04), Fable non-inferior (+0.00). Spot-reads found three graders that failed correct answers (the cloud wording, the HEAD-compare wording, and "not what loads"). I fixed those graders and reran the compares. An OAuth token revocation during the rerun errored the two pl- cases on three arms, so those were rerun and merged per case.

Other checks, rerun after the fix commit: validate-cases.py exit 0; markdownlint 0 issues; check-skill.sh on harness-ops 18 passed, 0 failed; check-changelog-fragments.sh --check valid; typos clean. Row 110 was held as a rewrite; it is now fixed through the fix route. Eval spend is a list-price estimate: $32.73 on Opus, $30.40 on Fable.

Related

  • Row 64 belongs to cross-plugin item 1 (the pre-compute "one shell invocation" reason).

🤖 Generated with Claude Code

https://claude.ai/code/session_01VcupojQwC9uJAfmSt4EHZm

kyle-sexton and others added 2 commits November 11, 2026 18:46
Pilot of the held stage-3 rows on harness-ops (owner decision D24). Nine
eval cases cover 23 of the 24 held rows; a detection control (each row's
text removed) showed which ones a case can see, and base-vs-head runs on
Opus 5.5 and Fable 5.2 gated each detectable row.

Shipped (non-inferior on both models):
- 113: the shallow-clone reason points at the host-marketplace section
  that describes the re-clone instead of restating it beside a bare link.
- 74: the cloud-session note points at agent view's "List sessions as
  JSON"; the schtasks limit points at the /tr row the config cites.
- 45: usage-counters names the binary reading the plugin-use definition
  rests on and drops an unsourced polling rate and public-report remark.

The new cases stay as coverage.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VcupojQwC9uJAfmSt4EHZm
@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T23:51:46.710502Z 2e66e9e PR opened
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2e66e9efd7

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

kyle-sexton and others added 2 commits November 11, 2026 19:05
- observability: cli-flag-verify runs at push time in the guardrails
  reference-verify git hook (entries.json:43-52), not as a PostToolUse hook.
- plugins: claude plugin list prints one row per install record on 2.1.322,
  recorded with version and date; the never-trust-list rule stays.
- plugins: since 2.1.268 the /plugin panel runs the reload itself on close;
  the two-step keeps bare-first, --force only on the cache warning.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VcupojQwC9uJAfmSt4EHZm
@kyle-sexton kyle-sexton changed the title docs(harness-ops): ship three eval-gated held re-audit rows docs(harness-ops): ship eval-gated held rows and three stale-fact fixes Nov 12, 2026
@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 12, 2026
@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

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

Chunk 1 of 2 (40 files)

Security review: chunk 1 of 2 (head 1b44d5c)

I found no security issues in this chunk. I read every hunk of all 40 files.

What changed

  • Changelog fragment (.changes/harness-ops/docs-harness-ops-held-rows-pilot-7b29b2d0.md): prose only.
  • Eight new eval cases under plugins/harness-ops/evals/, through pl-install-summary-and-rollback-lines/prompt.md:
    • Each has case.yaml graders, a prompt.md and sample JSON. The graders are regex and tool_used matchers that run only on the eval's own last_message or tool-call log.
    • They gate no lane, token, merge or trust decision.
  • Tool grants in the eval prompts:
    • Most cases get read-only tools (Skill, Read, Glob, Grep).
    • cl-drift-dedupe-sees-closed, la-compaction-resume-and-cloud and ob-cost-and-flag-verify also get Bash.
    • cl-one-cluster-stays-inline also gets Bash and Agent.
    • The owner wrote these prompts, and they reach no untrusted input. They run only in the eval harness, and an eval run is started by hand. No CI workflow or credentialed lane changes here.
  • cl-one-cluster-stays-inline/scaffold.sh: writes fixed heredoc content (a toy plugin.json, a SKILL.md and a changelog.md) into the eval's scratch directory. It reads no input and expands no variables (the heredocs are quoted 'EOF'), and it makes no network call.

Checks

  • Trusted paths and trust controls: no file in this chunk matches a TRUSTED PATHS: glob. None touches a trusted-actor list, a token request or the broker, the kill switch, a merge hold, a workflow or .github/actions/.
  • Plugin manifests: no changed .claude-plugin/plugin.json or marketplace.json. The plugin.json that scaffold.sh writes is an eval fixture created at run time in a scratch directory, not a shipped manifest, so there is nothing to report under manifest.
  • Instruction-surface lens: this chunk deletes, narrows or softens no standing instruction. Every file here is new eval material or a changelog fragment. The skill-body edits are in chunk 2.
  • PR context and settled threads: no embedded text is directed at the review lane. The settled grader threads (cl-drift-dedupe-sees-closed, ob-cost-and-flag-verify) were about grader correctness, not security, and I did not re-raise them.
  • Prior findings: this lane's earlier reviews reported 0 findings, so nothing carries forward.

Mode: this review was blocking only (blocking only: yes), so SUGGESTION findings would have been dropped. None came up.

Spend (not a hold): running these eval cases uses prepaid API credit or subscription usage. The PR reports about $63 at list price for the pilot. Nothing in this chunk can start a real charge.

critical-findings: 0

Chunk 2 of 2 (14 files)

Security review, chunk 2 of 2 (head 1b44d5c)

I found no security issues in this chunk. I read every hunk of all 14 files.

What changed

  • New eval cases under plugins/harness-ops/evals/: the pl-list-version-and-orphan-records case, plus sample files for it and for pl-install-summary-and-rollback-lines.
    • The graders are regexes that run only against the eval's own last_message. They gate no lane, token or merge.
    • The prompt frontmatter grants only read-only tools (allowed_tools: [Skill, Read, Glob, Grep], max_turns: 20, timeout_seconds: 400), and the prompt tells the model not to run a sync.
  • Skill context prose:
    • audit-skill-visibility/reference/usage-counters.md: the verification stamp is reworded, and two unsourced claims are removed.
    • lanes/context/config.md: two pointers are added.
    • plugins/context/scope-semantics.md and stale-records-cache-content.md: the plugin list description is replaced with the 2.1.322 reading, the links are re-anchored, and one as-of/trigger block is dropped.
  • Observability docs (observability/context/data-sources.md 4.5, output-format.md): the jq queries that counted cli-flag-verify PostToolUse events are replaced with a fixed not collected report.

Instruction-surface lens

  • Removed observability queries and flag rules. These were read-only reporting over hook event logs. They prevented no destructive, credentialed or outward action. The new text tells the skill never to read an empty count as a clean verifier, which is a stricter rule than before.
  • Step 1 of the /reload-plugins two-step (scope-semantics.md): this lane already reviewed it at e3ee1b4. The settled thread on that paragraph is marked lines changed since resolution: no. The --force step still applies only to the cache warning, and the rule that a shell-path sync install needs a reload is unchanged.
  • plugin list / details rule: the rule never to treat this output as what is running here is kept.
  • Protected classes: I judged by consequence and did not consult the protected-class register (docs/contracts/instruction-exception-register/README.md). Without the removed text, nothing reaches a destructive, credentialed or outward action unchecked.

Checks

  • Trusted paths and trust controls: no file in this chunk matches a TRUSTED PATHS: glob. None touch the trusted-actor list, a token request or the broker, the kill switch, a merge hold, a workflow or .github/actions/.
  • Plugin manifests: no plugin.json or marketplace.json change, so there is nothing to report under manifest.
  • PR context and settled threads: no embedded text is directed at the review lane.
  • Prior findings: this lane's earlier review reported 0 findings, so nothing carries forward.

Mode: this review was blocking only (blocking only: yes), so SUGGESTION findings would have been dropped. None came up.

Spend (not a hold): running the new eval cases spends prepaid API credit or subscription usage. Nothing here can start a real charge.

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

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

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

Chunk 1 of 2 (40 files)

Code review: chunk 1 of 2 at 1b44d5c3 (blocking only)

This lane has reviewed this pull request twice before, so this pass reports only blocking findings. Advisory findings are dropped.

I read every hunk of the 40 files in this chunk:

  • the changelog fragment
  • the case.yaml, prompt.md and sample files for eight cases: ano-, ap-, asv-, cl-drift-, cl-one-cluster-, la-, ob-, plus pl-install-summary-and-rollback-lines/case.yaml and its prompt.md
  • cl-one-cluster-stays-inline/scaffold.sh

Findings: none blocking.

Earlier threads. The two grader threads from e3ee1b43 (cl-drift-dedupe-sees-closed/case.yaml, ob-cost-and-flag-verify/case.yaml) were settled by the owner at 78f99f33, and their lines have not changed since. I traced the head regexes against their samples by hand:

  • dedupe-includes-closed matches --state all and all states anywhere again. The negation lookahead now applies only to the verb-then-closed form.
  • no-posttooluse-claim ties the negation to the claim with fixed-width lookbehinds just before PostToolUse. A clause now ends at ; or at a terminal . followed by whitespace, so the dot in data-sources.md no longer ends one.

Every pass and fail sample in both sample files behaves as labelled under my trace. The earlier description findings on both prompt.md files are also fixed at this head.

Checked, nothing to report:

  • The tool_used matchers ("command":"…", "description":"…") follow the convention other plugins' evals already use, for example plugins/sql-server/evals/*/case.yaml.
  • The --changelog and --range A..B flags that ran-status-on-range expects exist in changelog-status.sh; its test file exercises both.
  • The <Update label=…> changelog format in scaffold.sh is a format that test file accepts.
  • The fragment's bump: patch fits a docs-and-evals change. Its "nine eval cases" and the seven skills it lists match the nine new case directories.

Advisory (dropped under blocking only): a few graders can still fail some correct phrasings that fall outside their samples. One example is a negation word elsewhere in the same comma-joined clause, in dedupe-includes-closed. These cases are coverage-only or held rows, so they gate nothing in this PR.

Unverified. I ran nothing. The validate-cases.py, check-matchers and eval-run results come from the PR description and the owner's replies, and I have not confirmed them.

Closing issue. None. The PR body says it has no tracking issue (owner decision D24), so there are no acceptance criteria to check.

Manifests. This chunk changes no plugin.json or marketplace.json, so there are no manifest lines.

Spend (not a finding). Running these nine eval cases spends prepaid API credit or subscription usage.

Chunk 2 of 2 (14 files)

Code review, chunk 2 of 2 (blocking only)

This lane already reviewed two earlier heads, so this pass reports only blocking findings and drops advisory ones. I read every hunk of the 14 files in this chunk.

Blocking findings: none.

What I checked

  • pl-install-summary-and-rollback-lines samples. I traced every pass and fail sample by hand against the three graders in that case's case.yaml, which sits in chunk 1. Each sample lands on the side it claims. The third explains-head-only-compare pass sample matches through the latest commit … older commit alternative, inside the 120-character window.
  • pl-list-version-and-orphan-records. I traced its graders and samples the same way, and every sample lands on its stated side. The case description now matches the 2.1.322 plugin list wording in scope-semantics.md, which settles the earlier thread.
  • Observability rewrite (data-sources.md 4.5 and output-format.md). I checked the claim the rewrite rests on, and it holds:
    • plugins/guardrails/git-hooks/entries.json#L43-L52 lists reference-verify as a pre-push entry carrying hooks/cli-flag-verify.sh.
    • plugins/guardrails/hooks/hooks.json has no cli-flag-verify entry.
    • The renamed 4.5 anchor matches its table-of-contents link.
    • Nothing else under plugins/harness-ops links to the old anchor or the old Verification stamp heading. The only other hits are code comments in audit_skill_visibility.py.
  • lanes/context/config.md. The new "/tr row at the pointer below" wording does resolve: the schtasks-create pointer is at line 180–181 of the same file.
  • scope-semantics.md and stale-records-cache-content.md.
    • The new "Recorded output" note on the plugin list section keeps an as-of date and a recheck trigger, as a recorded value should.
    • The pointer blocks lose theirs, as the owner's settled reply on the stale-records-cache-content.md thread explains.
    • The two-step and the summary-line paragraph stay links-only, as settled at e3ee1b4.

Settled and prior threads. I re-raised no settled point: every thread marked lines changed since resolution: no is untouched in this chunk. No prior finding from this lane is in this chunk's files unchanged.

Embedded text. None of the context, settled-thread or prior-findings files contains text that tries to steer this lane.

Manifests. This chunk changes no plugin.json or marketplace.json, so there are no manifest lines.

Unverified. I ran nothing; every regex trace above was done by hand. The PR's validate-cases.py, check-matchers, markdownlint and eval results are claimed by the author and unverified.

Spend (not a finding). The new eval cases spend prepaid API credit or subscription usage each time they run.

- ob-cost-and-flag-verify: the not_contains grader now judges a sentence
  and skips one that negates the claim, so the case's own expected outcome
  passes; that wording is a pass sample.
- cl-drift-dedupe-sees-closed: dedupe-includes-closed fails a negated or
  "only open" reply; both added as fail samples.
- Case descriptions no longer cite pre-fix text (data-sources 4.5, "highest
  across scopes").
- scope-semantics: the /plugin summary paragraph returns to the links-only
  form; the two-step keeps checking what the panel did before a bare reload.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VcupojQwC9uJAfmSt4EHZm

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

claude-lane: claude-review

kyle-sexton and others added 2 commits November 11, 2026 19:47
- ob-cost-and-flag-verify: no-posttooluse-claim checks negation only in the
  words just before PostToolUse, and ends a clause at ; or a terminal . so
  a filename dot or a later "not" no longer hides a stale claim. Three such
  answers are fail samples.
- cl-drift-dedupe-sees-closed: --state all and "all states" match anywhere
  again; the negation check applies only to the verb-plus-closed form. Two
  correct answers that tripped the sentence check are pass samples.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VcupojQwC9uJAfmSt4EHZm
@kyle-sexton

Copy link
Copy Markdown
Member Author

Held until #15468 (upstream-drift contract 6.0.0) merges: this PR applies that contract. The fable-5-2 effort session removes do-not-merge when #15468 is on main.

@kyle-sexton kyle-sexton removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 12, 2026
@kyle-sexton

Copy link
Copy Markdown
Member Author

Hold released: #15468 merged, so the merge-order hold (pr-hold reason=merge-order) ends. Updating from main next.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 12, 2026
Merged via the queue into main with commit dbe2c49 Nov 12, 2026
47 checks passed
@kyle-sexton
kyle-sexton deleted the docs/harness-ops-held-rows-pilot branch November 12, 2026 04:32
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant