@cat-factory/contracts 0.90.0 → 0.92.0

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.
@@ -4,7 +4,7 @@ import * as v from 'valibot';
4
4
  * the frontend can switch on it to render the right action; extending it is a
5
5
  * one-line change here plus a handler in the worker's `act` route.
6
6
  */
7
- export declare const notificationTypeSchema: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending"], undefined>;
7
+ export declare const notificationTypeSchema: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>;
8
8
  export type NotificationType = v.InferOutput<typeof notificationTypeSchema>;
9
9
  /**
10
10
  * Lifecycle of a notification: `open` until a human engages, terminal `acted`
@@ -66,12 +66,14 @@ export declare const notificationPayloadSchema: v.ObjectSchema<{
66
66
  * it as "for you"; the notification stays workspace-visible to everyone.
67
67
  */
68
68
  readonly targetUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
69
+ /** Why the initiative loop raised the card, on an `initiative` notification. */
70
+ readonly initiativeReason: v.OptionalSchema<v.PicklistSchema<["item_blocked", "complete"], undefined>, undefined>;
69
71
  }, undefined>;
70
72
  export type NotificationPayload = v.InferOutput<typeof notificationPayloadSchema>;
71
73
  /** A human-actionable item surfaced on the board. */
72
74
  export declare const notificationSchema: v.ObjectSchema<{
73
75
  readonly id: v.StringSchema<undefined>;
74
- readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending"], undefined>;
76
+ readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>;
75
77
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
76
78
  /**
77
79
  * Render urgency (see {@link notificationSeveritySchema}). Absent ⇒ `normal`. Flipped
@@ -124,6 +126,8 @@ export declare const notificationSchema: v.ObjectSchema<{
124
126
  * it as "for you"; the notification stays workspace-visible to everyone.
125
127
  */
126
128
  readonly targetUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
129
+ /** Why the initiative loop raised the card, on an `initiative` notification. */
130
+ readonly initiativeReason: v.OptionalSchema<v.PicklistSchema<["item_blocked", "complete"], undefined>, undefined>;
127
131
  }, undefined>, undefined>, undefined>;
128
132
  readonly createdAt: v.NumberSchema<undefined>;
129
133
  /** When it left `open` (acted/dismissed); null while open. */
@@ -1 +1 @@
1
- {"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../src/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA8C5B;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,wQAajC,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE3E;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,6DAA6C,CAAA;AAClF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE/E;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,mDAAmC,CAAA;AAC1E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAEnF;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB;IACpC,4DAA4D;;;;;;;IAE5D,sEAAsE;;IAEtE,gFAAgF;;IAEhF,0DAA0D;;IAE1D,mEAAmE;;;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0B,CAAC,CAAA;AAEnF;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB;IACpC,4DAA4D;;;;;;;IAE5D,sEAAsE;;IAEtE,gFAAgF;;IAEhF,0DAA0D;;IAE1D,mEAAmE;;;;;;;IAEnE,mEAAmE;;;;;;;;IAEnE,4EAA4E;;IAE5E;;;;OAIG;;IAEH,gFAAgF;;aAEhF,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAEjF,qDAAqD;AACrD,eAAO,MAAM,kBAAkB;;;;IAI7B;;;OAGG;;IAEH,iFAAiF;;IAEjF,yDAAyD;;IAEzD,wCAAwC;;IAExC,mCAAmC;;IAEnC,wFAAwF;;QA3CxF,4DAA4D;;;;;;;QAE5D,sEAAsE;;QAEtE,gFAAgF;;QAEhF,0DAA0D;;QAE1D,mEAAmE;;;;;;;QAEnE,mEAAmE;;;;;;;;QAEnE,4EAA4E;;QAE5E;;;;WAIG;;QAEH,gFAAgF;;;;IA0BhF,8DAA8D;;aAE9D,CAAA;AACF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAInE,yDAAyD;AACzD,eAAO,MAAM,+BAA+B,iDAAiC,CAAA;AAC7E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,+BAA+B,CAAC,CAAA"}
@@ -31,6 +31,10 @@ import { onCallAssessmentSchema, releaseSignalSchema } from './release.js';
31
31
  // Informational + a deep-link to the parked task (where the human
32
32
  // can also request a freeform fix); the gate waits indefinitely and
33
33
  // the severity sweep escalates the card the longer it waits.
34
+ // - `initiative` — the initiative execution loop needs a human: a spawned task was
35
+ // blocked (its phase is halted until it is retried/skipped), or the
36
+ // initiative finished (every planned task resolved). Informational +
37
+ // a deep-link to the initiative block; `act` just marks it read.
34
38
  // - `decision_required`— an iterative gate parked on a human decision after spending
35
39
  // its automatic budget (a quality companion at its rework cap,
36
40
  // or the requirements reviewer at its iteration cap). Without
@@ -60,6 +64,7 @@ export const notificationTypeSchema = v.picklist([
60
64
  'visual_confirmation_ready',
61
65
  'human_review',
62
66
  'followup_pending',
67
+ 'initiative',
63
68
  ]);
64
69
  /**
65
70
  * Lifecycle of a notification: `open` until a human engages, terminal `acted`
@@ -103,6 +108,8 @@ export const notificationPayloadSchema = v.object({
103
108
  * it as "for you"; the notification stays workspace-visible to everyone.
104
109
  */
105
110
  targetUserId: v.optional(v.nullable(v.string())),
111
+ /** Why the initiative loop raised the card, on an `initiative` notification. */
112
+ initiativeReason: v.optional(v.picklist(['item_blocked', 'complete'])),
106
113
  });
107
114
  /** A human-actionable item surfaced on the board. */
