@cat-factory/contracts 0.219.0 → 0.221.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.
Files changed (68) hide show
  1. package/dist/accountSettings.d.ts +75 -0
  2. package/dist/accountSettings.d.ts.map +1 -1
  3. package/dist/accountSettings.js +13 -0
  4. package/dist/accountSettings.js.map +1 -1
  5. package/dist/bug-hunt.d.ts +5 -5
  6. package/dist/execution.d.ts +74 -0
  7. package/dist/execution.d.ts.map +1 -1
  8. package/dist/execution.js +34 -0
  9. package/dist/execution.js.map +1 -1
  10. package/dist/localModels.d.ts +23 -0
  11. package/dist/localModels.d.ts.map +1 -1
  12. package/dist/localModels.js +29 -0
  13. package/dist/localModels.js.map +1 -1
  14. package/dist/notification-webhooks.d.ts +7 -0
  15. package/dist/notification-webhooks.d.ts.map +1 -1
  16. package/dist/notifications.d.ts +54 -10
  17. package/dist/notifications.d.ts.map +1 -1
  18. package/dist/notifications.js +24 -7
  19. package/dist/notifications.js.map +1 -1
  20. package/dist/observability.d.ts +230 -3
  21. package/dist/observability.d.ts.map +1 -1
  22. package/dist/observability.js +173 -2
  23. package/dist/observability.js.map +1 -1
  24. package/dist/public-api.d.ts +7 -0
  25. package/dist/public-api.d.ts.map +1 -1
  26. package/dist/recurring.d.ts +139 -4
  27. package/dist/recurring.d.ts.map +1 -1
  28. package/dist/recurring.js +47 -0
  29. package/dist/recurring.js.map +1 -1
  30. package/dist/reserved-env-keys.d.ts.map +1 -1
  31. package/dist/reserved-env-keys.js +2 -0
  32. package/dist/reserved-env-keys.js.map +1 -1
  33. package/dist/routes/accounts.d.ts +56 -2
  34. package/dist/routes/accounts.d.ts.map +1 -1
  35. package/dist/routes/agent-runs.d.ts +12 -0
  36. package/dist/routes/agent-runs.d.ts.map +1 -1
  37. package/dist/routes/auth.d.ts +82 -0
  38. package/dist/routes/auth.d.ts.map +1 -1
  39. package/dist/routes/auth.js +29 -0
  40. package/dist/routes/auth.js.map +1 -1
  41. package/dist/routes/bug-hunt.d.ts +17 -5
  42. package/dist/routes/bug-hunt.d.ts.map +1 -1
  43. package/dist/routes/execution.d.ts +48 -0
  44. package/dist/routes/execution.d.ts.map +1 -1
  45. package/dist/routes/human-review.d.ts +6 -0
  46. package/dist/routes/human-review.d.ts.map +1 -1
  47. package/dist/routes/human-test.d.ts +30 -0
  48. package/dist/routes/human-test.d.ts.map +1 -1
  49. package/dist/routes/localModels.d.ts +3 -0
  50. package/dist/routes/localModels.d.ts.map +1 -1
  51. package/dist/routes/notifications.d.ts +21 -0
  52. package/dist/routes/notifications.d.ts.map +1 -1
  53. package/dist/routes/public-api.d.ts +21 -0
  54. package/dist/routes/public-api.d.ts.map +1 -1
  55. package/dist/routes/recurring.d.ts +18 -6
  56. package/dist/routes/recurring.d.ts.map +1 -1
  57. package/dist/routes/tasks.d.ts +14 -14
  58. package/dist/routes/visual-confirm.d.ts +18 -0
  59. package/dist/routes/visual-confirm.d.ts.map +1 -1
  60. package/dist/routes/workspaces.d.ts +32 -2
  61. package/dist/routes/workspaces.d.ts.map +1 -1
  62. package/dist/snapshot.d.ts +16 -1
  63. package/dist/snapshot.d.ts.map +1 -1
  64. package/dist/tasks.d.ts +43 -12
  65. package/dist/tasks.d.ts.map +1 -1
  66. package/dist/tasks.js +40 -3
  67. package/dist/tasks.js.map +1 -1
  68. package/package.json +1 -1
