Skip to content

test(mcp-tools): tag five audit cases no-network for offline measurement - #13889

Merged
kyle-sexton merged 2 commits into
mainfrom
fix/13768-mcp-tools-audit-offline
Nov 7, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
fix/13768-mcp-tools-audit-offline

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #13768

Summary

Five mcp-tools audit eval cases (au-long-instructions-warn, au-meta-string-true-fails, au-report-edits-nothing, au-path-scopes-one-server, au-undescribed-params-fail) are tagged no-network.

The skill's audit fetches its upstream pointers live (plugins/mcp-tools/skills/audit/checklist.md:40, :66; server-discovery.md:32, :68), and no grader of these cases needs fetched content. Every expected verdict comes from the skill's own text: checklist.md:17-19, :34-35, :102, :109, :129, :171.

A sandbox network denial in a no-network case is set aside as a warning (plugins/evals/skills/plugin-eval/reference/reading-results.md:123-128; repo rule D19-4: offline-path measurement). Six audit cases already carried the tag. The skill is unchanged.

Fix

  • The tags line in each of the five prompt.md files.
  • Fragment .changes/mcp-tools/test-13768-audit-cases-no-network-6e2b9d40.md (bump none).

Verification

Laptop Lane 3, a run from an rsync copy outside git, Claude Code 2.1.319, model claude-opus-5-5, judge opus, --runs 3 --scaffold --allow-tools Bash, head c490737 only. One side is enough: the change is eval-only, so main plus these evals is the same content.

Verdict VALID: 6 network denials, all in no-network cases and not counted, and 1 split judge vote.

Case With Without
crud-decoy 0.86 0.38
fork-no-parent-scope 0.67 0.00
long-description-c4-warn 1.00 0.33
long-instructions-warn 1.00 0.60
meta-json-type-overloads 0.44 0.11
meta-string-true-fails 1.00 0.56
path-scopes-one-server 1.00 0.78
report-edits-nothing 1.00 0.83
resource-out-of-scope 0.83 0.50
strong-tool-no-fabricated-fail 1.00 0.14
undescribed-params-fail 0.89 0.44

Overall delta +0.46 (95% +0.33 to +0.58); validate-cases 0 FAIL.

Remaining on #13768

Two cases score with-arm under 0.8 (fork-no-parent-scope 0.67, meta-json-type-overloads 0.44), both well above without. They are recorded as weak cases, not losses.

Related

🤖 Generated with Claude Code

kyle-sexton and others added 2 commits November 6, 2026 18:01
The audit skill reads its upstream pointers live (checklist.md Description
length record and Spec revision record; server-discovery.md SDK pointers),
which the eval sandbox blocks. No grader in au-long-instructions-warn,
au-meta-string-true-fails, au-report-edits-nothing, au-path-scopes-one-server
or au-undescribed-params-fail needs fetched content: C4, C6, C12 and C18 are
graded on the checklist's own rules, and the rest are tool-use, file-content
or scope checks. Tagging them no-network measures their offline path, as the
six other audit cases already do.

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 01:35
@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-07T01:35:52.950482Z
We couldn’t complete this review. Comment @codex review to try again.
e472a61 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-review reviewed e472a612dc1242e08d9ea1551c6e3466293608e4: read 6 of 6 changed file(s); 0 finding(s), 0 as inline comments.

Code review: no findings

I read every hunk of all 6 changed files.

What changed: Five mcp-tools audit eval cases now carry the no-network tag: au-long-instructions-warn, au-meta-string-true-fails, au-path-scopes-one-server, au-report-edits-nothing and au-undescribed-params-fail. The PR also adds a changelog fragment with bump: none. The skill itself is unchanged.

Checks:

  • The tag works as intended. run-validity.py reads the exact string no-network (NO_NETWORK_TAG, run-validity.py#L425). For a tagged case, it turns a sandbox network denial into a warning (reading-results.md#L128).
  • It matches the existing cases. The six audit cases that already had the tag spell it the same way and put it in the same tags: list. All 11 au-* cases now carry it.
  • The expected verdicts come from the skill's own text. The C6 FAIL, C12 WARN and C18 requiresUserInteraction FAIL verdicts, and the C4 instruction floor, are all written in checklist.md. The live upstream reads are only pointers, at lines 40 and 66. So none of these graders needs fetched content.
  • bump: none is right for a change that only touches evals.
  • Small correction to the PR description: it cites plugins/mcp-tools/skills/audit/checklist.md, but the file is at plugins/mcp-tools/skills/audit/reference/checklist.md. The code is not affected.

Unverified: The verification table and the VALID verdict are the author's claims. I did not run them.

Closing issue: The PR refs #13768 but does not close it, and the PR context has no closing-issue section. There were no acceptance criteria to check.

Paved paths and path-scoped rules: I did not check these, because this lane has no shell and these files are tags only.

Spend: none. This changes how eval runs are scored, not how many runs there are or how long they take.

@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

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

Security review: no issues found

I read every hunk of all 6 changed files in .claude-lane/pr.diff, so this review is complete.

What changed

  • Five plugins/mcp-tools/evals/au-*/prompt.md files each get no-network added to the tags: frontmatter line. Nothing else in those files changes.
  • One new .changes/mcp-tools/ fragment with bump: none. It has no executable content.

Why there is no security surface

  • None of the changed files is on a trusted path. Nothing touches a workflow, an action, a trust control, a merge hold, a token request, the kill switch or a plugin manifest.
  • The no-network tag only labels an eval case. It does not open network access in the sandbox. The PR context says it makes a network denial count as a warning when results are read, which affects how a run is measured. It is not a grant that lets untrusted text reach a credentialed lane.
  • No instruction surface is deleted, narrowed or softened. The case descriptions, which include the untrusted-content case in au-long-instructions-warn, are unchanged, and so is the skill.
  • The PR description contains no embedded instructions aimed at this lane.

Spend: none beyond normal eval runs. The change can't cause a charge.

critical-findings: 0

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 7, 2026
Merged via the queue into main with commit 2b37f41 Nov 7, 2026
70 checks passed
@kyle-sexton
kyle-sexton deleted the fix/13768-mcp-tools-audit-offline branch November 7, 2026 01:49
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