Skip to content

fix: release protocol no longer shell-fetches a framework file by path - #32

Merged
pseudoseed merged 2 commits into
mainfrom
fix/release-protocol-framework-ref
Aug 22, 2026
Merged

fix: release protocol no longer shell-fetches a framework file by path#32
pseudoseed merged 2 commits into
mainfrom
fix/release-protocol-framework-ref

Conversation

@pseudoseed

Copy link
Copy Markdown
Owner

Clears the codev doctor framework-ref warning.

What

codev/protocols/release/protocol.md step 2 told the release runner to
cat codev/protocols/maintain/protocol.md. Shell reads bypass the four-tier
resolver, so that path does not exist in a fresh install where MAINTAIN
resolves from the package skeleton. Replaced with afx spawn --protocol maintain,
which gets the protocol content delivered inline by porch.

Also folded in the pending codev update refresh (.gitignore, CLAUDE.md,
AGENTS.md) that was already sitting uncommitted in the working tree. The
CLAUDE.md / AGENTS.md twins remain byte-identical.

Not included

codev doctor also lists 74 byte-identical copies under codev/protocols/,
codev/roles/ and codev/consult-types/ as "safe to remove". They are not
safe to remove in this repo.
That advice targets adopter projects; here the
codev/codev-skeleton/ mirror is a spec-approved invariant
(spec-1470-parity.test.ts cross-tree parity, template-delivery.test.ts
mirror parity, baked-decisions.test.ts paired assertions) and it is how this
repo dogfoods unreleased protocol changes instead of resolving from the
published package. Deleting them breaks 15 test files.

Worth a follow-up to make the drift check aware that this repo is Codev itself,
so those 74 lines stop reading as actionable drift.

Test

vitest run on the affected suites: 350 passed.

🤖 Generated with Claude Code

pseudoseed and others added 2 commits August 21, 2026 20:58
Output of `codev update`: ignore codev/.update-hashes.json and refresh the
CLAUDE.md / AGENTS.md twins from the package. The two files remain
byte-identical per the twin rule.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Step 2 told the release runner to `cat codev/protocols/maintain/protocol.md`.
Shell reads bypass the four-tier resolver, so that path is absent in fresh
installs where MAINTAIN resolves from the package skeleton. Spawn a MAINTAIN
builder instead — porch delivers the protocol content inline.

Clears the `codev doctor` framework-ref warning.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@pseudoseed
pseudoseed merged commit 63e1836 into main Aug 22, 2026
7 checks passed
@pseudoseed
pseudoseed deleted the fix/release-protocol-framework-ref branch August 22, 2026 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant