From 11fb58d37a047de4c143dd647be395d806d37c55 Mon Sep 17 00:00:00 2001 From: gravermistakes Date: Sat, 24 Oct 2026 03:27:42 -0700 Subject: [PATCH] docs: harden economy contributor runtime boundaries --- core/src/economy/AGENTS.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/core/src/economy/AGENTS.md b/core/src/economy/AGENTS.md index 5b1aa16..913d522 100644 --- a/core/src/economy/AGENTS.md +++ b/core/src/economy/AGENTS.md @@ -10,13 +10,26 @@ Local guide for `core/src/economy`. The design source of truth is `core/docs/pla - M4 wallet brakes are independent of M1/M6. Keep 1:1 trader↔wallet binding literal. - M7 observes and reports. Enforcement belongs to M6/M1/M4, not the monitor. - Live key custody and chain broadcast are intentionally absent until the M4 key-storage specification is ratified. Do not smuggle them in as convenience helpers. +- Registry/source presence is **not** runtime wiring. M3a/M3b/M3c/M3e have tested native query + bridges; M3d/M3f/M3g do not yet. +- The M3 horizon clock is live, but it does not yet dispatch/refresh all native engines + automatically. Do not document or code-review it as continuous native execution until that loop + exists and has an explicit test. +- M5 identity state is not Trader inference, M6 veto state is not Conductor inference, and M7 + logging is not SAE inference. Keep those boundaries literal. ## Build/test -Tcl 8.6, standard library only: +Tcl 8.6 orchestration, plus native simulator runtimes: ```sh tclsh core/src/economy/tests/stomach.test +tclsh core/src/economy/sims/tests/hub_runtime.test +tclsh core/src/economy/sims/run_tests.tcl ``` -Use test-first changes. Keep `stomach.tcl` as composition/facade; put component behavior in the M1–M7 module that owns it. +Dedicated CI owns the end-to-end native boundary for M3a, M3b, M3c, and M3e. Fortran kernels are +compiled under `-std=f2018 -Wall -Wextra -Werror -pedantic`. + +Use test-first changes for behavior. Keep `stomach.tcl` as composition/facade; put component +behavior in the M1–M7 module or M3 native runner that owns it.