@cat-factory/contracts 0.165.0 → 0.167.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/entities.d.ts +7 -0
  2. package/dist/entities.d.ts.map +1 -1
  3. package/dist/entities.js +7 -0
  4. package/dist/entities.js.map +1 -1
  5. package/dist/index.d.ts +1 -0
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +1 -0
  8. package/dist/index.js.map +1 -1
  9. package/dist/merge.d.ts +289 -1
  10. package/dist/merge.d.ts.map +1 -1
  11. package/dist/merge.js +60 -0
  12. package/dist/merge.js.map +1 -1
  13. package/dist/mergeTrackRecord.d.ts +183 -0
  14. package/dist/mergeTrackRecord.d.ts.map +1 -0
  15. package/dist/mergeTrackRecord.js +251 -0
  16. package/dist/mergeTrackRecord.js.map +1 -0
  17. package/dist/notification-webhooks.d.ts +5 -3
  18. package/dist/notification-webhooks.d.ts.map +1 -1
  19. package/dist/notifications.d.ts +42 -3
  20. package/dist/notifications.d.ts.map +1 -1
  21. package/dist/notifications.js +33 -1
  22. package/dist/notifications.js.map +1 -1
  23. package/dist/public-api.d.ts +3 -1
  24. package/dist/public-api.d.ts.map +1 -1
  25. package/dist/requests.d.ts +7 -0
  26. package/dist/requests.d.ts.map +1 -1
  27. package/dist/requests.js +1 -0
  28. package/dist/requests.js.map +1 -1
  29. package/dist/routes/board.d.ts +19 -0
  30. package/dist/routes/board.d.ts.map +1 -1
  31. package/dist/routes/execution.d.ts +5 -1
  32. package/dist/routes/execution.d.ts.map +1 -1
  33. package/dist/routes/execution.js +5 -1
  34. package/dist/routes/execution.js.map +1 -1
  35. package/dist/routes/index.d.ts +1 -0
  36. package/dist/routes/index.d.ts.map +1 -1
  37. package/dist/routes/index.js +1 -0
  38. package/dist/routes/index.js.map +1 -1
  39. package/dist/routes/initiative.d.ts +1 -0
  40. package/dist/routes/initiative.d.ts.map +1 -1
  41. package/dist/routes/merge.d.ts +354 -0
  42. package/dist/routes/merge.d.ts.map +1 -1
  43. package/dist/routes/mergeTrackRecord.d.ts +113 -0
  44. package/dist/routes/mergeTrackRecord.d.ts.map +1 -0
  45. package/dist/routes/mergeTrackRecord.js +33 -0
  46. package/dist/routes/mergeTrackRecord.js.map +1 -0
  47. package/dist/routes/notification-webhooks.d.ts +3 -3
  48. package/dist/routes/notifications.d.ts +12 -4
  49. package/dist/routes/notifications.d.ts.map +1 -1
  50. package/dist/routes/notifications.js +4 -2
  51. package/dist/routes/notifications.js.map +1 -1
  52. package/dist/routes/public-api.d.ts +9 -3
  53. package/dist/routes/public-api.d.ts.map +1 -1
  54. package/dist/routes/slack.d.ts +3 -3
  55. package/dist/routes/tasks.d.ts +3 -0
  56. package/dist/routes/tasks.d.ts.map +1 -1
  57. package/dist/routes/tracker.d.ts +3 -0
  58. package/dist/routes/tracker.d.ts.map +1 -1
  59. package/dist/routes/workspaces.d.ts +130 -2
  60. package/dist/routes/workspaces.d.ts.map +1 -1
  61. package/dist/slack.d.ts +2 -2
  62. package/dist/snapshot.d.ts +65 -1
  63. package/dist/snapshot.d.ts.map +1 -1
  64. package/dist/tracker.d.ts +12 -0
  65. package/dist/tracker.d.ts.map +1 -1
  66. package/dist/tracker.js +12 -0
  67. package/dist/tracker.js.map +1 -1
  68. package/package.json +1 -1
@@ -360,6 +360,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
360
360
  readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
361
361
  readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
362
362
  readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
363
+ readonly trackerQuestionsOnPark: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
363
364
  readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
364
365
  readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
365
366
  readonly accessDenied: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -1420,7 +1421,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1420
1421
  */
1421
1422
  readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1422
1423
  readonly id: v.StringSchema<undefined>;
1423
- 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", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
1424
+ 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", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift", "merge_tag_request"], undefined>;
1424
1425
  readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
1425
1426
  readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
1426
1427
  readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1466,6 +1467,8 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1466
1467
  readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
1467
1468
  readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
1468
1469
  }, undefined>, undefined>, undefined>;
