Repository navigation
Description
Problem
Framework files resolve through the four-tier chain — .codev/ → codev/ → runtime cache → installed package skeleton. A local copy wins.
That is the point of the resolver, but it means a fix shipped in the skeleton never reaches an adopter who has a local copy of that file, and nothing tells them. They keep their version indefinitely, and it looks like it is working.
#1649 is a live instance. The fix for "a review lane edited the code under review" is an instruction in codev/roles/consultant.md, shipped in codev-skeleton/roles/consultant.md. Any adopter with a local codev/roles/consultant.md — customised, or simply copied at install time — will keep resolving their own, and the instruction will never arrive. They still get the tripwire, because that is code rather than a resolved file, so they end up with the detection and not the prevention, which is exactly backwards.
Suggested fix
A codev doctor check: for each framework file that exists both locally and in the installed skeleton, flag the local one when it is missing something the shipped one has.
The cheap and probably sufficient version is a marker check rather than a diff — the shipped file carries a small set of section headings, and doctor warns when a local override lacks one:
⚠ codev/roles/consultant.md is a local override missing a section from the
shipped role: "You Read the Tree; You Do Not Change It" (#1649).
Your consultants are not being told not to modify the tree under review.
Compare against the skeleton, or delete the local copy to inherit it.
A content diff against the skeleton would be more general but noisier — most local overrides differ legitimately, and a warning that fires on every customisation gets ignored. Worth deciding which way to go; the marker approach fails safe (silent when it cannot tell) and only speaks up about sections someone deliberately marked as load-bearing.
Roles are the obvious first target since they are prompts — a missing paragraph changes agent behaviour silently, with no error anywhere. Protocols and templates have the same shape.
Refs
- consult: the Claude reviewer lane can EDIT the code under review — allowedTools is nullified by permissionMode 'bypassPermissions' #1649 — the fix this would have surfaced; see the "Adopter Risk" section of
codev/reviews/bugfix-1649-consult-the-claude-reviewer-la.md - Filed from the consult: the Claude reviewer lane can EDIT the code under review — allowedTools is nullified by permissionMode 'bypassPermissions' #1649 architect integration review
Activity
[Bugfix #1649] Watch where the repository points, and never let a fil…