CLAUDE.md: one-owner rule for every rule the engine, server, client or theme evaluates #233
Labels
No labels
bug
enhancement
needs-triage
ready-for-agent
ready-for-human
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/deckle#233
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
#230 was a rule ("what is left of an items owner's children once the rows are out, and is it serializable") implemented twice: the save path merged the leftover text, the body GET did not, and the editor could not open a hand-authored text-media with two images. A sweep of the repo found the same shape in a dozen other places (see the drift audit issue): a predicate over schemas, shortcodes, params or front matter re-derived in a second package, in the web client, or in a theme partial, with no shared source of truth and no test tying the copies together. Several copies already disagree.
The two existing CLAUDE.md rules (AGENTS.md tracks the engine, skills track the engine) stop the docs from drifting from the code. Nothing stops the code from drifting from itself.
Change
Add a third rule to CLAUDE.md: every rule has exactly one owner.
internal/pagepath/testdatapattern). A client or theme mirror with no fixture is incomplete.No code changes; the rule applies from the next change on. The existing duplicates are tracked in the audit issue.