@@ -334,8 +334,28 @@ export const agentSearchQuerySchema = v.object({
334
334
  // number is a SQL rollup over `agent_runs` behind the kernel `PlatformMetricsRepository`
335
335
  // port; this schema is the wire projection the admin dashboard renders.
336
336
  // ---------------------------------------------------------------------------
337
- /** The time window the dashboard aggregates over. */
338
- export const platformObservabilityWindowSchema = v.picklist(['1h', '24h', '7d']);
337
+ /**
338
+ * The time window the dashboard aggregates over. `1h`/`24h`/`7d` are scanned live off
339
+ * `agent_runs`; `30d`/`90d` are served from the DAILY ROLLUP table the retention sweep
340
+ * materialises, because a fine-grained scan over a quarter of run history is exactly the
341
+ * "load rows and reduce" cost the rollup exists to avoid. Which source answered is carried
342
+ * on the projection ({@link platformTrendSourceSchema}) rather than left to be inferred.
343
+ *
344
+ * The rollup-backed windows are INCLUSIVE of the day their start falls in, so a `30d` window
345
+ * covers 30 or 31 calendar days depending on the time of day it is read, where the live windows
346
+ * are exact to the millisecond. A day is the smallest bucket that table can answer, and dropping
347
+ * the partial oldest day would under-report it by more than including it over-reports; `since`
348
+ * on the projection is still the exact window start, so a reader is never told otherwise.
349
+ */
350
+ export const platformObservabilityWindowSchema = v.picklist(['1h', '24h', '7d', '30d', '90d']);
351
+ /**
352
+ * Where a window's outcome totals, trend and failure taxonomy came from: a live scan of
353
+ * `agent_runs` (`runs`) or the daily rollup table (`daily-rollup`). Reported rather than
354
+ * derived from the window, so a reader never has to know the routing table to know what it
355
+ * is looking at, and so a rollup that has not run yet reads as missing data rather than as
356
+ * a quiet deployment (see `rolledUpThrough`).
357
+ */
358
+ export const platformTrendSourceSchema = v.picklist(['runs', 'daily-rollup']);
339
359
  /** Run-outcome totals over the window (each a status bucket, plus the derived success rate). */
340
360
  export const platformOutcomeTotalsSchema = v.object({
341
361
  /** All runs created in the window. */
@@ -365,6 +385,44 @@ export const platformFailureSliceSchema = v.object({
365
385
  kind: v.string(),
366
386
  count: v.number(),
367
387
  });
388
+ /**
389
+ * One gate kind's attempt statistics over the window: the operator view of the
390
+ * precheck-or-escalate loop that `ci` / `conflicts` / `post-release-health` (and a
391
+ * deployment's own gates) run. Folded from the `gate_outcomes` projection, one row of which
392
+ * is written when a gate SETTLES; the per-round detail stays on the run's `step.gate`.
393
+ *
394
+ * The numbers answer three different operator questions that a bare attempt count conflates:
395
+ * how often the gate is satisfied with nothing spun up ({@link cleanPasses}, the whole point
396
+ * of a precheck-first gate), how much helper-agent work the deployment is spending
397
+ * ({@link attempts}), and how often that work runs out without fixing anything
398
+ * ({@link exhausted}, the human hand-off).
399
+ */
400
+ export const platformGateStatSchema = v.object({
401
+ /** The gate step's agent kind (`ci` / `conflicts` / `post-release-health` / a custom one). */
402
+ gateKind: v.string(),
403
+ /** The helper agent this gate escalates to (`ci-fixer` / …), or null when it has none. */
404
+ helperKind: v.nullable(v.string()),
405
+ /** Gate steps that reached a terminal verdict in the window. */
406
+ gates: v.number(),
407
+ /** Of those, how many the precheck ultimately passed. */
408
+ passed: v.number(),
409
+ /** Of those, how many spent the attempt budget and handed off to a human. */
410
+ exhausted: v.number(),
411
+ /**
412
+ * Gates that passed WITHOUT dispatching a helper at all. Reported separately from
413
+ * {@link passed} because "the gate was green on the first look" and "the fixer got it green
414
+ * on the third try" are the same `passed` and completely different platform health.
415
+ */
416
+ cleanPasses: v.number(),
417
+ /** Helper-agent dispatches across every gate of this kind (the CI-fixer attempt count). */
418
+ attempts: v.number(),
419
+ /**
420
+ * Helper dispatches whose own job FAILED (as opposed to finishing and leaving the precheck
421
+ * still red). Kept apart because a fixer that keeps crashing is a platform fault, while a
422
+ * fixer that runs clean and cannot fix the build is a product one.
423
+ */
424
+ helperFailures: v.number(),
425
+ });
368
426
  /** The complete deployment-health projection the admin dashboard renders. */
369
427
  export const platformObservabilitySchema = v.object({
370
428
  window: platformObservabilityWindowSchema,
@@ -373,6 +431,29 @@ export const platformObservabilitySchema = v.object({
373
431
  /** Start of the window (epoch ms) — `generatedAt - window`. */
374
432
  since: v.number(),
375
433
  outcomes: platformOutcomeTotalsSchema,
434
+ /**
435
+ * Which store answered the outcome totals, trend and failure taxonomy for this window.
436
+ * `runs` = a live scan of `agent_runs`; `daily-rollup` = the pre-aggregated daily table.
437
+ */
438
+ source: platformTrendSourceSchema,
439
+ /**
440
+ * On a `daily-rollup` window: the newest day (epoch ms, UTC midnight) the rollup SWEEP has
441
+ * covered, or NULL when no pass has ever completed.
442
+ *
443
+ * Null is the whole reason this field exists. A rollup that has never run and a deployment
444
+ * that has never run anything both produce an empty series, and only one of them is a fact
445
+ * about the platform, so the reader is told which, rather than being shown 90 days of
446
+ * confident zeros. A value well behind `generatedAt` says the same thing more quietly: the
447
+ * sweep is behind, and the tail of the window is not missing work but missing data.
448
+ * Always null on a `runs` window, where there is no rollup in the path to be behind.
449
+ *
450
+ * It is the SWEEP's recorded coverage, not the newest rolled-up row, and DEPLOYMENT-wide
451
+ * rather than per account. Deriving it from the rows cannot support either reading above: an
452
+ * account idle for a fortnight and a wedged pass share a newest row, and an account created
453
+ * yesterday and a rollup that never ran share an absence. Both pairs call for opposite
454
+ * operator responses, so the number has to come from the thing being asked about.
455
+ */
456
+ rolledUpThrough: v.nullable(v.number()),
376
457
  trend: v.object({
377
458
  /** Width of each trend bucket (ms). */
378
459
  bucketMs: v.number(),
@@ -380,6 +461,13 @@ export const platformObservabilitySchema = v.object({
380
461
  }),
381
462
  /** Failure taxonomy over the window, most frequent first. */
382
463
  failures: v.array(platformFailureSliceSchema),
464
+ /**
465
+ * Gate attempt statistics over the window, busiest gate first. Always a live read of the
466
+ * `gate_outcomes` projection (it is small and not rolled up), so it is present on every
467
+ * window; EMPTY means no gate settled in the window, which on a `daily-rollup` window may
468
+ * simply mean the gate projection does not reach that far back.
469
+ */
470
+ gates: v.array(platformGateStatSchema),
383
471
  /** Live/parked run depth right now (a snapshot, not windowed). */
384
472
  live: v.object({
385
473
  running: v.number(),
@@ -447,6 +535,70 @@ export const platformAlertReasonSchema = v.picklist([
447
535
  'failure_kind_dominant',
448
536
  'sweep_degraded',
449
537
  ]);
538
+ /**
539
+ * The windows the ALERT sweep may evaluate over: the live-scanned subset of
540
+ * {@link platformObservabilityWindowSchema}. The rollup-backed `30d`/`90d` windows are
541
+ * deliberately excluded: an alert is a statement about NOW, and a threshold averaged over a
542
+ * quarter answers a question nobody pages on, while riding a table that is materialised at
543
+ * best hourly.
544
+ */
545
+ export const platformAlertWindowSchema = v.picklist(['1h', '24h', '7d']);
546
+ /**
547
+ * Operator-tunable ceilings for the platform-health alert sweep. EVERY field is optional and
548
+ * an absent one INHERITS the deployment's env-derived default rather than meaning zero. The
549
+ * distinction matters here more than most places, because a zero is a live threshold in this
550
+ * vocabulary ("alert on silence even in an idle window") and would page instantly.
551
+ *
552
+ * The bounds mirror the env parser's clamps (`resolvePlatformAlertConfig`), so a threshold
553
+ * typed into the settings panel is refused at the write boundary for the same reasons an
554
+ * env value is corrected at boot: a `stalledBuckets` of 0 makes "the last zero buckets were
555
+ * empty" trivially true, and a `maxFailureKindShare` of 0 is satisfied by any distribution.
556
+ */
557
+ export const platformAlertThresholdOverridesSchema = v.object({
558
+ /** Minimum terminal runs before the failure-rate + dominant-kind alerts can fire. */
559
+ minRuns: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1), v.maxValue(100_000))),
560
+ /** Run failure rate (0..1) at or above which `failure_rate_high` fires. */
561
+ maxFailureRate: v.optional(v.pipe(v.number(), v.minValue(0), v.maxValue(1))),
562
+ /** p99 wall-clock run duration (ms) at or above which `duration_p99_high` fires. */
563
+ maxP99DurationMs: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1), v.maxValue(30 * 24 * 60 * 60_000))),
564
+ /** Live running/blocked/paused/pending depth at or above which `backlog_high` fires. */
565
+ maxBacklog: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1), v.maxValue(1_000_000))),
566
+ /** Trailing empty trend buckets before `throughput_stalled` can fire. */
567
+ stalledBuckets: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1), v.maxValue(1_000))),
568
+ /**
569
+ * Runs the earlier part of the window must have carried before a stall counts. `0` is a
570
+ * meaningful setting ("this deployment should never be quiet"), which is why the floor here
571
+ * is 0 and not 1, unlike every other count in this object.
572
+ */
573
+ minStalledPriorRuns: v.optional(v.pipe(v.number(), v.integer(), v.minValue(0), v.maxValue(1_000_000))),
574
+ /**
575
+ * Share (0..1] of the window's failures one kind must reach for `failure_kind_dominant`.
576
+ * The floor excludes 0 on its own (a share of 0 is satisfied by any distribution, so it would
577
+ * page constantly), which is why there is no separate `notValue(0)` beside it.
578
+ */
579
+ maxFailureKindShare: v.optional(v.pipe(v.number(), v.minValue(Number.EPSILON), v.maxValue(1))),
580
+ /** Consecutive failed passes of one sweeper before `sweep_degraded` fires. */
581
+ maxSweepFailures: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1), v.maxValue(10_000))),
582
+ });
583
+ /**
584
+ * An account's stored platform-health alert settings: the settings-UI half of the alert
585
+ * config, layered over the deployment's env-derived defaults so an operator can retune a
586
+ * threshold without a redeploy.
587
+ *
588
+ * `enabled` can only turn the account's alerts OFF, never on: the env switch
589
+ * (`PLATFORM_ALERTS`) decides whether the SWEEP RUNS AT ALL on this deployment, and no stored
590
+ * row can start a timer that was never started. Saying so here rather than pretending the
591
+ * setting is symmetric is what keeps the panel from offering a toggle that silently does
592
+ * nothing on a deployment that never opted in.
593
+ */
594
+ export const platformAlertSettingsSchema = v.object({
595
+ /** `false` mutes this account's alerts. Absent ⇒ follow the deployment switch. */
596
+ enabled: v.optional(v.boolean()),
597
+ /** The window each condition is evaluated over. Absent ⇒ the deployment default. */
598
+ window: v.optional(platformAlertWindowSchema),
599
+ /** Per-condition ceilings; each absent field inherits the deployment default. */
600
+ thresholds: v.optional(platformAlertThresholdOverridesSchema),
601
+ });
450
602
  /** One fired platform-health alert: the tripped condition, its observed value + threshold. */
