Messages

pi-cyberneticsourcetypescript
Path: pi-cybernetic/src/types/messages.tsRelative: src/types/messages.tsSubproject: pi-cyberneticCategory: cybernetic-core
Lines: 96Bytes: 2,425Imports: 3Exports: 10

Content Preview

  1. /**
  2. * ADR-003 — inter-loop communication as custom AgentMessage types via
  3. * declaration merging. Carried in the transcript for the Loop 5 audit trail,
  4. * converted or filtered by MemoryEngine.convertToLlm before the model sees them.
  5. */
  6. import type { GoalItem, GoalState } from "./goal-state.ts";
  7. import type { CyberneticMetrics, Escalation, LoopId } from "./metrics.ts";
  8. import type { GearShiftAudit } from "./memory.ts";
  9. export interface GoalCheckpointMessage {
  10. role: "goalCheckpoint";
  11. goal