Memory

pi-cyberneticsourcetypescript
Path: pi-cybernetic/src/types/memory.tsRelative: src/types/memory.tsSubproject: pi-cyberneticCategory: cybernetic-core
Lines: 80Bytes: 1,558Imports: 0Exports: 11

Content Preview

  1. /** Loop 4 — three-level memory hierarchy types (P6). */
  2. export interface InteractionTrace {
  3. id: string;
  4. kind: "tool" | "turn" | "error" | "note";
  5. text: string;
  6. timestamp: number;
  7. }
  8. export interface CompressedSummary {
  9. id: string;
  10. patternKey: string;
  11. summary: string;
  12. occurrences: number;
  13. sourceTraceIds: string[];
  14. createdAt: number;
  15. }
  16. export interface EntityRelation {
  17. subject: string;
  18. relation: string;
  19. object: string;
  20. }
  21. export interface Evidence {
  22. description: stri