Repository navigation
Commit 6072a52
committed
feat(scripts): codemod-split-protocol --members moves one member of the landed protocol.ts facade
The first pass refuses its own output, and --verify no longer re-proves
against the split's base since the facet modules were edited by hand. The
new pass moves named instance methods on the split file into the facet of
their section, as the first pass would have taken them (its stay rules,
planMove, host entries, lift and docblock rule), accepts hand-edited facet
modules (later header paragraphs, imports, top-level declarations, facet
members), and proves each move by its undo against the pre-move tree:
protocol.ts, protocol-host.ts and the receiving modules byte for byte, every
other module unchanged, plus host-split.mjs's checkMove on the unlifted pair.
Self-test: three new batteries (members pass, proof, refusals), 85 cases.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4cweKLi1i8z12wPbsnw1 parent f4d568b commit 6072a52
1 file changed
Lines changed: 708 additions & 1 deletion
0 commit comments