Skip to content

test(harness-ops): point ai-light-skips-cross-review at a fixture install root - #13893

Merged
kyle-sexton merged 2 commits into
mainfrom
fix/13768-harness-ops-install-state
Nov 7, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
fix/13768-harness-ops-install-state

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #13768

Summary

Points the ai-light-skips-cross-review eval case at a fixture install root in the workspace, so the skill audits a tree the sandbox lets it read.

  • With no root argument, the skill audits the eval session's own config dir, which the sandbox denies (plugins/evals/skills/plugin-eval/reference/reading-results.md:66-83).
  • The skill takes a root argument (plugins/harness-ops/skills/audit-install-state/SKILL.md:12, :95).

Fix

  • plugins/harness-ops/evals/ai-light-skips-cross-review/scaffold.sh: seed a minimal fixture install under .work/claude-home/ in the workspace.
  • plugins/harness-ops/evals/ai-light-skips-cross-review/prompt.md: pass that fixture as the skill's root, and say why in the case description.
  • A bump: none changelog fragment for harness-ops.

Verification

Head only, since the change is eval-only. Laptop lanes, run from rsync copies outside git; Claude Code 2.1.319, model claude-opus-5-5, judge opus, --runs 3, auto memory off.

  • ai-light-skips-cross-review: VALID, with 1.00, without 0.00.
  • The new scaffold ran cleanly.

Left out: a main-side run, since the skill is unchanged.

Remaining on #13768

None for this case. The issue stays open for its other cases.

Related

N/A

🤖 Generated with Claude Code

kyle-sexton and others added 2 commits November 6, 2026 19:44
…-cross-review

The eval sandbox denies reading the run's own config dir, which the skill
audits by default, so every with-arm run drew a Bash denial and the case
was INVALID twice (#13768 part (c)). The scaffold now seeds a small
install under .work/claude-home/.claude and the prompt passes it as the
skill's root argument; the case still tests the Phase 6 verification
level, which reads the repository, not the install.

Refs: #13768

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

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-07T02:03:29.396506Z
We couldn’t complete this review. Comment @codex review to try again.
95bd97b 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

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

Security review: PR #13893 (head 95bd97b)

No security issues found. I read every hunk of all 3 changed files, so this is a complete review.

This change only touches an eval case:

  • .changes/harness-ops/fix-13768-install-state-fixture-root-5b8e1c42.md adds a bump: none changelog fragment. It is prose only.
  • plugins/harness-ops/evals/ai-light-skips-cross-review/prompt.md passes the fixed path .work/claude-home/.claude as the skill's root argument and expands the case description. The path is a constant relative to the workspace, so no input from outside the repository reaches it.
  • plugins/harness-ops/evals/ai-light-skips-cross-review/scaffold.sh creates a fixture directory and writes three static {} files (settings.json, .claude.json, plus a projects/ directory) under .work/claude-home/ in the eval workspace. None of the paths or contents can be changed by outside input, and nothing is interpolated.

What I checked:

  • Trusted paths: none of the changed files match a TRUSTED PATHS glob. The **/.claude/** glob covers paths inside the repository, but this diff only creates a .claude directory at runtime inside the eval workspace. No tracked file under .claude/ changes.
  • Trust controls: no change to the trusted-actor list, token scopes, kill switch, merge holds or workflows. Nothing gets wider access.
  • Plugin manifests: none changed.
  • Standing instructions: no rule in CLAUDE.md, a skill or an agent body, or a hook is removed or loosened. The eval's prompt now points the skill at a fixture install instead of the session's own config directory. That narrows what the eval reads; it does not widen it.
  • PR context: the description contains no embedded instructions aimed at the review lane.

Spend: this uses only eval run credits (runs: 3, max_turns: 25, both unchanged), so it is not a hold.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

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

No blocking or advisory findings. I read every hunk of all 3 changed files.

What changed: the ai-light-skips-cross-review eval case now runs /harness-ops:audit-install-state against a fixture install, .work/claude-home/.claude. The case's scaffold creates that fixture in the workspace. Before, the skill audited the run's own config dir, which the eval sandbox will not let it read. A bump: none harness-ops changelog fragment comes with it.

What I checked:

  • The skill accepts the path. It takes an optional root argument (argument-hint: "[--unattended] [root]"). When one is given, it adds --root PATH to the engine call (SKILL.md#L95).
  • The fixture layout fits the engine. For Phase 5, the engine looks for .claude.json* in the root's parent directory (install_state.py#L1369-L1373). The scaffold writes .work/claude-home/.claude.json next to .work/claude-home/.claude/, so the home-root step finds a real file.
  • The fixture stays out of git. It sits under .work/, which the scaffold already lists in .gitignore, so the seed commit and the origin push are unchanged.
  • The tested behaviour is unaffected. The case tests the verification level that Phase 6 reads from origin's default branch, and that path is unchanged. expected_outcome still matches.
  • The audit's output files land outside the fixture. The skill writes them to the working directory, not inside the audited root.
  • Path-scoped rule. .claude/rules/eval-case-transcripts.md covers these files. The fixture holds only {} placeholders and no transcript content, so it complies.

Not verified by me: the PR body reports a VALID eval result (with 1.00, without 0.00, --runs 3) and a clean scaffold run. I had no shell, so I did not run either.

Closing issue: the PR says Refs: #13768 and closes no issue, so there were no acceptance criteria to check.

Plugin manifests: none changed, so there are no manifest lines.

Spend: only prepaid eval-run usage, 3 runs of this case. No billing change.

Embedded text: the PR context contains no directives aimed at this lane.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 7, 2026
Merged via the queue into main with commit 9b9926e Nov 7, 2026
69 checks passed
@kyle-sexton
kyle-sexton deleted the fix/13768-harness-ops-install-state branch November 7, 2026 02:14
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.

1 participant