14 Commits

Author SHA1 Message Date
Claude
3bdf25509d
Economy organ spec review: data flow corrections, toolchain decisions, typo fix
- M3 hub: predictions publish continuously to Marketplace via M2 (not trader-queried)
- M3 BoundedPrediction: three quality metrics (confidence, correctness, certainty)
- M5 traders: read predictions from Marketplace, mixed roster (LLM + bots)
- M7 SAE: monitors at Marketplace level (the only trader interface)
- M6 Conductor: clarified as LLM, not rule-based
- M4 wallets: one multi-chain wallet per trader, strictly 1:1
- M1 Marketplace: added query_predictions interface for traders
- M3d/M3e: Fortran 2018, gfortran, fpm, OpenBLAS, hand-rolled numerics
- M3b typo: "literao" -> "literal"
- SessionStart hook: added gfortran, fpm, Tcl, ECLiPSe Prolog, Zig, Foundry
- Stub fpm.toml for M3d (mev sims)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-17 09:19:38 +00:00
Claude
4f15d647a1
Add M3 sims hub (Tcl) and first two sims: M3a (R), M3b (Prolog)
Hub (hub.tcl): syntax-agnostic Tcl coordinator that manages sim
lifecycle, tick-advancement at 90:1, and query routing via
stdin/stdout JSON to sub-processes in their native runtimes.
BoundedPrediction enforces L2 (bounds on every output) and
confidence scale 0.00-10.00.

M3a statistical/main.R: GBM Monte Carlo, Heston stochastic
volatility (Euler-Maruyama with full truncation), Merton
jump-diffusion, HMM 3-state regime detection (forward filter),
GARCH(1,1) volatility forecasting. All produce BoundedPredictions.

M3b sociological/main.pl: Replicator dynamics over 5 behavioral
archetypes, Hegselmann-Krause bounded confidence opinion dynamics,
Nash equilibrium search via constraint satisfaction. Prolog handles
game logic natively; numerical ODE/PDE delegates to R/Octave.

Hub spec updated to reflect Tcl as coordinator language.
2026-07-14 21:11:22 +00:00
Claude
e6182d91a0
Drop Julia, assign one primary language per M3 sim spec
Ranked languages per spec by fit; took only the top pick:
- M3a (statistical): R — native stats ecosystem
- M3b (sociological): Prolog — equilibria as constraint satisfaction
- M3c (AMM): Solidity — on-chain-equivalent precision
- M3d (MEV): Fortran — dense PDE/knapsack numerics, no GC
- M3e (tokenomics): Fortran — SDE/VAR matrix loops, same toolchain as M3d
- M3f (consensus): Prolog — Markov/Nash as declarative search
- M3g (microstructure): Zig — tick-level latency, deterministic memory
- Hub: updated to reflect per-spec assignments

Julia removed project-wide: JIT startup cost and large toolchain
not justified when the project isn't going all-in on a single runtime.
2026-07-14 20:59:11 +00:00
Claude
c5b0f14a79
Remove C++ from language options (CVE concern)
Dropped from M3 hub, M3d, and M3g — Julia and Fortran remain
as the high-performance alternatives.
2026-07-14 00:50:44 +00:00
Claude
3919e70ed0
Address PR #13 review: 18 comments across M0-M3g specs
M0: economy organ stores local memory ledger; M6 supervises M5
directly, M7 is independent antivirus/guarddog alerting M6 via
Ichor; Ada dependency reframed to economy scope; build sequence
changed to subcomponent-first with ablative tests.

M1: submit_action returns {succeeded|failed}, diagnostics internal
to Conductor; stubs now print "if finished, would respond with..."
for debugging; law script changes require operator + Homunculus
signatures; law script format added as open item.

M2: removed Python/Rust from language options; confidence scale
changed to [0.0, 10.0] per position.

M3 hub: normalized all time horizons to ~40s wall time windows;
confidence scale 0.00-10.00 with "X.XX/10.00" print format; gain
rates as "low - mid - high / 10.00"; removed Python from language
list across all sub-specs (M3a-M3g).

M3a: Julia/R/Fortran/Octave replaces Python; fBM citation added
(Hosking 1984, Wood & Chan 1994); confidence/correctness/certainty
distinguished as 3 separate metrics; models span multiple horizons.

M3b: models span multiple horizons note added; Mesa/Python removed.
M3c: Solidity for on-chain precision; Julia/Octave for analytics.
M3d-M3g: Python removed; confidence values updated to 10.0 scale.
2026-07-14 00:50:09 +00:00
Claude
a0edbca631
Add devCorrectionLog.md, parallel sim horizons in L3
- .claude/devCorrectionLog.md: interaction pattern corrections for
  future instances (additive clarifications, no idle subagents, etc.)
