agents.md holds the instructions, claude.md points at it

opencode discovers only AGENTS.md, Claude Code only CLAUDE.md — so with the
content living in CLAUDE.md, every doc here was invisible to opencode. Swaps
all five pairs (root, src/apps, src/databases, themes, plugins): AGENTS.md now
holds the full text verbatim, CLAUDE.md is a short pointer. docs-check's
permission-count regex now reads root AGENTS.md instead of CLAUDE.md; the
workspace-level officer-dev/CLAUDE.md check is untouched, out of scope.
This commit is contained in:
2026-08-27 06:35:31 +00:00
parent 185aa3168e
commit 2360a3ef60
11 changed files with 1280 additions and 1291 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ async function main(): Promise<void> {
const { PERMISSIONS } = await import('../src/servers/permissions/registry');
record(
checkCount(
join(ROOT, 'CLAUDE.md'),
join(ROOT, 'AGENTS.md'),
/([0-9]+|[a-z-]+) entries as of/gi,
PERMISSIONS.length,
'permission registry entries',