108
115
  export const notificationSchema = v.object({
@@ -1 +1 @@
1
- {"version":3,"file":"notifications.js","sourceRoot":"","sources":["../src/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAE1E,8EAA8E;AAC9E,iFAAiF;AACjF,wEAAwE;AACxE,8EAA8E;AAC9E,iEAAiE;AACjE,2EAA2E;AAC3E,oFAAoF;AACpF,8EAA8E;AAC9E,8EAA8E;AAC9E,iFAAiF;AACjF,gEAAgE;AAChE,oFAAoF;AACpF,qFAAqF;AACrF,+DAA+D;AAC/D,kFAAkF;AAClF,iFAAiF;AACjF,+EAA+E;AAC/E,kFAAkF;AAClF,iFAAiF;AACjF,uFAAuF;AACvF,4FAA4F;AAC5F,wFAAwF;AACxF,yFAAyF;AACzF,4FAA4F;AAC5F,0FAA0F;AAC1F,0FAA0F;AAC1F,4FAA4F;AAC5F,2FAA2F;AAC3F,6FAA6F;AAC7F,sFAAsF;AACtF,uFAAuF;AACvF,wFAAwF;AACxF,uFAAuF;AACvF,wFAAwF;AACxF,yFA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AQ,EAAE,CAAC,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IAChD,iFAAiF;IACjF,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC/B,yDAAyD;IACzD,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACnC,wCAAwC;IACxC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,mCAAmC;IACnC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,wFAAwF;IACxF,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAC;IAC1D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,8DAA8D;IAC9D,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACnC,CAAC,CAAA;AAGF,8EAA8E;AAE9E,yDAAyD;AACzD,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC,CAAA"}
@@ -26,6 +26,13 @@ export type Recurrence = v.InferOutput<typeof recurrenceSchema>;
26
26
  * task block the pipeline runs against; `frameId` is the service frame it lives
27
27
  * in. `nextRunAt` is the computed epoch-ms of the next eligible fire (the global
28
28
  * sweeper queries `enabled AND nextRunAt <= now`).
29
+ *
30
+ * An **on-demand** schedule (`onDemand: true`) has no automatic cadence — the
31
+ * global sweeper never fires it; it runs ONLY when a human triggers it via
32
+ * "run now". Because a person is always present at fire time, an on-demand
33
+ * schedule's block MAY use an individual-usage subscription model (Claude/Codex/
34
+ * GLM), which a cadence schedule can never do (no one is present to unlock it).
35
+ * Its `recurrence` is retained but ignored, and `nextRunAt` never drives a fire.
29
36
  */
30
37
  export declare const pipelineScheduleSchema: v.ObjectSchema<{
31
38
  readonly id: v.StringSchema<undefined>;
@@ -51,6 +58,8 @@ export declare const pipelineScheduleSchema: v.ObjectSchema<{
51
58
  /** IANA timezone the weekday/hour window is evaluated in. */
52
59
  readonly timezone: v.StringSchema<undefined>;
53
60
  }, undefined>;
61
+ /** Manual-only: never auto-fired by the sweeper; may use an individual-usage model. */
62
+ readonly onDemand: v.BooleanSchema<undefined>;
54
63
  readonly enabled: v.BooleanSchema<undefined>;
55
64
  readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
56
65
  readonly nextRunAt: v.NumberSchema<undefined>;
@@ -76,7 +85,11 @@ export declare const createScheduleSchema: v.ObjectSchema<{
76
85
  readonly pipelineId: v.StringSchema<undefined>;
77
86
  readonly template: v.OptionalSchema<v.PicklistSchema<["dep-update", "tech-debt", "custom"], undefined>, "custom">;
78
87
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
79
- readonly recurrence: v.ObjectSchema<{
88
+ /**
89
+ * The cadence for a scheduled pipeline. Optional — an on-demand schedule needs no
90
+ * cadence, so the server fills a nominal (ignored) recurrence when it is omitted.
91
+ */
92
+ readonly recurrence: v.OptionalSchema<v.ObjectSchema<{
80
93
  readonly intervalHours: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>;
81
94
  /** Allowed weekdays (0–6). Empty means every day. */
82
95
  readonly weekdays: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 6, undefined>]>, undefined>;
@@ -86,7 +99,12 @@ export declare const createScheduleSchema: v.ObjectSchema<{
86
99
  readonly windowEndHour: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 23, undefined>]>, undefined>;
87
100
  /** IANA timezone the weekday/hour window is evaluated in. */
88
101
  readonly timezone: v.StringSchema<undefined>;
89
- }, undefined>;
102
+ }, undefined>, undefined>;
103
+ /**
104
+ * When true the schedule is manual-only: the sweeper never fires it, so its block may
105
+ * use an individual-usage subscription model (unlocked per run-now by the initiator).
106
+ */
107
+ readonly onDemand: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
90
108
  readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
91
109
  /**
92
110
  * The prompt/description for the reused on-board task block — the same free-text a
@@ -1 +1 @@
1
- {"version":3,"file":"recurring.d.ts","sourceRoot":"","sources":["../src/recurring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAiB5B,iFAAiF;AACjF,eAAO,MAAM,sBAAsB,oEAAoD,CAAA;AACvF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAK3E;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB;;IAE3B,qDAAqD;;IAErD,qFAAqF;;IAErF,mFAAmF;;IAEnF,6DAA6D;;aAE7D,CAAA;AACF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE/D;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;IAEjC;;;;OAIG;;;;;;;;;QAvBH,qDAAqD;;QAErD,qFAAqF;;QAErF,mFAAmF;;QAEnF,6DAA6D;;;;;;;aA6B7D,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE3E,uFAAuF;AACvF,eAAO,MAAM,iBAAiB;;;IAG5B,gFAAgF;;;;;IAKhF,6EAA6E;;aAE7E,CAAA;AACF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,iBAAiB,CAAC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;;;;IAKhF,6EAA6E;;aAE7E,CAAA;AACF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAMjE,sDAAsD;AACtD,eAAO,MAAM,oBAAoB;;;;;IAK/B;;;OAGG;;;QA1EH,qDAAqD;;QAErD,qFAAqF;;QAErF,mFAAmF;;QAEnF,6DAA6D;;;IAsE7D;;;OAGG;;;IAGH;;;;OAIG;;aAEH,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAE5E,wDAAwD;AACxD,eAAO,MAAM,oBAAoB;;;;;QA5F/B,qDAAqD;;QAErD,qFAAqF;;QAErF,mFAAmF;;QAEnF,6DAA6D;;;;aA2F7D,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
package/dist/recurring.js CHANGED
@@ -40,6 +40,13 @@ export const recurrenceSchema = v.object({
40
40
  * task block the pipeline runs against; `frameId` is the service frame it lives
41
41
  * in. `nextRunAt` is the computed epoch-ms of the next eligible fire (the global
42
42
  * sweeper queries `enabled AND nextRunAt <= now`).
43
+ *
44
+ * An **on-demand** schedule (`onDemand: true`) has no automatic cadence — the
45
+ * global sweeper never fires it; it runs ONLY when a human triggers it via
46
+ * "run now". Because a person is always present at fire time, an on-demand
47
+ * schedule's block MAY use an individual-usage subscription model (Claude/Codex/
48
+ * GLM), which a cadence schedule can never do (no one is present to unlock it).
49
+ * Its `recurrence` is retained but ignored, and `nextRunAt` never drives a fire.
43
50
  */
44
51
  export const pipelineScheduleSchema = v.object({
45
52
  id: v.string(),
@@ -55,6 +62,8 @@ export const pipelineScheduleSchema = v.object({
55
62
  template: scheduleTemplateSchema,
56
63
  name: v.string(),
57
64
  recurrence: recurrenceSchema,
65
+ /** Manual-only: never auto-fired by the sweeper; may use an individual-usage model. */
66
+ onDemand: v.boolean(),
58
67
  enabled: v.boolean(),
59
68
  lastRunAt: v.nullable(v.number()),
60
69
  nextRunAt: v.number(),
@@ -80,7 +89,16 @@ export const createScheduleSchema = v.object({
80
89
  pipelineId: v.string(),
81
90
  template: v.optional(scheduleTemplateSchema, 'custom'),
82
91
  name: scheduleNameSchema,
83
- recurrence: recurrenceSchema,
92
+ /**
93
+ * The cadence for a scheduled pipeline. Optional — an on-demand schedule needs no
94
+ * cadence, so the server fills a nominal (ignored) recurrence when it is omitted.
95
+ */
96
+ recurrence: v.optional(recurrenceSchema),
97
+ /**
98
+ * When true the schedule is manual-only: the sweeper never fires it, so its block may
99
+ * use an individual-usage subscription model (unlocked per run-now by the initiator).
100
+ */
101
+ onDemand: v.optional(v.boolean(), false),
84
102
  enabled: v.optional(v.boolean(), true),
85
103
  /**
86
104
  * The prompt/description for the reused on-board task block — the same free-text a
@@ -1 +1 @@
1
- {"version":3,"file":"recurring.js","sourceRoot":"","sources":["../src/recurring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,8EAA8E;AAC9E,+EAA+E;AAC/E,kFAAkF;AAClF,iFAAiF;AACjF,mFAAmF;AACnF,kFAAkF;AAClF,gFAAgF;AAChF,eAAe;AACf,EAAE;AACF,2EAA2E;AAC3E,8EAA8E;AAC9E,kFAAkF;AAClF,uDAAuD;AACvD,8EAA8E;AAE9E,iFAAiF;AACjF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,YAAY,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAA;AAGvF,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAA;AACtF,MAAM,aAAa,GAAG,CAAC,CAA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AM,EAAE;IACnB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,sBAAsB,EAAE,QAAQ,CAAC;IACtD,IAAI,EAAE,kBAAkB;IACxB;;;OAGG;IACH,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC;IACxC;;;OAGG;IACH,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC;IACxC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC;IACtC;;;;OAIG;IACH,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;CACzE,CAAC,CAAA;AAGF,wDAAwD;AACxD,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACpC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAClC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC;IACxC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;CACjC,CAAC,CAAA"}
@@ -1066,4 +1066,382 @@ export declare const proceedInitiativePlanningContract: {
1066
1066
  }, undefined>;
1067
1067
  };
1068
1068
  };
1069
+ /** Pause an executing initiative — the loop stops spawning; in-flight tasks finish naturally. */
1070
+ export declare const pauseInitiativeContract: {
1071
+ readonly method: "post";
1072
+ readonly requestPathParamsSchema: v.ObjectSchema<{
1073
+ blockId: v.StringSchema<undefined>;
1074
+ }, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
1075
+ readonly pathResolver: ({ blockId }: {
1076
+ blockId: string;
1077
+ }) => string;
1078
+ readonly requestBodySchema: typeof ContractNoBody;
1079
+ readonly responsesByStatusCode: {
1080
+ readonly '4xx': v.ObjectSchema<{
1081
+ readonly error: v.ObjectSchema<{
1082
+ readonly code: v.StringSchema<undefined>;
1083
+ readonly message: v.StringSchema<undefined>;
1084
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
1085
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1086
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1087
+ readonly message: v.StringSchema<undefined>;
1088
+ }, undefined>, undefined>, undefined>;
1089
+ }, undefined>;
1090
+ }, undefined>;
1091
+ readonly '5xx': v.ObjectSchema<{
1092
+ readonly error: v.ObjectSchema<{
1093
+ readonly code: v.StringSchema<undefined>;
1094
+ readonly message: v.StringSchema<undefined>;
1095
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
1096
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1097
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1098
+ readonly message: v.StringSchema<undefined>;
1099
+ }, undefined>, undefined>, undefined>;
1100
+ }, undefined>;
1101
+ }, undefined>;
1102
+ readonly 200: v.NullableSchema<v.ObjectSchema<{
1103
+ readonly id: v.StringSchema<undefined>;
1104
+ readonly blockId: v.StringSchema<undefined>;
1105
+ readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1106
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1107
+ readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1108
+ readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1109
+ readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1110
+ readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1111
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1112
+ readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1113
+ readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1114
+ }, undefined>, undefined>, readonly []>;
1115
+ readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1116
+ readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1117
+ readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
1118
+ readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
1119
+ }, undefined>, undefined>, undefined>;
1120
+ readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1121
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1122
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1123
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1124
+ readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1125
+ readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
1126
+ }, undefined>, undefined>, readonly []>;
1127
+ readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1128
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1129
+ readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1130
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1131
+ readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>;
1132
+ readonly dependsOn: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, readonly []>;
1133
+ readonly estimate: v.OptionalSchema<v.ObjectSchema<{
1134
+ readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1135
+ readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1136
+ readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1137
+ readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1138
+ }, undefined>, undefined>;
1139
+ readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1140
+ readonly status: v.PicklistSchema<["pending", "in_progress", "pr_open", "done", "blocked", "skipped"], undefined>;
1141
+ readonly blockId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1142
+ readonly pr: v.OptionalSchema<v.ObjectSchema<{
1143
+ readonly url: v.StringSchema<undefined>;
1144
+ readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1145
+ }, undefined>, undefined>;
1146
+ readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1147
+ }, undefined>, undefined>, readonly []>;
1148
+ readonly policy: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1149
+ readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
1150
+ readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1151
+ readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1152
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1153
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1154
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1155
+ }, undefined>, undefined>, readonly []>;
1156
+ readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1157
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
1158
+ }, undefined>, undefined>, undefined>;
1159
+ readonly decisions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1160
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1161
+ readonly at: v.NumberSchema<undefined>;
1162
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1163
+ readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1164
+ readonly source: v.PicklistSchema<["planning", "human", "agent"], undefined>;
1165
+ }, undefined>, undefined>, readonly []>;
1166
+ readonly deviations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1167
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1168
+ readonly at: v.NumberSchema<undefined>;
1169
+ readonly itemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
1170
+ readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1171
+ readonly resolution: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1172
+ }, undefined>, undefined>, readonly []>;
1173
+ readonly followUps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1174
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1175
+ readonly at: v.NumberSchema<undefined>;
1176
+ readonly sourceItemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
1177
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1178
+ readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1179
+ readonly status: v.PicklistSchema<["open", "promoted", "dismissed"], undefined>;
1180
+ readonly promotedItemId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1181
+ }, undefined>, undefined>, readonly []>;
1182
+ readonly caveats: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1183
+ readonly status: v.PicklistSchema<["planning", "awaiting_approval", "executing", "paused", "done", "cancelled"], undefined>;
1184
+ readonly doc: v.OptionalSchema<v.ObjectSchema<{
1185
+ readonly version: v.NumberSchema<undefined>;
1186
+ readonly hash: v.StringSchema<undefined>;
1187
+ readonly committedAt: v.NumberSchema<undefined>;
1188
+ }, undefined>, undefined>;
1189
+ readonly rev: v.NumberSchema<undefined>;
1190
+ readonly createdAt: v.NumberSchema<undefined>;
1191
+ readonly updatedAt: v.NumberSchema<undefined>;
1192
+ }, undefined>, undefined>;
1193
+ };
1194
+ };
1195
+ /** Resume a paused initiative back to executing (the next sweep picks it up). */
1196
+ export declare const resumeInitiativeContract: {
1197
+ readonly method: "post";
1198
+ readonly requestPathParamsSchema: v.ObjectSchema<{
1199
+ blockId: v.StringSchema<undefined>;
1200
+ }, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
1201
+ readonly pathResolver: ({ blockId }: {
1202
+ blockId: string;
1203
+ }) => string;
1204
+ readonly requestBodySchema: typeof ContractNoBody;
1205
+ readonly responsesByStatusCode: {
1206
+ readonly '4xx': v.ObjectSchema<{
1207
+ readonly error: v.ObjectSchema<{
1208
+ readonly code: v.StringSchema<undefined>;
1209
+ readonly message: v.StringSchema<undefined>;
1210
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
1211
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1212
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1213
+ readonly message: v.StringSchema<undefined>;
1214
+ }, undefined>, undefined>, undefined>;
1215
+ }, undefined>;
1216
+ }, undefined>;
1217
+ readonly '5xx': v.ObjectSchema<{
1218
+ readonly error: v.ObjectSchema<{
1219
+ readonly code: v.StringSchema<undefined>;
1220
+ readonly message: v.StringSchema<undefined>;
1221
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
1222
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1223
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1224
+ readonly message: v.StringSchema<undefined>;
1225
+ }, undefined>, undefined>, undefined>;
1226
+ }, undefined>;
1227
+ }, undefined>;
1228
+ readonly 200: v.NullableSchema<v.ObjectSchema<{
1229
+ readonly id: v.StringSchema<undefined>;
1230
+ readonly blockId: v.StringSchema<undefined>;
1231
+ readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1232
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1233
+ readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1234
+ readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1235
+ readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1236
+ readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1237
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1238
+ readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1239
+ readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1240
+ }, undefined>, undefined>, readonly []>;
1241
+ readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1242
+ readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1243
+ readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
1244
+ readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
1245
+ }, undefined>, undefined>, undefined>;
1246
+ readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1247
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1248
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1249
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1250
+ readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1251
+ readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
1252
+ }, undefined>, undefined>, readonly []>;
1253
+ readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1254
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1255
+ readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1256
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1257
+ readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>;
1258
+ readonly dependsOn: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, readonly []>;
1259
+ readonly estimate: v.OptionalSchema<v.ObjectSchema<{
1260
+ readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1261
+ readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1262
+ readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1263
+ readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1264
+ }, undefined>, undefined>;
1265
+ readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1266
+ readonly status: v.PicklistSchema<["pending", "in_progress", "pr_open", "done", "blocked", "skipped"], undefined>;
1267
+ readonly blockId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1268
+ readonly pr: v.OptionalSchema<v.ObjectSchema<{
1269
+ readonly url: v.StringSchema<undefined>;
1270
+ readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1271
+ }, undefined>, undefined>;
1272
+ readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1273
+ }, undefined>, undefined>, readonly []>;
1274
+ readonly policy: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1275
+ readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
1276
+ readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1277
+ readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1278
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1279
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1280
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1281
+ }, undefined>, undefined>, readonly []>;
1282
+ readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1283
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
1284
+ }, undefined>, undefined>, undefined>;
1285
+ readonly decisions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1286
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1287
+ readonly at: v.NumberSchema<undefined>;
1288
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1289
+ readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1290
+ readonly source: v.PicklistSchema<["planning", "human", "agent"], undefined>;
1291
+ }, undefined>, undefined>, readonly []>;
1292
+ readonly deviations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1293
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1294
+ readonly at: v.NumberSchema<undefined>;
1295
+ readonly itemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
1296
+ readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1297
+ readonly resolution: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1298
+ }, undefined>, undefined>, readonly []>;
1299
+ readonly followUps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1300
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1301
+ readonly at: v.NumberSchema<undefined>;
1302
+ readonly sourceItemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
1303
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1304
+ readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1305
+ readonly status: v.PicklistSchema<["open", "promoted", "dismissed"], undefined>;
1306
+ readonly promotedItemId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1307
+ }, undefined>, undefined>, readonly []>;
1308
+ readonly caveats: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1309
+ readonly status: v.PicklistSchema<["planning", "awaiting_approval", "executing", "paused", "done", "cancelled"], undefined>;
1310
+ readonly doc: v.OptionalSchema<v.ObjectSchema<{
1311
+ readonly version: v.NumberSchema<undefined>;
1312
+ readonly hash: v.StringSchema<undefined>;
1313
+ readonly committedAt: v.NumberSchema<undefined>;
1314
+ }, undefined>, undefined>;
1315
+ readonly rev: v.NumberSchema<undefined>;
1316
+ readonly createdAt: v.NumberSchema<undefined>;
1317
+ readonly updatedAt: v.NumberSchema<undefined>;
1318
+ }, undefined>, undefined>;
1319
+ };
1320
+ };
1321
+ /** Cancel an initiative — the loop stops spawning further work (in-flight tasks are left to finish). */
1322
+ export declare const cancelInitiativeContract: {
1323
+ readonly method: "post";
1324
+ readonly requestPathParamsSchema: v.ObjectSchema<{
1325
+ blockId: v.StringSchema<undefined>;
1326
+ }, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
1327
+ readonly pathResolver: ({ blockId }: {
1328
+ blockId: string;
1329
+ }) => string;
1330
+ readonly requestBodySchema: typeof ContractNoBody;
1331
+ readonly responsesByStatusCode: {
1332
+ readonly '4xx': v.ObjectSchema<{
1333
+ readonly error: v.ObjectSchema<{
1334
+ readonly code: v.StringSchema<undefined>;
1335
+ readonly message: v.StringSchema<undefined>;
1336
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
1337
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1338
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1339
+ readonly message: v.StringSchema<undefined>;
1340
+ }, undefined>, undefined>, undefined>;
1341
+ }, undefined>;
1342
+ }, undefined>;
1343
+ readonly '5xx': v.ObjectSchema<{
1344
+ readonly error: v.ObjectSchema<{
1345
+ readonly code: v.StringSchema<undefined>;
1346
+ readonly message: v.StringSchema<undefined>;
1347
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
1348
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1349
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1350
+ readonly message: v.StringSchema<undefined>;
1351
+ }, undefined>, undefined>, undefined>;
1352
+ }, undefined>;
1353
+ }, undefined>;
1354
+ readonly 200: v.NullableSchema<v.ObjectSchema<{
1355
+ readonly id: v.StringSchema<undefined>;
1356
+ readonly blockId: v.StringSchema<undefined>;
1357
+ readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1358
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1359
+ readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1360
+ readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1361
+ readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1362
+ readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1363
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1364
+ readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1365
+ readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1366
+ }, undefined>, undefined>, readonly []>;
1367
+ readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1368
+ readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1369
+ readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
1370
+ readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
1371
+ }, undefined>, undefined>, undefined>;
1372
+ readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
1373
+ readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1374
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1375
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1376
+ readonly goal: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1377
+ readonly maxConcurrent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
1378
+ }, undefined>, undefined>, readonly []>;
1379
+ readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1380
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1381
+ readonly phaseId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1382
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1383
+ readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>;
1384
+ readonly dependsOn: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, readonly []>;
1385
+ readonly estimate: v.OptionalSchema<v.ObjectSchema<{
1386
+ readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1387
+ readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1388
+ readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1389
+ readonly rationale: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1390
+ }, undefined>, undefined>;
1391
+ readonly pipelineId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1392
+ readonly status: v.PicklistSchema<["pending", "in_progress", "pr_open", "done", "blocked", "skipped"], undefined>;
1393
+ readonly blockId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1394
+ readonly pr: v.OptionalSchema<v.ObjectSchema<{
1395
+ readonly url: v.StringSchema<undefined>;
1396
+ readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1397
+ }, undefined>, undefined>;
1398
+ readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1399
+ }, undefined>, undefined>, readonly []>;
1400
+ readonly policy: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1401
+ readonly maxConcurrent: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>;
1402
+ readonly rules: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1403
+ readonly pipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1404
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1405
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1406
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1407
+ }, undefined>, undefined>, readonly []>;
1408
+ readonly defaultPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1409
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["default", "strongest"], undefined>, "default">;
1410
+ }, undefined>, undefined>, undefined>;
1411
+ readonly decisions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1412
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1413
+ readonly at: v.NumberSchema<undefined>;
1414
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1415
+ readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1416
+ readonly source: v.PicklistSchema<["planning", "human", "agent"], undefined>;
1417
+ }, undefined>, undefined>, readonly []>;
1418
+ readonly deviations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1419
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1420
+ readonly at: v.NumberSchema<undefined>;
1421
+ readonly itemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
1422
+ readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1423
+ readonly resolution: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1424
+ }, undefined>, undefined>, readonly []>;
1425
+ readonly followUps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1426
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
1427
+ readonly at: v.NumberSchema<undefined>;
1428
+ readonly sourceItemId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>, undefined>;
1429
+ readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1430
+ readonly detail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
1431
+ readonly status: v.PicklistSchema<["open", "promoted", "dismissed"], undefined>;
1432
+ readonly promotedItemId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
1433
+ }, undefined>, undefined>, readonly []>;
1434
+ readonly caveats: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
1435
+ readonly status: v.PicklistSchema<["planning", "awaiting_approval", "executing", "paused", "done", "cancelled"], undefined>;
1436
+ readonly doc: v.OptionalSchema<v.ObjectSchema<{
1437
+ readonly version: v.NumberSchema<undefined>;
1438
+ readonly hash: v.StringSchema<undefined>;
1439
+ readonly committedAt: v.NumberSchema<undefined>;
1440
+ }, undefined>, undefined>;
1441
+ readonly rev: v.NumberSchema<undefined>;
1442
+ readonly createdAt: v.NumberSchema<undefined>;
1443
+ readonly updatedAt: v.NumberSchema<undefined>;
1444
+ }, undefined>, undefined>;
1445
+ };
1446
+ };
1069
1447
  //# sourceMappingURL=initiative.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"initiative.d.ts","sourceRoot":"","sources":["../../src/routes/initiative.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAkB5B;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,wGAAwG;AACxG,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA"}
