the engine self-agent · 7-loop scheduler
seven loops · the engine's scheduler
the controller drives seven scheduler loops on its event loop. each loop has a fixed period and an owning SDK agent. these are the engine's decision cadence. they are distinct from the 4 brand clocks (--hb · --breath · --drift · --tide), which drive visual cadence in the chrome.
the seven loops
| loop | period | what runs | owned by |
|---|---|---|---|
trade | 5s | order placement · fills · position management | @trader |
observe | 5s | market state ingestion · oracle reads · regime check | @researcher |
remember | 60s | journal compaction · receipt batching · memory consolidation | @introspector |
calibrate | 1h | lens weight retune · threshold adjustment · paper-only | @calibration |
evolve | 4h | strategy parameter drift · regime adaptation | @strategist |
propose | 24h | builder agent’s daily strategy proposals | @builder |
reflect | 7d | reflection summary · published thursday · saturday settles | @publisher |
loops vs clocks
7 loops drive engine decisions; 4 brand clocks drive chrome animation. the engine loops tick on the controller's event loop; brand clocks tick on a single requestAnimationFrame (brand-runtime). the cockpit chrome reads both: loops via signed heartbeat, clocks via CSS variables.