Skip to content

Eliminate production full-state materialization contracts #814

Description

@flyingrobots

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 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:architecturePrimary work area: architecture.priority:nextNext in line after active work.status:activeSomeone is actively working this issue.type:debtDebt, rot, or structural risk.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions