Repository navigation
docs: share project instructions through AGENTS.md - #4245
Merged
Merged
Conversation
worktrunk-bot
approved these changes
Sep 23, 2026
max-sixty
added a commit
that referenced
this pull request
Sep 23, 2026
The repository guidance had grown into long implementation histories, especially in the plugin instructions surfaced by #4241. This trims the nine guidance files from 2,769 lines to 380, keeping active contracts and fragile workflows while moving enduring cache semantics into the owning module docstring and updating trace and feature-spec references. This follows #4245, which moved the guidance into `AGENTS.md`. The nine `CLAUDE.md` forwarding files remain in place. Verified with the plugin-layout and documentation-sync integration tests, `pre-commit`, JSON parsing for the updated feature specifications, and `git diff --check`. > _This was written by Codex on behalf of max-sixty_
This was referenced Sep 23, 2026
1 task
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.
Make
AGENTS.mdthe canonical project instructions in nine directories. Each directory also has a one-lineCLAUDE.mdimporting its adjacentAGENTS.md, so Claude Code loads the instructions even on accounts where nativeAGENTS.mdsupport is gated off. The rootAGENTS.mdreplaces the old symlink; ordinary files work on Windows checkouts without symlink support. References in source comments, CI, Clawpatch metadata, maintainer skills, and the demo fixture point to the canonical paths.I verified Claude Code's
@import in a live isolated probe with tools disabled: aCLAUDE.mdimport loaded a marker found only in the imported file. The wrappers keep the existing Claude Code instruction-loading path while Codex readsAGENTS.mddirectly.Verified:
test_docs_are_in_sync,test_plugin_layout_is_consolidated,test_no_host_specific_paths_in_snapshots, the docs production build, 20 built-site tests, Python compilation of the demo helper, JSON parsing of the feature metadata, andgit diff --check.