@cleocode/contracts 2026.5.96 → 2026.5.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/__tests__/enums.test.d.ts +14 -0
  2. package/dist/__tests__/enums.test.d.ts.map +1 -0
  3. package/dist/__tests__/enums.test.js +75 -0
  4. package/dist/__tests__/enums.test.js.map +1 -0
  5. package/dist/__tests__/jobs.test.d.ts +11 -0
  6. package/dist/__tests__/jobs.test.d.ts.map +1 -0
  7. package/dist/__tests__/jobs.test.js +48 -0
  8. package/dist/__tests__/jobs.test.js.map +1 -0
  9. package/dist/__tests__/memory-wire-shapes.test.d.ts +19 -0
  10. package/dist/__tests__/memory-wire-shapes.test.d.ts.map +1 -0
  11. package/dist/__tests__/memory-wire-shapes.test.js +119 -0
  12. package/dist/__tests__/memory-wire-shapes.test.js.map +1 -0
  13. package/dist/__tests__/operation-def.test.d.ts +20 -0
  14. package/dist/__tests__/operation-def.test.d.ts.map +1 -0
  15. package/dist/__tests__/operation-def.test.js +111 -0
  16. package/dist/__tests__/operation-def.test.js.map +1 -0
  17. package/dist/__tests__/provenance.test.d.ts +18 -0
  18. package/dist/__tests__/provenance.test.d.ts.map +1 -0
  19. package/dist/__tests__/provenance.test.js +142 -0
  20. package/dist/__tests__/provenance.test.js.map +1 -0
  21. package/dist/__tests__/scaffold-diagnostics.test.d.ts +19 -0
  22. package/dist/__tests__/scaffold-diagnostics.test.d.ts.map +1 -0
  23. package/dist/__tests__/scaffold-diagnostics.test.js +70 -0
  24. package/dist/__tests__/scaffold-diagnostics.test.js.map +1 -0
  25. package/dist/dispatch/identity.d.ts +72 -0
  26. package/dist/dispatch/identity.d.ts.map +1 -0
  27. package/dist/dispatch/identity.js +72 -0
  28. package/dist/dispatch/identity.js.map +1 -0
  29. package/dist/dispatch/operation-def.d.ts +92 -0
  30. package/dist/dispatch/operation-def.d.ts.map +1 -0
  31. package/dist/dispatch/operation-def.js +31 -0
  32. package/dist/dispatch/operation-def.js.map +1 -0
  33. package/dist/enums.d.ts +123 -0
  34. package/dist/enums.d.ts.map +1 -0
  35. package/dist/enums.js +139 -0
  36. package/dist/enums.js.map +1 -0
  37. package/dist/index.d.ts +14 -1
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/index.js +4 -0
  40. package/dist/index.js.map +1 -1
  41. package/dist/jobs.d.ts +39 -0
  42. package/dist/jobs.d.ts.map +1 -0
  43. package/dist/jobs.js +19 -0
  44. package/dist/jobs.js.map +1 -0
  45. package/dist/memory/budgeted.d.ts +67 -0
  46. package/dist/memory/budgeted.d.ts.map +1 -0
  47. package/dist/memory/budgeted.js +17 -0
  48. package/dist/memory/budgeted.js.map +1 -0
  49. package/dist/memory/fetch.d.ts +58 -0
  50. package/dist/memory/fetch.d.ts.map +1 -0
  51. package/dist/memory/fetch.js +19 -0
  52. package/dist/memory/fetch.js.map +1 -0
  53. package/dist/memory/observe.d.ts +158 -0
  54. package/dist/memory/observe.d.ts.map +1 -0
  55. package/dist/memory/observe.js +46 -0
  56. package/dist/memory/observe.js.map +1 -0
  57. package/dist/memory/search.d.ts +137 -0
  58. package/dist/memory/search.d.ts.map +1 -0
  59. package/dist/memory/search.js +22 -0
  60. package/dist/memory/search.js.map +1 -0
  61. package/dist/memory/timeline.d.ts +89 -0
  62. package/dist/memory/timeline.d.ts.map +1 -0
  63. package/dist/memory/timeline.js +22 -0
  64. package/dist/memory/timeline.js.map +1 -0
  65. package/dist/operations/focus.d.ts +199 -0
  66. package/dist/operations/focus.d.ts.map +1 -0
  67. package/dist/operations/focus.js +15 -0
  68. package/dist/operations/focus.js.map +1 -0
  69. package/dist/operations/index.d.ts +1 -0
  70. package/dist/operations/index.d.ts.map +1 -1
  71. package/dist/operations/index.js +1 -0
  72. package/dist/operations/index.js.map +1 -1
  73. package/dist/operations/session.d.ts +54 -0
  74. package/dist/operations/session.d.ts.map +1 -1
  75. package/dist/operations/tasks.d.ts +38 -0
  76. package/dist/operations/tasks.d.ts.map +1 -1
  77. package/dist/provenance.d.ts +257 -0
  78. package/dist/provenance.d.ts.map +1 -0
  79. package/dist/provenance.js +42 -0
  80. package/dist/provenance.js.map +1 -0
  81. package/dist/release/plan.d.ts +7 -7
  82. package/dist/scaffold-diagnostics.d.ts +110 -0
  83. package/dist/scaffold-diagnostics.d.ts.map +1 -0
  84. package/dist/scaffold-diagnostics.js +28 -0
  85. package/dist/scaffold-diagnostics.js.map +1 -0
  86. package/dist/session.d.ts +37 -0
  87. package/dist/session.d.ts.map +1 -1
  88. package/dist/session.js.map +1 -1
  89. package/dist/tasks/archive.d.ts +3 -3
  90. package/package.json +42 -2
  91. package/src/__tests__/enums.test.ts +114 -0
  92. package/src/__tests__/jobs.test.ts +76 -0
  93. package/src/__tests__/memory-wire-shapes.test.ts +371 -0
  94. package/src/__tests__/operation-def.test.ts +185 -0
  95. package/src/__tests__/provenance.test.ts +259 -0
  96. package/src/__tests__/scaffold-diagnostics.test.ts +137 -0
  97. package/src/dispatch/identity.ts +109 -0
  98. package/src/dispatch/operation-def.ts +102 -0
  99. package/src/enums.ts +144 -0
  100. package/src/index.ts +77 -0
  101. package/src/jobs.ts +45 -0
  102. package/src/memory/budgeted.ts +75 -0
  103. package/src/memory/fetch.ts +66 -0
  104. package/src/memory/observe.ts +176 -0
  105. package/src/memory/search.ts +145 -0
  106. package/src/memory/timeline.ts +100 -0
  107. package/src/operations/focus.ts +226 -0
  108. package/src/operations/index.ts +1 -0
  109. package/src/operations/session.ts +56 -0
  110. package/src/operations/tasks.ts +40 -0
  111. package/src/provenance.ts +335 -0
  112. package/src/scaffold-diagnostics.ts +119 -0
  113. package/src/session.ts +37 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"observe.d.ts","sourceRoot":"","sources":["../../src/memory/observe.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACzD,OAA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AI,CAAC,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,OAAO,EAAE,MAAM,CAAC;IAChB,+CAA+C;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,YAAY,EAAE,MAAM,CAAC;IACrB,wDAAwD;IACxD,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,IAAI,EAAE,gBAAgB,CAAC;CACxB"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * BRAIN observation-write wire shapes.
3
+ *
4
+ * Canonical home for the parameters and result types of the public
5
+ * `observeBrain` operation — the unified BRAIN write path that persists
6
+ * agent observations into `brain_observations`. Companion to the
7
+ * read-side trio in {@link ./search.ts}, {@link ./timeline.ts}, and
8
+ * {@link ./fetch.ts}.
9
+ *
10
+ * The `BRAIN_OBSERVATION_SOURCE_TYPES` const is co-located here so the
11
+ * derived `BrainObservationSourceType` union has a single source of truth.
12
+ * `packages/core/src/store/memory-schema.ts` re-exports the const for
13
+ * Drizzle's `enum: [...]` column constraint, which requires the runtime
14
+ * tuple literal.
15
+ *
16
+ * Promoted from `packages/core/src/memory/brain-retrieval.ts` to
17
+ * `@cleocode/contracts` in Phase 0e of SG-ARCH-SOLID
18
+ * (E-CONTRACTS-FOUNDATION).
19
+ *
20
+ * @since SG-ARCH-SOLID Saga T9831 · E-CONTRACTS-FOUNDATION T9832 · T9956 (Phase 0e)
21
+ */
22
+ // ── BRAIN_OBSERVATION_SOURCE_TYPES + BrainObservationSourceType ─────
23
+ /**
24
+ * Source-type tuple for `brain_observations.source_type` — how the
25
+ * observation was created.
26
+ *
27
+ * Originally defined in `packages/core/src/store/memory-schema.ts:134`.
28
+ * Promoted here so the derived {@link BrainObservationSourceType} union
29
+ * lives alongside its source. `memory-schema.ts` re-exports the const
30
+ * because Drizzle's `{ enum: ... }` column constraint requires the runtime
31
+ * tuple literal.
32
+ *
33
+ * - `agent` — produced by a spawned agent at task time.
34
+ * - `session-debrief` — synthesized at session end by the debrief pipeline.
35
+ * - `claude-mem` — imported from a claude-mem migration batch.
36
+ * - `manual` — typed directly by the owner via `cleo memory observe`.
37
+ *
38
+ * @since SG-ARCH-SOLID Saga T9831 · E-CONTRACTS-FOUNDATION T9832 · T9956 (Phase 0e)
39
+ */
40
+ export const BRAIN_OBSERVATION_SOURCE_TYPES = [
41
+ 'agent',
42
+ 'session-debrief',
43
+ 'claude-mem',
44
+ 'manual',
45
+ ];
46
+ //# sourceMappingURL=observe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"observe.js","sourceRoot":"","sources":["../../src/memory/observe.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAKH,uEAAuE;AAEvE;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,OAAO;IACP,iBAAiB;IACjB,YAAY;IACZ,QAAQ;CACA,CAAC"}
@@ -0,0 +1,137 @@
1
+ /**
2
+ * BRAIN compact-search wire shapes.
3
+ *
4
+ * Canonical home for the parameters and result types of the public
5
+ * `searchBrainCompact` operation — Layer 1 of CLEO's 3-layer BRAIN retrieval
6
+ * pattern (search → timeline → fetch). Returns index-level hits (~50 tokens
7
+ * per result) so agents can scan a wide candidate set cheaply before drilling
8
+ * into a specific entry.
9
+ *
10
+ * Promoted from `packages/core/src/memory/brain-retrieval.ts` to
11
+ * `@cleocode/contracts` in Phase 0e of SG-ARCH-SOLID
12
+ * (E-CONTRACTS-FOUNDATION) so the Studio + CLI + downstream consumers can
13
+ * depend on the shape without importing core. Unblocks the
14
+ * `brain-retrieval.ts` god-module split tracked under E-CORE-DECOMP
15
+ * (T9834).
16
+ *
17
+ * @since SG-ARCH-SOLID Saga T9831 · E-CONTRACTS-FOUNDATION T9832 · T9956 (Phase 0e)
18
+ * @see Layer 2: {@link ./timeline.ts}
19
+ * @see Layer 3: {@link ./fetch.ts}
20
+ */
21
+ /**
22
+ * Single compact hit returned by `searchBrainCompact`.
23
+ *
24
+ * Minimal projection of a BRAIN table row designed for cheap scanning —
25
+ * the full payload is fetched on demand via `fetchBrainEntries` (Layer 3).
26
+ *
27
+ * @since SG-ARCH-SOLID Saga T9831 · E-CONTRACTS-FOUNDATION T9832 · T9956 (Phase 0e)
28
+ */
29
+ export interface BrainCompactHit {
30
+ /** Entry identifier (e.g. `D-arch-001`, `P-feat-042`). */
31
+ id: string;
32
+ /** Source BRAIN table that produced the hit. */
33
+ type: 'decision' | 'pattern' | 'learning' | 'observation';
34
+ /** Display title for the entry. */
35
+ title: string;
36
+ /** ISO 8601 creation date. */
37
+ date: string;
38
+ /** Legacy relevance score (BM25-only path); omit when `rrfScore` is set. */
39
+ relevance?: number;
40
+ /**
41
+ * RRF-fused score: sum of 1/(rank+60) across all retrieval sources.
42
+ * Present only when the RRF path is used (`useRRF=true`, default).
43
+ * Higher = stronger match. Comparable across results in the same query.
44
+ */
45
+ rrfScore?: number;
46
+ /**
47
+ * BM25-derived score, min-max normalized to [0, 1] across the result set.
48
+ * 1.0 = best BM25 rank in this query, 0.0 = worst (or not found via FTS).
49
+ * Present only when the RRF path is used and at least one FTS result exists.
50
+ */
51
+ bm25Score?: number;
52
+ /**
53
+ * Progressive-disclosure directives for follow-up operations.
54
+ *
55
+ * Maps follow-up keys (e.g. `fetch`, `timeline`) to suggested CLI commands.
56
+ * `Record<string, string>` mirrors the runtime `NextDirectives` alias used
57
+ * by `@cleocode/core`'s `mvi-helpers`.
58
+ */
59
+ _next?: Record<string, string>;
60
+ }
61
+ /**
62
+ * Parameters for `searchBrainCompact`.
63
+ *
64
+ * @since SG-ARCH-SOLID Saga T9831 · E-CONTRACTS-FOUNDATION T9832 · T9956 (Phase 0e)
65
+ */
66
+ export interface SearchBrainCompactParams {
67
+ /** Free-text query (FTS5 + optional vector recall). */
68
+ query: string;
69
+ /** Maximum number of hits to return (caller-bounded). */
70
+ limit?: number;
71
+ /** Restrict the search to a subset of BRAIN tables. */
72
+ tables?: Array<'decisions' | 'patterns' | 'learnings' | 'observations'>;
73
+ /** ISO 8601 lower-bound date filter (inclusive). */
74
+ dateStart?: string;
75
+ /** ISO 8601 upper-bound date filter (inclusive). */
76
+ dateEnd?: string;
77
+ /** T418: filter results to observations produced by a specific agent (Wave 8 mental models). */
78
+ agent?: string;
79
+ /**
80
+ * When true (default), use Reciprocal Rank Fusion to combine FTS5 and
81
+ * vector search results for higher recall and better ranking.
82
+ * When false, fall back to FTS5-only search (faster, no embeddings needed).
83
+ */
84
+ useRRF?: boolean;
85
+ /**
86
+ * T1085: Peer ID filter for CANT agent memory isolation (PSYCHE Wave 2).
87
+ *
88
+ * When provided, search results are scoped to entries where:
89
+ * `peer_id = peerId OR peer_id = 'global'`
90
+ *
91
+ * When omitted, all entries are returned — backward-compatible behavior.
92
+ */
93
+ peerId?: string;
94
+ /**
95
+ * T1085: When true (default when peerId is provided), include entries with
96
+ * `peer_id = 'global'` alongside the peer-specific entries.
97
+ *
98
+ * Set to false for strict per-peer isolation (no global pool bleed-through).
99
+ */
100
+ includeGlobal?: boolean;
101
+ /**
102
+ * T1900: ranking mode.
103
+ *
104
+ * - `recency` — ORDER BY created_at DESC, no BM25/RRF contribution.
105
+ * Use for recentObservations / recentLearnings where
106
+ * chronological freshness matters more than textual match.
107
+ * - `lexical` — FTS5 BM25 only (useRRF=false legacy path).
108
+ * - `hybrid` — Reciprocal Rank Fusion (default, useRRF=true path).
109
+ *
110
+ * @default 'hybrid'
111
+ */
112
+ mode?: 'recency' | 'lexical' | 'hybrid';
113
+ /**
114
+ * T1900: ISO 8601 timestamp lower-bound filter (inclusive).
115
+ *
116
+ * When provided, only rows with `created_at >= since` are returned.
117
+ * Applies to all modes including recency. Useful with `mode=hybrid`
118
+ * (e.g., `since=<30d>`) to limit pattern staleness.
119
+ *
120
+ * When omitted, no lower-bound date filter is applied.
121
+ */
122
+ since?: string;
123
+ }
124
+ /**
125
+ * Result envelope returned by `searchBrainCompact`.
126
+ *
127
+ * @since SG-ARCH-SOLID Saga T9831 · E-CONTRACTS-FOUNDATION T9832 · T9956 (Phase 0e)
128
+ */
129
+ export interface SearchBrainCompactResult {
130
+ /** Ordered compact hits (best match first). */
131
+ results: BrainCompactHit[];
132
+ /** Total number of matches before `limit` truncation. */
133
+ total: number;
134
+ /** Approximate token cost of the returned payload (~chars/4). */
135
+ tokensEstimated: number;
136
+ }
137
+ //# sourceMappingURL=search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/memory/search.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH;;;;;;;GAOG;AACH,MAAM,WAAW,eAAe;IAC9B,0DAA0D;IAC1D,EAAE,EAAE,MAAM,CAAC;IACX,gDAAgD;IAChD,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,aAAa,CAAC;IAC1D,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,4EAA4E;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC;AAID;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC,uDAAuD;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uDAAuD;IACvD,MAAM,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,UAAU,GAAG,WAAW,GAAG,cAAc,CAAC,CAAC;IACxE,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gGAAgG;IAChG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACxC;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAID;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC,+CAA+C;IAC/C,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,eAAe,EAAE,MAAM,CAAC;CACzB"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * BRAIN compact-search wire shapes.
3
+ *
4
+ * Canonical home for the parameters and result types of the public
5
+ * `searchBrainCompact` operation — Layer 1 of CLEO's 3-layer BRAIN retrieval
6
+ * pattern (search → timeline → fetch). Returns index-level hits (~50 tokens
7
+ * per result) so agents can scan a wide candidate set cheaply before drilling
8
+ * into a specific entry.
9
+ *
10
+ * Promoted from `packages/core/src/memory/brain-retrieval.ts` to
11
+ * `@cleocode/contracts` in Phase 0e of SG-ARCH-SOLID
12
+ * (E-CONTRACTS-FOUNDATION) so the Studio + CLI + downstream consumers can
13
+ * depend on the shape without importing core. Unblocks the
14
+ * `brain-retrieval.ts` god-module split tracked under E-CORE-DECOMP
15
+ * (T9834).
16
+ *
17
+ * @since SG-ARCH-SOLID Saga T9831 · E-CONTRACTS-FOUNDATION T9832 · T9956 (Phase 0e)
18
+ * @see Layer 2: {@link ./timeline.ts}
19
+ * @see Layer 3: {@link ./fetch.ts}
20
+ */
21
+ export {};
22
+ //# sourceMappingURL=search.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search.js","sourceRoot":"","sources":["../../src/memory/search.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG"}
@@ -0,0 +1,89 @@
1
+ /**
2
+ * BRAIN timeline wire shapes.
3
+ *
4
+ * Canonical home for the parameters and result types of the public
5
+ * `timelineBrain` operation — Layer 2 of CLEO's 3-layer BRAIN retrieval
6
+ * pattern (search → timeline → fetch). Surfaces chronological neighbors
7
+ * around an anchor entry so an agent can reconstruct the surrounding
8
+ * memory context cheaply.
9
+ *
10
+ * Promoted from `packages/core/src/memory/brain-retrieval.ts` to
11
+ * `@cleocode/contracts` in Phase 0e of SG-ARCH-SOLID
12
+ * (E-CONTRACTS-FOUNDATION). `BrainAnchor` is co-located here because it
13
+ * is the only `brain-row-types.ts` shape that escapes the core boundary
14
+ * via `TimelineBrainResult`; `packages/core/src/memory/brain-row-types.ts`
15
+ * continues to re-export it for internal callers.
16
+ *
17
+ * @since SG-ARCH-SOLID Saga T9831 · E-CONTRACTS-FOUNDATION T9832 · T9956 (Phase 0e)
18
+ * @see Layer 1: {@link ./search.ts}
19
+ * @see Layer 3: {@link ./fetch.ts}
20
+ */
21
+ /**
22
+ * Anchor entry around which a timeline is built.
23
+ *
24
+ * Carries the entry identifier, its source table (`type`), and the full
25
+ * payload (`data`) so the caller can render the anchor inline with the
26
+ * neighbor list without an additional `fetchBrainEntries` round trip.
27
+ *
28
+ * Originally defined in `packages/core/src/memory/brain-row-types.ts:46`.
29
+ *
30
+ * @since SG-ARCH-SOLID Saga T9831 · E-CONTRACTS-FOUNDATION T9832 · T9956 (Phase 0e)
31
+ */
32
+ export interface BrainAnchor {
33
+ /** Entry identifier (e.g. `O-abc123`, `D-arch-001`). */
34
+ id: string;
35
+ /** Source BRAIN table (e.g. `observation`, `decision`, `pattern`, `learning`). */
36
+ type: string;
37
+ /**
38
+ * Raw row payload as returned by the underlying SQL query.
39
+ *
40
+ * Typed as `unknown` because the shape varies by `type`. Callers narrow
41
+ * via a discriminated read or pass the value through to a renderer that
42
+ * already understands every BRAIN table shape.
43
+ */
44
+ data: unknown;
45
+ }
46
+ /**
47
+ * Parameters for `timelineBrain`.
48
+ *
49
+ * @since SG-ARCH-SOLID Saga T9831 · E-CONTRACTS-FOUNDATION T9832 · T9956 (Phase 0e)
50
+ */
51
+ export interface TimelineBrainParams {
52
+ /** Anchor entry ID to build the timeline around. */
53
+ anchor: string;
54
+ /** Number of chronologically-earlier neighbors to include. */
55
+ depthBefore?: number;
56
+ /** Number of chronologically-later neighbors to include. */
57
+ depthAfter?: number;
58
+ }
59
+ /**
60
+ * Compact neighbor projection used in timeline results.
61
+ *
62
+ * Each neighbor is reduced to an `{id, type, date}` triple so callers can
63
+ * cheaply scan a large window before drilling into specific entries via
64
+ * `fetchBrainEntries`.
65
+ *
66
+ * @since SG-ARCH-SOLID Saga T9831 · E-CONTRACTS-FOUNDATION T9832 · T9956 (Phase 0e)
67
+ */
68
+ export interface TimelineNeighbor {
69
+ /** Entry identifier. */
70
+ id: string;
71
+ /** Source BRAIN table (e.g. `observation`, `decision`). */
72
+ type: string;
73
+ /** ISO 8601 creation date. */
74
+ date: string;
75
+ }
76
+ /**
77
+ * Result envelope returned by `timelineBrain`.
78
+ *
79
+ * @since SG-ARCH-SOLID Saga T9831 · E-CONTRACTS-FOUNDATION T9832 · T9956 (Phase 0e)
80
+ */
81
+ export interface TimelineBrainResult {
82
+ /** The anchor entry, or `null` when the requested ID does not resolve. */
83
+ anchor: BrainAnchor | null;
84
+ /** Chronologically-earlier neighbors, oldest first. */
85
+ before: TimelineNeighbor[];
86
+ /** Chronologically-later neighbors, newest last. */
87
+ after: TimelineNeighbor[];
88
+ }
89
+ //# sourceMappingURL=timeline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeline.d.ts","sourceRoot":"","sources":["../../src/memory/timeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH;;;;;;;;;;GAUG;AACH,MAAM,WAAW,WAAW;IAC1B,wDAAwD;IACxD,EAAE,EAAE,MAAM,CAAC;IACX,kFAAkF;IAClF,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;OAMG;IACH,IAAI,EAAE,OAAO,CAAC;CACf;AAID;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,oDAAoD;IACpD,MAAM,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAID;;;;;;;;GAQG;AACH,MAAM,WAAW,gBAAgB;IAC/B,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;IACb,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAC;CACd;AAID;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,0EAA0E;IAC1E,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC;IAC3B,uDAAuD;IACvD,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,oDAAoD;IACpD,KAAK,EAAE,gBAAgB,EAAE,CAAC;CAC3B"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * BRAIN timeline wire shapes.
3
+ *
4
+ * Canonical home for the parameters and result types of the public
5
+ * `timelineBrain` operation — Layer 2 of CLEO's 3-layer BRAIN retrieval
6
+ * pattern (search → timeline → fetch). Surfaces chronological neighbors
7
+ * around an anchor entry so an agent can reconstruct the surrounding
8
+ * memory context cheaply.
9
+ *
10
+ * Promoted from `packages/core/src/memory/brain-retrieval.ts` to
11
+ * `@cleocode/contracts` in Phase 0e of SG-ARCH-SOLID
12
+ * (E-CONTRACTS-FOUNDATION). `BrainAnchor` is co-located here because it
13
+ * is the only `brain-row-types.ts` shape that escapes the core boundary
14
+ * via `TimelineBrainResult`; `packages/core/src/memory/brain-row-types.ts`
15
+ * continues to re-export it for internal callers.
16
+ *
17
+ * @since SG-ARCH-SOLID Saga T9831 · E-CONTRACTS-FOUNDATION T9832 · T9956 (Phase 0e)
18
+ * @see Layer 1: {@link ./search.ts}
19
+ * @see Layer 3: {@link ./fetch.ts}
20
+ */
21
+ export {};
22
+ //# sourceMappingURL=timeline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeline.js","sourceRoot":"","sources":["../../src/memory/timeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG"}
@@ -0,0 +1,199 @@
1
+ /**
2
+ * Focus Domain Operations — single-envelope task orientation.
3
+ *
4
+ * `cleo focus <id>` aggregates 8 separate orientation calls into one
5
+ * wire-format envelope covering identity, scope, members, blockers,
6
+ * the next parallel-safe wave, attached docs, recent git activity, and
7
+ * scope-filtered brain context.
8
+ *
9
+ * Token budget: ≤ 1 500 tokens for a typical task orientation request.
10
+ *
11
+ * @task T9973
12
+ * @epic T9964 E-ORIENT-V2
13
+ */
14
+ import type { MemoryCompactHit } from './memory.js';
15
+ /**
16
+ * Parameters for `focus.show`.
17
+ *
18
+ * @task T9973
19
+ */
20
+ export interface FocusShowParams {
21
+ /** Task, Epic, or Saga ID to orient on (e.g. `T9973`, `T9831`). Required. */
22
+ id: string;
23
+ }
24
+ /**
25
+ * Minimal identity block surfaced for the focused entity.
26
+ *
27
+ * @task T9973
28
+ */
29
+ export interface FocusIdentity {
30
+ /** Task / Epic / Saga identifier. */
31
+ id: string;
32
+ /** Human-readable title. */
33
+ title: string;
34
+ /** Entity tier — `'task'`, `'epic'`, or `'saga'`. */
35
+ type: string;
36
+ /** Current lifecycle status. */
37
+ status: string;
38
+ /** Parent task / Epic identifier, if any. */
39
+ parentId?: string | null;
40
+ }
41
+ /**
42
+ * Scope hierarchy resolved from the focused entity's ancestry.
43
+ *
44
+ * @task T9973
45
+ */
46
+ export interface FocusScope {
47
+ /** Saga ID, when the entity belongs to a Saga. */
48
+ sagaId?: string;
49
+ /** Epic ID when the entity is a task or the focused entity itself is an Epic. */
50
+ epicId?: string;
51
+ /** Task ID when the focused entity is a task. */
52
+ taskId?: string;
53
+ }
54
+ /**
55
+ * One member Epic of a Saga, with a rollup status.
56
+ *
57
+ * Populated only when `focus.show` is called on a Saga ID.
58
+ *
59
+ * @task T9973
60
+ */
61
+ export interface FocusSagaMember {
62
+ /** Epic task identifier. */
63
+ epicId: string;
64
+ /** Rollup status for the Epic (e.g. `'active'`, `'done'`). */
65
+ status: string;
66
+ /** Epic title. */
67
+ title: string;
68
+ }
69
+ /**
70
+ * One task blocking the focused entity.
71
+ *
72
+ * @task T9973
73
+ */
74
+ export interface FocusBlocker {
75
+ /** ID of the task that is blocking. */
76
+ id: string;
77
+ /** Title of the blocking task. */
78
+ title: string;
79
+ /** Human-readable reason the dependency is unresolved. */
80
+ reason: string;
81
+ }
82
+ /**
83
+ * One ready task from the next parallel-safe wave of the parent Epic.
84
+ *
85
+ * @task T9973
86
+ */
87
+ export interface FocusReadyTask {
88
+ /** Task identifier. */
89
+ id: string;
90
+ /** Task title. */
91
+ title: string;
92
+ /** Engine-rolled priority. */
93
+ priority: string;
94
+ /** Dependency IDs (already satisfied for ready tasks). */
95
+ depends: string[];
96
+ }
97
+ /**
98
+ * One doc attachment linked to the focused entity.
99
+ *
100
+ * @task T9973
101
+ */
102
+ export interface FocusAttachedDoc {
103
+ /** Attachment identifier (att_* or UUID). */
104
+ attachmentId: string;
105
+ /** Human-friendly slug, when assigned. */
106
+ slug?: string;
107
+ /** Taxonomy classification, when assigned. */
108
+ type?: string;
109
+ /** Storage kind (e.g. `'local-file'`, `'url'`, `'blob'`). */
110
+ kind: string;
111
+ }
112
+ /**
113
+ * One recent git commit mentioning the focused task ID.
114
+ *
115
+ * @task T9973
116
+ */
117
+ export interface FocusRecentCommit {
118
+ /** Full 40-character commit SHA. */
119
+ commitSha: string;
120
+ /** Commit subject line (first line of the commit message). */
121
+ message: string;
122
+ /** ISO 8601 author date. */
123
+ date: string;
124
+ }
125
+ /**
126
+ * Brain context scoped to the focused entity (≤ 3 entries per category).
127
+ *
128
+ * @task T9973
129
+ */
130
+ export interface FocusBrainContext {
131
+ /** Recent observations relevant to the focused entity. */
132
+ observations: MemoryCompactHit[];
133
+ /** Learnings relevant to the focused entity. */
134
+ learnings: MemoryCompactHit[];
135
+ /** Decisions relevant to the focused entity. */
136
+ decisions: MemoryCompactHit[];
137
+ }
138
+ /**
139
+ * Result of `focus.show` — the single-envelope task orientation response.
140
+ *
141
+ * All fields except `identity` and `scope` are omitted when the
142
+ * underlying data source returns nothing (empty arrays, unavailable stores,
143
+ * git not in repo). Consumers MUST handle optional fields gracefully.
144
+ *
145
+ * Token budget: ≤ 1 500 tokens for typical task orientation.
146
+ *
147
+ * @task T9973
148
+ * @epic T9964
149
+ */
150
+ export interface FocusShowResult {
151
+ /** Core identity of the focused entity. */
152
+ identity: FocusIdentity;
153
+ /** Scope hierarchy (saga → epic → task) derived from ancestry. */
154
+ scope: FocusScope;
155
+ /**
156
+ * Saga member Epics with rollup statuses.
157
+ * Populated only when `id` resolves to a Saga (`label='saga'`).
158
+ */
159
+ members?: FocusSagaMember[];
160
+ /**
161
+ * Tasks that are blocking the focused entity.
162
+ * Empty array when the entity is not blocked.
163
+ */
164
+ blockers: FocusBlocker[];
165
+ /**
166
+ * Next parallel-safe wave of tasks from the parent Epic.
167
+ * Omitted when the entity has no parent Epic or the ready-set is empty.
168
+ */
169
+ readyWave?: FocusReadyTask[];
170
+ /**
171
+ * Docs attached to the focused task/epic.
172
+ * Omitted when the docs store is unavailable or no attachments exist.
173
+ */
174
+ attachedDocs?: FocusAttachedDoc[];
175
+ /**
176
+ * Up to 5 most-recent git commits mentioning the focused task ID.
177
+ * Omitted when git is unavailable or no matching commits are found.
178
+ */
179
+ recentActivity?: FocusRecentCommit[];
180
+ /**
181
+ * Scope-filtered brain context — up to 3 entries per category.
182
+ * Omitted when the BRAIN store is unavailable.
183
+ */
184
+ brainContext?: FocusBrainContext;
185
+ /** Estimated token weight of this envelope. */
186
+ tokensEstimated: number;
187
+ }
188
+ /**
189
+ * Typed operation record for the focus domain.
190
+ *
191
+ * Maps each operation name to its `[Params, Result]` tuple for compile-time
192
+ * narrowing in the dispatch layer.
193
+ *
194
+ * @task T9973
195
+ */
196
+ export type FocusOps = {
197
+ readonly show: readonly [FocusShowParams, FocusShowResult];
198
+ };
199
+ //# sourceMappingURL=focus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"focus.d.ts","sourceRoot":"","sources":["../../src/operations/focus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAMpD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,6EAA6E;IAC7E,EAAE,EAAE,MAAM,CAAC;CACZ;AAMD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,qCAAqC;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,gCAAgC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,kDAAkD;IAClD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iFAAiF;IACjF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,eAAe;IAC9B,4BAA4B;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,kCAAkC;IAClC,KAAK,EAAE,MAAM,CA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,YAAY,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAClC;;;OAGG;IACH,cAAc,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACrC;;;OAGG;IACH,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,+CAA+C;IAC/C,eAAe,EAAE,MAAM,CAAC;CACzB;AAMD;;;;;;;GAOG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;CAC5D,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Focus Domain Operations — single-envelope task orientation.
3
+ *
4
+ * `cleo focus <id>` aggregates 8 separate orientation calls into one
5
+ * wire-format envelope covering identity, scope, members, blockers,
6
+ * the next parallel-safe wave, attached docs, recent git activity, and
7
+ * scope-filtered brain context.
8
+ *
9
+ * Token budget: ≤ 1 500 tokens for a typical task orientation request.
10
+ *
11
+ * @task T9973
12
+ * @epic T9964 E-ORIENT-V2
13
+ */
14
+ export {};
15
+ //# sourceMappingURL=focus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"focus.js","sourceRoot":"","sources":["../../src/operations/focus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG"}
@@ -9,6 +9,7 @@ export * from './brain.js';
9
9
  export * from './conduit.js';
10
10
  export * from './dialectic.js';
11
11
  export * from './docs.js';
12
+ export * from './focus.js';
12
13
  export * from './intelligence.js';
13
14
  export * from './issues.js';
14
15
  export * from './lifecycle.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5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;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC"}
@@ -9,6 +9,7 @@ export * from './brain.js';
9
9
  export * from './conduit.js';
10
10
  export * from './dialectic.js';
11
11
  export * from './docs.js';
12
+ export * from './focus.js';
12
13
  export * from './intelligence.js';
13
14
  export * from './issues.js';
14
15
  export * from './lifecycle.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cA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