Commit Graph
60 Commits
Author SHA1 Message Date
saint-graves 4b9d868a2e docs(drivebox): separate EthInt conviction pressure from action approval 2026-11-01 18:44:07 -08:00
saint-graves 8e26f7f0c1 docs(drivebox): clarify trauma/triumph record permanence and salience 2026-11-01 18:44:01 -08:00
saint-graves 2730fd296a docs(drivebox): preserve endomotiv independence and remaster scope 2026-11-01 18:43:58 -08:00
saint-graves fd784fe390 docs(drivebox): scope PS+ raw sensates and prior signals 2026-11-01 18:42:41 -08:00
saint-graves c6a016ac44 docs(drivebox): delimit E to literal tool-energy economics 2026-11-01 18:42:38 -08:00
saint-graves 8791a044e0 docs(drivebox): correct A1 containment and interface authority 2026-11-01 18:42:35 -08:00
saint-graves 25077e056b docs: mark M3e V1 implemented 2026-10-23 19:22:25 -07:00
saint-graves 5fcae16a05 docs: mark M3b V1 implemented 2026-10-19 20:44:56 -07:00
saint-graves 999a1fb1e0 docs: mark M3c V1 implemented 2026-10-19 19:42:04 -07:00
saint-graves 6f8778756d docs: mark M3a V1 implemented 2026-10-19 18:16:25 -07:00
saint-graves fb4aaec4f0 docs: sync substantial M3a statistical implementation 2026-10-19 17:03:38 -07:00
saint-graves 6ccfb800e8 docs: include native M3 engine verification in M0 2026-10-18 22:55:27 -07:00
saint-graves 46abf6f63b docs: mark M3c AMM kernel implemented 2026-10-18 22:54:22 -07:00
saint-graves 41df6994c5 docs: mark M3g-market-microstructure-sims.md kernel implemented 2026-10-18 22:54:12 -07:00
saint-graves ed5c4cd642 docs: mark M3f-consensus-staking-sims.md kernel implemented 2026-10-18 22:54:10 -07:00
saint-graves 101cd056c9 docs: mark M3e-tokenomics-macro-sims.md kernel implemented 2026-10-18 22:54:07 -07:00
saint-graves 900b7c0e53 docs: mark M3d-mev-adversarial-sims.md kernel implemented 2026-10-18 22:54:04 -07:00
saint-graves 34216127d6 docs: mark M3b-sociological-sims.md kernel implemented 2026-10-18 22:54:01 -07:00
saint-graves 124b5f8358 docs: mark M3a-statistical-sims.md kernel implemented 2026-10-18 22:53:58 -07:00
saint-graves 745785d1f8 docs: mark M3-sims-hub.md kernel implemented 2026-10-18 22:53:56 -07:00
saint-graves 6967dfd1e0 docs: sync M7-sae-monitor.md scaffold status 2026-10-18 22:18:37 -07:00
saint-graves c0e2d46aa0 docs: sync M6-conductor.md scaffold status 2026-10-18 22:18:34 -07:00
saint-graves a66104e0ee docs: sync M5-traders.md scaffold status 2026-10-18 22:18:31 -07:00
saint-graves 9715744402 docs: sync M4-wallets.md scaffold status 2026-10-18 22:18:28 -07:00
saint-graves c5b4d2ed40 docs: sync M3-sims-hub.md scaffold status 2026-10-18 22:18:19 -07:00
saint-graves f73b360d59 docs: sync M2-data-feeds.md scaffold status 2026-10-18 22:18:17 -07:00
saint-graves 2d7aefa1fe docs: sync M1-marketplace.md scaffold status 2026-10-18 22:18:14 -07:00
saint-graves 502e070abf docs: mark M0 economy scaffold executable 2026-10-18 22:18:03 -07:00
saint-gravesandGitHub e3ce4e1e09 Revise Trader-Wallet API surface designs
Updated API surface design documentation to focus on Trader-Wallet structure and removed outdated sections.