@@ -70,4 +70,33 @@ export const proceedInitiativePlanningContract = defineApiContract({
70
70
  requestBodySchema: ContractNoBody,
71
71
  responsesByStatusCode: { 200: initiativeSchema, ...errorResponses },
72
72
  });
73
+ // ---- Execution loop controls (slice 3) -------------------------------------
74
+ // Human controls over an executing initiative's loop. Each returns the updated initiative so
75
+ // the SPA patches its cache (the live `initiative` event carries the same entity). `null` is
76
+ // returned only when the block has no initiative (unchanged/no-op transitions still echo the
77
+ // current entity).
78
+ /** Pause an executing initiative — the loop stops spawning; in-flight tasks finish naturally. */
79
+ export const pauseInitiativeContract = defineApiContract({
80
+ method: 'post',
81
+ requestPathParamsSchema: blockIdParams,
82
+ pathResolver: ({ blockId }) => `/blocks/${blockId}/initiative/pause`,
83
+ requestBodySchema: ContractNoBody,
84
+ responsesByStatusCode: { 200: v.nullable(initiativeSchema), ...errorResponses },
85
+ });
86
+ /** Resume a paused initiative back to executing (the next sweep picks it up). */
87
+ export const resumeInitiativeContract = defineApiContract({
88
+ method: 'post',
89
+ requestPathParamsSchema: blockIdParams,
90
+ pathResolver: ({ blockId }) => `/blocks/${blockId}/initiative/resume`,
91
+ requestBodySchema: ContractNoBody,
92
+ responsesByStatusCode: { 200: v.nullable(initiativeSchema), ...errorResponses },
93
+ });
94
+ /** Cancel an initiative — the loop stops spawning further work (in-flight tasks are left to finish). */
95
+ export const cancelInitiativeContract = defineApiContract({
96
+ method: 'post',
97
+ requestPathParamsSchema: blockIdParams,
98
+ pathResolver: ({ blockId }) => `/blocks/${blockId}/initiative/cancel`,
99
+ requestBodySchema: ContractNoBody,
100
+ responsesByStatusCode: { 200: v.nullable(initiativeSchema), ...errorResponses },
101
+ });
73
102
  //# sourceMappingURL=initiative.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"initiative.js","sourceRoot":"","sources":["../../src/routes/initiative.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EACL,8BAA8B,EAC9B,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,+EAA+E;AAC/E,sEAAsE;AACtE,uBAAuB;AACvB,8EAA8E;AAE9E,MAAM,kBAAkB,GAAG,iBAAiB,CAAC,cAAc,CAAC,CAAA;AAC5D,MAAM,aAAa,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAA;AAElD;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACxD,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,GAAG,EAAE,CAAC,cAAc;IAClC,iBAAiB,EAAE,sBAAsB;IACzC,qBAAqB,EAAE;QACrB,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,gBAAgB,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC;QACnE,GAAG,cAAc;KAClB;CACF,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACvD,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,GAAG,EAAE,CAAC,cAAc;IAClC,qBAAqB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,EAAE,GAAG,cAAc,EAAE;CAC7E,CAAC,CAAA;AAEF,MA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AAW,OAAO,oBAAoB;IACrE,iBAAiB,EAAE,cAAc;IACjC,qBAAqB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,GAAG,cAAc,EAAE;CAChF,CAAC,CAAA;AAEF,wGAAwG;AACxG,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACxD,MAAM,EAAE,MAAM;IACd,uBAAuB,EAAE,aAAa;IACtC,YAAY,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,WAAW,OAAO,oBAAoB;IACrE,iBAAiB,EAAE,cAAc;IACjC,qBAAqB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,GAAG,cAAc,EAAE;CAChF,CAAC,CAAA"}
