Repository navigation
2.3.0 — research affordances, and two telemetry modes kept apart
The same look-ahead again, one layer down
The book was marked to a bar's close before entries were considered, and the exposure caps are tested against equity × cap — so whether an entry filling at that bar's open was admitted could depend on where the bar finished, hours later. Same class as the v4 signal defect, in the admission gate rather than the signal, and just as invisible to a feed shift. Found by the new causality probes rather than by a user, which is the point of building them. ACCOUNTING_VERSION is 5.
The promotion gates are deliberately not recalibrated: this moves no metric systematically, and rescaling a threshold with no measured shift behind it is gate-fitting.
Two telemetry modes, kept apart on purpose
Observing what execution actually does used to require shrinking a book's caps by hand until fills happened — which biases the sample toward low-priced names and means the strategy under observation is not the strategy that was validated. That is now two separate answers to two separate questions.
live --dry-run drives the real decision path against a stated capital with a broker that cannot trade. Its vocabulary is deliberate — would_submit, would_bind, would_skip, never submitted or filled — because a report that borrows execution's words gets read as execution's evidence. It journals nothing: a rehearsal must not spend a family's statistical budget.
small-real trades the validated contract at reduced capital rather than reduced caps. Fractions scale because capital did, counts stay counts, dollar ceilings scale, and venue floors stay absolute — a broker's minimum does not get smaller because a run chose to. That cost is measured rather than hidden: refusals carry reason codes so the bias is a number in the report. Shrink far enough and it stops being a bias and becomes the whole result, so a scale at which no order could clear the floor is refused outright.
Also added
Trial analytics and comparison, portfolio excursion, campaign materialisation and export, a widened MCP construction surface with evidence-gated families still excluded, and reconcile / flatten learning --ledger and --small-real.
Fixed
A saved config that traded a book it was never validated at · min_notional enforced in the backtest and absent from the live path · flatten reporting a submitted close as a closed position · a flatten leaving the ledger permanently unreconcilable · a session header claiming a run happened when it never began · MCP silently discarding unknown arguments · halted refusals fragmenting by timestamp · configs crashing instead of refusing.
Durable records
LEDGER_VERSION is 4, adding session_outcome and flattened. Older files simply lack them, and that reads as exactly what it is — a book flattened before the event existed still reconciles as missing, because inferring a flatten from a divergence would excuse the dropped fill the divergence exists to surface.
Most of what is fixed here was found by running the software rather than reading it, and several of the fixes came out of an evidence check that never completed.
Full notes: changelog.
Full Changelog: v2.2.0...v2.3.0