11/**
2- * Wave-1 contract stubs for default-pack consumers.
2+ * Canonical contract types for default-pack consumers.
33 *
4- * These types mirror the ** frozen** signatures in
5- * `eliza/plugins/app-lifeops/docs/audit/wave1-interfaces.md` so this agent
6- * (W1-D) can ship default packs without blocking on W1-A's spine landing
7- * first .
4+ * These types define the frozen `ScheduledTask`, `ScheduledTaskRunner`,
5+ * `AnchorConsolidationPolicy`, `RecentTaskStatesProvider`,
6+ * `RelationshipStore`, and `ConnectorRegistry` shapes used by all default
7+ * packs. Do not edit these definitions without updating all pack consumers .
88 *
9- * **STUB STATUS:**
10- * - `ScheduledTask`, `ScheduledTaskRunner`, `AnchorConsolidationPolicy`,
11- * `EscalationStep`, `TerminalState`, `GateDecision` come from W1-A's
12- * `src/lifeops/scheduled-task/types.ts` once it lands.
13- * - `RecentTaskStatesProvider` comes from W1-C.
14- * - `RelationshipStore` / `RelationshipFilter` come from W1-E.
15- * - `ConnectorRegistry` / `ConnectorContribution` come from W1-F.
16- *
17- * Once those modules ship, this file flips to `export type ... from
18- * "<owner-module>"` re-exports (the integration gate in §4 of
19- * `IMPLEMENTATION_PLAN.md` enforces the swap).
20- *
21- * The on-the-wire shapes here are copies of the wave1-interfaces.md `§1`,
22- * `§2.3`, `§3.x`, `§4` definitions — do not edit them in place. If the
23- * upstream contract changes, the integration gate routes the change through
24- * W1-A / W1-C / W1-E / W1-F first.
9+ * Reference: `docs/audit/wave1-interfaces.md`.
2510 */
2611
27- // -- §1 W1-A — ScheduledTask --
12+ // -- §1 ScheduledTask --
2813
2914export type TerminalState =
3015 | "completed"
@@ -175,7 +160,7 @@ export interface ScheduledTask {
175160 metadata ?: Record < string , unknown > ;
176161}
177162
178- // W1-D ships pack records as the input to `ScheduledTaskRunner.schedule`,
163+ // Pack records are the input to `ScheduledTaskRunner.schedule`,
179164// i.e. `Omit<ScheduledTask, "taskId" | "state">`. This alias is the canonical
180165// "default-pack record" type.
181166export type ScheduledTaskSeed = Omit < ScheduledTask , "taskId" | "state" > ;
@@ -190,7 +175,7 @@ export interface AnchorConsolidationPolicy {
190175 sortBy ?: "priority_desc" | "fired_at_asc" ;
191176}
192177
193- // -- §3.4 default escalation ladders (frozen in wave1-interfaces.md §3.4) --
178+ // -- §3.4 default escalation ladders --
194179
195180export type DefaultEscalationLadderKey =
196181 | "priority_low_default"
@@ -201,7 +186,7 @@ export interface EscalationLadder {
201186 steps : EscalationStep [ ] ;
202187}
203188
204- // -- §4.4 RecentTaskStatesProvider (W1-C) --
189+ // -- §4.4 RecentTaskStatesProvider --
205190
206191export interface RecentTaskStatesSummary {
207192 summary : string ;
@@ -221,7 +206,7 @@ export interface RecentTaskStatesProvider {
221206 } ) : Promise < RecentTaskStatesSummary > ;
222207}
223208
224- // -- §2.3 RelationshipStore (W1-E) — only the surface W1-D consumes --
209+ // -- §2.3 RelationshipStore --
225210
226211export interface RelationshipStateStub {
227212 lastObservedAt ?: string ;
@@ -261,7 +246,7 @@ export interface RelationshipStoreStub {
261246 list ( filter ?: RelationshipFilterStub ) : Promise < RelationshipStub [ ] > ;
262247}
263248
264- // -- §3.1 ConnectorRegistry (W1-F) — only the surface W1-D consumes --
249+ // -- §3.1 ConnectorRegistry --
265250
266251export interface ConnectorContributionStub {
267252 kind : string ;
0 commit comments