@@ -28,7 +28,7 @@ export declare const listNotificationsContract: {
28
28
  }, undefined>;
29
29
  readonly 200: v.ArraySchema<v.ObjectSchema<{
30
30
  readonly id: v.StringSchema<undefined>;
31
- readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending"], undefined>;
31
+ readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>;
32
32
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
33
33
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
34
34
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -60,6 +60,7 @@ export declare const listNotificationsContract: {
60
60
  }, undefined>, undefined>, undefined>;
61
61
  readonly revertUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
62
62
  readonly targetUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
63
+ readonly initiativeReason: v.OptionalSchema<v.PicklistSchema<["item_blocked", "complete"], undefined>, undefined>;
63
64
  }, undefined>, undefined>, undefined>;
64
65
  readonly createdAt: v.NumberSchema<undefined>;
65
66
  readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
@@ -100,7 +101,7 @@ export declare const actNotificationContract: {
100
101
  }, undefined>;
101
102
  readonly 200: v.ObjectSchema<{
102
103
  readonly id: v.StringSchema<undefined>;
103
- readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending"], undefined>;
104
+ readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>;
104
105
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
105
106
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
106
107
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -132,6 +133,7 @@ export declare const actNotificationContract: {
132
133
  }, undefined>, undefined>, undefined>;
133
134
  readonly revertUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
134
135
  readonly targetUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
136
+ readonly initiativeReason: v.OptionalSchema<v.PicklistSchema<["item_blocked", "complete"], undefined>, undefined>;
135
137
  }, undefined>, undefined>, undefined>;
