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
e179587901
feat: add live parameter visualizations and basic/advanced view to System Config
...
Add 4 interactive charts that update as parameters change:
- P-AMM redemption curve showing rate vs fraction redeemed at various backing ratios
- Imbalance fee structure showing static-to-surge fee transition
- Flow dampening penalty multiplier curve
- Stakeholder outcome scenarios (early/mid/late redeemers + commitment caps)
Add basic/advanced view toggle:
- Basic: presets, P-AMM controls, fee controls, and all visualizations
- Advanced: adds surface geometry, commitment caps, flow_memory, and JSON export/import
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 15:50:38 -07:00
Jeff Emmett
33d09010f3
fix: correct DCA history keys in charts.py (effective_price, tokens_minted)
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 15:43:16 -07:00
Jeff Emmett
c080f8de74
fix: add missing dashboard/__init__.py for package import
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 15:35:39 -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