OpenTPW

Draft proposal: SAVE-013 — Specify sprite and particle state restore#

Current residual#

Sprite program counter/wakes are not applied; particles omit flags/groups/templates and effector matching relies on unchecked indirect writes.

Source audit#

Missing evidence#

Live sprite-script save and effector fixture; full template-byte writer audit including base-register writes.

Bounded proposal#

Define restoreable presentation state and unsupported capability diagnostics; do not infer fidelity from empty corpus cases.

Acceptance plan#

  1. Saved walking sprite resumes phase.

  2. modified emitter template does not silently become file default.

  3. ambiguous effector identity rejects.

  4. screen-space Button emitter hidden after load.

  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-013-specify-sprite-and-particle-state-restore.md in the project repository.