Make AGENTS.md the single agent guide and import it from CLAUDE.md - #143
Merged
Merged
Conversation
Contributor
Test in WordPress PlaygroundTest the plugin with the code from this branch:
|
erseco
force-pushed
the
feature/claude-md-sync
branch
from
September 26, 2026 07:19
56e056e to
954eb99
Compare
erseco
force-pushed
the
feature/claude-md-sync
branch
from
September 26, 2026 07:20
954eb99 to
2af5d25
Compare
erseco
added this pull request to stack #144
September 26, 2026 07:38
erseco
force-pushed
the
feature/claude-md-sync
branch
2 times, most recently
from
September 26, 2026 07:44
0499338 to
61c609c
Compare
erseco
force-pushed
the
feature/claude-md-sync
branch
from
September 26, 2026 08:01
61c609c to
3ebf047
Compare
CLAUDE.md duplicated and contradicted AGENTS.md: it described .elp files, an ElpParser, an editor git submodule on a 3.1 branch with a make update-submodule target, and classes that no longer exist. Its content now lives, corrected, in AGENTS.md, and CLAUDE.md is just '@AGENTS.md'. AGENTS.md gains how the plugin works (flow, components by area, the REST table with permissions, meta and options), the real editor build (gitignored clone pinned by .editor-version), the local environment and the persistent test uploads directory, the vendored-WP-CLI translation command, and workflow rules (env: for external values, persist-credentials: false). It drops the stale ban on Block API version 3, which the block has used since #89.
erseco
force-pushed
the
feature/claude-md-sync
branch
from
September 26, 2026 08:29
3ebf047 to
5fa472e
Compare
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.
Stacked on #142. Last of the stack.
One agent guide
CLAUDE.mdis now only@AGENTS.md.AGENTS.mdis the single guide for every agent. Before this change the two files overlapped and contradicted each other.CLAUDE.mddescribed things that no longer match the code:.elpfiles and an "ElpParser";release/3.1-…, with amake update-submoduletarget;Its useful content moved into
AGENTS.md, corrected, which now covers:exelearning/clone pinned by.editor-version, andbuild-editor-if-needed.tear_down()(see Clean up test extraction folders in tear_down #136).make translations(vendored WP-CLI), never the container'swp.run:throughenv:, andpersist-credentials: falseis set where third-party packages are installed (see Harden the release workflows against injected values #139). The rule to keep actions on tags is kept.allow-same-originfrom package iframes piecemeal; the opaque-origin viewer lands as a whole in Opaque-origin published viewer and opt-in opaque editor preview #56.Meta keys are listed with their full
_exelearning_names. The branch rule now allows stacked PRs to target the previous branch. Theexelearning.phpcomment about the file service now says.elpx.The README's "Working with AI coding agents" section now describes the new arrangement.
make architecture-checkpasses. The ADR-68-01 references toCLAUDE.md"Data Storage" are pinned to a commit and left as accepted history.