mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-11-29 00:15:11 +00:00
docs: harden economy contributor runtime boundaries
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user