Repository navigation
mods/agents-md: a Read attaches no nested AGENTS.md where the engine attaches nothing to a turn - #95417
Merged
Conversation
…attaches nothing to a turn
poteat
enabled auto-merge (squash)
September 18, 2026 18:06
notitatall
approved these changes
Sep 18, 2026
This was referenced Sep 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mods/agents-md'stool.callhook onReadnow attaches no nestedAGENTS.mdin a run where the engine itself attaches nothing to a turn:--bare(which setsCLAUDE_CODE_SIMPLE) orCLAUDE_CODE_DISABLE_ATTACHMENTS, each read on every Read through$.env.getwith the spellings the engine reads its own switches with (1,true,yes,on), so a settingsenvblock that flips one mid-session is followed. Theprompt.contextwalk is unchanged: where the engine loads no instruction files it finds none. README,hooks.jsonand the module's JSDoc say so. Checked:tsc -p mods/tsconfig.json,claude plugin validate mods/agents-md, andclaude plugin teston every mod under 2.1.276 and 2.1.277.