Most of CLAUDE.md described the repo as it was around v1.0: three domain packages, two database tables, twenty-one classes. There are now eleven packages, fifteen tables, and well over a hundred classes — so those sections weren't just redundant with ls and Schema.php, they were teaching the wrong shape of the codebase. The CI section had drifted too (no build job).
Cut (all derivable, all stale): the command list (composer.json has the scripts), the plugin-bootstrap description, the directory tree, the database table list, the Key Classes table, and the CI job summary.
Kept — every rule the code can't explain on its own: package-by-domain organisation, no $wpdb outside repositories, capability checks rather than role-name checks, and the Schema.php version-bump gotcha (schema change without a version bump never reaches existing sites).
Moved: the Brain\Monkey and Mockery API gotchas now live in tests/CLAUDE.md, which loads only when working under tests/ rather than in every session.
Net: 6,985 → 1,986 chars in the always-loaded file.
Tests
Documentation only — no PHP changed, so composer test / lint / cs were not run locally. CI will run them on this PR.
No CHANGELOG.md entry: this changes agent guidance, not anything a plugin user sees.
Most of CLAUDE.md described the repo as it was around v1.0: three domain packages, two database tables, twenty-one classes. There are now eleven packages, fifteen tables, and well over a hundred classes — so those sections weren't just redundant with `ls` and `Schema.php`, they were teaching the wrong shape of the codebase. The CI section had drifted too (no `build` job).
**Cut** (all derivable, all stale): the command list (`composer.json` has the scripts), the plugin-bootstrap description, the directory tree, the database table list, the Key Classes table, and the CI job summary.
**Kept** — every rule the code can't explain on its own: package-by-domain organisation, no `$wpdb` outside repositories, capability checks rather than role-name checks, and the `Schema.php` version-bump gotcha (schema change without a version bump never reaches existing sites).
**Moved**: the Brain\Monkey and Mockery API gotchas now live in `tests/CLAUDE.md`, which loads only when working under `tests/` rather than in every session.
Net: 6,985 → 1,986 chars in the always-loaded file.
## Tests
Documentation only — no PHP changed, so `composer test` / `lint` / `cs` were not run locally. CI will run them on this PR.
No `CHANGELOG.md` entry: this changes agent guidance, not anything a plugin user sees.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Most of this file described the repo as it was around v1.0: three domain
packages, two database tables, twenty-one classes. There are now eleven
packages, fifteen tables, and well over a hundred classes, so those
sections were not just redundant with `ls` and Schema.php — they were
teaching the wrong shape of the codebase. Same for the CI section, which
had drifted past the build job.
Cut the command list (composer.json has the scripts), the bootstrap
description, the directory tree, the table list, the Key Classes table,
and the CI job summary. Kept every rule the code can't explain on its
own: package-by-domain, no $wpdb outside repositories, capability checks
rather than role names, and the Schema.php version-bump gotcha.
Moved the Brain\Monkey and Mockery gotchas to tests/CLAUDE.md, which
loads only when working under tests/ instead of in every session.
Co-Authored-By: Claude Opus 5 <[email protected]>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Most of CLAUDE.md described the repo as it was around v1.0: three domain packages, two database tables, twenty-one classes. There are now eleven packages, fifteen tables, and well over a hundred classes — so those sections weren't just redundant with
lsandSchema.php, they were teaching the wrong shape of the codebase. The CI section had drifted too (nobuildjob).Cut (all derivable, all stale): the command list (
composer.jsonhas the scripts), the plugin-bootstrap description, the directory tree, the database table list, the Key Classes table, and the CI job summary.Kept — every rule the code can't explain on its own: package-by-domain organisation, no
$wpdboutside repositories, capability checks rather than role-name checks, and theSchema.phpversion-bump gotcha (schema change without a version bump never reaches existing sites).Moved: the Brain\Monkey and Mockery API gotchas now live in
tests/CLAUDE.md, which loads only when working undertests/rather than in every session.Net: 6,985 → 1,986 chars in the always-loaded file.
Tests
Documentation only — no PHP changed, so
composer test/lint/cswere not run locally. CI will run them on this PR.No
CHANGELOG.mdentry: this changes agent guidance, not anything a plugin user sees.🤖 Generated with Claude Code