Management
Path:
pi-cybernetic/src/engines/management.tsRelative: src/engines/management.tsSubproject: pi-cyberneticCategory: cybernetic-coreLines: 371Bytes: 14,227Imports: 7Exports: 4
Content Preview
- /**
- * Loop 2 — ManagementEngine. Variety allocator + feedback enforcer (P1, P2, P4).
- * Attaches via beforeToolCall (dispatch gate) and afterToolCall (auditor).
- * All gates are deterministic TypeScript — ADR-002.
- */
- import type {
- AfterToolCallContext,
- AfterToolCallResult,
- AgentLoopTurnUpdate,
- BeforeToolCallContext,
- BeforeToolCallResult,
- } from "@earendil-works/pi-agent-core";
- import type { ThinkingLevel } from "@earendil-works/pi-agent-core";
- import type { Model } from "@earendil-w