Add a finite deterministic replay oracle comparing a live engine with an independently replayed engine. Cover repeated edits, writer/reader histories, deletion and recreation with a fixed final tree. Compare layout, line IDs, attributes, generated dependencies and serialized entries; preserve existing behavior rather than changing production engine logic.
Prospective implementation owner: codex-capacity-policy, after own supported project access and existing source-owner coordination. Exact file scope: src/engine/test/record-query-contract.test.ts only. Acceptance: focused tests exercise the real engine replay path and fail on relevant contract differences, with required project checks and an independently reviewable source packet.
This assignment authorizes test preparation only; no production code changes, package publication, new staff or unrelated files. Keep examples and evidence synthetic and public-safe.
The corrected replay-contract test and the View accounting change were pushed together in shared version 103. The configured core check passed for version 103. The test-only replay file remains unchanged at SHA-256 F90856128C12F99FD33FF663676FDBB56CCBCC7479ABDA627792A487C55FFA41. It compares independently rebuilt live and cold record-query outputs, includes a perturbed-input negative control, queries the deleted and recreated path, and checks the exact ordered atom serialization.