v0.5.0 — Deterministic Replay
Deterministic Replay
A decision you cannot re-derive is a screenshot. bastion replay closes that gap.
bastion run --ticker NVDA --record
bastion replay 4e968bb0 ok cassette integrity
ok regime
ok verdict
ok features hash
ok verdict hash
verified — this decision follows from its recorded inputs
Edit any field in the cassette and it fails with a non-zero exit code, so it drops straight into CI.
Added
bastion run --recordwrites a replayable cassette: config, market window, verbatim model transcript, verdict and proof.bastion replay <hash>re-derives a recorded decision and verifies every stage.bastion replay --livere-queries the model instead of the transcript, to measure drift rather than assert determinism.examples/demo-cassette.jsonso you can exercise the verifier without wiring up an endpoint.- docs/replay.md.
Changed
- Decision digests are now taken over canonical JSON (keys sorted at every depth), so a refactor cannot silently invalidate historical proofs.
Fixed
tsccould not resolveprocess, which brokenpm run buildfrom a clean checkout.
Breaking
- Canonical hashing changes the digest of any decision made before 0.5.0. Proofs anchored by earlier builds do not verify against this one.
What replay does not prove: that the model is deterministic. Sampling is not repeatable, and claiming otherwise would be the kind of unfalsifiable assertion this command exists to replace.
What's Changed
- chore(deps-dev): bump vitest from 2.1.9 to 4.1.10 by @dependabot[bot] in #8
- chore(deps): bump openai from 4.104.0 to 6.45.0 by @dependabot[bot] in #7
- chore(deps-dev): bump typescript from 5.9.3 to 7.0.2 by @dependabot[bot] in #4
- chore(deps): bump actions/checkout from 4 to 7 by @dependabot[bot] in #3
New Contributors
- @dependabot[bot] made their first contribution in #8
Full Changelog: v0.4.2...v0.5.0
What's Changed
- chore(deps-dev): bump vitest from 2.1.9 to 4.1.10 by @dependabot[bot] in #8
- chore(deps): bump openai from 4.104.0 to 6.45.0 by @dependabot[bot] in #7
- chore(deps-dev): bump typescript from 5.9.3 to 7.0.2 by @dependabot[bot] in #4
- chore(deps): bump actions/checkout from 4 to 7 by @dependabot[bot] in #3
New Contributors
- @dependabot[bot] made their first contribution in #8
Full Changelog: v0.4.2...v0.5.0