Strategic
Path:
pi-cybernetic/src/engines/strategic.tsRelative: src/engines/strategic.tsSubproject: pi-cyberneticCategory: cybernetic-coreLines: 387Bytes: 13,868Imports: 5Exports: 4
Content Preview
- /**
- * Loop 1 — StrategicEngine. Homeostatic regulator over Ω_goal (P3, P5).
- *
- * pi-agent-core 0.79 exposes `shouldStopAfterTurn` only on the low-level loop
- * config, not on the Agent class. At the Agent level this engine therefore
- * regulates through the surfaces that DO exist:
- * - turn_end events (via subscribe) → checkpoint evaluation
- * - agent.steer() → GoalState re-injection + re-anchoring
- * - prepareNextTurn() → thinking-level/model escalation
- *