136
138
  readonly createdAt: v.NumberSchema<undefined>;
137
139
  readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
@@ -172,7 +174,7 @@ export declare const dismissNotificationContract: {
172
174
  }, undefined>;
173
175
  readonly 200: v.ObjectSchema<{
174
176
  readonly id: v.StringSchema<undefined>;
175
- readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending"], undefined>;
177
+ readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>;
176
178
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
177
179
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
178
180
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -204,6 +206,7 @@ export declare const dismissNotificationContract: {
204
206
  }, undefined>, undefined>, undefined>;
205
207
  readonly revertUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
206
208
  readonly targetUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
209
+ readonly initiativeReason: v.OptionalSchema<v.PicklistSchema<["item_blocked", "complete"], undefined>, undefined>;
207
210
  }, undefined>, undefined>, undefined>;
208
211
  readonly createdAt: v.NumberSchema<undefined>;
209
212
  readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/routes/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
1
+ {"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/routes/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
@@ -41,6 +41,7 @@ export declare const listSchedulesContract: {
41
41
  readonly windowEndHour: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 23, undefined>]>, undefined>;
42
42
  readonly timezone: v.StringSchema<undefined>;
43
43
  }, undefined>;
44
+ readonly onDemand: v.BooleanSchema<undefined>;
44
45
  readonly enabled: v.BooleanSchema<undefined>;
