Skip to content

docs(docs-hygiene): correct audit-derivability's subagent-loading claims - #11774

Merged
kyle-sexton merged 2 commits into
mainfrom
docs/6916-w5-docs-hygiene-pointers
Nov 1, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
docs/6916-w5-docs-hygiene-pointers

Conversation

@kyle-sexton

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

Copy link
Copy Markdown
Member

Refs: #6916

Summary

The plugins/docs-hygiene findings from wave E of the repo-mode /multi-agent:audit-defaults sweep. audit-derivability said every subagent except Explore and Plan loads the launch-loaded files. Upstream says a custom subagent that sets omitClaudeMd does not.

Fix

  • skills/audit-derivability/SKILL.md:
    • The spot-test step, the hard rule and the gotcha no longer say which subagent types load launch-loaded files. The spot-test still must use Explore or Plan, labeled as this skill's choice.
    • After review (626c5c4c60), the Sources entry is a links-only record: sub-agents#built-in-subagents and #what-loads-at-startup, as of 2026-11-01, with a recheck trigger.
    • The sweep's fallback model and effort are labeled as this skill's stand-in for /multi-agent:route, the same shape docs: point wave 4 model and workflow claims at upstream sections #11701 used for bugs:scan.

Not in this PR:

  • Letting an omitClaudeMd agent run the spot-test changes what the skill does, so it needs eval evidence.
  • The write-for-agents/SKILL.md:139 finding is a skill-body cut, which also needs eval evidence.

Verification

  • sub-agents was re-read raw on 2026-11-01. "Other built-in and custom subagents load both, unless you set omitClaudeMd" and "Explore and Plan start without your CLAUDE.md files and the git status snapshot" both hold.
  • scripts/check-affected.sh --tests on the committed head: 14 passed, 2 skipped.
  • No dispatch changes, so no eval ran.

Remaining on #6916

This pull request delivers one plugin's share of wave 5. Still open on the issue:

Related

🤖 Generated with Claude Code

Fix five confirmed findings from the #6916 drift sweep (wave E): account
for omitClaudeMd where the skill says which subagents load launch-loaded
files, label Explore/Plan as the skill's choice, re-pin the Sources quote,
and label the sweep model fallback as a stand-in for /multi-agent:route.

Refs: #6916

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@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-01T01:04:44.271042Z 0b6188f 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: 0b6188fff9

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

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review (incremental, since 0b6188f)

I found no security issues in this change.

I read every hunk of both files in scope (.claude-lane/incremental.diff):

  • plugins/docs-hygiene/skills/audit-derivability/SKILL.md: the skill body no longer explains which subagent types load CLAUDE.md, AGENTS.md and project rules (the omitClaudeMd wording). It now points to a links-only Sources record for that. I read it under the instruction-surface lens because it rewords a standing instruction. The rule itself is unchanged: when the audited file loads at launch, the spot-test MUST still use Explore or Plan. The ban on the fork subagent type is also unchanged. The text adds that the skill "does not rely on any other type skipping them", which makes the rule tighter, not looser. No forbidden action is newly allowed. The rule protects review quality (keeping the spot-test free of contamination), not credentials, trust or billing. I didn't consult the instruction exception register because nothing was removed or weakened.
  • .changes/docs-hygiene/fix-6916-w5-derivability-sources-8b1e4f07.md: changelog prose that matches the change above. It has no security surface.

Neither file matches a trusted-path glob. The change has no plugin manifests, workflows, trust controls, merge holds or token scopes. The PR context file contains no embedded directives aimed at the lane.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

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

Incremental review: 0b6188f → 626c5c4

Scope: I read every hunk of both files in .claude-lane/incremental.diff. I used .claude-lane/pr.diff and .claude-lane/pr-context.md for context only.

What changed

  • plugins/docs-hygiene/skills/audit-derivability/SKILL.md: three places changed.
    • The spot-test step (L76) and the Gotcha (L162) no longer say which subagent types load launch-loaded files, so the omitClaudeMd exception is no longer stated in the skill. Both now defer to the Sources record. The skill still requires Explore or Plan and calls that "this skill's choice", and it says it "does not rely on any other type skipping them".
    • The Sources record (L178) is now links-only. Its "Claim:" and quoted wording are replaced by pointers to the #built-in-subagents and #what-loads-at-startup anchors, and it is dated 2026-11-01.
  • .changes/docs-hygiene/fix-6916-w5-derivability-sources-8b1e4f07.md: the fragment is reworded to match. bump: patch fits a docs-only correction.

The updated text agrees with the rest of the skill:

  • The Hard-rules line (L152) still says "see Sources for which agents load those files".
  • The Recheck-triggers row (L186) still re-derives the Explore/Plan requirement and the Sources record.
  • context/rubric.md:155 still says "A custom subagent with omitClaudeMd is not a substitute".

I found no correctness problem in the changed lines.

Finding (whole PR, no changed line can carry it)

  1. The PR description no longer matches the head (advisory). The description in .claude-lane/pr-context.md describes the earlier revision:

    • "Three places now account for omitClaudeMd." After this push, no place in the SKILL.md diff names omitClaudeMd.
    • "The Sources record is re-pinned to the page's current wording and adds the managed-subagent exception." The record at SKILL.md#L178 is now a links-only pointer with no quote and no managed-subagent exception.

    A reader or squash-merge message that relies on the description will record claims the merged skill does not make. Fix: update the Summary and Fix bullets to describe the links-only Sources record and the deferral to it, as the changelog fragment already does.

Notes

  • The Verification section (upstream page re-read, check-affected.sh result) is the author's claim and unverified. I ran nothing: this lane has no shell.
  • I found no embedded instructions in the PR context.
  • No plugin manifest changed, and neither changed file matches a trusted-path glob.

Answer the Codex P1 on #11774: the Sources record restated which
subagents load launch-loaded files, with a dated quote. It is now a
links-only pointer record, and the spot-test rule and its gotcha defer
to it instead of restating the loading behavior.

Refs: #6916

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

Copy link
Copy Markdown
Member Author

claude-review's two advisory findings on 0b6188fff9 are both valid and fixed in 626c5c4c60: (1) the spot-test step and its gotcha no longer restate which subagents load launch-loaded files; they defer to Sources. (2) The Sources entry is now a links-only record with section anchors (#built-in-subagents, #what-loads-at-startup), an as-of date and a recheck trigger, with no quote or paraphrase.

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