1470
+ readonly changeClass: v.OptionalSchema<v.PicklistSchema<["docs", "test", "dependency", "config", "source", "schema", "unknown"], undefined>, undefined>;
1471
+ readonly mergeTrackRecordId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1469
1472
  }, undefined>, undefined>, undefined>;
1470
1473
  readonly createdAt: v.NumberSchema<undefined>;
1471
1474
  readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
@@ -1495,6 +1498,65 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1495
1498
  readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1496
1499
  readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
1497
1500
  }, undefined>, undefined>, undefined>;
1501
+ readonly classRules: Omit<v.StrictObjectSchema<{
1502
+ config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
1503
+ dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
1504
+ docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
1505
+ schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
1506
+ source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
1507
+ test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
1508
+ }, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
1509
+ readonly entries: {
1510
+ config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
1511
+ dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
1512
+ docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
1513
+ schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
1514
+ source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
1515
+ test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
1516
+ };
1517
+ readonly "~standard": v.StandardProps<{
1518
+ config?: "always" | "never" | "thresholds" | undefined;
1519
+ dependency?: "always" | "never" | "thresholds" | undefined;
1520
+ docs?: "always" | "never" | "thresholds" | undefined;
1521
+ schema?: "always" | "never" | "thresholds" | undefined;
1522
+ source?: "always" | "never" | "thresholds" | undefined;
1523
+ test?: "always" | "never" | "thresholds" | undefined;
1524
+ }, {
1525
+ config?: "always" | "never" | "thresholds" | undefined;
1526
+ dependency?: "always" | "never" | "thresholds" | undefined;
1527
+ docs?: "always" | "never" | "thresholds" | undefined;
1528
+ schema?: "always" | "never" | "thresholds" | undefined;
1529
+ source?: "always" | "never" | "thresholds" | undefined;
1530
+ test?: "always" | "never" | "thresholds" | undefined;
1531
+ }>;
1532
+ readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
1533
+ config?: "always" | "never" | "thresholds" | undefined;
1534
+ dependency?: "always" | "never" | "thresholds" | undefined;
1535
+ docs?: "always" | "never" | "thresholds" | undefined;
1536
+ schema?: "always" | "never" | "thresholds" | undefined;
1537
+ source?: "always" | "never" | "thresholds" | undefined;
1538
+ test?: "always" | "never" | "thresholds" | undefined;
1539
+ }, v.PicklistIssue | v.StrictObjectIssue>;
1540
+ readonly "~types"?: {
1541
+ readonly input: {
1542
+ config?: "always" | "never" | "thresholds" | undefined;
1543
+ dependency?: "always" | "never" | "thresholds" | undefined;
1544
+ docs?: "always" | "never" | "thresholds" | undefined;
1545
+ schema?: "always" | "never" | "thresholds" | undefined;
1546
+ source?: "always" | "never" | "thresholds" | undefined;
1547
+ test?: "always" | "never" | "thresholds" | undefined;
1548
+ };
1549
+ readonly output: {
1550
+ config?: "always" | "never" | "thresholds" | undefined;
1551
+ dependency?: "always" | "never" | "thresholds" | undefined;
1552
+ docs?: "always" | "never" | "thresholds" | undefined;
1553
+ schema?: "always" | "never" | "thresholds" | undefined;
1554
+ source?: "always" | "never" | "thresholds" | undefined;
1555
+ test?: "always" | "never" | "thresholds" | undefined;
1556
+ };
1557
+ readonly issue: v.PicklistIssue | v.StrictObjectIssue;
1558
+ } | undefined;
1559
+ };
1498
1560
  readonly isDefault: v.BooleanSchema<undefined>;
1499
1561
  readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1500
1562
  readonly createdAt: v.NumberSchema<undefined>;
@@ -1700,6 +1762,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
1700
1762
  readonly linearTeamId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1701
1763
  readonly writebackCommentOnPrOpen: v.BooleanSchema<undefined>;
1702
1764
  readonly writebackResolveOnMerge: v.BooleanSchema<undefined>;
1765
+ readonly writebackQuestionsOnPark: v.BooleanSchema<undefined>;
1703
1766
  readonly updatedAt: v.NumberSchema<undefined>;
1704
1767
  }, undefined>, undefined>;
1705
1768
  /**
@@ -2076,6 +2139,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
2076
2139
  readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2077
2140
  readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
2078
2141
  readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
2142
+ readonly trackerQuestionsOnPark: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
2079
2143
  readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2080
2144
  readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2081
2145
  readonly accessDenied: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqC5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAu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trackerResolveOnMerge`. Default off.
20
20
  */
21
21
  readonly writebackResolveOnMerge: v.BooleanSchema<undefined>;
