Commit Graph

3 Commits

Author SHA1 Message Date
Jeff Emmett c48b7ae82a feat: add cadCAD simulation, risk tranches, cross-chain, and conviction governance
- Add risk_tranching.py: Senior/Mezzanine/Junior tranche system with yield
  waterfall, loss absorption, and liquidation mechanics
- Add conviction.py: Full conviction voting engine for parameter governance
  (ported from conviction/ research repo)
- Add crosschain/hub_spoke.py: 5-chain hub-spoke simulation with CCIP messaging,
  staking yield, and price shock modeling
- Add cadcad/ module: State definitions, 7 policy functions, 7 state update
  functions, pre-built scenarios (normal growth, stress test, parameter sweep)
- Add 4 dashboard tabs: Cross-Chain map, Risk Tranches, Governance, cadCAD Sim
- Wire cadCAD 0.5.3 with pandas/networkx/seaborn as new dependencies
- All 350 existing tests still pass

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 12:11:15 -07:00
Jeff Emmett d9dec8ba5b feat: add System Config tab, presets, JSON export/import, and Dockerize for simulate.rspace.online
- Add System Config tab with ~15 parameter sliders grouped in accordions
- Add 4 named presets (Conservative, Balanced, Aggressive, High-Risk)
- Add JSON config export/import for sharing configurations
- All tabs now read config from session_state instead of hardcoding
- Signal Router uses config's fee/flow params as base AdaptiveParams
- Multi-stage Dockerfile (Python 3.12-slim, non-root, healthcheck)
- docker-compose.yml with Traefik labels for simulate.rspace.online

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 14:55:14 -07:00
Jeff Emmett 1cb3701769 feat: add CLI, dashboard, notebook, and CRDT bridge (350 tests)
- CRDT bridge: multi-peer gossip network simulation wrapping all 6 merge functions
- CLI tool: argparse entry point with simulate, compare-dca, signal-routing, stress-test
- Notebook 06: DCA strategies, signal routing, CRDT lifecycle visualizations
- Streamlit dashboard: 5-tab interactive visualization (plotly, optional dep)
- pyproject.toml: added myco CLI entry point + dashboard optional-deps

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 14:14:39 -07:00