81 Commits

Author SHA1 Message Date
a3a19d581d
Update sensate_array.R 2026-07-26 16:10:05 -07:00
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
a599be95f7
Delete core/config/core_config.gpr
Signed-off-by: gravermistakes <evermoor.a.a@gmail.com>
2026-07-22 02:13:24 -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
ea6023ea58
Update M7-sae-monitor.md 2026-07-17 18:55:03 -07:00
ad31865351
Update M5-traders.md 2026-07-17 18:51:20 -07:00
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
53b4316da6
Create specCartomancy. 2026-07-14 16:16:49 -07:00
07ac901709
Delete README-1ST.MD 2026-07-14 16:14:09 -07:00
8256a2085b
Delete hermes_protocol.adb 2026-07-14 16:13:24 -07:00
b9743b58c3
Create CLAUDE.MD 2026-07-14 16:12:22 -07:00
8f4a65e7b2
Delete hermes_protocol.ads 2026-07-14 16:10:45 -07:00
2c69102395
Delete run_tests.sh 2026-07-14 16:06:53 -07:00
2ccb30bf33
Delete test_ps_plus.R
not worth editing to match spec
2026-07-14 16:06:36 -07:00
0ac3d077c6
Update test_ethical_integrity.R
removed misguided examples

might need this in prolog instead
2026-07-14 16:05:59 -07:00
fe1aaaf751
Update test_energy.R
removed death, consider *mandatory sleep* at zero
2026-07-14 16:00:38 -07:00
9aa881eaaa
Delete test_drive_box.R 2026-07-14 15:58:18 -07:00
8412d16888
Delete test_framework.R 2026-07-14 15:57:26 -07:00
413f7d8196
Delete test_etr.R 2026-07-14 15:56:54 -07:00
e058cd63da
Update AGENTS.md 2026-07-14 15:56:02 -07:00
649865e254
Update bounds.ads 2026-07-14 15:53:24 -07:00
0c2d9a0c2d
Delete config_loader.ads 2026-07-14 15:51:44 -07:00
31f626f978
Delete config_loader.adb 2026-07-14 15:51:33 -07:00
d6ee3c3ef7
Update config_tests.adb 2026-07-14 15:51:15 -07:00
81eed16491
Update trust_tests.adb 2026-07-14 15:50:35 -07:00
41c424d975
Update trust_tests.adb 2026-07-14 15:49:21 -07:00
95f52ebc84
Update AGENTS.md 2026-07-14 15:47:48 -07:00
6c4dbf3b7e
Update CLAUDE.md 2026-07-14 15:44:18 -07:00
6d4360165d
Delete main.f90 2026-07-14 15:37:22 -07:00
99b2f26dbc
Delete main.R 2026-07-14 15:37:09 -07:00
d63fbbb2f1
Delete main.pl
no swipl
2026-07-14 15:36:57 -07:00
cef5870fa7
Delete main.zig
need to establish rules
2026-07-14 15:36:41 -07:00
687e2ba44f
Delete main.f90
fortran 90?? bruh its 2026
2026-07-14 15:36:15 -07:00
8501e78c73
Delete hub.tcl
u need to communicate
2026-07-14 15:35:42 -07:00
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
1d965b1072
Update M3c-amm-liquidity-sims.md 2026-07-14 15:28:07 -07:00
a0e99da9e2
Update M3b-sociological-sims.md 2026-07-14 15:25:39 -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
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
706049e353
Update endocrine_array.R 2026-07-14 13:44:56 -07:00
bc51b7fb2c
Update mafiabot_types.ads 2026-07-14 13:35:57 -07:00
24ecea1c66
Update mafiabot_types.ads 2026-07-14 13:33:07 -07:00
ca1985ca5d
Update bodytypes.adb 2026-07-14 13:23:53 -07: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