202 Commits

Author SHA1 Message Date
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
700a1825bf
Merge pull request #16 from SHOGGOTH-SECTOR/claude/economy-organ-analysis-spec-y4d2sh
Economy organ spec review: data flow, toolchains, corrections
2026-07-17 18:55:33 -07: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
bf4dd74745
Update install-toolchains.sh 2026-07-17 18:26:35 -07:00
Claude
980504b28b
Hook: hard fail on toolchain install errors
Replaced warn-and-continue pattern with set -euo pipefail and die().
If a toolchain install fails, the session cannot build — stop immediately.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-17 09:21:38 +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
1c2576fd93
Merge pull request #15 from SHOGGOTH-SECTOR/claude/economy-organ-docs-review-li41bm
Drop Julia, assign one primary language per M3 sim spec
2026-07-14 16:17:55 -07: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
a10348795c
Update README.md 2026-07-14 15:39:01 -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
fd01e8e2bd
Add create-pr skill to strip auto-injected session links
MCP create_pull_request tool auto-appends session URLs to PR bodies.
This skill documents the two-step workaround: create then immediately
update to overwrite the injected content.
2026-07-14 21:03:30 +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
5ce4d8d790
Update smoke.sh 2026-07-14 13:17:04 -07:00
562d8a36a9
Merge pull request #13 from SHOGGOTH-SECTOR/claude/economy-organ-docs-review-li41bm
Add M0-M7 economy organ plan specs
2026-07-14 01:24:06 -07:00