- M3 hub L3: horizons run in parallel, not sequential
- Mention correction log in CLAUDE.md and all subdirectory AGENTS.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-13 23:56:49 +00:00
Claude
97e49ffa8e
Simplify L3 sim speed: 90:1 base, coarser+faster for longer horizons
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-13 23:23:51 +00:00
Claude
4744690694
Fix sim speed model: 90:1 base, coarser ticks for longer horizons
90:1 (1s wall = 90s sim) is the finest tick resolution. Longer
horizons use coarser time steps (1min, 10min, 1hr, 6hr, 1day)
so they cover their full window in seconds, not hours/days.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-13 23:20:41 +00:00
Claude
ab086e422b
Set sim speed to 90:1 (1s wall = 90s sim) across all specs
Grounded ratio based on ABIDES/ECMWF benchmarks. Single global clock
shared by all horizons. Wall time for full window: hourly ~40s,
daily ~16min, weekly ~1.9hr, monthly ~8.3hr, annual ~4.2d, 5yr ~20.8d.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-13 23:18:24 +00:00
Claude
e40210f570
Dial down sim speed for longer horizons (monthly/annual/5yr)
Hourly–weekly: full window in ≤1 wall-second (3600:1 to 604800:1).
Monthly: daily ticks, 30s wall for full window.
Annual: weekly ticks, ~52s wall.
5-year: monthly ticks, ~60s wall.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-13 21:55:24 +00:00
Claude
78eaa01a70
Fix sim speed: per-horizon rates, 1s wall = 1 full window per horizon
Hourly 3600:1, daily 86400:1, weekly 604800:1, monthly 2.6M:1,
annual 31.5M:1, 5-year 158M:1. Each horizon tick-advances at the
speed needed to cover its full prediction window in 1 wall-second.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-13 21:53:19 +00:00
Claude
b196e45458
Fix 360:1 semantics: tick-advanced continuous, 1s wall = 1h sim
All sims advance every tick continuously. The 360:1 floor means the
slowest system produces 1 simulated hour per 1 wall-clock second.
Updated hub cadence table and all sub-spec references.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-13 21:52:23 +00:00
Claude
1da2fa19c6
Enrich M3 sim sub-specs with 11 discovered frameworks and 360:1 minimum speed
- M3 hub: add L3 invariant (360:1 minimum sim speed), six-horizon time table
- M3a: add Heston stochastic vol, rough volatility (fBM), HMM regime detection,
  DCC-GARCH copula, jump-diffusion; six-horizon mapping
- M3b: add Hegselmann-Krause bounded confidence, complex contagion, bandit-
  replicator hybrid, MFG (HJB+FP), pump-and-dump 3-type ABM; six-horizon mapping
- M3c: add six-horizon time table
- M3d: add Kolokoltsov adversarial (non-linear FP + WENO), DSMFG bilevel
  optimization, cross-chain adversarial arbitrage; six-horizon mapping
- M3e: add kinked lending rate model, DeXposure inter-protocol credit network,
  composable yield optimizer; six-horizon mapping
- M3f: add MFG for validator populations, six-horizon time table
- M3g: add Almgren-Chriss optimal execution, six-horizon mapping
- CLAUDE.md: add subagent productivity note

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-13 21:29:38 +00:00
Claude
98a6f9a0b1
Rewrite M-series: crypto trading engine + market prediction sims
The initial M-series specs were wrong (text digestion pipeline). Replaced
with the actual economy organ architecture:

  M0  hub (independent system, scoped autonomy, multi-layered braking)
  M1  Marketplace (multi-trader harness, deterministic law script, veto)
  M2  Data Feeds (RSS + live market, bridges Marketplace ↔ Sims)
  M3  Sims hub + 7 sub-specs (always-running, bounded predictions):
      M3a statistical, M3b sociological, M3c AMM/liquidity,
      M3d MEV/adversarial, M3e tokenomics/macro, M3f consensus/staking,
      M3g market microstructure
  M4  Wallets (sovereign custody, our keys only, 1:1 trader binding)
  M5  Traders (AI actors, wallet-bound, all tool calls monitored)
  M6  Conductor (supervisory AI, veto, pause/investigate, SAE intake)
  M7  SAE monitor (trader surveillance, Brain-compatible message format)

Grounded in AMM invariant mechanics, MEV game theory, SDE tokenomics,
and evolutionary consensus games. Tax stub for Verschwörern Veregeister.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-13 21:10:15 +00:00