You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Production still exposes complete-state contracts through loadReplayBasis(): Promise<WarpState>, materialization requests carrying WarpState, monolithic full-state codecs, whole-state hashing, and compatibility paths that reconstruct the complete graph.
This contradicts #626, #738, and #742 and caused the real Think migration to fail after promotion when a 23,995,927-byte replay basis reached the 5 MiB production CBOR boundary.
Outcome
Delete the production full-state codec and replay-basis adapter.
Remove ports and requests that accept or return a complete graph state.
Ratchet forbidden whole-state names and unbounded fallbacks in src/.
Prototype bounded replacements for patch, checkpoint, comparison, BTR, export, diagnostics, and retained resume.
Delete _materializeGraph() rather than renaming the same operation.
Acceptance
No production port, adapter, service, command, or proof accepts or returns a complete graph state.
encodeWarpFullState, decodeWarpFullState, decodeCanonicalWarpFullState, and loadReplayBasis are absent from production.
Architecture tests fail when a forbidden contract is reintroduced.
Any global mutable algorithm uses an explicit bounded external workspace.
Plan: https://github.com/git-stunts/git-warp/blob/plan/streaming-recursive-materialization/docs/plans/streaming-indexed-recursive-warp.md
Design PR: #813
Problem
Production still exposes complete-state contracts through
loadReplayBasis(): Promise<WarpState>, materialization requests carryingWarpState, monolithic full-state codecs, whole-state hashing, and compatibility paths that reconstruct the complete graph.This contradicts #626, #738, and #742 and caused the real Think migration to fail after promotion when a 23,995,927-byte replay basis reached the 5 MiB production CBOR boundary.
Outcome
src/._materializeGraph()rather than renaming the same operation.Acceptance
encodeWarpFullState,decodeWarpFullState,decodeCanonicalWarpFullState, andloadReplayBasisare absent from production._materializeGraph()survives the v17 reading contract #248, and Consumer typecheck still expects public materialization #260 is closed or narrowed with source evidence.