OpenTPW

Draft proposal: DET-013 — Specify restored script scheduling fidelity#

Current residual#

Script run state is imported but object animations, child relationships, object nodes and walk/bounce tables remain incomplete; host ticks differ.

Source audit#

Missing evidence#

Original captures of TRIGWAITANIM, live child scripts, node lists and effects between 31ms substeps.

October 20 bounded implementation#

Ordinary-child import contract records the independently reviewed implementation scope. Exact embedded code/string identity, full folder matching, reciprocal normal children and saved scheduling state are prepared before a whole-block commit. Any sound edge or malformed/unresolved graph refuses unchanged. Optional own-save list order preserves non-ID scheduler order; old snapshots retain their legacy behavior.

Sound ownership differs from ordinary parent identity in the executable and is not mapped speculatively. NAME, object animation/list and node/bounce/walk table state remain unrestored. TRIGWAITANIM keeps its existing retrigger gate; acceptance item 1 below remains open. Tests are synthetic, and runtime CI has not yet passed.

Bounded proposal#

Define state ownership and replay checkpoints; distinguish approved explicit-seed and 60Hz extensions from missing restore state.

Acceptance plan#

  1. Resume TRIGWAITANIM without retrigger after animation restore.

  2. child script is neither duplicated nor lost.

  3. ordered RNG/effects trace matches at substep boundary.

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

  5. 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/det-013-specify-restored-script-scheduling-fidelity.md in the project repository.