Repository navigation
docs(instruction-placement): record measured subagent Write and Edit rule loads - #10600
Conversation
…rule loads A headless probe on Claude Code 2.1.312 shows a subagent's Write and Edit load a matching path-scoped rule and a nested CLAUDE.md after the tool runs, with agent_id, agent_type and effort on the InstructionsLoaded record. Replace the unmeasured cells and the inferred write-trigger timing with the measurement. Refs: #6758 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t-write-edit-loads
…t-write-edit-loads
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-review reviewed Docs-only change recording the 2.1.312 subagent Write/Edit probe. The measurement text is internally consistent across the surface-table rows, the new section, the write-trigger gap, the routing rubric, the audit eval and the changelog fragment. I did not re-run the probe; the probe results are author-claimed. I also did not run the shell tests, which are author-claimed too. I read the diff and the PR context only. Closing issue #6758. Both acceptance criteria are met on the page. The recorded probe sits in 1 finding (stale text left behind, not on a changed line). The README revisit-trigger row still says the timing is unmeasured: It reads "Whether the rule arrives before the write is unmeasured: see No spend beyond normal CI. No hold. |
|
claude-security-review reviewed No security issues found in this pull request. The change is documentation and test-expectation text only:
What I checked:
Spend: none. The critical-findings: 0 |
Closes #6758
Summary
Records the first measurement of what a subagent's Write and Edit load. A headless probe on Claude Code 2.1.312 showed that a Write or an Edit inside a general-purpose subagent loads a matching
paths:rule and a nestedCLAUDE.mdafter the tool runs. TheInstructionsLoadedrecord names the subagent throughagent_id,agent_typeandeffort.Fix
plugins/instruction-placement/context/verified-mechanics.md: the two surface-table rows drop "Write and Edit inside a subagent unmeasured" and carry (measured 2.1.312). A new section, "Write and Edit inside a subagent, measured on 2.1.312", holds the repro and its verification record. The write-trigger gap's timing claim moves from inferred to measured.context/routing-rubric.md,README.mdand the audit skill'sevals/evals.jsondrop "not yet measured" for the Write-trigger timing..changes/instruction-placement/.Verification
claude -pruns in a scratch git project outside the checkout, each with a throwaway--settingsfile that loggedInstructionsLoaded,PreToolUseandPostToolUse. Run 1 had the subagent Writews/new.txtandwn/new.txtwith no Read; run 2 had it Edit existinges/target.txtanden/target.txtwith no Read. All four calls were followed by one load record (path_glob_matchornested_traversal,trigger_file_path= the touched file), each after that call'sPostToolUse, each carrying the subagent'sagent_id,agent_type: general-purposeandeffort.scripts/precompute.test.sh(36 cases) andscripts/lib/version.test.sh(19 cases) pass.ip_mechanics_measured_maxnow reads2.1.312from the record, so the audit header readsnot staleon that CLI.jq emptypasses on the eval file.Related
🤖 Generated with Claude Code