Commit Graph
78 Commits
Author SHA1 Message Date
saint-graves c820727b3c M3: add test/test_tokenomics.f90 2026-10-18 22:47:07 -07:00
saint-graves 4335f9e72d M3: add src/tokenomics_engine.f90 2026-10-18 22:47:04 -07:00
saint-graves d8624b7a57 M3: add test/test_mev.f90 2026-10-18 22:46:59 -07:00
saint-graves 6ae9291e43 M3: add src/mev_engine.f90 2026-10-18 22:46:56 -07:00
saint-graves 14f6e23b25 docs: correct stomach test integration status 2026-10-18 22:16:22 -07:00
saint-graves d329d23dea economy: add AGENTS.md 2026-10-18 22:15:53 -07:00
saint-graves 5a8937840e economy: add README.md 2026-10-18 22:15:51 -07:00
saint-graves 3531b432cf economy: add stomach.test 2026-10-18 22:15:48 -07:00
saint-graves 1b4bd41c99 economy: add stomach.tcl 2026-10-18 22:15:25 -07:00
saint-graves ac93b7421e economy: add marketplace.tcl 2026-10-18 22:15:23 -07:00
saint-graves 93b0de2924 economy: add hub.tcl 2026-10-18 22:15:06 -07:00
saint-graves 12be786507 economy: add feeds.tcl 2026-10-18 22:15:04 -07:00
saint-graves efdce9d41b economy: add conductor.tcl 2026-10-18 22:15:02 -07:00
saint-graves 51ec96f366 economy: add sae.tcl 2026-10-18 22:14:58 -07:00
saint-graves 39ac5751c4 economy: add wallets.tcl 2026-10-18 22:14:21 -07:00
saint-graves ee3a6f9b0b economy: add traders.tcl 2026-10-18 22:14:19 -07:00
saint-gravesandGitHub c6afc669d8 Create ECONOMY.MD 2026-08-02 15:15:30 -07:00
saint-gravesandGitHub 0db3d571fb Update wallet.cob 2026-07-26 16:32:31 -07:00
Claude eefdb2fb5f M3a statistical sims implementation + Ada config
- Install hook: add three vital CRAN packages (HiddenMarkov, rugarch, rmgarch)
- M3a spec: document vital packages and hand-rolled implementations
- Ada config: create core_config.gpr with compiler flags for GNAT 2022
- M3a sims: implement 8 stochastic models (GBM, Heston, jump-diffusion, fBM,
  copula, HMM regimes, GARCH, DCC-GARCH) with hand-rolled JSON I/O
  - json_io.R: recursive-descent parser + emitter (no jsonlite)
  - sde_sims.R: GBM, Heston (Euler-Maruyama), jump-diffusion, fBM (Wood & Chan)
  - copula.R: empirical copula + tail-dependence
  - regimes_garch.R: lazy-load vital packages for regime/GARCH/DCC sims
  - main.R: Hub stdin/stdout protocol entry point

Non-Turing M1 law script design complete (S-expressions + fixed combinators).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 02:08:05 +00:00
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
saint-gravesandGitHub 6d4360165d Delete main.f90 2026-07-14 15:37:22 -07:00
saint-gravesandGitHub 99b2f26dbc Delete main.R 2026-07-14 15:37:09 -07:00
saint-gravesandGitHub d63fbbb2f1 Delete main.pl
no swipl
2026-07-14 15:36:57 -07:00
saint-gravesandGitHub cef5870fa7 Delete main.zig
need to establish rules
2026-07-14 15:36:41 -07:00
saint-gravesandGitHub 687e2ba44f Delete main.f90
fortran 90?? bruh its 2026
2026-07-14 15:36:15 -07:00
saint-gravesandGitHub 8501e78c73 Delete hub.tcl
u need to communicate
2026-07-14 15:35:42 -07:00
Claude 693c7d4faf Add M3d (Fortran), M3e (Fortran), M3g (Zig); fix M3b sim_type bug
M3d mev/main.f90: PGA all-pay auction simulation with bounded
rationality, 0-1 knapsack block builder (dynamic programming),
WENO5 shock-capturing PDE solver for adversarial dynamics.

M3e tokenomics/main.f90: Euler-Maruyama SDE solver for token
supply trajectories, stock-flow conservation (L2 invariant),
kinked lending rate (L3: kink at U_opt, Aave-style), liquidation
cascade detection, halving events as drift discontinuities.

M3g microstructure/main.zig: Order book with spread/depth,
non-linear slippage estimation (L2: function of order size),
Almgren-Chriss optimal execution via Riccati (sinh/cosh
trajectory), BoundedPrediction with invariant enforcement.

Fix: M3b sociological sim_type was hardcoded as 'statistical'
instead of 'sociological'.
2026-07-14 22:08:33 +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