agent-dealer 1.2.6 → 1.2.8

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 (96) hide show
  1. package/bundle/server/dist/adapters/agent-deck-bind.js +16 -6
  2. package/bundle/server/dist/adapters/agent-deck-bind.test.js +74 -0
  3. package/bundle/server/dist/adapters/agent-health.js +14 -3
  4. package/bundle/server/dist/adapters/github.js +4 -1
  5. package/bundle/server/dist/adapters/muse-capability.js +443 -24
  6. package/bundle/server/dist/adapters/muse-capability.test.js +469 -25
  7. package/bundle/server/dist/adapters/muse-visual-qa.js +114 -0
  8. package/bundle/server/dist/adapters/muse-visual-qa.test.js +68 -0
  9. package/bundle/server/dist/capacity/muse-probe.js +56 -9
  10. package/bundle/server/dist/capacity/muse-probe.test.js +188 -1
  11. package/bundle/server/dist/coordinator/admission.js +14 -1
  12. package/bundle/server/dist/coordinator/admission.test.js +197 -4
  13. package/bundle/server/dist/coordinator/auto-merge.integration.test.js +276 -0
  14. package/bundle/server/dist/coordinator/auto-merge.js +39 -3
  15. package/bundle/server/dist/coordinator/commands.js +90 -5
  16. package/bundle/server/dist/coordinator/deck-outage.integration.test.js +4 -2
  17. package/bundle/server/dist/coordinator/developer-effect.js +79 -1
  18. package/bundle/server/dist/coordinator/execution-report.js +6 -0
  19. package/bundle/server/dist/coordinator/execution-report.test.js +7 -0
  20. package/bundle/server/dist/coordinator/failure-cause.js +64 -1
  21. package/bundle/server/dist/coordinator/failure-cause.test.js +92 -1
  22. package/bundle/server/dist/coordinator/failure-reason.js +7 -0
  23. package/bundle/server/dist/coordinator/failure-reason.test.js +14 -0
  24. package/bundle/server/dist/coordinator/human-resolution.js +17 -1
  25. package/bundle/server/dist/coordinator/merge-conflict-sync.js +647 -0
  26. package/bundle/server/dist/coordinator/merge-conflict-sync.test.js +121 -0
  27. package/bundle/server/dist/coordinator/muse-developer.integration.test.js +9 -4
  28. package/bundle/server/dist/coordinator/muse-spawn.js +122 -29
  29. package/bundle/server/dist/coordinator/muse-spawn.test.js +210 -0
  30. package/bundle/server/dist/coordinator/playbook-feedback.js +690 -0
  31. package/bundle/server/dist/coordinator/playbook-feedback.test.js +702 -0
  32. package/bundle/server/dist/coordinator/prompts-execution-contract.test.js +107 -0
  33. package/bundle/server/dist/coordinator/prompts.js +78 -2
  34. package/bundle/server/dist/coordinator/prompts.test.js +83 -0
  35. package/bundle/server/dist/coordinator/reflect-trigger.js +33 -169
  36. package/bundle/server/dist/coordinator/reflect-trigger.test.js +149 -200
  37. package/bundle/server/dist/coordinator/reviewer-effect.js +10 -1
  38. package/bundle/server/dist/coordinator/reviewer-result.js +6 -0
  39. package/bundle/server/dist/coordinator/routing.test.js +14 -0
  40. package/bundle/server/dist/coordinator/session-timeouts.js +30 -0
  41. package/bundle/server/dist/coordinator/usage-cap.integration.test.js +1 -1
  42. package/bundle/server/dist/coordinator/worker-loop.js +18 -4
  43. package/bundle/server/dist/db/index.js +5 -0
  44. package/bundle/server/dist/db/schema.sql +3 -0
  45. package/bundle/server/dist/docs-execution-analysis.test.js +1 -0
  46. package/bundle/server/dist/repository/artifacts-for-issue.js +3 -3
  47. package/bundle/server/dist/repository/human-actions.js +14 -0
  48. package/bundle/server/dist/repository/issues.js +29 -4
  49. package/bundle/server/dist/repository/worker-sessions.js +51 -2
  50. package/bundle/server/dist/routes/human-actions.js +10 -8
  51. package/bundle/server/dist/routes/issues-execution-contract.test.js +321 -0
  52. package/bundle/server/dist/routes/issues.js +19 -2
  53. package/bundle/server/dist/runners/muse-code-jsonl.js +106 -11
  54. package/bundle/server/dist/runners/muse-config-core.js +18 -1
  55. package/bundle/server/dist/runners/muse-config.test.js +37 -0
  56. package/bundle/server/dist/runners/muse-serve-session.js +5 -0
  57. package/bundle/server/dist/runners/spawn-cli.js +116 -0
  58. package/bundle/server/dist/runners/spawn-cli.test.js +124 -0
  59. package/bundle/server/package.json +2 -2
  60. package/bundle/server/static-ui/assets/index-B6SVCzMR.js +64 -0
  61. package/bundle/server/static-ui/assets/index-K_YcYkQU.css +1 -0
  62. package/bundle/server/static-ui/index.html +2 -2
  63. package/bundle/shared/dist/action-presentation.d.ts +51 -0
  64. package/bundle/shared/dist/action-presentation.js +280 -0
  65. package/bundle/shared/dist/action-presentation.test.d.ts +1 -0
  66. package/bundle/shared/dist/action-presentation.test.js +180 -0
  67. package/bundle/shared/dist/attempt-waste.d.ts +2 -2
  68. package/bundle/shared/dist/execution-analysis.d.ts +22 -22
  69. package/bundle/shared/dist/execution-contract.d.ts +117 -0
  70. package/bundle/shared/dist/execution-contract.js +307 -0
  71. package/bundle/shared/dist/execution-contract.test.d.ts +2 -0
  72. package/bundle/shared/dist/execution-contract.test.js +499 -0
  73. package/bundle/shared/dist/execution-report.d.ts +11 -11
  74. package/bundle/shared/dist/execution-report.js +2 -0
  75. package/bundle/shared/dist/failure-cause.d.ts +4 -4
  76. package/bundle/shared/dist/failure-cause.js +2 -0
  77. package/bundle/shared/dist/human-actions.d.ts +14 -14
  78. package/bundle/shared/dist/human-actions.js +9 -0
  79. package/bundle/shared/dist/index.d.ts +126 -124
  80. package/bundle/shared/dist/index.js +4 -0
  81. package/bundle/shared/dist/issues.d.ts +158 -28
  82. package/bundle/shared/dist/issues.js +8 -0
  83. package/bundle/shared/dist/issues.test.js +1 -0
  84. package/bundle/shared/dist/outbound-draft.d.ts +18 -18
  85. package/bundle/shared/dist/profile-snapshot.d.ts +2 -2
  86. package/bundle/shared/dist/usage-events.d.ts +2 -2
  87. package/bundle/shared/dist/worker-sessions.d.ts +16 -6
  88. package/bundle/shared/dist/worker-sessions.js +8 -0
  89. package/bundle/shared/dist/worker-sessions.test.js +1 -0
  90. package/bundle/shared/dist/workflow.d.ts +6 -6
  91. package/bundle/shared/dist/workflow.js +10 -0
  92. package/bundle/shared/dist/workflow.test.js +2 -0
  93. package/bundle/shared/package.json +1 -1
  94. package/package.json +1 -1
  95. package/bundle/server/static-ui/assets/index-BII-LgB8.css +0 -1
  96. package/bundle/server/static-ui/assets/index-CoDzZcsz.js +0 -60