45
46
  readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
46
47
  readonly nextRunAt: v.NumberSchema<undefined>;
@@ -56,13 +57,14 @@ export declare const createScheduleContract: {
56
57
  readonly pipelineId: v.StringSchema<undefined>;
57
58
  readonly template: v.OptionalSchema<v.PicklistSchema<["dep-update", "tech-debt", "custom"], undefined>, "custom">;
58
59
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
59
- readonly recurrence: v.ObjectSchema<{
60
+ readonly recurrence: v.OptionalSchema<v.ObjectSchema<{
60
61
  readonly intervalHours: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>;
61
62
  readonly weekdays: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 6, undefined>]>, undefined>;
62
63
  readonly windowStartHour: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 23, undefined>]>, undefined>;
63
64
  readonly windowEndHour: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 23, undefined>]>, undefined>;
64
65
  readonly timezone: v.StringSchema<undefined>;
65
- }, undefined>;
66
+ }, undefined>, undefined>;
67
+ readonly onDemand: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
66
68
  readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
67
69
  readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
68
70
  }, undefined>;
@@ -104,6 +106,7 @@ export declare const createScheduleContract: {
104
106
  readonly windowEndHour: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 23, undefined>]>, undefined>;
105
107
  readonly timezone: v.StringSchema<undefined>;
