{"children":[{"children":[{"children":[],"kind":"view-node","props":{"label":"CapitalStrategy"},"tag":"SectionEyebrow"},{"children":[],"kind":"view-node","props":{"help":"Live-first paper cockpit: signals, risk constraints, allocations, market activity, and explainable sandbox execution","text":"Capital Strategy Cockpit","variant":"h1"},"tag":"Text"}],"kind":"view-node","props":{"variant":"app-hero"},"tag":"Section"},{"children":["Live runtime data is primary. Paper execution is sandboxed. The dev seed is only an optional empty-demo fixture."],"kind":"view-node","props":{"as":"p"},"tag":"Text"},{"children":[{"children":[],"kind":"view-node","props":{"html":"<div id=\"cs-cockpit-live-status\" data-cre8-live-kind=\"capitalstrategy-cockpit\">\n  <div class=\"hint\">live paper cockpit status</div>\n  <div class=\"row\"><span class=\"cre8-pill\">mode paper_preview</span><span class=\"cre8-pill\">live data false</span><span class=\"cre8-pill\">signals 0</span><span class=\"cre8-pill\">candidates 1</span><span class=\"cre8-pill\">positions 0</span><span class=\"cre8-pill\">edges 0</span></div>\n</div>"},"tag":"RawHtml"}],"kind":"view-node","props":{"id":"cs-cockpit-live-slot","patchTarget":"#cs-cockpit-live-status","pollIntervalMs":10000,"refreshHref":"/capitalstrategy/cockpit/patch","streamUrl":"/capitalstrategy/cockpit/patch","transport":"http","transportStatus":true},"tag":"LiveSlot"},{"children":[{"children":[{"children":[{"children":[],"kind":"view-node","props":{"items":[{"hint":"Cockpit source mode.","key":"Mode","value":"paper_preview"},{"hint":"Broker execution remains disabled.","key":"Paper mode","value":true},{"hint":"Whether live provider data is currently present.","key":"Live data","value":false},{"hint":"Current allocation candidates.","key":"Candidates","value":1},{"hint":"Latest scan signal count.","key":"Signals","value":0},{"hint":"Live matching cache positions.","key":"Matching positions","value":0},{"hint":"Live matching graph edges.","key":"Matching edges","value":0}],"title":"Live Paper Status"},"tag":"KeyValue"},{"children":[],"kind":"view-node","props":{"columns":[],"rows":[],"title":"Strategy signals"},"tag":"Table"},{"children":[],"kind":"view-node","props":{"columns":[],"rows":[{"allocated_capital":0.0,"asset":null,"composite_score":0.0,"description":"Hold current positions — do nothing","expected_value":0.0,"id":"hold:baseline","joint_conditional_uplift":null,"joint_expected_z":null,"kelly_fraction":0.0,"kind":"hold","natural_horizon_secs":null,"rank":1,"sharpe":0.0,"std_dev":0.0}],"title":"Candidate allocations"},"tag":"Table"}],"kind":"view-node","props":{},"tag":"Container"}],"kind":"view-node","props":{"id":"loop","label":"Loop"},"tag":"Tab"},{"children":[{"children":[{"children":[],"kind":"view-node","props":{"columns":[],"rows":[],"title":"Risk allocations"},"tag":"Table"},{"children":[],"kind":"view-node","props":{"columns":[],"rows":[{"detail":"strategy lane hold is armed","name":"lane_armed","ok":true},{"detail":"no open trade on this thesis","name":"one_position_per_thesis","ok":true},{"detail":"no open trade on the other side of this asset","name":"no_opposing_position","ok":true},{"detail":"0/200 open paper trades","name":"max_open_trades","ok":true},{"detail":"1791792515688ms elapsed, 0ms required","name":"cooldown","ok":true},{"detail":"score 0.000 vs threshold 1.000 (base 1.000 x demotion 1.00x)","name":"score_threshold","ok":false},{"detail":"paper mode enabled; no external order path will run","name":"paper_mode","ok":true},{"detail":"allocated 0.00, per-trade cap 1000000.00","name":"allocator_budget","ok":false},{"detail":"fresh entry price unavailable","name":"fresh_entry_price","ok":false},{"detail":"invalid notional","name":"capital_caps","ok":false},{"detail":"EV 0.00000 vs floor 0.00400 (cost 20.0bps, safety 2x)","name":"fee_floor","ok":false},{"detail":"no slippage checks needed for this candidate kind","name":"slippage_limit","ok":true}],"title":"Sandbox execution gates"},"tag":"Table"}],"kind":"view-node","props":{},"tag":"Container"}],"kind":"view-node","props":{"id":"risk","label":"Risk"},"tag":"Tab"},{"children":[{"children":[{"children":[],"kind":"view-node","props":{"columns":[],"rows":[{"detail":"waiting_for_live_data","metric":"live_data_present","value":false},{"detail":"position_count","metric":"matching_positions","value":0},{"detail":"edge_count","metric":"matching_edges","value":0},{"detail":"","metric":"strategy","value":"unknown"}],"title":"Market and position activity"},"tag":"Table"},{"children":[],"kind":"view-node","props":{"columns":[],"rows":[],"title":"Paper trades"},"tag":"Table"}],"kind":"view-node","props":{},"tag":"Container"}],"kind":"view-node","props":{"id":"activity","label":"Activity"},"tag":"Tab"},{"children":[{"children":[{"children":[],"kind":"view-node","props":{"items":[{"hint":"CapitalStrategy observes runtime markets, positions, value state, risk constraints, and paper outcomes through one loop.","key":"Identity","value":"runtime-native economic brain"},{"hint":"Live data is primary; dev seed remains an explicit, env-gated fixture.","key":"Source","value":"waiting for live data"},{"hint":"funds_moved=false; no real order or funds-movement path is enabled here.","key":"Sandbox","value":"paper-only"},{"hint":"Hold current positions — do nothing","key":"Selected Candidate","value":"hold / hold:baseline"},{"hint":"Allocator caps, open exposure, cooldowns, and score gates shape the sandbox preview.","key":"Risk State","value":"$10000.00 free / $-0.00 allocated"},{"hint":"score 0.000 vs threshold 1.000 (base 1.000 x demotion 1.00x)","key":"Preview","value":"blocked"},{"hint":"Paper outcomes feed hindsight and solver selection without touching real capital.","key":"Learning Loop","value":"0 paper trades / 0 open / $-0.00 pnl"}],"title":"Brain thesis"},"tag":"KeyValue"},{"children":[],"kind":"view-node","props":{"columns":[],"rows":[{"explanation":"waiting for live data","phase":"Observe","signal":"0 L2 assets, 0 trade-tape assets, 0 matching positions","step":1},{"explanation":"Signals compress market, matching, and value surfaces into comparable evidence.","phase":"Synthesize","signal":"0 strategy signals from scan cache","step":2},{"explanation":"The solver chooses a candidate before risk gates decide whether it can act.","phase":"Rank","signal":"1 candidates via max_sharpe / medium","step":3},{"explanation":"Risk gates keep the demo explainable and paper-only.","phase":"Constrain","signal":"7/12 sandbox gates passing","step":4},{"explanation":"score 0.000 vs threshold 1.000 (base 1.000 x demotion 1.00x)","phase":"Preview","signal":"sandbox blocked","step":5},{"explanation":"Hindsight and portfolio graph state are the memory that makes the brain adaptive.","phase":"Learn","signal":"0 paper outcomes, 0 matching paths","step":6}],"title":"Brain trace"},"tag":"Table"}],"kind":"view-node","props":{},"tag":"Container"}],"kind":"view-node","props":{"id":"brain","label":"Brain"},"tag":"Tab"},{"children":[{"children":[{"children":[],"kind":"view-node","props":{"endpoint":"/capitalstrategy/start","fields":[{"hint":"Optional strategy/feed-plan configuration file path.","kind":"text","label":"Config Path","name":"config","placeholder":"/config/strategy.json"},{"hint":"Preview strategy parameters and feed allocation without starting actual workers.","kind":"checkbox","label":"Dry Run","name":"dry_run"}],"method":"POST","submitLabel":"Start Strategy","title":"Start Strategy Engine"},"tag":"Form"},{"children":[],"kind":"view-node","props":{"endpoint":"/matching/run","fields":[],"method":"POST","submitLabel":"Run Matching Engine","title":"Trigger Matching Engine"},"tag":"Form"}],"kind":"view-node","props":{},"tag":"Container"}],"kind":"view-node","props":{"id":"control","label":"Control"},"tag":"Tab"}],"kind":"view-node","props":{"defaultTab":"loop"},"tag":"Tabs"}],"data":{"children":[{"children":[{"children":[],"kind":"view-node","props":{"label":"CapitalStrategy"},"tag":"SectionEyebrow"},{"children":[],"kind":"view-node","props":{"help":"Live-first paper cockpit: signals, risk constraints, allocations, market activity, and explainable sandbox execution","text":"Capital Strategy Cockpit","variant":"h1"},"tag":"Text"}],"kind":"view-node","props":{"variant":"app-hero"},"tag":"Section"},{"children":["Live runtime data is primary. Paper execution is sandboxed. The dev seed is only an optional empty-demo fixture."],"kind":"view-node","props":{"as":"p"},"tag":"Text"},{"children":[{"children":[],"kind":"view-node","props":{"html":"<div id=\"cs-cockpit-live-status\" data-cre8-live-kind=\"capitalstrategy-cockpit\">\n  <div class=\"hint\">live paper cockpit status</div>\n  <div class=\"row\"><span class=\"cre8-pill\">mode paper_preview</span><span class=\"cre8-pill\">live data false</span><span class=\"cre8-pill\">signals 0</span><span class=\"cre8-pill\">candidates 1</span><span class=\"cre8-pill\">positions 0</span><span class=\"cre8-pill\">edges 0</span></div>\n</div>"},"tag":"RawHtml"}],"kind":"view-node","props":{"id":"cs-cockpit-live-slot","patchTarget":"#cs-cockpit-live-status","pollIntervalMs":10000,"refreshHref":"/capitalstrategy/cockpit/patch","streamUrl":"/capitalstrategy/cockpit/patch","transport":"http","transportStatus":true},"tag":"LiveSlot"},{"children":[{"children":[{"children":[{"children":[],"kind":"view-node","props":{"items":[{"hint":"Cockpit source mode.","key":"Mode","value":"paper_preview"},{"hint":"Broker execution remains disabled.","key":"Paper mode","value":true},{"hint":"Whether live provider data is currently present.","key":"Live data","value":false},{"hint":"Current allocation candidates.","key":"Candidates","value":1},{"hint":"Latest scan signal count.","key":"Signals","value":0},{"hint":"Live matching cache positions.","key":"Matching positions","value":0},{"hint":"Live matching graph edges.","key":"Matching edges","value":0}],"title":"Live Paper Status"},"tag":"KeyValue"},{"children":[],"kind":"view-node","props":{"columns":[],"rows":[],"title":"Strategy signals"},"tag":"Table"},{"children":[],"kind":"view-node","props":{"columns":[],"rows":[{"allocated_capital":0.0,"asset":null,"composite_score":0.0,"description":"Hold current positions — do nothing","expected_value":0.0,"id":"hold:baseline","joint_conditional_uplift":null,"joint_expected_z":null,"kelly_fraction":0.0,"kind":"hold","natural_horizon_secs":null,"rank":1,"sharpe":0.0,"std_dev":0.0}],"title":"Candidate allocations"},"tag":"Table"}],"kind":"view-node","props":{},"tag":"Container"}],"kind":"view-node","props":{"id":"loop","label":"Loop"},"tag":"Tab"},{"children":[{"children":[{"children":[],"kind":"view-node","props":{"columns":[],"rows":[],"title":"Risk allocations"},"tag":"Table"},{"children":[],"kind":"view-node","props":{"columns":[],"rows":[{"detail":"strategy lane hold is armed","name":"lane_armed","ok":true},{"detail":"no open trade on this thesis","name":"one_position_per_thesis","ok":true},{"detail":"no open trade on the other side of this asset","name":"no_opposing_position","ok":true},{"detail":"0/200 open paper trades","name":"max_open_trades","ok":true},{"detail":"1791792515688ms elapsed, 0ms required","name":"cooldown","ok":true},{"detail":"score 0.000 vs threshold 1.000 (base 1.000 x demotion 1.00x)","name":"score_threshold","ok":false},{"detail":"paper mode enabled; no external order path will run","name":"paper_mode","ok":true},{"detail":"allocated 0.00, per-trade cap 1000000.00","name":"allocator_budget","ok":false},{"detail":"fresh entry price unavailable","name":"fresh_entry_price","ok":false},{"detail":"invalid notional","name":"capital_caps","ok":false},{"detail":"EV 0.00000 vs floor 0.00400 (cost 20.0bps, safety 2x)","name":"fee_floor","ok":false},{"detail":"no slippage checks needed for this candidate kind","name":"slippage_limit","ok":true}],"title":"Sandbox execution gates"},"tag":"Table"}],"kind":"view-node","props":{},"tag":"Container"}],"kind":"view-node","props":{"id":"risk","label":"Risk"},"tag":"Tab"},{"children":[{"children":[{"children":[],"kind":"view-node","props":{"columns":[],"rows":[{"detail":"waiting_for_live_data","metric":"live_data_present","value":false},{"detail":"position_count","metric":"matching_positions","value":0},{"detail":"edge_count","metric":"matching_edges","value":0},{"detail":"","metric":"strategy","value":"unknown"}],"title":"Market and position activity"},"tag":"Table"},{"children":[],"kind":"view-node","props":{"columns":[],"rows":[],"title":"Paper trades"},"tag":"Table"}],"kind":"view-node","props":{},"tag":"Container"}],"kind":"view-node","props":{"id":"activity","label":"Activity"},"tag":"Tab"},{"children":[{"children":[{"children":[],"kind":"view-node","props":{"items":[{"hint":"CapitalStrategy observes runtime markets, positions, value state, risk constraints, and paper outcomes through one loop.","key":"Identity","value":"runtime-native economic brain"},{"hint":"Live data is primary; dev seed remains an explicit, env-gated fixture.","key":"Source","value":"waiting for live data"},{"hint":"funds_moved=false; no real order or funds-movement path is enabled here.","key":"Sandbox","value":"paper-only"},{"hint":"Hold current positions — do nothing","key":"Selected Candidate","value":"hold / hold:baseline"},{"hint":"Allocator caps, open exposure, cooldowns, and score gates shape the sandbox preview.","key":"Risk State","value":"$10000.00 free / $-0.00 allocated"},{"hint":"score 0.000 vs threshold 1.000 (base 1.000 x demotion 1.00x)","key":"Preview","value":"blocked"},{"hint":"Paper outcomes feed hindsight and solver selection without touching real capital.","key":"Learning Loop","value":"0 paper trades / 0 open / $-0.00 pnl"}],"title":"Brain thesis"},"tag":"KeyValue"},{"children":[],"kind":"view-node","props":{"columns":[],"rows":[{"explanation":"waiting for live data","phase":"Observe","signal":"0 L2 assets, 0 trade-tape assets, 0 matching positions","step":1},{"explanation":"Signals compress market, matching, and value surfaces into comparable evidence.","phase":"Synthesize","signal":"0 strategy signals from scan cache","step":2},{"explanation":"The solver chooses a candidate before risk gates decide whether it can act.","phase":"Rank","signal":"1 candidates via max_sharpe / medium","step":3},{"explanation":"Risk gates keep the demo explainable and paper-only.","phase":"Constrain","signal":"7/12 sandbox gates passing","step":4},{"explanation":"score 0.000 vs threshold 1.000 (base 1.000 x demotion 1.00x)","phase":"Preview","signal":"sandbox blocked","step":5},{"explanation":"Hindsight and portfolio graph state are the memory that makes the brain adaptive.","phase":"Learn","signal":"0 paper outcomes, 0 matching paths","step":6}],"title":"Brain trace"},"tag":"Table"}],"kind":"view-node","props":{},"tag":"Container"}],"kind":"view-node","props":{"id":"brain","label":"Brain"},"tag":"Tab"},{"children":[{"children":[{"children":[],"kind":"view-node","props":{"endpoint":"/capitalstrategy/start","fields":[{"hint":"Optional strategy/feed-plan configuration file path.","kind":"text","label":"Config Path","name":"config","placeholder":"/config/strategy.json"},{"hint":"Preview strategy parameters and feed allocation without starting actual workers.","kind":"checkbox","label":"Dry Run","name":"dry_run"}],"method":"POST","submitLabel":"Start Strategy","title":"Start Strategy Engine"},"tag":"Form"},{"children":[],"kind":"view-node","props":{"endpoint":"/matching/run","fields":[],"method":"POST","submitLabel":"Run Matching Engine","title":"Trigger Matching Engine"},"tag":"Form"}],"kind":"view-node","props":{},"tag":"Container"}],"kind":"view-node","props":{"id":"control","label":"Control"},"tag":"Tab"}],"kind":"view-node","props":{"defaultTab":"loop"},"tag":"Tabs"}],"kind":"view-node","ok":true,"props":{},"tag":"Page"},"kind":"view-node","ok":true,"props":{},"tag":"Page"}