OpenTPW

Draft proposal: SAVE-011 — Specify bounded structural coaster block parsing#

Current residual#

Coaster-containing payload split still searches delimiters and rejects ambiguous/repeated tag bytes unlike original structural reader.

Source audit#

Missing evidence#

Original block end widths and real built-coaster saves containing embedded tag bytes.

Bounded proposal#

Plan structural boundary selection using decoded type-dependent train/car dimensions; preserve size/count hardening.

Acceptance plan#

  1. Embedded COAS-like bytes inside data do not split block.

  2. truncated sections reject deterministically.

  3. tag mismatch after exact end rejects.

  4. synthetic TPW fallback remains explicitly labeled.

  5. Retain an evidence manifest with fixture origin/hash, baseline revision, observed trace and expected result; synthetic cases must be labeled synthetic.

  6. Re-run the affected existing test suite and compare deterministic state/RNG traces where relevant; these are future checks, not tests run by this proposal.

Ownership and dependencies#

Completion boundary#

Source: docs/proposals/save-011-specify-bounded-structural-coaster-block-parsing.md in the project repository.