106
108
  }, undefined>;
109
+ readonly onDemand: v.BooleanSchema<undefined>;
107
110
  readonly enabled: v.BooleanSchema<undefined>;
108
111
  readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
109
112
  readonly nextRunAt: v.NumberSchema<undefined>;
@@ -169,6 +172,7 @@ export declare const updateScheduleContract: {
169
172
  readonly windowEndHour: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 23, undefined>]>, undefined>;
170
173
  readonly timezone: v.StringSchema<undefined>;
171
174
  }, undefined>;
175
+ readonly onDemand: v.BooleanSchema<undefined>;
172
176
  readonly enabled: v.BooleanSchema<undefined>;
173
177
  readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
174
178
  readonly nextRunAt: v.NumberSchema<undefined>;
@@ -299,6 +303,7 @@ export declare const runScheduleNowContract: {
299
303
  readonly windowEndHour: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 23, undefined>]>, undefined>;
300
304
  readonly timezone: v.StringSchema<undefined>;
301
305
  }, undefined>;
306
+ readonly onDemand: v.BooleanSchema<undefined>;
302
307
  readonly enabled: v.BooleanSchema<undefined>;
303
308
  readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
304
309
  readonly nextRunAt: v.NumberSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"recurring.d.ts","sourceRoot":"","sources":["../../src/routes/recurring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmB5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA"}
1
+ {"version":3,"file":"recurring.d.ts","sourceRoot":"","sources":["../../src/routes/recurring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmB5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA"}
@@ -200,7 +200,7 @@ export declare const getSlackSettingsContract: {
200
200
  }, undefined>;
201
201
  }, undefined>;
