176 Commits

Author SHA1 Message Date
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
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
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
b944ccff83
Add correction log mention to root CLAUDE.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-13 23:57:37 +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
Claude
622b2bd73e
Add M0-M7 economy organ plan specs (stomach)
The economy organ was the least-documented named component in the
architecture — one line in bus-topology.md, a Pony primitive, and a
smoke-test wire. This adds 8 plan specs following the 10-section template:

  M0 hub, M1 ingestion, M2 digestion core (small-model),
  M3 cost ledger, M4 budget governor, M5 context yield,
  M6 provenance chain (S1/S2 compliance), M7 outer-bus exchange.

Also updates the plans README index and integration DAG, and resolves
bus-topology.md's open item about the organ's placement.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-07-13 20:24:17 +00:00
26502d1a88
Merge pull request #12 from SHOGGOTH-SECTOR/claude/repo-markdown-review-apsp15
Janitorial: fix CLAUDE.md typos, remove stale notes
2026-07-12 18:03:18 -07:00
Claude
e0b428027c
outputs/: replace .gitkeep with epoch-stamped markdown
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-13 01:02:44 +00:00
Claude
9c776238fc
Rename messages/ to outputs/ — they are outputs not inputs
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-13 01:00:17 +00:00
Claude
d8300cd6b1
Rename payloads/ to messages/ (per inline note)
The folder note said "rename this folder — its a bad name." Renamed
payloads → messages to better describe what crosses the Ada border.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-13 00:58:56 +00:00
dabe65d236
Delete README-1ST.MD 2026-07-12 17:50:50 -07:00
Claude
4b9657b822
Janitorial: fix CLAUDE.md typos, remove stale notes and empty folder
- core/CLAUDE.md: fix ONBOARDING.md hyperlink (../), remove doubled
  "reasonable", fix "ifnsomething" and "bew toolchain" typos, remove
  human-note annotation
- core/AGENTS.md: drop stale payloads reference from module list
- core/src/payloads/: remove empty folder (only contained rename note)
- core/src/types/what was this.md: remove stale note (types are active)
- core/src/organs/soul/README-1ST.MD: update to reflect Ada already removed

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-13 00:48:23 +00:00
80b90e60fe
Delete README-1ST.MD
no daemon directory please
2026-07-12 17:06:25 -07:00
5400db837a
Update A7-conviction-array.md 2026-07-06 22:22:18 -07:00
40d42a3749
Update A6-ethint.md 2026-07-06 22:20:31 -07:00
528f779f83
Update A5-priors.md 2026-07-06 22:15:54 -07:00
4ceade2083
Delete core/src/core/note.md
Signed-off-by: gravermistakes <evermoor.a.a@gmail.com>
2026-07-06 19:56:00 -07:00
08b3c45df2
Delete core/src/core/engine.adb
Signed-off-by: gravermistakes <evermoor.a.a@gmail.com>
2026-07-06 19:55:40 -07:00