refactor(engine): share strict native financial views (CL18)

This commit is contained in:
Boki 2026-10-26 20:30:01 -04:00
parent 580a6de75c
commit 03518c8ae4
9 changed files with 252 additions and 99 deletions

View file

@ -50,3 +50,10 @@ Combined `CARGO_BUILD_JOBS=2 bun run check` passed on CL14+CL15+CL16: 132 toolin
CL14 implementation commit: `21666242`. First wave completes CL14, CL15 and CL16; CL17–CL20 are the next ready tasks and CL21 remains conditional. Prior 68 task records retain their pre-wave state.
CL16 implementation commit: `8546fce4`. Disposable test containers were stopped/removed after validation. Main checkout is the integrated source; isolated worktrees and logs are retained for inspection.
### CL18 — accepted
Replay and paper hosts now share private strict parsing and financial-view helpers. Host identities/errors stay separate; required nullable fields, reservation ordering, and paper intermediate versus final admission revisions are preserved. No financial kernel, wire version or economic policy changed.
Implemented by `/root/implement_cl18`, independently accepted by `/root/review_cl18`, integrated by `/root`. Local and root Rust gates: 150 passed, 4 existing ignored. Root rebuilt the integrated addon and ran native-bindings/native-replay/native-replay-report: 28 passed, 227 assertions. Added replay-to-paper checkpoint/view parity at each fixture boundary and nested/missing/null negatives. Explicit authored-test types, lint, format and diff checks passed. Sandbox-blocked child-worker test was stopped; the authorized rerun passed. Logs: `/tmp/stock-bot-engine-cleanup-20261026/cl18-root-{build,tests-accepted,cargo}.log`. Combined repository gate follows integration of the remaining independent stories.