@@ -15,10 +15,12 @@ export * from "./attempt-waste.js";
15
15
  export * from "./profile-snapshot.js";
16
16
  export * from "./workflow.js";
17
17
  export * from "./human-actions.js";
18
+ export * from "./action-presentation.js";
18
19
  export * from "./findings.js";
19
20
  export * from "./usage-events.js";
20
21
  export * from "./runtime-availability.js";
21
22
  export * from "./runtime-capacity.js";
23
+ export * from "./execution-contract.js";
22
24
  export * from "./queue-entries.js";
23
25
  export * from "./execution-analysis.js";
24
26
  export * from "./execution-report.js";
@@ -26,7 +28,7 @@ export declare const RunStatus: z.ZodEnum<["queued", "plan_pending", "plan_appro
26
28
  export type RunStatus = z.infer<typeof RunStatus>;
27
29
  export declare const TaskCategory: z.ZodEnum<["code", "communication", "email", "research", "content", "other"]>;
28
30
  export type TaskCategory = z.infer<typeof TaskCategory>;
29
- export declare const ArtifactKind: z.ZodEnum<["task_snapshot", "draft_plan", "approved_plan", "plan_triage", "plan_answers", "acceptance_criteria", "transcript", "stream_trace", "usage", "agent_session", "execution_result", "diff", "pr", "email_draft", "slack_draft", "service_draft", "document", "research_brief", "deliverable", "feedback", "playbook_patch", "reflect_status", "linear_sync", "send_receipt", "result_qa"]>;
31
+ export declare const ArtifactKind: z.ZodEnum<["task_snapshot", "draft_plan", "approved_plan", "plan_triage", "plan_answers", "acceptance_criteria", "transcript", "stream_trace", "usage", "agent_session", "execution_result", "diff", "pr", "email_draft", "slack_draft", "service_draft", "document", "research_brief", "deliverable", "feedback", "playbook_patch", "playbook_use_receipt", "deck_feedback_signal", "reflect_status", "linear_sync", "send_receipt", "result_qa"]>;
30
32
  export type ArtifactKind = z.infer<typeof ArtifactKind>;
31
33
  export declare const RunPhase: z.ZodEnum<["plan", "execute", "reflect", "qa"]>;
32
34
  export type RunPhase = z.infer<typeof RunPhase>;
@@ -538,13 +540,13 @@ export declare const Run: z.ZodObject<{
538
540
  deckName: string | null;
539
541
  playbookId: string | null;
540
542
  repo: string | null;
543
+ acceptanceCriteria: string | null;
544
+ description: string | null;
541
545
  title: string;
542
546
  source: "manual" | "linear";
543
547
  externalId: string | null;
544
548
  externalLabel: string | null;
545
- description: string | null;
546
- acceptanceCriteria: string | null;
547
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
549
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
548
550
  artifactWorkspace: string | null;
549
551
  agentName: string | null;
550
552
  planModel: string | null;
@@ -563,13 +565,13 @@ export declare const Run: z.ZodObject<{
563
565
  deckName: string | null;
564
566
  playbookId: string | null;
565
567
  repo: string | null;
568
+ acceptanceCriteria: string | null;
569
+ description: string | null;
566
570
  title: string;
567
571
  source: "manual" | "linear";
568
572
  externalId: string | null;
569
573
  externalLabel: string | null;
570
- description: string | null;
571
- acceptanceCriteria: string | null;
572
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
574
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
573
575
  artifactWorkspace: string | null;
574
576
  agentName: string | null;
575
577
  planModel: string | null;
@@ -581,7 +583,7 @@ export type Run = z.infer<typeof Run>;
581
583
  export declare const Artifact: z.ZodObject<{
582
584
  id: z.ZodString;
583
585
  runId: z.ZodString;
584
- kind: z.ZodEnum<["task_snapshot", "draft_plan", "approved_plan", "plan_triage", "plan_answers", "acceptance_criteria", "transcript", "stream_trace", "usage", "agent_session", "execution_result", "diff", "pr", "email_draft", "slack_draft", "service_draft", "document", "research_brief", "deliverable", "feedback", "playbook_patch", "reflect_status", "linear_sync", "send_receipt", "result_qa"]>;
586
+ kind: z.ZodEnum<["task_snapshot", "draft_plan", "approved_plan", "plan_triage", "plan_answers", "acceptance_criteria", "transcript", "stream_trace", "usage", "agent_session", "execution_result", "diff", "pr", "email_draft", "slack_draft", "service_draft", "document", "research_brief", "deliverable", "feedback", "playbook_patch", "playbook_use_receipt", "deck_feedback_signal", "reflect_status", "linear_sync", "send_receipt", "result_qa"]>;
585
587
  contentJson: z.ZodNullable<z.ZodString>;
586
588
  blobPath: z.ZodNullable<z.ZodString>;
587
589
  author: z.ZodEnum<["human", "agent", "system"]>;
@@ -589,7 +591,7 @@ export declare const Artifact: z.ZodObject<{
589
591
  }, "strip", z.ZodTypeAny, {
590
592
  id: string;
591
593
  createdAt: string;
592
- kind: "slack_draft" | "email_draft" | "service_draft" | "task_snapshot" | "draft_plan" | "approved_plan" | "plan_triage" | "plan_answers" | "acceptance_criteria" | "transcript" | "stream_trace" | "usage" | "agent_session" | "execution_result" | "diff" | "pr" | "document" | "research_brief" | "deliverable" | "feedback" | "playbook_patch" | "reflect_status" | "linear_sync" | "send_receipt" | "result_qa";
594
+ kind: "slack_draft" | "email_draft" | "service_draft" | "task_snapshot" | "draft_plan" | "approved_plan" | "plan_triage" | "plan_answers" | "acceptance_criteria" | "transcript" | "stream_trace" | "usage" | "agent_session" | "execution_result" | "diff" | "pr" | "document" | "research_brief" | "deliverable" | "feedback" | "playbook_patch" | "playbook_use_receipt" | "deck_feedback_signal" | "reflect_status" | "linear_sync" | "send_receipt" | "result_qa";
593
595
  runId: string;
594
596
  contentJson: string | null;
595
597
  blobPath: string | null;
@@ -597,7 +599,7 @@ export declare const Artifact: z.ZodObject<{
597
599
  }, {
598
600
  id: string;
599
601
  createdAt: string;
600
- kind: "slack_draft" | "email_draft" | "service_draft" | "task_snapshot" | "draft_plan" | "approved_plan" | "plan_triage" | "plan_answers" | "acceptance_criteria" | "transcript" | "stream_trace" | "usage" | "agent_session" | "execution_result" | "diff" | "pr" | "document" | "research_brief" | "deliverable" | "feedback" | "playbook_patch" | "reflect_status" | "linear_sync" | "send_receipt" | "result_qa";
602
+ kind: "slack_draft" | "email_draft" | "service_draft" | "task_snapshot" | "draft_plan" | "approved_plan" | "plan_triage" | "plan_answers" | "acceptance_criteria" | "transcript" | "stream_trace" | "usage" | "agent_session" | "execution_result" | "diff" | "pr" | "document" | "research_brief" | "deliverable" | "feedback" | "playbook_patch" | "playbook_use_receipt" | "deck_feedback_signal" | "reflect_status" | "linear_sync" | "send_receipt" | "result_qa";
601
603
  runId: string;
602
604
  contentJson: string | null;
603
605
  blobPath: string | null;
@@ -698,10 +700,10 @@ export declare const CreateRunInput: z.ZodObject<{
698
700
  status: "queued" | "plan_pending" | "plan_approved";
699
701
  agentId: string;
700
702
  title: string;
701
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
703
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
702
704
  repo?: string | undefined;
703
- description?: string | undefined;
704
705
  acceptanceCriteria?: string | undefined;
706
+ description?: string | undefined;
705
707
  artifactWorkspace?: string | undefined;
706
708
  planModel?: string | null | undefined;
707
709
  executeModel?: string | null | undefined;
@@ -724,9 +726,9 @@ export declare const CreateRunInput: z.ZodObject<{
724
726
  title: string;
725
727
  status?: "queued" | "plan_pending" | "plan_approved" | undefined;
726
728
  repo?: string | undefined;
727
- description?: string | undefined;
728
729
  acceptanceCriteria?: string | undefined;
729
- taskCategory?: "code" | "email" | "communication" | "research" | "content" | "other" | undefined;
730
+ description?: string | undefined;
731
+ taskCategory?: "other" | "code" | "email" | "communication" | "research" | "content" | undefined;
730
732
  artifactWorkspace?: string | undefined;
731
733
  planModel?: string | null | undefined;
732
734
  executeModel?: string | null | undefined;
@@ -1020,8 +1022,8 @@ export declare const LinearCandidate: z.ZodObject<{
1020
1022
  title: string;
1021
1023
  url: string;
1022
1024
  identifier: string;
1023
- labels?: string[] | undefined;
1024
1025
  description?: string | undefined;
1026
+ labels?: string[] | undefined;
1025
1027
  state?: string | undefined;
1026
1028
  teamId?: string | undefined;
1027
1029
  repoResolution?: {
@@ -1036,8 +1038,8 @@ export declare const LinearCandidate: z.ZodObject<{
1036
1038
  title: string;
1037
1039
  url: string;
1038
1040
  identifier: string;
1039
- labels?: string[] | undefined;
1040
1041
  description?: string | undefined;
1042
+ labels?: string[] | undefined;
1041
1043
  state?: string | undefined;
1042
1044
  teamId?: string | undefined;
1043
1045
  repoResolution?: {
@@ -1252,13 +1254,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1252
1254
  deckName: string | null;
1253
1255
  playbookId: string | null;
1254
1256
  repo: string | null;
1257
+ acceptanceCriteria: string | null;
1258
+ description: string | null;
1255
1259
  title: string;
1256
1260
  source: "manual" | "linear";
1257
1261
  externalId: string | null;
1258
1262
  externalLabel: string | null;
1259
- description: string | null;
1260
- acceptanceCriteria: string | null;
1261
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1263
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1262
1264
  artifactWorkspace: string | null;
1263
1265
  agentName: string | null;
1264
1266
  planModel: string | null;
@@ -1277,13 +1279,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1277
1279
  deckName: string | null;
1278
1280
  playbookId: string | null;
1279
1281
  repo: string | null;
1282
+ acceptanceCriteria: string | null;
1283
+ description: string | null;
1280
1284
  title: string;
1281
1285
  source: "manual" | "linear";
1282
1286
  externalId: string | null;
1283
1287
  externalLabel: string | null;
1284
- description: string | null;
1285
- acceptanceCriteria: string | null;
1286
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1288
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1287
1289
  artifactWorkspace: string | null;
1288
1290
  agentName: string | null;
1289
1291
  planModel: string | null;
@@ -1331,13 +1333,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1331
1333
  deckName: string | null;
1332
1334
  playbookId: string | null;
1333
1335
  repo: string | null;
1336
+ acceptanceCriteria: string | null;
1337
+ description: string | null;
1334
1338
  title: string;
1335
1339
  source: "manual" | "linear";
1336
1340
  externalId: string | null;
1337
1341
  externalLabel: string | null;
1338
- description: string | null;
1339
- acceptanceCriteria: string | null;
1340
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1342
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1341
1343
  artifactWorkspace: string | null;
1342
1344
  agentName: string | null;
1343
1345
  planModel: string | null;
@@ -1356,13 +1358,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1356
1358
  deckName: string | null;
1357
1359
  playbookId: string | null;
1358
1360
  repo: string | null;
1361
+ acceptanceCriteria: string | null;
1362
+ description: string | null;
1359
1363
  title: string;
1360
1364
  source: "manual" | "linear";
1361
1365
  externalId: string | null;
1362
1366
  externalLabel: string | null;
1363
- description: string | null;
1364
- acceptanceCriteria: string | null;
1365
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1367
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1366
1368
  artifactWorkspace: string | null;
1367
1369
  agentName: string | null;
1368
1370
  planModel: string | null;
@@ -1410,13 +1412,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1410
1412
  deckName: string | null;
1411
1413
  playbookId: string | null;
1412
1414
  repo: string | null;
1415
+ acceptanceCriteria: string | null;
1416
+ description: string | null;
1413
1417
  title: string;
1414
1418
  source: "manual" | "linear";
1415
1419
  externalId: string | null;
1416
1420
  externalLabel: string | null;
1417
- description: string | null;
1418
- acceptanceCriteria: string | null;
1419
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1421
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1420
1422
  artifactWorkspace: string | null;
1421
1423
  agentName: string | null;
1422
1424
  planModel: string | null;
@@ -1435,13 +1437,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1435
1437
  deckName: string | null;
1436
1438
  playbookId: string | null;
1437
1439
  repo: string | null;
1440
+ acceptanceCriteria: string | null;
1441
+ description: string | null;
1438
1442
  title: string;
1439
1443
  source: "manual" | "linear";
1440
1444
  externalId: string | null;
1441
1445
  externalLabel: string | null;
1442
- description: string | null;
1443
- acceptanceCriteria: string | null;
1444
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1446
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1445
1447
  artifactWorkspace: string | null;
1446
1448
  agentName: string | null;
1447
1449
  planModel: string | null;
@@ -1489,13 +1491,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1489
1491
  deckName: string | null;
1490
1492
  playbookId: string | null;
1491
1493
  repo: string | null;
1494
+ acceptanceCriteria: string | null;
1495
+ description: string | null;
1492
1496
  title: string;
1493
1497
  source: "manual" | "linear";
1494
1498
  externalId: string | null;
1495
1499
  externalLabel: string | null;
1496
- description: string | null;
1497
- acceptanceCriteria: string | null;
1498
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1500
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1499
1501
  artifactWorkspace: string | null;
1500
1502
  agentName: string | null;
1501
1503
  planModel: string | null;
@@ -1514,13 +1516,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1514
1516
  deckName: string | null;
1515
1517
  playbookId: string | null;
1516
1518
  repo: string | null;
1519
+ acceptanceCriteria: string | null;
1520
+ description: string | null;
1517
1521
  title: string;
1518
1522
  source: "manual" | "linear";
1519
1523
  externalId: string | null;
1520
1524
  externalLabel: string | null;
1521
- description: string | null;
1522
- acceptanceCriteria: string | null;
1523
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1525
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1524
1526
  artifactWorkspace: string | null;
1525
1527
  agentName: string | null;
1526
1528
  planModel: string | null;
@@ -1568,13 +1570,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1568
1570
  deckName: string | null;
1569
1571
  playbookId: string | null;
1570
1572
  repo: string | null;
1573
+ acceptanceCriteria: string | null;
1574
+ description: string | null;
1571
1575
  title: string;
1572
1576
  source: "manual" | "linear";
1573
1577
  externalId: string | null;
1574
1578
  externalLabel: string | null;
1575
- description: string | null;
1576
- acceptanceCriteria: string | null;
1577
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1579
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1578
1580
  artifactWorkspace: string | null;
1579
1581
  agentName: string | null;
1580
1582
  planModel: string | null;
@@ -1593,13 +1595,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1593
1595
  deckName: string | null;
1594
1596
  playbookId: string | null;
1595
1597
  repo: string | null;
1598
+ acceptanceCriteria: string | null;
1599
+ description: string | null;
1596
1600
  title: string;
1597
1601
  source: "manual" | "linear";
1598
1602
  externalId: string | null;
1599
1603
  externalLabel: string | null;
1600
- description: string | null;
1601
- acceptanceCriteria: string | null;
1602
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1604
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1603
1605
  artifactWorkspace: string | null;
1604
1606
  agentName: string | null;
1605
1607
  planModel: string | null;
@@ -1647,13 +1649,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1647
1649
  deckName: string | null;
1648
1650
  playbookId: string | null;
1649
1651
  repo: string | null;
1652
+ acceptanceCriteria: string | null;
1653
+ description: string | null;
1650
1654
  title: string;
1651
1655
  source: "manual" | "linear";
1652
1656
  externalId: string | null;
1653
1657
  externalLabel: string | null;
1654
- description: string | null;
1655
- acceptanceCriteria: string | null;
1656
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1658
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1657
1659
  artifactWorkspace: string | null;
1658
1660
  agentName: string | null;
1659
1661
  planModel: string | null;
@@ -1672,13 +1674,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1672
1674
  deckName: string | null;
1673
1675
  playbookId: string | null;
1674
1676
  repo: string | null;
1677
+ acceptanceCriteria: string | null;
1678
+ description: string | null;
1675
1679
  title: string;
1676
1680
  source: "manual" | "linear";
1677
1681
  externalId: string | null;
1678
1682
  externalLabel: string | null;
1679
- description: string | null;
1680
- acceptanceCriteria: string | null;
1681
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1683
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1682
1684
  artifactWorkspace: string | null;
1683
1685
  agentName: string | null;
1684
1686
  planModel: string | null;
@@ -1726,13 +1728,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1726
1728
  deckName: string | null;
1727
1729
  playbookId: string | null;
1728
1730
  repo: string | null;
1731
+ acceptanceCriteria: string | null;
1732
+ description: string | null;
1729
1733
  title: string;
1730
1734
  source: "manual" | "linear";
1731
1735
  externalId: string | null;
1732
1736
  externalLabel: string | null;
1733
- description: string | null;
1734
- acceptanceCriteria: string | null;
1735
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1737
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1736
1738
  artifactWorkspace: string | null;
1737
1739
  agentName: string | null;
1738
1740
  planModel: string | null;
@@ -1751,13 +1753,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1751
1753
  deckName: string | null;
1752
1754
  playbookId: string | null;
1753
1755
  repo: string | null;
1756
+ acceptanceCriteria: string | null;
1757
+ description: string | null;
1754
1758
  title: string;
1755
1759
  source: "manual" | "linear";
1756
1760
  externalId: string | null;
1757
1761
  externalLabel: string | null;
1758
- description: string | null;
1759
- acceptanceCriteria: string | null;
1760
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1762
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1761
1763
  artifactWorkspace: string | null;
1762
1764
  agentName: string | null;
1763
1765
  planModel: string | null;
@@ -1805,13 +1807,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1805
1807
  deckName: string | null;
1806
1808
  playbookId: string | null;
1807
1809
  repo: string | null;
1810
+ acceptanceCriteria: string | null;
1811
+ description: string | null;
1808
1812
  title: string;
1809
1813
  source: "manual" | "linear";
1810
1814
  externalId: string | null;
1811
1815
  externalLabel: string | null;
1812
- description: string | null;
1813
- acceptanceCriteria: string | null;
1814
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1816
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1815
1817
  artifactWorkspace: string | null;
1816
1818
  agentName: string | null;
1817
1819
  planModel: string | null;
@@ -1830,13 +1832,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1830
1832
  deckName: string | null;
1831
1833
  playbookId: string | null;
1832
1834
  repo: string | null;
1835
+ acceptanceCriteria: string | null;
1836
+ description: string | null;
1833
1837
  title: string;
1834
1838
  source: "manual" | "linear";
1835
1839
  externalId: string | null;
1836
1840
  externalLabel: string | null;
1837
- description: string | null;
1838
- acceptanceCriteria: string | null;
1839
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1841
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1840
1842
  artifactWorkspace: string | null;
1841
1843
  agentName: string | null;
1842
1844
  planModel: string | null;
@@ -1888,13 +1890,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1888
1890
  deckName: string | null;
1889
1891
  playbookId: string | null;
1890
1892
  repo: string | null;
1893
+ acceptanceCriteria: string | null;
1894
+ description: string | null;
1891
1895
  title: string;
1892
1896
  source: "manual" | "linear";
1893
1897
  externalId: string | null;
1894
1898
  externalLabel: string | null;
1895
- description: string | null;
1896
- acceptanceCriteria: string | null;
1897
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1899
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1898
1900
  artifactWorkspace: string | null;
1899
1901
  agentName: string | null;
1900
1902
  planModel: string | null;
@@ -1913,13 +1915,13 @@ export declare const QueueSnapshot: z.ZodObject<{
1913
1915
  deckName: string | null;
1914
1916
  playbookId: string | null;
1915
1917
  repo: string | null;
1918
+ acceptanceCriteria: string | null;
1919
+ description: string | null;
1916
1920
  title: string;
1917
1921
  source: "manual" | "linear";
1918
1922
  externalId: string | null;
1919
1923
  externalLabel: string | null;
1920
- description: string | null;
1921
- acceptanceCriteria: string | null;
1922
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
1924
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
1923
1925
  artifactWorkspace: string | null;
1924
1926
  agentName: string | null;
1925
1927
  planModel: string | null;
@@ -2062,13 +2064,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2062
2064
  deckName: string | null;
2063
2065
  playbookId: string | null;
2064
2066
  repo: string | null;
2067
+ acceptanceCriteria: string | null;
2068
+ description: string | null;
2065
2069
  title: string;
2066
2070
  source: "manual" | "linear";
2067
2071
  externalId: string | null;
2068
2072
  externalLabel: string | null;
2069
- description: string | null;
2070
- acceptanceCriteria: string | null;
2071
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2073
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2072
2074
  artifactWorkspace: string | null;
2073
2075
  agentName: string | null;
2074
2076
  planModel: string | null;
@@ -2088,13 +2090,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2088
2090
  deckName: string | null;
2089
2091
  playbookId: string | null;
2090
2092
  repo: string | null;
2093
+ acceptanceCriteria: string | null;
2094
+ description: string | null;
2091
2095
  title: string;
2092
2096
  source: "manual" | "linear";
2093
2097
  externalId: string | null;
2094
2098
  externalLabel: string | null;
2095
- description: string | null;
2096
- acceptanceCriteria: string | null;
2097
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2099
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2098
2100
  artifactWorkspace: string | null;
2099
2101
  agentName: string | null;
2100
2102
  planModel: string | null;
@@ -2114,13 +2116,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2114
2116
  deckName: string | null;
2115
2117
  playbookId: string | null;
2116
2118
  repo: string | null;
2119
+ acceptanceCriteria: string | null;
2120
+ description: string | null;
2117
2121
  title: string;
2118
2122
  source: "manual" | "linear";
2119
2123
  externalId: string | null;
2120
2124
  externalLabel: string | null;
2121
- description: string | null;
2122
- acceptanceCriteria: string | null;
2123
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2125
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2124
2126
  artifactWorkspace: string | null;
2125
2127
  agentName: string | null;
2126
2128
  planModel: string | null;
@@ -2140,13 +2142,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2140
2142
  deckName: string | null;
2141
2143
  playbookId: string | null;
2142
2144
  repo: string | null;
2145
+ acceptanceCriteria: string | null;
2146
+ description: string | null;
2143
2147
  title: string;
2144
2148
  source: "manual" | "linear";
2145
2149
  externalId: string | null;
2146
2150
  externalLabel: string | null;
2147
- description: string | null;
2148
- acceptanceCriteria: string | null;
2149
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2151
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2150
2152
  artifactWorkspace: string | null;
2151
2153
  agentName: string | null;
2152
2154
  planModel: string | null;
@@ -2166,13 +2168,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2166
2168
  deckName: string | null;
2167
2169
  playbookId: string | null;
2168
2170
  repo: string | null;
2171
+ acceptanceCriteria: string | null;
2172
+ description: string | null;
2169
2173
  title: string;
2170
2174
  source: "manual" | "linear";
2171
2175
  externalId: string | null;
2172
2176
  externalLabel: string | null;
2173
- description: string | null;
2174
- acceptanceCriteria: string | null;
2175
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2177
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2176
2178
  artifactWorkspace: string | null;
2177
2179
  agentName: string | null;
2178
2180
  planModel: string | null;
@@ -2192,13 +2194,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2192
2194
  deckName: string | null;
2193
2195
  playbookId: string | null;
2194
2196
  repo: string | null;
2197
+ acceptanceCriteria: string | null;
2198
+ description: string | null;
2195
2199
  title: string;
2196
2200
  source: "manual" | "linear";
2197
2201
  externalId: string | null;
2198
2202
  externalLabel: string | null;
2199
- description: string | null;
2200
- acceptanceCriteria: string | null;
2201
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2203
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2202
2204
  artifactWorkspace: string | null;
2203
2205
  agentName: string | null;
2204
2206
  planModel: string | null;
@@ -2218,13 +2220,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2218
2220
  deckName: string | null;
2219
2221
  playbookId: string | null;
2220
2222
  repo: string | null;
2223
+ acceptanceCriteria: string | null;
2224
+ description: string | null;
2221
2225
  title: string;
2222
2226
  source: "manual" | "linear";
2223
2227
  externalId: string | null;
2224
2228
  externalLabel: string | null;
2225
- description: string | null;
2226
- acceptanceCriteria: string | null;
2227
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2229
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2228
2230
  artifactWorkspace: string | null;
2229
2231
  agentName: string | null;
2230
2232
  planModel: string | null;
@@ -2244,13 +2246,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2244
2246
  deckName: string | null;
2245
2247
  playbookId: string | null;
2246
2248
  repo: string | null;
2249
+ acceptanceCriteria: string | null;
2250
+ description: string | null;
2247
2251
  title: string;
2248
2252
  source: "manual" | "linear";
2249
2253
  externalId: string | null;
2250
2254
  externalLabel: string | null;
2251
- description: string | null;
2252
- acceptanceCriteria: string | null;
2253
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2255
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2254
2256
  artifactWorkspace: string | null;
2255
2257
  agentName: string | null;
2256
2258
  planModel: string | null;
@@ -2273,13 +2275,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2273
2275
  deckName: string | null;
2274
2276
  playbookId: string | null;
2275
2277
  repo: string | null;
2278
+ acceptanceCriteria: string | null;
2279
+ description: string | null;
2276
2280
  title: string;
2277
2281
  source: "manual" | "linear";
2278
2282
  externalId: string | null;
2279
2283
  externalLabel: string | null;
2280
- description: string | null;
2281
- acceptanceCriteria: string | null;
2282
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2284
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2283
2285
  artifactWorkspace: string | null;
2284
2286
  agentName: string | null;
2285
2287
  planModel: string | null;
@@ -2334,13 +2336,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2334
2336
  deckName: string | null;
2335
2337
  playbookId: string | null;
2336
2338
  repo: string | null;
2339
+ acceptanceCriteria: string | null;
2340
+ description: string | null;
2337
2341
  title: string;
2338
2342
  source: "manual" | "linear";
2339
2343
  externalId: string | null;
2340
2344
  externalLabel: string | null;
2341
- description: string | null;
2342
- acceptanceCriteria: string | null;
2343
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2345
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2344
2346
  artifactWorkspace: string | null;
2345
2347
  agentName: string | null;
2346
2348
  planModel: string | null;
@@ -2360,13 +2362,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2360
2362
  deckName: string | null;
2361
2363
  playbookId: string | null;
2362
2364
  repo: string | null;
2365
+ acceptanceCriteria: string | null;
2366
+ description: string | null;
2363
2367
  title: string;
2364
2368
  source: "manual" | "linear";
2365
2369
  externalId: string | null;
2366
2370
  externalLabel: string | null;
2367
- description: string | null;
2368
- acceptanceCriteria: string | null;
2369
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2371
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2370
2372
  artifactWorkspace: string | null;
2371
2373
  agentName: string | null;
2372
2374
  planModel: string | null;
@@ -2386,13 +2388,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2386
2388
  deckName: string | null;
2387
2389
  playbookId: string | null;
2388
2390
  repo: string | null;
2391
+ acceptanceCriteria: string | null;
2392
+ description: string | null;
2389
2393
  title: string;
2390
2394
  source: "manual" | "linear";
2391
2395
  externalId: string | null;
2392
2396
  externalLabel: string | null;
2393
- description: string | null;
2394
- acceptanceCriteria: string | null;
2395
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2397
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2396
2398
  artifactWorkspace: string | null;
2397
2399
  agentName: string | null;
2398
2400
  planModel: string | null;
@@ -2412,13 +2414,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2412
2414
  deckName: string | null;
2413
2415
  playbookId: string | null;
2414
2416
  repo: string | null;
2417
+ acceptanceCriteria: string | null;
2418
+ description: string | null;
2415
2419
  title: string;
2416
2420
  source: "manual" | "linear";
2417
2421
  externalId: string | null;
2418
2422
  externalLabel: string | null;
2419
- description: string | null;
2420
- acceptanceCriteria: string | null;
2421
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2423
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2422
2424
  artifactWorkspace: string | null;
2423
2425
  agentName: string | null;
2424
2426
  planModel: string | null;
@@ -2438,13 +2440,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2438
2440
  deckName: string | null;
2439
2441
  playbookId: string | null;
2440
2442
  repo: string | null;
2443
+ acceptanceCriteria: string | null;
2444
+ description: string | null;
2441
2445
  title: string;
2442
2446
  source: "manual" | "linear";
2443
2447
  externalId: string | null;
2444
2448
  externalLabel: string | null;
2445
- description: string | null;
2446
- acceptanceCriteria: string | null;
2447
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2449
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2448
2450
  artifactWorkspace: string | null;
2449
2451
  agentName: string | null;
2450
2452
  planModel: string | null;
@@ -2464,13 +2466,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2464
2466
  deckName: string | null;
2465
2467
  playbookId: string | null;
2466
2468
  repo: string | null;
2469
+ acceptanceCriteria: string | null;
2470
+ description: string | null;
2467
2471
  title: string;
2468
2472
  source: "manual" | "linear";
2469
2473
  externalId: string | null;
2470
2474
  externalLabel: string | null;
2471
- description: string | null;
2472
- acceptanceCriteria: string | null;
2473
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2475
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2474
2476
  artifactWorkspace: string | null;
2475
2477
  agentName: string | null;
2476
2478
  planModel: string | null;
@@ -2490,13 +2492,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2490
2492
  deckName: string | null;
2491
2493
  playbookId: string | null;
2492
2494
  repo: string | null;
2495
+ acceptanceCriteria: string | null;
2496
+ description: string | null;
2493
2497
  title: string;
2494
2498
  source: "manual" | "linear";
2495
2499
  externalId: string | null;
2496
2500
  externalLabel: string | null;
2497
- description: string | null;
2498
- acceptanceCriteria: string | null;
2499
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2501
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2500
2502
  artifactWorkspace: string | null;
2501
2503
  agentName: string | null;
2502
2504
  planModel: string | null;
@@ -2516,13 +2518,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2516
2518
  deckName: string | null;
2517
2519
  playbookId: string | null;
2518
2520
  repo: string | null;
2521
+ acceptanceCriteria: string | null;
2522
+ description: string | null;
2519
2523
  title: string;
2520
2524
  source: "manual" | "linear";
2521
2525
  externalId: string | null;
2522
2526
  externalLabel: string | null;
2523
- description: string | null;
2524
- acceptanceCriteria: string | null;
2525
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2527
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2526
2528
  artifactWorkspace: string | null;
2527
2529
  agentName: string | null;
2528
2530
  planModel: string | null;
@@ -2545,13 +2547,13 @@ export declare const QueueSnapshot: z.ZodObject<{
2545
2547
  deckName: string | null;
2546
2548
  playbookId: string | null;
2547
2549
  repo: string | null;
2550
+ acceptanceCriteria: string | null;
2551
+ description: string | null;
2548
2552
  title: string;
2549
2553
  source: "manual" | "linear";
2550
2554
  externalId: string | null;
2551
2555
  externalLabel: string | null;
2552
- description: string | null;
2553
- acceptanceCriteria: string | null;
2554
- taskCategory: "code" | "email" | "communication" | "research" | "content" | "other";
2556
+ taskCategory: "other" | "code" | "email" | "communication" | "research" | "content";
2555
2557
  artifactWorkspace: string | null;
2556
2558
  agentName: string | null;
2557
2559
  planModel: string | null;