Skip to content

docs: share project instructions through AGENTS.md - #4245

Merged
max-sixty merged 2 commits into
mainfrom
codex/agents-md-migration
Sep 23, 2026
Merged

max-sixty merged 2 commits into
mainfrom
codex/agents-md-migration

Conversation

@max-sixty

@max-sixty max-sixty commented Sep 23, 2026 •

Copy link
Copy Markdown
Owner

Make AGENTS.md the canonical project instructions in nine directories. Each directory also has a one-line CLAUDE.md importing its adjacent AGENTS.md, so Claude Code loads the instructions even on accounts where native AGENTS.md support is gated off. The root AGENTS.md replaces 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: a CLAUDE.md import loaded a marker found only in the imported file. The wrappers keep the existing Claude Code instruction-loading path while Codex reads AGENTS.md directly.

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, and git diff --check.

This was written by Codex on behalf of max-sixty

@max-sixty max-sixty changed the title docs: migrate project instructions to AGENTS.md docs: share project instructions through AGENTS.md Sep 23, 2026
@max-sixty
max-sixty merged commit 6502630 into main Sep 23, 2026
42 checks passed
@max-sixty
max-sixty deleted the codex/agents-md-migration branch September 23, 2026 10:20
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_
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.

2 participants