Files
claude ba46350da9 fieldtest: measurement milestone — 3 studies, 8 findings
Milestone acceptance corpus for 'Measurement as a first-class citizen',
authored as a downstream consumer (public interface only): a gated
rate/mux/counter over the four new cells, a SessionFrankfurt anchor study,
and the origin first-candle-momentum study on real GER40 data — each a
hand-authored blueprint plus one recorded run, zero throwaway Rust. The
three capabilities compose end-to-end and record via declared taps.

Findings routed separately: two aura-run panics-where-refusal-expected
(bad tap wire; non-bias output) to debug; a tap-authoring friction and two
doc gaps to follow-ups.
2026-07-18 00:45:38 +02:00

28 lines
1.6 KiB
JSON

[
{"op": "source", "role": "price", "kind": "F64"},
{"op": "add", "type": "SessionFrankfurt", "name": "sess", "bind": {"period_minutes": {"I64": 15}}},
{"op": "feed", "role": "price", "into": ["sess.trigger"]},
{"op": "add", "type": "EqConst", "name": "isfirst", "bind": {"target": {"I64": 0}}},
{"op": "connect", "from": "sess.bars_since_open", "to": "isfirst.value"},
{"op": "add", "type": "Const", "name": "one", "bind": {"value": {"F64": 1.0}}},
{"op": "add", "type": "Const", "name": "zero", "bind": {"value": {"F64": 0.0}}},
{"op": "feed", "role": "price", "into": ["one.clock", "zero.clock"]},
{"op": "add", "type": "Select", "name": "flag"},
{"op": "connect", "from": "isfirst.value", "to": "flag.cond"},
{"op": "connect", "from": "one.value", "to": "flag.then"},
{"op": "connect", "from": "zero.value", "to": "flag.otherwise"},
{"op": "add", "type": "SMA", "name": "fast", "bind": {"length": {"I64": 3}}},
{"op": "feed", "role": "price", "into": ["fast.series"]},
{"op": "add", "type": "Sub", "name": "spread"},
{"op": "connect", "from": "fast.value", "to": "spread.lhs"},
{"op": "feed", "role": "price", "into": ["spread.rhs"]},
{"op": "add", "type": "Sign", "name": "dir"},
{"op": "connect", "from": "spread.value", "to": "dir.value"},
{"op": "add", "type": "When", "name": "firstmom"},
{"op": "connect", "from": "dir.value", "to": "firstmom.value"},
{"op": "connect", "from": "isfirst.value", "to": "firstmom.gate"},
{"op": "add", "type": "Bias", "name": "bias", "bind": {"scale": {"F64": 1.0}}},
{"op": "connect", "from": "dir.value", "to": "bias.signal"},
{"op": "expose", "from": "bias.bias", "as": "bias"}
]