Persist currency-equity tap + dup-ts-safe position-event table #122
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Persist the two new artifacts beside the existing
equity/exposuretaps underruns/traces/<name>/:currency_equity— a normalColumnarTracetap (single f64 column), drops into the existingpersist_tracespath (main.rs:171-185).ColumnarTracedoes NOT work: a reversal puts two rows at oneevent_ts, and any downstreamjoin_on_ts(report.rs:168) collapses duplicate timestamps last-write-wins, silently losing the Close. Either a dedicated table artifact (its own JSON schema + store path) or an explicit within-instant ordinal column that disambiguates co-timestamped rows. Pick the minimal faithful option; pin the reversal round-trip in a test.depends on: PositionEvent schema (I2), RealisticBroker (I4)
context: C22 — "Displayable = exactly what a sink recorded"; the table must be a durable artifact to be observable and to serve deploy reconciliation. The dup-ts collapse is the specific hazard for this table.
Superseded by the 2026-06-28 C10 rework (ledger commit
29cdc8c): the realistic-broker / currency model is retired (real friction is not historically knowable). Cost in research is now a composable cost-model graph in R (the net-R curve); money / a real broker move to a separate live/deploy edge. See #116 (summary), #148 (cost-model graph), #149 (live/deploy edge). Closing as superseded.