Commit Graph

6 Commits

Author SHA1 Message Date
Jeff Emmett 38e14a52c6 feat: add 208 tests and 4 deep-dive notebooks for new modules
Tests cover risk_tranching (54), conviction (54), crosschain (54), and
cadCAD integration (46). All 558 tests pass. Notebooks provide interactive
explorations of risk tranches, cross-chain simulation, conviction governance,
and cadCAD Monte Carlo analysis. Includes parameter sweep results (405 sims).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 12:20:55 -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
Jeff Emmett e27d76d273 feat: add signal router, CRDT DCA schedules, and subscription/donation DCA (74 tests)
Three integration layers connecting the TWAP oracle and DCA executor
to the rest of the system:

- Signal Router: routes oracle volatility/deviation signals into
  adaptive params (flow threshold, PAMM curvature, surge fees)
- CRDT DCA Schedules: G-Set of chunks with monotone status lattice
  (pending→submitted→executed), composes with batch settlement
- Subscription/Donation DCA: recurring payments and one-time donations
  flow through the bonding curve via time-spread DCA chunks

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 12:28:18 -07:00
Jeff Emmett 7fd03463fd feat: add TWAP oracle + DCA execution engine (40 tests)
TWAP oracle primitive with ring buffer, cumulative accumulator,
VWAP, deviation signals, and realized volatility. DCA executor
composes oracle with MycoSystem for time-spread purchases with
fixed and TWAP-aware chunk sizing strategies. Oracle integration
is opt-in via MycoSystemConfig.twap_oracle_params.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 11:54:07 -07:00
Jeff Emmett 89b74049e8 feat: implement CRDT-native primitives layer (6 modules, 89 tests)
Add off-chain CRDT wrappers for DeFi primitives with per-peer tracking
and merge semantics (commutative, associative, idempotent). Enables most
MYCO operations to happen off-chain with only net positions settling
on-chain.

Modules: flow_dampening, labor_crdt, trust_pamm, credit_invariant,
intent_matching (CoW engine), batch_settlement (orchestrator).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 11:22:55 -07:00
Jeff Emmett 9dce4e2855 feat: complete MYCO bonding surface system — math specs, simulations, and tests
N-dimensional ellipsoidal bonding surface for multi-asset token issuance,
combining Balancer/Gyroscope DeFi primitives with commitment-based minting
channels (labor, subscriptions, staking). 128 tests, 13 math specs,
5 Jupyter notebooks, composed system with scenario simulator.

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