SimBroker's two f64 input slots (exposure/price) are order-load-bearing but unchecked at bootstrap #21
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?
Found by the milestone fieldtest (docs/specs/fieldtest-milestone-walking-skeleton.md).
SimBroker has two f64 inputs — slot 0 = exposure, slot 1 = price. Because both are f64, a swapped wiring is NOT caught by the bootstrap kind-check; the rustdoc explicitly warns a swap 'would silently produce a wrong equity curve'. A downstream author must read prose to wire it correctly — a documented footgun, not a bug.
Possible follow-up (low urgency, documented): a named-role or distinct-newtype wiring for broker inputs so a swap is caught structurally, in a later cycle. Or carry-on given the rustdoc warning.
Removed from the 'Construction layer' milestone. The fix (named-role / distinct-newtype wiring so a swapped exposure/price slot is caught structurally) belongs to the ergonomic named-handle wiring layer, which that milestone explicitly defers (C23 / milestone scope). #21 stays an open idea in the general backlog.