202
202
  readonly 200: v.ObjectSchema<{
203
- readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending"], undefined>, v.ObjectSchema<{
203
+ readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>, v.ObjectSchema<{
204
204
  readonly enabled: v.BooleanSchema<undefined>;
205
205
  readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
206
206
  }, undefined>, undefined>;
@@ -213,7 +213,7 @@ export declare const updateSlackSettingsContract: {
213
213
  readonly method: "put";
214
214
  readonly pathResolver: () => string;
215
215
  readonly requestBodySchema: v.ObjectSchema<{
216
- readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending"], undefined>, v.ObjectSchema<{
216
+ readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>, v.ObjectSchema<{
217
217
  readonly enabled: v.BooleanSchema<undefined>;
218
218
  readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
219
219
  }, undefined>, undefined>;
@@ -243,7 +243,7 @@ export declare const updateSlackSettingsContract: {
243
243
  }, undefined>;
244
244
  }, undefined>;
245
245
  readonly 200: v.ObjectSchema<{
246
- readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending"], undefined>, v.ObjectSchema<{
246
+ readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>, v.ObjectSchema<{
247
247
  readonly enabled: v.BooleanSchema<undefined>;
248
248
  readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
249
249
  }, undefined>, undefined>;
@@ -915,7 +915,7 @@ export declare const createWorkspaceContract: {
915
915
  }, undefined>, undefined>;
916
916
  readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
917
917
  readonly id: v.StringSchema<undefined>;
918
- readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending"], undefined>;
918
+ readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>;
919
919
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
920
920
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
921
921
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -947,6 +947,7 @@ export declare const createWorkspaceContract: {
947
947
  }, undefined>, undefined>, undefined>;
948
948
  readonly revertUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
949
949
  readonly targetUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
950
+ readonly initiativeReason: v.OptionalSchema<v.PicklistSchema<["item_blocked", "complete"], undefined>, undefined>;
950
951
  }, undefined>, undefined>, undefined>;
951
952
  readonly createdAt: v.NumberSchema<undefined>;
952
953
  readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
@@ -1011,6 +1012,7 @@ export declare const createWorkspaceContract: {
1011
1012
  readonly windowEndHour: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 23, undefined>]>, undefined>;
1012
1013
  readonly timezone: v.StringSchema<undefined>;
1013
1014
  }, undefined>;
1015
+ readonly onDemand: v.BooleanSchema<undefined>;
1014
1016
  readonly enabled: v.BooleanSchema<undefined>;
1015
1017
  readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
1016
1018
  readonly nextRunAt: v.NumberSchema<undefined>;
@@ -2061,7 +2063,7 @@ export declare const getWorkspaceContract: {
2061
2063
  }, undefined>, undefined>;
2062
2064
  readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2063
2065
  readonly id: v.StringSchema<undefined>;
2064
- readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending"], undefined>;
2066
+ readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>;
2065
2067
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
2066
2068
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
2067
2069
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -2093,6 +2095,7 @@ export declare const getWorkspaceContract: {
2093
2095
  }, undefined>, undefined>, undefined>;
2094
2096
  readonly revertUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2095
2097
  readonly targetUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2098
+ readonly initiativeReason: v.OptionalSchema<v.PicklistSchema<["item_blocked", "complete"], undefined>, undefined>;
2096
2099
  }, undefined>, undefined>, undefined>;
2097
2100
  readonly createdAt: v.NumberSchema<undefined>;
2098
2101
  readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
@@ -2157,6 +2160,7 @@ export declare const getWorkspaceContract: {
2157
2160
  readonly windowEndHour: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 23, undefined>]>, undefined>;
2158
2161
  readonly timezone: v.StringSchema<undefined>;
2159
2162
  }, undefined>;
2163
+ readonly onDemand: v.BooleanSchema<undefined>;
2160
2164
  readonly enabled: v.BooleanSchema<undefined>;
2161
2165
  readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
2162
2166
  readonly nextRunAt: v.NumberSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
package/dist/slack.d.ts CHANGED
@@ -30,7 +30,7 @@ export type SlackRoute = v.InferOutput<typeof slackRouteSchema>;
30
30
  * type absent from `routes`, disabled, or with an empty channel does not post.
31
31
  */
32
32
  export declare const slackNotificationSettingsSchema: v.ObjectSchema<{
33
- readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending"], undefined>, v.ObjectSchema<{
33
+ readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>, v.ObjectSchema<{
34
34
  readonly enabled: v.BooleanSchema<undefined>;
35
35
  /** A channel id (`C0123…`) or name (`#general`); empty = unrouted. */
36
36
  readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
@@ -83,7 +83,7 @@ export declare const connectSlackByTokenSchema: v.ObjectSchema<{
83
83
  export type ConnectSlackByTokenInput = v.InferOutput<typeof connectSlackByTokenSchema>;
84
84
  /** Replace a workspace's Slack notification routing. */
85
85
  export declare const updateSlackSettingsSchema: v.ObjectSchema<{
86
- readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending"], undefined>, v.ObjectSchema<{
86
+ readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>, v.ObjectSchema<{
87
87
  readonly enabled: v.BooleanSchema<undefined>;
88
88
  /** A channel id (`C0123…`) or name (`#general`); empty = unrouted. */
89
89
  readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
@@ -882,7 +882,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
882
882
  */
883
883
  readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
884
884
  readonly id: v.StringSchema<undefined>;
885
- readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending"], undefined>;
885
+ readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "initiative"], undefined>;
886
886
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
887
887
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
888
888
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -914,6 +914,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
914
914
  }, undefined>, undefined>, undefined>;
915
915
  readonly revertUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
916
916
  readonly targetUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
917
+ readonly initiativeReason: v.OptionalSchema<v.PicklistSchema<["item_blocked", "complete"], undefined>, undefined>;
917
918
  }, undefined>, undefined>, undefined>;
918
919
  readonly createdAt: v.NumberSchema<undefined>;
919
920
  readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
@@ -1013,6 +1014,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1013
1014
  readonly windowEndHour: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 23, undefined>]>, undefined>;
1014
1015
  readonly timezone: v.StringSchema<undefined>;
1015
1016
  }, undefined>;
1017
+ readonly onDemand: v.BooleanSchema<undefined>;
1016
1018
  readonly enabled: v.BooleanSchema<undefined>;
1017
1019
  readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
1018
1020
  readonly nextRunAt: v.NumberSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA6B5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;IAEH;;;;;;;;OAQG;;;;;IAOH;;;OAGG;;;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;IAEH;;;OAGG;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;IAGH;;;;OAIG;;;;;;;;;;;;;IAEH;;;;;;OAMG;;;;;;;;;;;;;IAEH;;;;;;;;;OASG;;;;QA3HH;;;;;WAKG;;;;;;QALH;;;;;WAKG;;;IAyHH;;;;;;;OAOG;;IAEH;;;;;;;OAOG;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/contracts",
3
- "version": "0.90.0",
3
+ "version": "0.92.0",
4
4
  "description": "Valibot wire contract shared between the Agent Architecture Board frontend and backend.",
5
5
  "repository": {
6
6
  "type": "git",