Gear Shifter
Path:
pi-cybernetic/src/engines/gear-shifter.tsRelative: src/engines/gear-shifter.tsSubproject: pi-cyberneticCategory: cybernetic-coreLines: 313Bytes: 12,599Imports: 10Exports: 3
Content Preview
- /**
- * Loop 4 — GearShifter. Deterministic memory router (ADR-005..009).
- * Preserves the MemoryEngine hook surface while selecting exploration, focus,
- * or debug context without LLM-mediated routing.
- */
- import type { AgentMessage } from "@earendil-works/pi-agent-core";
- import type { Message, TextContent, UserMessage } from "@earendil-works/pi-ai";
- import type { Gear, GearShiftAudit, GearShiftReason, MemoryConfig, TurnMetrics } from "../types/index.ts";
- import type {
- GoalCheckpointMessage,