22
+ /**
23
+ * Writeback: when a HEADLESS run's requirements review parks with open findings, post
24
+ * them — each with its stable finding id — as a comment on the task's linked tracker
25
+ * issue(s), so the loop is answerable from where the work was requested. Per-task
26
+ * overridable via `Block.trackerQuestionsOnPark`. Default off.
27
+ *
28
+ * Deliberately scoped to runs whose `ExecutionInstance.intakeOrigin` is `public-api`:
29
+ * a task started in the SPA has a human overseer in the app and its clarification
30
+ * surface is unchanged (see `docs/initiatives/headless-clarification-loop.md`).
31
+ */
32
+ readonly writebackQuestionsOnPark: v.BooleanSchema<undefined>;
22
33
  readonly updatedAt: v.NumberSchema<undefined>;
23
34
  }, undefined>;
24
35
  export type TrackerSettings = v.InferOutput<typeof trackerSettingsSchema>;
@@ -29,6 +40,7 @@ export declare const putTrackerSettingsSchema: v.ObjectSchema<{
29
40
  readonly linearTeamId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, undefined>, undefined>;
30
41
  readonly writebackCommentOnPrOpen: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
31
42
  readonly writebackResolveOnMerge: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
43
+ readonly writebackQuestionsOnPark: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
32
44
  }, undefined>;
33
45
  export type PutTrackerSettingsInput = v.InferOutput<typeof putTrackerSettingsSchema>;
34
46
  //# sourceMappingURL=tracker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tracker.d.ts","sourceRoot":"","sources":["../src/tracker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,iBAAiB,2DAA2C,CAAA;AACzE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAEjE,oFAAoF;AACpF,eAAO,MAAM,qBAAqB;;IAEhC,mFAAmF;;IAEnF,uEAAuE;;IAEvE;;;OAGG;;IAEH;;;;OAIG;;;aAGH,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE,iDAAiD;AACjD,eAAO,MAAM,wBAAwB;;;;;;aAMnC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
1
+ {"version":3,"file":"tracker.d.ts","sourceRoot":"","sources":["../src/tracker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,iBAAiB,2DAA2C,CAAA;AACzE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAEjE,oFAAoF;AACpF,eAAO,MAAM,qBAAqB;;IAEhC,mFAAmF;;IAEnF,uEAAuE;;IAEvE;;;OAGG;;IAEH;;;;OAIG;;IAEH;;;;;;;;;OASG;;;aAGH,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE,iDAAiD;AACjD,eAAO,MAAM,wBAAwB;;;;;;;aAOnC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
package/dist/tracker.js CHANGED
@@ -27,6 +27,17 @@ export const trackerSettingsSchema = v.object({
27
27
  * Per-task overridable via `Block.trackerResolveOnMerge`. Default off.
28
28
  */
29
29
  writebackResolveOnMerge: v.boolean(),
30
+ /**
31
+ * Writeback: when a HEADLESS run's requirements review parks with open findings, post
32
+ * them — each with its stable finding id — as a comment on the task's linked tracker
33
+ * issue(s), so the loop is answerable from where the work was requested. Per-task
34
+ * overridable via `Block.trackerQuestionsOnPark`. Default off.
35
+ *
36
+ * Deliberately scoped to runs whose `ExecutionInstance.intakeOrigin` is `public-api`:
37
+ * a task started in the SPA has a human overseer in the app and its clarification
38
+ * surface is unchanged (see `docs/initiatives/headless-clarification-loop.md`).
39
+ */
40
+ writebackQuestionsOnPark: v.boolean(),
30
41
  updatedAt: v.number(),
31
42
  });
32
43
  /** Set a workspace's issue-tracker selection. */
@@ -36,5 +47,6 @@ export const putTrackerSettingsSchema = v.object({
36
47
  linearTeamId: v.optional(v.nullable(v.pipe(v.string(), v.trim()))),
37
48
  writebackCommentOnPrOpen: v.optional(v.boolean()),
38
49
  writebackResolveOnMerge: v.optional(v.boolean()),
50
+ writebackQuestionsOnPark: v.optional(v.boolean()),
39
51
  });
40
52
  //# sourceMappingURL=tracker.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tracker.js","sourceRoot":"","sources":["../src/tracker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,8EAA8E;AAC9E,8EAA8E;AAC9E,gFAAgF;AAChF,yEAAyE;AACzE,kFAAkF;AAClF,0EAA0E;AAC1E,8EAA8E;AAC9E,oEAAoE;AACpE,8EAA8E;AAE9E,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAA;AAGzE,oFAAoF;AACpF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,iBAAiB,CAAC;IACtC,mFAAmF;IACnF,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,uEAAuE;IACvE,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACpC;;;OAGG;IACH,wBAAwB,EAAE,CAAC,CAAC,OAAO,EAAE;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0.165.0",
3
+ "version": "0.167.0",
4
4
  "description": "Valibot wire contract shared between the Agent Architecture Board frontend and backend.",
5
5
  "repository": {
6
6
  "type": "git",