Signed-off-by: gravermistakes <evermoor.a.a@gmail.com>
2026-07-22 02:16:22 -07:00
Claude 0f46e134fa Add M1 design documents: law script + API shapes (3 designs, recommend B)
- M1 law script format decision doc recommends S-expressions with fixed
  combinators for non-Turing provability, auditability, and immutability
  at runtime (S99). Includes example constitution with all L1-L5 invariants.

- M1 trader-wallet-marketplace API designs: compare 3 radically different
  shapes (minimal tokens, event-sourced ledger, GraphQL). Recommend Design B
  (ledger) for auditability, replay capability, and SAE integration.

- Ada config: core_config.gpr with GNAT 2022 compiler flags.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 02:10:13 +00: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 3da931ecad M3a: HiddenMarkov is the vital package, JSON is hand-rolled
Correct the R dependency: HiddenMarkov (CRAN) for HMM regime
detection (Viterbi, Baum-Welch); JSON I/O for Hub protocol is
hand-rolled, not jsonlite. Everything else uses base R primitives.
2026-07-18 04:18:33 +00:00
Claude 31b29cab32 M3a toolchain: R 4.x + jsonlite only, all stats hand-rolled
Add R + jsonlite to SessionStart hook (minimal deps — no CRAN
statistical packages). Update M3a spec §3: GARCH, Heston, HMM, DCC,
copula, jump-diffusion, fBM all hand-rolled with base R primitives.
2026-07-18 04:17:45 +00:00
Claude e408409b77 Resolve economy organ toolchains: ECLiPSe 7.2 + COIN-OR, M3g to Fortran, BoundedPrediction fields
Hook:
- ECLiPSe upgraded 7.1_13 → 7.2_13, adds ic + eplex (if_osiclpcbc) with
  COIN-OR system dep, sha256 pinned, ECLIPSEDIR exported, correct paths
  (lib/x86_64_linux/eclipse.exe not bin/)
- fpm switched from GitHub binary download to pip (0.12.0) — proxy blocks
  GitHub release downloads in this environment
- Alire download gets sha256 verification on both install and presence check
- Fortran comment updated M3d,M3e → M3d,M3e,M3g
- Foundry section comment clarified as hosted separately

Specs:
- M3g §3: Zig → Fortran 2018 (gfortran/fpm/OpenBLAS, hand-rolled Riccati)
- M3 hub §3: sub-process list Zig(M3g) → Fortran(M3g)
- M3 hub §5: BoundedPrediction adds token_ticker and recent_shift (ground
  truth from M2, same source as correctness scoring and calibration)
- M3b §3: ECLiPSe 7.2 + ic + eplex (COIN-OR CLP/CBC)
- M3f §3: ECLiPSe 7.2 + ic + eplex (COIN-OR CLP/CBC)
- M3c §3: Solidity + Foundry confirmed, hosted separately, same Hub path
2026-07-18 03:55:43 +00:00
saint-gravesandGitHub ea6023ea58 Update M7-sae-monitor.md 2026-07-17 18:55:03 -07:00
saint-gravesandGitHub ad31865351 Update M5-traders.md 2026-07-17 18:51:20 -07:00
saint-gravesandGitHub 2895e7daf3 Update M4-wallets.md 2026-07-17 18:40:02 -07: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 6aaa35fbca Update M3d-mev-adversarial-sims.md
The max potential value is what produces the feeling of scale. 0.23/1.00 is bigger than 0.24 of 10.00, but if it just says 0.24, 0.23...
2026-07-14 15:32:55 -07:00
saint-gravesandGitHub 1d965b1072 Update M3c-amm-liquidity-sims.md 2026-07-14 15:28:07 -07:00
saint-gravesandGitHub a0e99da9e2 Update M3b-sociological-sims.md 2026-07-14 15:25:39 -07: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 9712035e12 Fix Copilot review findings: broken paths, stale refs, horizon count
- endocrine/AGENTS.md, ichor/AGENTS.md: fix devCorrectionLog relative
  path (../../ → ../../../) so it resolves to repo root .claude/
- bus-topology.md: update stale M2/M6 references to current specs
  (M2=Data Feeds, M6=Conductor)
- M3a: combine tick/hourly to match hub's six-horizon convention
2026-07-14 00:06:06 +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