451
603
  export const platformAlertSchema = v.object({
452
604
  reason: platformAlertReasonSchema,
@@ -455,4 +607,23 @@ export const platformAlertSchema = v.object({
455
607
  /** The configured threshold it crossed (same unit as {@link value}). */
456
608
  threshold: v.number(),
457
609
  });
610
+ /**
611
+ * One failed run behind a `platform_health` card, so the alert deep-links to the EVIDENCE
612
+ * rather than only to the dashboard. Carried on the notification payload, always scoped to
613
+ * the card's own workspace (a card in one workspace must never link into another's run).
614
+ *
615
+ * Captured at the moment the firing set CHANGES, not refreshed every sweep: the payload is
616
+ * the card's dedup identity, so a list that churned with each new failure would re-deliver
617
+ * the alert (and re-toast the inbox) for the entire length of an incident.
618
+ */
619
+ export const platformFailingRunSchema = v.object({
620
+ /** The run id, which is what the SPA opens. */
621
+ executionId: v.string(),
622
+ /** The block the run belongs to, so the SPA can reveal it on the board. Null if unset. */
623
+ blockId: v.nullable(v.string()),
624
+ /** The run's `failure.kind` (or `unknown`): why this one is in the list. */
625
+ failureKind: v.string(),
626
+ /** When the run was created (epoch ms). */
627
+ createdAt: v.number(),
628
+ });
458
629
  //# sourceMappingURL=observability.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"observability.js","sourceRoot":"","sources":["../src/observability.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AAExD,gFAAgF;AAChF,+EAA+E;AAC/E,2EAA2E;AAC3E,iFAAiF;AACjF,oDAAoD;AAEpD,gFAAgF;AAChF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,0CAA0C;IAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;IACtB;;;;;OAKG;IACH,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,EAAE,CAAC;IACjC;;;OAGG;IACH,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,IAAI,CAAC;IACnD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,0EAA0E;IAC1E,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IAC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AAG,CAAC,CAAC,MAAM,CAAC;IAC/C,+CAA+C;IAC/C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,0FAA0F;IAC1F,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC/B,4EAA4E;IAC5E,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,2CAA2C;IAC3C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAA"}
@@ -390,6 +390,13 @@ export declare const publicNotificationListSchema: v.ObjectSchema<{
390
390
  readonly unmergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
391
391
  readonly platformWindow: v.OptionalSchema<v.PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
392
392
  readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high", "throughput_stalled", "failure_kind_dominant", "sweep_degraded"], undefined>, undefined>, undefined>;
393
+ readonly platformFailingRuns: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
394
+ readonly executionId: v.StringSchema<undefined>;
395
+ readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
396
+ readonly failureKind: v.StringSchema<undefined>;
397
+ readonly createdAt: v.NumberSchema<undefined>;
398
+ }, undefined>, undefined>, undefined>;
399
+ readonly platformFailedTotal: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
393
400
  readonly unreachableAreas: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["ephemeralEnvironments", "agentExecutor", "binaryStorage"], undefined>, undefined>, undefined>;
394
401
  readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
395
402
  readonly source: v.StringSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAA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ACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAEvC,CAAA;AACF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAMvF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB;IAC/B;;;;;OAKG;;IAEH,iGAAiG;;;;IAIjG,6FAA6F;;;IAG7F;;;;OAIG;;IAEH,wCAAwC;;aAExC,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEvE;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB;IAClC,4FAA4F;;;IAG5F,6EAA6E;;IAE7E,oFAAoF;;IAEpF,uFAAuF;;aAEvF,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB;IAC5B,2EAA2E;;IAE3E,qEAAqE;;;QAxBrE,4FAA4F;;;QAG5F,6EAA6E;;QAE7E,oFAAoF;;QAEpF,uFAAuF;;;;QA1CvF;;;;;WAKG;;QAEH,iGAAiG;;;;QAIjG,6FAA6F;;;QAG7F;;;;WAIG;;QAEH,wCAAwC;;;aA2CxC,CAAA;AACF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
@@ -19,7 +19,7 @@ export type ScheduleTemplate = v.InferOutput<typeof scheduleTemplateSchema>;
19
19
  */
20
20
  export declare const issueIntakeConfigSchema: v.ObjectSchema<{
21
21
  /** Which connected task source the intake searches. */
22
- readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
22
+ readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
23
23
  /** The vendor's "board"/project scope; exactly the field for `source` is meaningful. */
24
24
  readonly board: v.ObjectSchema<{
25
25
  /** Jira project key, e.g. `PROJ`. */
@@ -28,6 +28,16 @@ export declare const issueIntakeConfigSchema: v.ObjectSchema<{
28
28
  readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
29
29
  /** GitHub repository as `owner/name`. */
30
30
  readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
31
+ /**
32
+ * A DEPLOYMENT-REGISTERED source's board scope, held opaquely: only that provider knows what
33
+ * its board id means, so the platform carries the string and never interprets it.
34
+ *
35
+ * Its own field rather than reusing a built-in's. The three above are named for the vendor
36
+ * whose provider reads them, so putting a registered source's id on one of them would hand a
37
+ * provider a scope belonging to a different tracker — silently, since every one of them is a
38
+ * plain string. A built-in source never sets this and a registered one never sets the others.
39
+ */
40
+ readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
31
41
  }, undefined>;
32
42
  /** Which open issues qualify. All present predicates must match. */
33
43
  readonly predicates: v.ObjectSchema<{
@@ -43,8 +53,43 @@ export declare const issueIntakeConfigSchema: v.ObjectSchema<{
43
53
  * has no native workflow status). Absent ⇒ `in-progress`.
44
54
  */
45
55
  readonly inProgressLabel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
56
+ /**
57
+ * What a WEBHOOK-pushed issue event that matches these predicates actually does. Absent ⇒
58
+ * `queue`, so every existing schedule is unchanged.
59
+ *
60
+ * - **`queue`** fires this schedule, and the run's `bug-intake` step drains the board
61
+ * oldest-first. The pushed issue is not necessarily the one picked up: intake is fair
62
+ * queueing and the webhook's job is to drain the queue promptly, not to reorder it. This is
63
+ * the right shape for a bug backlog, where WHICH bug is worked next is the platform's call.
64
+ * - **`per-ticket`** dispatches THAT ticket: it is imported, materialised as its own task
65
+ * under the schedule's frame, and started on the schedule's pipeline. This is the shape for
66
+ * tickets a human already triaged — a feature request enters the platform from the tracker
67
+ * it was filed in rather than through an API call.
68
+ *
69
+ * They are different enough to be a mode rather than a knob: `queue` reuses ONE block and
70
+ * competes for it, while `per-ticket` creates a block per ticket and never queues. A
71
+ * `per-ticket` config therefore requires `onDemand` (see `assertValidIssueIntake`), because a
72
+ * CADENCE tick has no triggering ticket and would otherwise silently fall back to draining the
73
+ * queue — the same rule under a different name.
74
+ */
75
+ readonly dispatch: v.OptionalSchema<v.PicklistSchema<["queue", "per-ticket"], undefined>, undefined>;
46
76
  }, undefined>;
47
77
  export type IssueIntakeConfig = v.InferOutput<typeof issueIntakeConfigSchema>;
78
+ /**
79
+ * Why a schedule's issue-intake configuration was refused, as `error.details.reason`.
80
+ *
81
+ * The backend does not localize prose, so a refusal that carried only its `message` would reach a
82
+ * non-English user as English. These are the machine-readable half the SPA maps to translated copy
83
+ * through an exhaustive `Record`, which is why the vocabulary lives HERE rather than as string
84
+ * literals at the throw site: both sides import the same union, and adding a member fails the SPA's
85
+ * typecheck until it has copy.
86
+ *
87
+ * Both members describe the same underlying rule (the two dispatch modes are exclusive) from the
88
+ * two directions an author can hit it, and they are kept apart because the fix differs: one is
89
+ * "make the schedule on-demand", the other is "pick a pipeline with no `bug-intake` step".
90
+ */
91
+ export declare const issueIntakeRefusalReasonSchema: v.PicklistSchema<["per_ticket_requires_on_demand", "per_ticket_conflicts_with_bug_intake"], undefined>;
92
+ export type IssueIntakeRefusalReason = v.InferOutput<typeof issueIntakeRefusalReasonSchema>;
48
93
  /**
49
94
  * How often a schedule fires and when it is allowed to. `intervalHours` is the
50
95
  * base cadence; `weekdays` (0=Sunday..6=Saturday; empty = every day) and the
@@ -106,7 +151,7 @@ export declare const pipelineScheduleSchema: v.ObjectSchema<{
106
151
  /** Issue-intake scope + predicates, for a pipeline with a `bug-intake` step. */
107
152
  readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
108
153
  /** Which connected task source the intake searches. */
109
- readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
154
+ readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
110
155
  /** The vendor's "board"/project scope; exactly the field for `source` is meaningful. */
111
156
  readonly board: v.ObjectSchema<{
112
157
  /** Jira project key, e.g. `PROJ`. */
@@ -115,6 +160,16 @@ export declare const pipelineScheduleSchema: v.ObjectSchema<{
115
160
  readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
116
161
  /** GitHub repository as `owner/name`. */
117
162
  readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
163
+ /**
164
+ * A DEPLOYMENT-REGISTERED source's board scope, held opaquely: only that provider knows what
165
+ * its board id means, so the platform carries the string and never interprets it.
166
+ *
167
+ * Its own field rather than reusing a built-in's. The three above are named for the vendor
168
+ * whose provider reads them, so putting a registered source's id on one of them would hand a
169
+ * provider a scope belonging to a different tracker — silently, since every one of them is a
170
+ * plain string. A built-in source never sets this and a registered one never sets the others.
171
+ */
172
+ readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
118
173
  }, undefined>;
119
174
  /** Which open issues qualify. All present predicates must match. */
120
175
  readonly predicates: v.ObjectSchema<{
@@ -130,6 +185,26 @@ export declare const pipelineScheduleSchema: v.ObjectSchema<{
130
185
  * has no native workflow status). Absent ⇒ `in-progress`.
131
186
  */
132
187
  readonly inProgressLabel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
188
+ /**
189
+ * What a WEBHOOK-pushed issue event that matches these predicates actually does. Absent ⇒
190
+ * `queue`, so every existing schedule is unchanged.
191
+ *
192
+ * - **`queue`** fires this schedule, and the run's `bug-intake` step drains the board
193
+ * oldest-first. The pushed issue is not necessarily the one picked up: intake is fair
194
+ * queueing and the webhook's job is to drain the queue promptly, not to reorder it. This is
195
+ * the right shape for a bug backlog, where WHICH bug is worked next is the platform's call.
196
+ * - **`per-ticket`** dispatches THAT ticket: it is imported, materialised as its own task
197
+ * under the schedule's frame, and started on the schedule's pipeline. This is the shape for
198
+ * tickets a human already triaged — a feature request enters the platform from the tracker
199
+ * it was filed in rather than through an API call.
200
+ *
201
+ * They are different enough to be a mode rather than a knob: `queue` reuses ONE block and
202
+ * competes for it, while `per-ticket` creates a block per ticket and never queues. A
203
+ * `per-ticket` config therefore requires `onDemand` (see `assertValidIssueIntake`), because a
204
+ * CADENCE tick has no triggering ticket and would otherwise silently fall back to draining the
205
+ * queue — the same rule under a different name.
206
+ */
207
+ readonly dispatch: v.OptionalSchema<v.PicklistSchema<["queue", "per-ticket"], undefined>, undefined>;
133
208
  }, undefined>, undefined>;
134
209
  readonly enabled: v.BooleanSchema<undefined>;
135
210
  readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
@@ -179,7 +254,7 @@ export declare const createScheduleSchema: v.ObjectSchema<{
179
254
  /** Issue-intake scope + predicates (required by Phase E's validation for a `bug-intake` pipeline). */
180
255
  readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
181
256
  /** Which connected task source the intake searches. */
182
- readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
257
+ readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
183
258
  /** The vendor's "board"/project scope; exactly the field for `source` is meaningful. */
184
259
  readonly board: v.ObjectSchema<{
185
260
  /** Jira project key, e.g. `PROJ`. */
@@ -188,6 +263,16 @@ export declare const createScheduleSchema: v.ObjectSchema<{
188
263
  readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
189
264
  /** GitHub repository as `owner/name`. */
190
265
  readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
266
+ /**
267
+ * A DEPLOYMENT-REGISTERED source's board scope, held opaquely: only that provider knows what
268
+ * its board id means, so the platform carries the string and never interprets it.
269
+ *
270
+ * Its own field rather than reusing a built-in's. The three above are named for the vendor
271
+ * whose provider reads them, so putting a registered source's id on one of them would hand a
272
+ * provider a scope belonging to a different tracker — silently, since every one of them is a
273
+ * plain string. A built-in source never sets this and a registered one never sets the others.
274
+ */
275
+ readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
191
276
  }, undefined>;
192
277
  /** Which open issues qualify. All present predicates must match. */
193
278
  readonly predicates: v.ObjectSchema<{
@@ -203,6 +288,26 @@ export declare const createScheduleSchema: v.ObjectSchema<{
203
288
  * has no native workflow status). Absent ⇒ `in-progress`.
204
289
  */
205
290
  readonly inProgressLabel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
291
+ /**
292
+ * What a WEBHOOK-pushed issue event that matches these predicates actually does. Absent ⇒
293
+ * `queue`, so every existing schedule is unchanged.
294
+ *
295
+ * - **`queue`** fires this schedule, and the run's `bug-intake` step drains the board
296
+ * oldest-first. The pushed issue is not necessarily the one picked up: intake is fair
297
+ * queueing and the webhook's job is to drain the queue promptly, not to reorder it. This is
298
+ * the right shape for a bug backlog, where WHICH bug is worked next is the platform's call.
299
+ * - **`per-ticket`** dispatches THAT ticket: it is imported, materialised as its own task
300
+ * under the schedule's frame, and started on the schedule's pipeline. This is the shape for
301
+ * tickets a human already triaged — a feature request enters the platform from the tracker
302
+ * it was filed in rather than through an API call.
303
+ *
304
+ * They are different enough to be a mode rather than a knob: `queue` reuses ONE block and
305
+ * competes for it, while `per-ticket` creates a block per ticket and never queues. A
306
+ * `per-ticket` config therefore requires `onDemand` (see `assertValidIssueIntake`), because a
307
+ * CADENCE tick has no triggering ticket and would otherwise silently fall back to draining the
308
+ * queue — the same rule under a different name.
309
+ */
310
+ readonly dispatch: v.OptionalSchema<v.PicklistSchema<["queue", "per-ticket"], undefined>, undefined>;
206
311
  }, undefined>, undefined>;
207
312
  readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
208
313
  /**
@@ -231,7 +336,7 @@ export declare const updateScheduleSchema: v.ObjectSchema<{
231
336
  /** New intake config, or null to clear it. Omitted ⇒ unchanged. */
232
337
  readonly issueIntake: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
233
338
  /** Which connected task source the intake searches. */
234
- readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
339
+ readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
235
340
  /** The vendor's "board"/project scope; exactly the field for `source` is meaningful. */
236
341
  readonly board: v.ObjectSchema<{
237
342
  /** Jira project key, e.g. `PROJ`. */
@@ -240,6 +345,16 @@ export declare const updateScheduleSchema: v.ObjectSchema<{
240
345
  readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
241
346
  /** GitHub repository as `owner/name`. */
242
347
  readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
348
+ /**
349
+ * A DEPLOYMENT-REGISTERED source's board scope, held opaquely: only that provider knows what
350
+ * its board id means, so the platform carries the string and never interprets it.
351
+ *
352
+ * Its own field rather than reusing a built-in's. The three above are named for the vendor
353
+ * whose provider reads them, so putting a registered source's id on one of them would hand a
354
+ * provider a scope belonging to a different tracker — silently, since every one of them is a
355
+ * plain string. A built-in source never sets this and a registered one never sets the others.
356
+ */
357
+ readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
243
358
  }, undefined>;
244
359
  /** Which open issues qualify. All present predicates must match. */
245
360
  readonly predicates: v.ObjectSchema<{
@@ -255,6 +370,26 @@ export declare const updateScheduleSchema: v.ObjectSchema<{
255
370
  * has no native workflow status). Absent ⇒ `in-progress`.
256
371
  */
257
372
  readonly inProgressLabel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
373
+ /**
374
+ * What a WEBHOOK-pushed issue event that matches these predicates actually does. Absent ⇒
375
+ * `queue`, so every existing schedule is unchanged.
376
+ *
377
+ * - **`queue`** fires this schedule, and the run's `bug-intake` step drains the board
378
+ * oldest-first. The pushed issue is not necessarily the one picked up: intake is fair
379
+ * queueing and the webhook's job is to drain the queue promptly, not to reorder it. This is
380
+ * the right shape for a bug backlog, where WHICH bug is worked next is the platform's call.
381
+ * - **`per-ticket`** dispatches THAT ticket: it is imported, materialised as its own task
382
+ * under the schedule's frame, and started on the schedule's pipeline. This is the shape for
383
+ * tickets a human already triaged — a feature request enters the platform from the tracker
384
+ * it was filed in rather than through an API call.
385
+ *
386
+ * They are different enough to be a mode rather than a knob: `queue` reuses ONE block and
387
+ * competes for it, while `per-ticket` creates a block per ticket and never queues. A
388
+ * `per-ticket` config therefore requires `onDemand` (see `assertValidIssueIntake`), because a
389
+ * CADENCE tick has no triggering ticket and would otherwise silently fall back to draining the
390
+ * queue — the same rule under a different name.
391
+ */
392
+ readonly dispatch: v.OptionalSchema<v.PicklistSchema<["queue", "per-ticket"], undefined>, undefined>;
258
393
  }, undefined>, undefined>, undefined>;
259
394
  readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
260
395
  }, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"recurring.d.ts","sourceRoot":"","sources":["../src/recurring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAkB5B;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,kFAKjC,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAI3E;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB;IAClC,uDAAuD;;IAEvD,wFAAwF;;QAEtF,qCA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sGAAsG;;QA5KtG,uDAAuD;;QAEvD,wFAAwF;;YAEtF,qCAAqC;;YAErC,6BAA6B;;YAE7B,yCAAyC;;YAEzC;;;;;;;;eAQG;;;QAGL,oEAAoE;;YAElE,qDAAqD;;YAErD,sDAAsD;;YAEtD,2FAA2F;;;QAG7F;;;WAGG;;QAEH;;;;;;;;;;;;;;;;;;WAkBG;;;;IA0HH;;;;OAIG;;aAEH,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAE5E,wDAAwD;AACxD,eAAO,MAAM,oBAAoB;;;;;QAhG/B,qDAAqD;;QAErD,qFAAqF;;QAErF,mFAAmF;;QAEnF,6DAA6D;;;IA8F7D,mEAAmE;;QA7LnE,uDAAuD;;QAEvD,wFAAwF;;YAEtF,qCAAqC;;YAErC,6BAA6B;;YAE7B,yCAAyC;;YAEzC;;;;;;;;eAQG;;;QAGL,oEAAoE;;YAElE,qDAAqD;;YAErD,sDAAsD;;YAEtD,2FAA2F;;;QAG7F;;;WAGG;;QAEH;;;;;;;;;;;;;;;;;;WAkBG;;;;aA2IH,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
package/dist/recurring.js CHANGED
@@ -48,6 +48,16 @@ export const issueIntakeConfigSchema = v.object({
48
48
  linearTeamId: v.optional(intakePredicateStringSchema),
49
49
  /** GitHub repository as `owner/name`. */
50
50
  githubRepo: v.optional(intakePredicateStringSchema),
51
+ /**
52
+ * A DEPLOYMENT-REGISTERED source's board scope, held opaquely: only that provider knows what
53
+ * its board id means, so the platform carries the string and never interprets it.
54
+ *
55
+ * Its own field rather than reusing a built-in's. The three above are named for the vendor
56
+ * whose provider reads them, so putting a registered source's id on one of them would hand a
57
+ * provider a scope belonging to a different tracker — silently, since every one of them is a
58
+ * plain string. A built-in source never sets this and a registered one never sets the others.
59
+ */
60
+ boardId: v.optional(intakePredicateStringSchema),
51
61
  }),
52
62
  /** Which open issues qualify. All present predicates must match. */
53
63
  predicates: v.object({
@@ -63,7 +73,44 @@ export const issueIntakeConfigSchema = v.object({
63
73
  * has no native workflow status). Absent ⇒ `in-progress`.
64
74
  */
65
75
  inProgressLabel: v.optional(intakePredicateStringSchema),
76
+ /**
77
+ * What a WEBHOOK-pushed issue event that matches these predicates actually does. Absent ⇒
78
+ * `queue`, so every existing schedule is unchanged.
79
+ *
80
+ * - **`queue`** fires this schedule, and the run's `bug-intake` step drains the board
81
+ * oldest-first. The pushed issue is not necessarily the one picked up: intake is fair
82
+ * queueing and the webhook's job is to drain the queue promptly, not to reorder it. This is
83
+ * the right shape for a bug backlog, where WHICH bug is worked next is the platform's call.
84
+ * - **`per-ticket`** dispatches THAT ticket: it is imported, materialised as its own task
85
+ * under the schedule's frame, and started on the schedule's pipeline. This is the shape for
86
+ * tickets a human already triaged — a feature request enters the platform from the tracker
87
+ * it was filed in rather than through an API call.
88
+ *
89
+ * They are different enough to be a mode rather than a knob: `queue` reuses ONE block and
90
+ * competes for it, while `per-ticket` creates a block per ticket and never queues. A
91
+ * `per-ticket` config therefore requires `onDemand` (see `assertValidIssueIntake`), because a
92
+ * CADENCE tick has no triggering ticket and would otherwise silently fall back to draining the
93
+ * queue — the same rule under a different name.
94
+ */
95
+ dispatch: v.optional(v.picklist(['queue', 'per-ticket'])),
66
96
  });
97
+ /**
98
+ * Why a schedule's issue-intake configuration was refused, as `error.details.reason`.
99
+ *
100
+ * The backend does not localize prose, so a refusal that carried only its `message` would reach a
101
+ * non-English user as English. These are the machine-readable half the SPA maps to translated copy
102
+ * through an exhaustive `Record`, which is why the vocabulary lives HERE rather than as string
103
+ * literals at the throw site: both sides import the same union, and adding a member fails the SPA's
104
+ * typecheck until it has copy.
105
+ *
106
+ * Both members describe the same underlying rule (the two dispatch modes are exclusive) from the
107
+ * two directions an author can hit it, and they are kept apart because the fix differs: one is
108
+ * "make the schedule on-demand", the other is "pick a pipeline with no `bug-intake` step".
109
+ */
110
+ export const issueIntakeRefusalReasonSchema = v.picklist([
111
+ 'per_ticket_requires_on_demand',
112
+ 'per_ticket_conflicts_with_bug_intake',
113
+ ]);
67
114
  const hourOfDaySchema = v.pipe(v.number(), v.integer(), v.minValue(0), v.maxValue(23));
68
115
  const weekdaySchema = v.pipe(v.number(), v.integer(), v.minValue(0), v.maxValue(6));
69
116
  /**