agentix-cli 0.167.0 → 0.168.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 (184) hide show
  1. package/README.md +2 -2
  2. package/dist/{App-ZV3MJ73U.js → App-GK5F6QMB.js} +2 -2
  3. package/dist/{ChatApp-GPGF3SVJ.js → ChatApp-4HHJB4HM.js} +2 -2
  4. package/dist/absorb-eval-PO7TUGT2.js +2 -0
  5. package/dist/agent-6WKET7JZ.js +2 -0
  6. package/dist/{board-dashboard-ZF2FN2K5.js → board-dashboard-ESAX2ZFV.js} +436 -403
  7. package/dist/board-dashboard-ESAX2ZFV.js.map +1 -0
  8. package/dist/{chunk-SMPADAHT.js → chunk-5PEXL5LD.js} +6 -6
  9. package/dist/{chunk-N5JY7SSX.js → chunk-5QI7XFTA.js} +2 -2
  10. package/dist/{chunk-TCC56PYX.js → chunk-BAXGL6TY.js} +2 -2
  11. package/dist/{chunk-UGPCMA7S.js → chunk-BRQKV4FC.js} +2 -2
  12. package/dist/{chunk-2HB6AH4T.js → chunk-CBXPIKPJ.js} +2 -2
  13. package/dist/{chunk-ECFANHQ5.js → chunk-COMJ7R5T.js} +2 -2
  14. package/dist/{chunk-6QLRRSKU.js → chunk-DCIYOPJF.js} +15 -15
  15. package/dist/chunk-DCIYOPJF.js.map +1 -0
  16. package/dist/{chunk-7PWM4GYY.js → chunk-DCJHCUEQ.js} +2 -2
  17. package/dist/{chunk-3H2P5XRF.js → chunk-E67Z6OYF.js} +2 -2
  18. package/dist/chunk-E7Y4G3FK.js +185 -0
  19. package/dist/chunk-E7Y4G3FK.js.map +1 -0
  20. package/dist/{chunk-KDDV3VFJ.js → chunk-EEM433JK.js} +28 -28
  21. package/dist/{chunk-KDDV3VFJ.js.map → chunk-EEM433JK.js.map} +1 -1
  22. package/dist/chunk-FEA3XMVU.js +580 -0
  23. package/dist/chunk-FEA3XMVU.js.map +1 -0
  24. package/dist/chunk-GZIHLADX.js +4 -0
  25. package/dist/chunk-GZIHLADX.js.map +1 -0
  26. package/dist/{chunk-5GJMPB6Q.js → chunk-HFSPH5WM.js} +2 -2
  27. package/dist/{chunk-PHLILSAY.js → chunk-HRN4WKSJ.js} +363 -304
  28. package/dist/chunk-HRN4WKSJ.js.map +1 -0
  29. package/dist/{chunk-DPPYNUQW.js → chunk-JKMFMW3E.js} +2 -2
  30. package/dist/chunk-KMPUUH5R.js +137 -0
  31. package/dist/chunk-KMPUUH5R.js.map +1 -0
  32. package/dist/{chunk-FIL6QI6N.js → chunk-KWY5IBII.js} +2 -2
  33. package/dist/{chunk-TM2TPQKH.js → chunk-LE3BXIUF.js} +2 -2
  34. package/dist/chunk-LXW7H4D4.js +2 -0
  35. package/dist/chunk-LXW7H4D4.js.map +1 -0
  36. package/dist/chunk-NKCS6EZ7.js +92 -0
  37. package/dist/chunk-NKCS6EZ7.js.map +1 -0
  38. package/dist/{chunk-4S7JQ7B3.js → chunk-PIJ6ECBC.js} +2 -2
  39. package/dist/chunk-RX5O5637.js +7 -0
  40. package/dist/chunk-RX5O5637.js.map +1 -0
  41. package/dist/{chunk-MQFHPGLC.js → chunk-S34KFBMJ.js} +3 -3
  42. package/dist/{chunk-OPCGTZU4.js → chunk-TVGVQABC.js} +2 -2
  43. package/dist/{chunk-SAFOO6XY.js → chunk-U4PICSLC.js} +2 -2
  44. package/dist/{chunk-GGQZLFYH.js → chunk-U5SJLLXH.js} +2 -2
  45. package/dist/{chunk-RDT4NCBI.js → chunk-UF5TWOKL.js} +15 -15
  46. package/dist/chunk-UF5TWOKL.js.map +1 -0
  47. package/dist/chunk-UKKOBMOP.js +8 -0
  48. package/dist/chunk-UKKOBMOP.js.map +1 -0
  49. package/dist/{chunk-BNOGNRAM.js → chunk-VD2P4GWU.js} +2 -2
  50. package/dist/{chunk-FSTWXYWA.js → chunk-YQM6VR6U.js} +2 -2
  51. package/dist/{chunk-236CUFAC.js → chunk-Z6ZR2ELO.js} +2 -2
  52. package/dist/{chunk-IJT6KKST.js → chunk-ZTIOHZIL.js} +2 -2
  53. package/dist/cli.js +1 -1
  54. package/dist/client-DOIYODET.js +2 -0
  55. package/dist/{compaction-VN3M5YGZ.js → compaction-26OHHULF.js} +3 -3
  56. package/dist/config-3UBJRE5R.js +2 -0
  57. package/dist/config-mutate-ZRPDYJKN.js +2 -0
  58. package/dist/config-mutator-B5MR3V4B.js +2 -0
  59. package/dist/{context-planner-2XBAPQ3S.js → context-planner-CVCRW5TV.js} +2 -2
  60. package/dist/{contributions-XSHL4IU5.js → contributions-2CJFYRZ7.js} +2 -2
  61. package/dist/{doctor-TBZE4NNW.js → doctor-OQZMDL5S.js} +2 -2
  62. package/dist/{follow-up-tool-QC4NXZJT.js → follow-up-tool-PQUPXQQT.js} +2 -2
  63. package/dist/{grants-YGA654NI.js → grants-4O2VF2YX.js} +2 -2
  64. package/dist/heal-ZS56MC4A.js +2 -0
  65. package/dist/hub-LOW7KS5N.js +2 -0
  66. package/dist/index.d.ts +540 -2
  67. package/dist/index.js +1 -1
  68. package/dist/index.js.map +1 -1
  69. package/dist/memory-extract-NLVLQE7V.js +2 -0
  70. package/dist/{program-KFZOGLFE.js → program-7W2LJKDN.js} +291 -266
  71. package/dist/program-7W2LJKDN.js.map +1 -0
  72. package/dist/{promote-BFFD52TZ.js → promote-ZWQAL3RE.js} +2 -2
  73. package/dist/{providers-VVT2OBXA.js → providers-F5GDJSYD.js} +2 -2
  74. package/dist/push-bridge-NR7SLHGX.js +1 -1
  75. package/dist/query-N4EJ24LW.js +2 -0
  76. package/dist/{query-settings-X4BTVQHH.js → query-settings-RZV5ELLC.js} +2 -2
  77. package/dist/registry-EBYOZK3P.js +2 -0
  78. package/dist/{request-planner-2QGXWCOJ.js → request-planner-KCG6QB6M.js} +2 -2
  79. package/dist/{review-candidates-NJVISKTY.js → review-candidates-3GHWVJQ3.js} +2 -2
  80. package/dist/routing-XULOU6BI.js +2 -0
  81. package/dist/schedule-tool-ALZXDGGC.js +2 -0
  82. package/dist/scheduler-SCVCNKJC.js +2 -0
  83. package/dist/{seat-MOPQDOX3.js → seat-PD7W3KAN.js} +2 -2
  84. package/dist/{select-RVIZALFB.js → select-Z3YXBGUP.js} +2 -2
  85. package/dist/{set-enabled-AWWWMEYU.js → set-enabled-NJYJWDWH.js} +2 -2
  86. package/dist/sprint-tool-OLHZZAK3.js +7 -0
  87. package/dist/sprint-tool-OLHZZAK3.js.map +1 -0
  88. package/dist/tool-7IKZO33P.js +4 -0
  89. package/dist/tool-7IKZO33P.js.map +1 -0
  90. package/dist/{tool-7U4T5ZF7.js → tool-EVQBMGJV.js} +2 -2
  91. package/dist/{tool-HJQJWJAH.js → tool-XH5QN6JM.js} +2 -2
  92. package/dist/wiki-BPOTYAQV.js +2 -0
  93. package/dist/wiki-enrich-JCNGRYQZ.js +2 -0
  94. package/package.json +1 -1
  95. package/dist/absorb-eval-IJLOYYIL.js +0 -2
  96. package/dist/agent-4BNF462Q.js +0 -2
  97. package/dist/board-dashboard-ZF2FN2K5.js.map +0 -1
  98. package/dist/chunk-2QNT5JDS.js +0 -4
  99. package/dist/chunk-2QNT5JDS.js.map +0 -1
  100. package/dist/chunk-56I4CDWP.js +0 -578
  101. package/dist/chunk-56I4CDWP.js.map +0 -1
  102. package/dist/chunk-6QLRRSKU.js.map +0 -1
  103. package/dist/chunk-CZLUBWNU.js +0 -92
  104. package/dist/chunk-CZLUBWNU.js.map +0 -1
  105. package/dist/chunk-GVU6YS3Y.js +0 -8
  106. package/dist/chunk-GVU6YS3Y.js.map +0 -1
  107. package/dist/chunk-PHLILSAY.js.map +0 -1
  108. package/dist/chunk-RDT4NCBI.js.map +0 -1
  109. package/dist/chunk-RGUQY65H.js +0 -128
  110. package/dist/chunk-RGUQY65H.js.map +0 -1
  111. package/dist/chunk-S3KWNMPJ.js +0 -2
  112. package/dist/chunk-S3KWNMPJ.js.map +0 -1
  113. package/dist/chunk-ZA7DX4A2.js +0 -181
  114. package/dist/chunk-ZA7DX4A2.js.map +0 -1
  115. package/dist/client-SQOWAVPJ.js +0 -2
  116. package/dist/config-7JJZJFLZ.js +0 -2
  117. package/dist/config-mutate-JERIV7AP.js +0 -2
  118. package/dist/config-mutator-4IUU4ANZ.js +0 -2
  119. package/dist/heal-KCM6JYUK.js +0 -2
  120. package/dist/hub-VRESIG2H.js +0 -2
  121. package/dist/memory-extract-4JFORU2K.js +0 -2
  122. package/dist/program-KFZOGLFE.js.map +0 -1
  123. package/dist/query-MIODGHPL.js +0 -2
  124. package/dist/registry-TRWLGN2A.js +0 -2
  125. package/dist/routing-4AS2E5XG.js +0 -2
  126. package/dist/schedule-tool-GGL5SGM6.js +0 -2
  127. package/dist/scheduler-S7PRYZNI.js +0 -2
  128. package/dist/wiki-BLCQBJG3.js +0 -2
  129. package/dist/wiki-enrich-U5KPQ6P7.js +0 -2
  130. /package/dist/{App-ZV3MJ73U.js.map → App-GK5F6QMB.js.map} +0 -0
  131. /package/dist/{ChatApp-GPGF3SVJ.js.map → ChatApp-4HHJB4HM.js.map} +0 -0
  132. /package/dist/{absorb-eval-IJLOYYIL.js.map → absorb-eval-PO7TUGT2.js.map} +0 -0
  133. /package/dist/{agent-4BNF462Q.js.map → agent-6WKET7JZ.js.map} +0 -0
  134. /package/dist/{chunk-SMPADAHT.js.map → chunk-5PEXL5LD.js.map} +0 -0
  135. /package/dist/{chunk-N5JY7SSX.js.map → chunk-5QI7XFTA.js.map} +0 -0
  136. /package/dist/{chunk-TCC56PYX.js.map → chunk-BAXGL6TY.js.map} +0 -0
  137. /package/dist/{chunk-UGPCMA7S.js.map → chunk-BRQKV4FC.js.map} +0 -0
  138. /package/dist/{chunk-2HB6AH4T.js.map → chunk-CBXPIKPJ.js.map} +0 -0
  139. /package/dist/{chunk-ECFANHQ5.js.map → chunk-COMJ7R5T.js.map} +0 -0
  140. /package/dist/{chunk-7PWM4GYY.js.map → chunk-DCJHCUEQ.js.map} +0 -0
  141. /package/dist/{chunk-3H2P5XRF.js.map → chunk-E67Z6OYF.js.map} +0 -0
  142. /package/dist/{chunk-5GJMPB6Q.js.map → chunk-HFSPH5WM.js.map} +0 -0
  143. /package/dist/{chunk-DPPYNUQW.js.map → chunk-JKMFMW3E.js.map} +0 -0
  144. /package/dist/{chunk-FIL6QI6N.js.map → chunk-KWY5IBII.js.map} +0 -0
  145. /package/dist/{chunk-TM2TPQKH.js.map → chunk-LE3BXIUF.js.map} +0 -0
  146. /package/dist/{chunk-4S7JQ7B3.js.map → chunk-PIJ6ECBC.js.map} +0 -0
  147. /package/dist/{chunk-MQFHPGLC.js.map → chunk-S34KFBMJ.js.map} +0 -0
  148. /package/dist/{chunk-OPCGTZU4.js.map → chunk-TVGVQABC.js.map} +0 -0
  149. /package/dist/{chunk-SAFOO6XY.js.map → chunk-U4PICSLC.js.map} +0 -0
  150. /package/dist/{chunk-GGQZLFYH.js.map → chunk-U5SJLLXH.js.map} +0 -0
  151. /package/dist/{chunk-BNOGNRAM.js.map → chunk-VD2P4GWU.js.map} +0 -0
  152. /package/dist/{chunk-FSTWXYWA.js.map → chunk-YQM6VR6U.js.map} +0 -0
  153. /package/dist/{chunk-236CUFAC.js.map → chunk-Z6ZR2ELO.js.map} +0 -0
  154. /package/dist/{chunk-IJT6KKST.js.map → chunk-ZTIOHZIL.js.map} +0 -0
  155. /package/dist/{client-SQOWAVPJ.js.map → client-DOIYODET.js.map} +0 -0
  156. /package/dist/{compaction-VN3M5YGZ.js.map → compaction-26OHHULF.js.map} +0 -0
  157. /package/dist/{config-7JJZJFLZ.js.map → config-3UBJRE5R.js.map} +0 -0
  158. /package/dist/{config-mutate-JERIV7AP.js.map → config-mutate-ZRPDYJKN.js.map} +0 -0
  159. /package/dist/{config-mutator-4IUU4ANZ.js.map → config-mutator-B5MR3V4B.js.map} +0 -0
  160. /package/dist/{context-planner-2XBAPQ3S.js.map → context-planner-CVCRW5TV.js.map} +0 -0
  161. /package/dist/{contributions-XSHL4IU5.js.map → contributions-2CJFYRZ7.js.map} +0 -0
  162. /package/dist/{doctor-TBZE4NNW.js.map → doctor-OQZMDL5S.js.map} +0 -0
  163. /package/dist/{follow-up-tool-QC4NXZJT.js.map → follow-up-tool-PQUPXQQT.js.map} +0 -0
  164. /package/dist/{grants-YGA654NI.js.map → grants-4O2VF2YX.js.map} +0 -0
  165. /package/dist/{heal-KCM6JYUK.js.map → heal-ZS56MC4A.js.map} +0 -0
  166. /package/dist/{hub-VRESIG2H.js.map → hub-LOW7KS5N.js.map} +0 -0
  167. /package/dist/{memory-extract-4JFORU2K.js.map → memory-extract-NLVLQE7V.js.map} +0 -0
  168. /package/dist/{promote-BFFD52TZ.js.map → promote-ZWQAL3RE.js.map} +0 -0
  169. /package/dist/{providers-VVT2OBXA.js.map → providers-F5GDJSYD.js.map} +0 -0
  170. /package/dist/{query-MIODGHPL.js.map → query-N4EJ24LW.js.map} +0 -0
  171. /package/dist/{query-settings-X4BTVQHH.js.map → query-settings-RZV5ELLC.js.map} +0 -0
  172. /package/dist/{registry-TRWLGN2A.js.map → registry-EBYOZK3P.js.map} +0 -0
  173. /package/dist/{request-planner-2QGXWCOJ.js.map → request-planner-KCG6QB6M.js.map} +0 -0
  174. /package/dist/{review-candidates-NJVISKTY.js.map → review-candidates-3GHWVJQ3.js.map} +0 -0
  175. /package/dist/{routing-4AS2E5XG.js.map → routing-XULOU6BI.js.map} +0 -0
  176. /package/dist/{schedule-tool-GGL5SGM6.js.map → schedule-tool-ALZXDGGC.js.map} +0 -0
  177. /package/dist/{scheduler-S7PRYZNI.js.map → scheduler-SCVCNKJC.js.map} +0 -0
  178. /package/dist/{seat-MOPQDOX3.js.map → seat-PD7W3KAN.js.map} +0 -0
  179. /package/dist/{select-RVIZALFB.js.map → select-Z3YXBGUP.js.map} +0 -0
  180. /package/dist/{set-enabled-AWWWMEYU.js.map → set-enabled-NJYJWDWH.js.map} +0 -0
  181. /package/dist/{tool-7U4T5ZF7.js.map → tool-EVQBMGJV.js.map} +0 -0
  182. /package/dist/{tool-HJQJWJAH.js.map → tool-XH5QN6JM.js.map} +0 -0
  183. /package/dist/{wiki-BLCQBJG3.js.map → wiki-BPOTYAQV.js.map} +0 -0
  184. /package/dist/{wiki-enrich-U5KPQ6P7.js.map → wiki-enrich-JCNGRYQZ.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -1702,6 +1702,29 @@ declare const agentConfigSchema: z.ZodObject<{
1702
1702
  openHours?: number | undefined;
1703
1703
  launchTimeoutSeconds?: number | undefined;
1704
1704
  }>>;
1705
+ /** Run each local task for an issue (GitHub, GitLab, Linear, Jira) in a
1706
+ * git worktree of its own, on the branch `agentx/issue-<n>` (#1292).
1707
+ * Off by default. The checkout is the project rule's `runbook` path or
1708
+ * the agent's workspace; for a forge issue its origin must be the
1709
+ * issue's repository. Pull and merge request tasks keep running in the
1710
+ * checkout. See src/agents/task-worktrees.ts. */
1711
+ worktrees: z.ZodDefault<z.ZodObject<{
1712
+ enabled: z.ZodDefault<z.ZodBoolean>;
1713
+ /** Folder for the worktrees. Unset: `.agentx-worktrees/<checkout
1714
+ * name>` beside the checkout. */
1715
+ root: z.ZodOptional<z.ZodString>;
1716
+ /** A worktree no task used for this many days, with no uncommitted
1717
+ * change, is removed. Its branch is kept. */
1718
+ maxAgeDays: z.ZodDefault<z.ZodNumber>;
1719
+ }, "strip", z.ZodTypeAny, {
1720
+ enabled: boolean;
1721
+ maxAgeDays: number;
1722
+ root?: string | undefined;
1723
+ }, {
1724
+ enabled?: boolean | undefined;
1725
+ root?: string | undefined;
1726
+ maxAgeDays?: number | undefined;
1727
+ }>>;
1705
1728
  /** Improvement plan #3 — tool-use-required preset. When set,
1706
1729
  * AgentX inspects the stream-json events from each task and
1707
1730
  * fails the response with `tool_required_not_called: <name>`
@@ -2004,6 +2027,11 @@ declare const agentConfigSchema: z.ZodObject<{
2004
2027
  openHours: number;
2005
2028
  launchTimeoutSeconds: number;
2006
2029
  };
2030
+ worktrees: {
2031
+ enabled: boolean;
2032
+ maxAgeDays: number;
2033
+ root?: string | undefined;
2034
+ };
2007
2035
  toolUseRequired: string[];
2008
2036
  persistentProcess: boolean;
2009
2037
  queueMode: "drop" | "followup" | "collect";
@@ -2164,6 +2192,11 @@ declare const agentConfigSchema: z.ZodObject<{
2164
2192
  openHours?: number | undefined;
2165
2193
  launchTimeoutSeconds?: number | undefined;
2166
2194
  } | undefined;
2195
+ worktrees?: {
2196
+ enabled?: boolean | undefined;
2197
+ root?: string | undefined;
2198
+ maxAgeDays?: number | undefined;
2199
+ } | undefined;
2167
2200
  toolUseRequired?: string[] | undefined;
2168
2201
  gitlabAutoReply?: boolean | undefined;
2169
2202
  persistentProcess?: boolean | undefined;
@@ -2272,6 +2305,15 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2272
2305
  * to report reports there, including the chat an agent's schedule was
2273
2306
  * requested from (#738). `false` keeps `notify` for failure alerts only. */
2274
2307
  deliverResult: z.ZodOptional<z.ZodBoolean>;
2308
+ /** `exceptions`: the run decides whether there is anything to say. It is
2309
+ * asked to answer exactly NOTHING_TO_REPORT when all is as expected, and
2310
+ * such a quiet run sends nothing to `notify` (#1289). Failures are
2311
+ * alerted either way. Unset or `always`: every answer is sent. */
2312
+ report: z.ZodOptional<z.ZodEnum<["always", "exceptions"]>>;
2313
+ /** Check the answer before it is delivered: every line that states a
2314
+ * fact must carry a source link, or the owner is told which do not
2315
+ * (#1288). See src/sales/sources.ts. */
2316
+ requireSources: z.ZodOptional<z.ZodBoolean>;
2275
2317
  /** Secret that lets an external system fire this job now via
2276
2318
  * `POST /routines/<id>/fire`. Reference an env var (`"${MY_TOKEN}"`);
2277
2319
  * a job without one cannot be fired. See src/daemon/routine-fire.ts. */
@@ -2310,6 +2352,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2310
2352
  why: string;
2311
2353
  metric: string;
2312
2354
  } | undefined;
2355
+ report?: "always" | "exceptions" | undefined;
2313
2356
  command?: string | undefined;
2314
2357
  notify?: {
2315
2358
  channel: string;
@@ -2326,6 +2369,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2326
2369
  maxOutputTokens?: number | undefined;
2327
2370
  autonomy?: "report" | "propose" | "act" | undefined;
2328
2371
  deliverResult?: boolean | undefined;
2372
+ requireSources?: boolean | undefined;
2329
2373
  fireToken?: string | undefined;
2330
2374
  }, {
2331
2375
  agent: string;
@@ -2336,6 +2380,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2336
2380
  metric: string;
2337
2381
  } | undefined;
2338
2382
  enabled?: boolean | undefined;
2383
+ report?: "always" | "exceptions" | undefined;
2339
2384
  command?: string | undefined;
2340
2385
  prompt?: string | undefined;
2341
2386
  timeout?: number | undefined;
@@ -2356,6 +2401,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2356
2401
  autonomy?: "report" | "propose" | "act" | undefined;
2357
2402
  onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
2358
2403
  deliverResult?: boolean | undefined;
2404
+ requireSources?: boolean | undefined;
2359
2405
  fireToken?: string | undefined;
2360
2406
  }>, {
2361
2407
  enabled: boolean;
@@ -2370,6 +2416,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2370
2416
  why: string;
2371
2417
  metric: string;
2372
2418
  } | undefined;
2419
+ report?: "always" | "exceptions" | undefined;
2373
2420
  command?: string | undefined;
2374
2421
  notify?: {
2375
2422
  channel: string;
@@ -2386,6 +2433,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2386
2433
  maxOutputTokens?: number | undefined;
2387
2434
  autonomy?: "report" | "propose" | "act" | undefined;
2388
2435
  deliverResult?: boolean | undefined;
2436
+ requireSources?: boolean | undefined;
2389
2437
  fireToken?: string | undefined;
2390
2438
  }, {
2391
2439
  agent: string;
@@ -2396,6 +2444,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2396
2444
  metric: string;
2397
2445
  } | undefined;
2398
2446
  enabled?: boolean | undefined;
2447
+ report?: "always" | "exceptions" | undefined;
2399
2448
  command?: string | undefined;
2400
2449
  prompt?: string | undefined;
2401
2450
  timeout?: number | undefined;
@@ -2416,6 +2465,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2416
2465
  autonomy?: "report" | "propose" | "act" | undefined;
2417
2466
  onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
2418
2467
  deliverResult?: boolean | undefined;
2468
+ requireSources?: boolean | undefined;
2419
2469
  fireToken?: string | undefined;
2420
2470
  }>, {
2421
2471
  enabled: boolean;
@@ -2430,6 +2480,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2430
2480
  why: string;
2431
2481
  metric: string;
2432
2482
  } | undefined;
2483
+ report?: "always" | "exceptions" | undefined;
2433
2484
  command?: string | undefined;
2434
2485
  notify?: {
2435
2486
  channel: string;
@@ -2446,6 +2497,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2446
2497
  maxOutputTokens?: number | undefined;
2447
2498
  autonomy?: "report" | "propose" | "act" | undefined;
2448
2499
  deliverResult?: boolean | undefined;
2500
+ requireSources?: boolean | undefined;
2449
2501
  fireToken?: string | undefined;
2450
2502
  }, {
2451
2503
  agent: string;
@@ -2456,6 +2508,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2456
2508
  metric: string;
2457
2509
  } | undefined;
2458
2510
  enabled?: boolean | undefined;
2511
+ report?: "always" | "exceptions" | undefined;
2459
2512
  command?: string | undefined;
2460
2513
  prompt?: string | undefined;
2461
2514
  timeout?: number | undefined;
@@ -2476,6 +2529,7 @@ declare const cronJobSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2476
2529
  autonomy?: "report" | "propose" | "act" | undefined;
2477
2530
  onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
2478
2531
  deliverResult?: boolean | undefined;
2532
+ requireSources?: boolean | undefined;
2479
2533
  fireToken?: string | undefined;
2480
2534
  }>;
2481
2535
  declare const meshPeerSchema: z.ZodObject<{
@@ -2747,6 +2801,29 @@ declare const daemonConfigSchema: z.ZodObject<{
2747
2801
  openHours?: number | undefined;
2748
2802
  launchTimeoutSeconds?: number | undefined;
2749
2803
  }>>;
2804
+ /** Run each local task for an issue (GitHub, GitLab, Linear, Jira) in a
2805
+ * git worktree of its own, on the branch `agentx/issue-<n>` (#1292).
2806
+ * Off by default. The checkout is the project rule's `runbook` path or
2807
+ * the agent's workspace; for a forge issue its origin must be the
2808
+ * issue's repository. Pull and merge request tasks keep running in the
2809
+ * checkout. See src/agents/task-worktrees.ts. */
2810
+ worktrees: z.ZodDefault<z.ZodObject<{
2811
+ enabled: z.ZodDefault<z.ZodBoolean>;
2812
+ /** Folder for the worktrees. Unset: `.agentx-worktrees/<checkout
2813
+ * name>` beside the checkout. */
2814
+ root: z.ZodOptional<z.ZodString>;
2815
+ /** A worktree no task used for this many days, with no uncommitted
2816
+ * change, is removed. Its branch is kept. */
2817
+ maxAgeDays: z.ZodDefault<z.ZodNumber>;
2818
+ }, "strip", z.ZodTypeAny, {
2819
+ enabled: boolean;
2820
+ maxAgeDays: number;
2821
+ root?: string | undefined;
2822
+ }, {
2823
+ enabled?: boolean | undefined;
2824
+ root?: string | undefined;
2825
+ maxAgeDays?: number | undefined;
2826
+ }>>;
2750
2827
  /** Improvement plan #3 — tool-use-required preset. When set,
2751
2828
  * AgentX inspects the stream-json events from each task and
2752
2829
  * fails the response with `tool_required_not_called: <name>`
@@ -3049,6 +3126,11 @@ declare const daemonConfigSchema: z.ZodObject<{
3049
3126
  openHours: number;
3050
3127
  launchTimeoutSeconds: number;
3051
3128
  };
3129
+ worktrees: {
3130
+ enabled: boolean;
3131
+ maxAgeDays: number;
3132
+ root?: string | undefined;
3133
+ };
3052
3134
  toolUseRequired: string[];
3053
3135
  persistentProcess: boolean;
3054
3136
  queueMode: "drop" | "followup" | "collect";
@@ -3209,6 +3291,11 @@ declare const daemonConfigSchema: z.ZodObject<{
3209
3291
  openHours?: number | undefined;
3210
3292
  launchTimeoutSeconds?: number | undefined;
3211
3293
  } | undefined;
3294
+ worktrees?: {
3295
+ enabled?: boolean | undefined;
3296
+ root?: string | undefined;
3297
+ maxAgeDays?: number | undefined;
3298
+ } | undefined;
3212
3299
  toolUseRequired?: string[] | undefined;
3213
3300
  gitlabAutoReply?: boolean | undefined;
3214
3301
  persistentProcess?: boolean | undefined;
@@ -4906,6 +4993,15 @@ declare const daemonConfigSchema: z.ZodObject<{
4906
4993
  * to report reports there, including the chat an agent's schedule was
4907
4994
  * requested from (#738). `false` keeps `notify` for failure alerts only. */
4908
4995
  deliverResult: z.ZodOptional<z.ZodBoolean>;
4996
+ /** `exceptions`: the run decides whether there is anything to say. It is
4997
+ * asked to answer exactly NOTHING_TO_REPORT when all is as expected, and
4998
+ * such a quiet run sends nothing to `notify` (#1289). Failures are
4999
+ * alerted either way. Unset or `always`: every answer is sent. */
5000
+ report: z.ZodOptional<z.ZodEnum<["always", "exceptions"]>>;
5001
+ /** Check the answer before it is delivered: every line that states a
5002
+ * fact must carry a source link, or the owner is told which do not
5003
+ * (#1288). See src/sales/sources.ts. */
5004
+ requireSources: z.ZodOptional<z.ZodBoolean>;
4909
5005
  /** Secret that lets an external system fire this job now via
4910
5006
  * `POST /routines/<id>/fire`. Reference an env var (`"${MY_TOKEN}"`);
4911
5007
  * a job without one cannot be fired. See src/daemon/routine-fire.ts. */
@@ -4944,6 +5040,7 @@ declare const daemonConfigSchema: z.ZodObject<{
4944
5040
  why: string;
4945
5041
  metric: string;
4946
5042
  } | undefined;
5043
+ report?: "always" | "exceptions" | undefined;
4947
5044
  command?: string | undefined;
4948
5045
  notify?: {
4949
5046
  channel: string;
@@ -4960,6 +5057,7 @@ declare const daemonConfigSchema: z.ZodObject<{
4960
5057
  maxOutputTokens?: number | undefined;
4961
5058
  autonomy?: "report" | "propose" | "act" | undefined;
4962
5059
  deliverResult?: boolean | undefined;
5060
+ requireSources?: boolean | undefined;
4963
5061
  fireToken?: string | undefined;
4964
5062
  }, {
4965
5063
  agent: string;
@@ -4970,6 +5068,7 @@ declare const daemonConfigSchema: z.ZodObject<{
4970
5068
  metric: string;
4971
5069
  } | undefined;
4972
5070
  enabled?: boolean | undefined;
5071
+ report?: "always" | "exceptions" | undefined;
4973
5072
  command?: string | undefined;
4974
5073
  prompt?: string | undefined;
4975
5074
  timeout?: number | undefined;
@@ -4990,6 +5089,7 @@ declare const daemonConfigSchema: z.ZodObject<{
4990
5089
  autonomy?: "report" | "propose" | "act" | undefined;
4991
5090
  onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
4992
5091
  deliverResult?: boolean | undefined;
5092
+ requireSources?: boolean | undefined;
4993
5093
  fireToken?: string | undefined;
4994
5094
  }>, {
4995
5095
  enabled: boolean;
@@ -5004,6 +5104,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5004
5104
  why: string;
5005
5105
  metric: string;
5006
5106
  } | undefined;
5107
+ report?: "always" | "exceptions" | undefined;
5007
5108
  command?: string | undefined;
5008
5109
  notify?: {
5009
5110
  channel: string;
@@ -5020,6 +5121,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5020
5121
  maxOutputTokens?: number | undefined;
5021
5122
  autonomy?: "report" | "propose" | "act" | undefined;
5022
5123
  deliverResult?: boolean | undefined;
5124
+ requireSources?: boolean | undefined;
5023
5125
  fireToken?: string | undefined;
5024
5126
  }, {
5025
5127
  agent: string;
@@ -5030,6 +5132,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5030
5132
  metric: string;
5031
5133
  } | undefined;
5032
5134
  enabled?: boolean | undefined;
5135
+ report?: "always" | "exceptions" | undefined;
5033
5136
  command?: string | undefined;
5034
5137
  prompt?: string | undefined;
5035
5138
  timeout?: number | undefined;
@@ -5050,6 +5153,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5050
5153
  autonomy?: "report" | "propose" | "act" | undefined;
5051
5154
  onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
5052
5155
  deliverResult?: boolean | undefined;
5156
+ requireSources?: boolean | undefined;
5053
5157
  fireToken?: string | undefined;
5054
5158
  }>, {
5055
5159
  enabled: boolean;
@@ -5064,6 +5168,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5064
5168
  why: string;
5065
5169
  metric: string;
5066
5170
  } | undefined;
5171
+ report?: "always" | "exceptions" | undefined;
5067
5172
  command?: string | undefined;
5068
5173
  notify?: {
5069
5174
  channel: string;
@@ -5080,6 +5185,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5080
5185
  maxOutputTokens?: number | undefined;
5081
5186
  autonomy?: "report" | "propose" | "act" | undefined;
5082
5187
  deliverResult?: boolean | undefined;
5188
+ requireSources?: boolean | undefined;
5083
5189
  fireToken?: string | undefined;
5084
5190
  }, {
5085
5191
  agent: string;
@@ -5090,6 +5196,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5090
5196
  metric: string;
5091
5197
  } | undefined;
5092
5198
  enabled?: boolean | undefined;
5199
+ report?: "always" | "exceptions" | undefined;
5093
5200
  command?: string | undefined;
5094
5201
  prompt?: string | undefined;
5095
5202
  timeout?: number | undefined;
@@ -5110,8 +5217,51 @@ declare const daemonConfigSchema: z.ZodObject<{
5110
5217
  autonomy?: "report" | "propose" | "act" | undefined;
5111
5218
  onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
5112
5219
  deliverResult?: boolean | undefined;
5220
+ requireSources?: boolean | undefined;
5113
5221
  fireToken?: string | undefined;
5114
5222
  }>>>;
5223
+ /** One message a day that lists only what is wrong: failed or missed
5224
+ * schedules, stuck requests, paused agents (#1289). Nothing wrong,
5225
+ * nothing sent. See src/crons/exceptions-digest.ts. */
5226
+ exceptionsDigest: z.ZodDefault<z.ZodObject<{
5227
+ enabled: z.ZodDefault<z.ZodBoolean>;
5228
+ /** Local time, 24-hour HH:MM. */
5229
+ time: z.ZodDefault<z.ZodString>;
5230
+ /** IANA timezone for `time`. Unset: this machine's. */
5231
+ timezone: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
5232
+ /** Where it goes. Unset: notifications.destination. */
5233
+ destination: z.ZodOptional<z.ZodObject<{
5234
+ channel: z.ZodString;
5235
+ chatId: z.ZodString;
5236
+ accountId: z.ZodOptional<z.ZodString>;
5237
+ }, "strip", z.ZodTypeAny, {
5238
+ channel: string;
5239
+ chatId: string;
5240
+ accountId?: string | undefined;
5241
+ }, {
5242
+ channel: string;
5243
+ chatId: string;
5244
+ accountId?: string | undefined;
5245
+ }>>;
5246
+ }, "strip", z.ZodTypeAny, {
5247
+ enabled: boolean;
5248
+ time: string;
5249
+ timezone?: string | undefined;
5250
+ destination?: {
5251
+ channel: string;
5252
+ chatId: string;
5253
+ accountId?: string | undefined;
5254
+ } | undefined;
5255
+ }, {
5256
+ enabled?: boolean | undefined;
5257
+ timezone?: string | undefined;
5258
+ time?: string | undefined;
5259
+ destination?: {
5260
+ channel: string;
5261
+ chatId: string;
5262
+ accountId?: string | undefined;
5263
+ } | undefined;
5264
+ }>>;
5115
5265
  /** Notes agents leave for the wiki observe/sweep run (#825). */
5116
5266
  wikiNotes: z.ZodDefault<z.ZodEffects<z.ZodObject<{
5117
5267
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -5637,6 +5787,155 @@ declare const daemonConfigSchema: z.ZodObject<{
5637
5787
  autoAck?: boolean | undefined;
5638
5788
  }[] | undefined;
5639
5789
  }>>;
5790
+ /** Linear and Jira issues as work for agents and as review criteria (#1292). */
5791
+ trackers: z.ZodDefault<z.ZodObject<{
5792
+ linear: z.ZodDefault<z.ZodObject<{
5793
+ enabled: z.ZodDefault<z.ZodBoolean>;
5794
+ apiKeyEnv: z.ZodDefault<z.ZodString>;
5795
+ webhookSecretEnv: z.ZodDefault<z.ZodString>;
5796
+ /** Adding this label to an issue hands it to its team's agent. */
5797
+ label: z.ZodDefault<z.ZodString>;
5798
+ routes: z.ZodDefault<z.ZodArray<z.ZodObject<{
5799
+ /** The agent that gets the labelled issues. Must run on this node. */
5800
+ agent: z.ZodString;
5801
+ /** A local clone of the repository the work lands in. With the agent's
5802
+ * `worktrees` on, each issue gets a worktree of it. */
5803
+ checkout: z.ZodOptional<z.ZodString>;
5804
+ } & {
5805
+ team: z.ZodString;
5806
+ }, "strip", z.ZodTypeAny, {
5807
+ agent: string;
5808
+ team: string;
5809
+ checkout?: string | undefined;
5810
+ }, {
5811
+ agent: string;
5812
+ team: string;
5813
+ checkout?: string | undefined;
5814
+ }>, "many">>;
5815
+ }, "strip", z.ZodTypeAny, {
5816
+ enabled: boolean;
5817
+ label: string;
5818
+ apiKeyEnv: string;
5819
+ routes: {
5820
+ agent: string;
5821
+ team: string;
5822
+ checkout?: string | undefined;
5823
+ }[];
5824
+ webhookSecretEnv: string;
5825
+ }, {
5826
+ enabled?: boolean | undefined;
5827
+ label?: string | undefined;
5828
+ apiKeyEnv?: string | undefined;
5829
+ routes?: {
5830
+ agent: string;
5831
+ team: string;
5832
+ checkout?: string | undefined;
5833
+ }[] | undefined;
5834
+ webhookSecretEnv?: string | undefined;
5835
+ }>>;
5836
+ jira: z.ZodDefault<z.ZodObject<{
5837
+ enabled: z.ZodDefault<z.ZodBoolean>;
5838
+ /** "https://example.atlassian.net", or your Jira Server address. */
5839
+ baseUrl: z.ZodOptional<z.ZodString>;
5840
+ /** Jira Cloud: the account's email. Leave the variable unset for Jira
5841
+ * Server, whose personal access token is sent on its own. */
5842
+ emailEnv: z.ZodDefault<z.ZodString>;
5843
+ tokenEnv: z.ZodDefault<z.ZodString>;
5844
+ webhookSecretEnv: z.ZodDefault<z.ZodString>;
5845
+ label: z.ZodDefault<z.ZodString>;
5846
+ routes: z.ZodDefault<z.ZodArray<z.ZodObject<{
5847
+ /** The agent that gets the labelled issues. Must run on this node. */
5848
+ agent: z.ZodString;
5849
+ /** A local clone of the repository the work lands in. With the agent's
5850
+ * `worktrees` on, each issue gets a worktree of it. */
5851
+ checkout: z.ZodOptional<z.ZodString>;
5852
+ } & {
5853
+ project: z.ZodString;
5854
+ }, "strip", z.ZodTypeAny, {
5855
+ agent: string;
5856
+ project: string;
5857
+ checkout?: string | undefined;
5858
+ }, {
5859
+ agent: string;
5860
+ project: string;
5861
+ checkout?: string | undefined;
5862
+ }>, "many">>;
5863
+ }, "strip", z.ZodTypeAny, {
5864
+ enabled: boolean;
5865
+ label: string;
5866
+ tokenEnv: string;
5867
+ routes: {
5868
+ agent: string;
5869
+ project: string;
5870
+ checkout?: string | undefined;
5871
+ }[];
5872
+ webhookSecretEnv: string;
5873
+ emailEnv: string;
5874
+ baseUrl?: string | undefined;
5875
+ }, {
5876
+ enabled?: boolean | undefined;
5877
+ label?: string | undefined;
5878
+ baseUrl?: string | undefined;
5879
+ tokenEnv?: string | undefined;
5880
+ routes?: {
5881
+ agent: string;
5882
+ project: string;
5883
+ checkout?: string | undefined;
5884
+ }[] | undefined;
5885
+ webhookSecretEnv?: string | undefined;
5886
+ emailEnv?: string | undefined;
5887
+ }>>;
5888
+ }, "strip", z.ZodTypeAny, {
5889
+ linear: {
5890
+ enabled: boolean;
5891
+ label: string;
5892
+ apiKeyEnv: string;
5893
+ routes: {
5894
+ agent: string;
5895
+ team: string;
5896
+ checkout?: string | undefined;
5897
+ }[];
5898
+ webhookSecretEnv: string;
5899
+ };
5900
+ jira: {
5901
+ enabled: boolean;
5902
+ label: string;
5903
+ tokenEnv: string;
5904
+ routes: {
5905
+ agent: string;
5906
+ project: string;
5907
+ checkout?: string | undefined;
5908
+ }[];
5909
+ webhookSecretEnv: string;
5910
+ emailEnv: string;
5911
+ baseUrl?: string | undefined;
5912
+ };
5913
+ }, {
5914
+ linear?: {
5915
+ enabled?: boolean | undefined;
5916
+ label?: string | undefined;
5917
+ apiKeyEnv?: string | undefined;
5918
+ routes?: {
5919
+ agent: string;
5920
+ team: string;
5921
+ checkout?: string | undefined;
5922
+ }[] | undefined;
5923
+ webhookSecretEnv?: string | undefined;
5924
+ } | undefined;
5925
+ jira?: {
5926
+ enabled?: boolean | undefined;
5927
+ label?: string | undefined;
5928
+ baseUrl?: string | undefined;
5929
+ tokenEnv?: string | undefined;
5930
+ routes?: {
5931
+ agent: string;
5932
+ project: string;
5933
+ checkout?: string | undefined;
5934
+ }[] | undefined;
5935
+ webhookSecretEnv?: string | undefined;
5936
+ emailEnv?: string | undefined;
5937
+ } | undefined;
5938
+ }>>;
5640
5939
  approvals: z.ZodDefault<z.ZodObject<{
5641
5940
  /** A card without an `expires` gets this many days. */
5642
5941
  defaultExpiryDays: z.ZodDefault<z.ZodNumber>;
@@ -5970,6 +6269,9 @@ declare const daemonConfigSchema: z.ZodObject<{
5970
6269
  /** Diffs longer than this many kilobytes are cut, and the reviewer is
5971
6270
  * told the diff is incomplete. */
5972
6271
  maxDiffKb: z.ZodDefault<z.ZodNumber>;
6272
+ /** Where the gate reviews: GitHub pull requests, GitLab merge requests
6273
+ * (#1292), or both. GitLab needs the GitLab channel and its token. */
6274
+ forges: z.ZodDefault<z.ZodArray<z.ZodEnum<["github", "gitlab"]>, "many">>;
5973
6275
  }, "strip", z.ZodTypeAny, {
5974
6276
  enabled: boolean;
5975
6277
  mode: "required" | "advisory";
@@ -5983,6 +6285,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5983
6285
  maxReviewsPerPrPerDay: number;
5984
6286
  ciWaitMinutes: number;
5985
6287
  maxDiffKb: number;
6288
+ forges: ("gitlab" | "github")[];
5986
6289
  }, {
5987
6290
  enabled?: boolean | undefined;
5988
6291
  mode?: "required" | "advisory" | undefined;
@@ -5996,6 +6299,7 @@ declare const daemonConfigSchema: z.ZodObject<{
5996
6299
  maxReviewsPerPrPerDay?: number | undefined;
5997
6300
  ciWaitMinutes?: number | undefined;
5998
6301
  maxDiffKb?: number | undefined;
6302
+ forges?: ("gitlab" | "github")[] | undefined;
5999
6303
  }>>;
6000
6304
  /** Merge policy (#1047): core paths need a person's approval; the
6001
6305
  * commit status `agentx/merge-policy` says which a PR is. */
@@ -6069,6 +6373,7 @@ declare const daemonConfigSchema: z.ZodObject<{
6069
6373
  maxReviewsPerPrPerDay: number;
6070
6374
  ciWaitMinutes: number;
6071
6375
  maxDiffKb: number;
6376
+ forges: ("gitlab" | "github")[];
6072
6377
  };
6073
6378
  mergePolicy: {
6074
6379
  enabled: boolean;
@@ -6112,6 +6417,7 @@ declare const daemonConfigSchema: z.ZodObject<{
6112
6417
  maxReviewsPerPrPerDay?: number | undefined;
6113
6418
  ciWaitMinutes?: number | undefined;
6114
6419
  maxDiffKb?: number | undefined;
6420
+ forges?: ("gitlab" | "github")[] | undefined;
6115
6421
  } | undefined;
6116
6422
  mergePolicy?: {
6117
6423
  enabled?: boolean | undefined;
@@ -6199,6 +6505,19 @@ declare const daemonConfigSchema: z.ZodObject<{
6199
6505
  restarts?: number | undefined;
6200
6506
  windowMinutes?: number | undefined;
6201
6507
  }>>;
6508
+ /** A run stopped at its agent's time limit (maxExecutionMinutes) is
6509
+ * continued in the same chat, with a note, up to this many times
6510
+ * (#1257). Scheduled jobs and workflow steps never are. */
6511
+ timeLimit: z.ZodDefault<z.ZodObject<{
6512
+ enabled: z.ZodDefault<z.ZodBoolean>;
6513
+ maxContinuations: z.ZodDefault<z.ZodNumber>;
6514
+ }, "strip", z.ZodTypeAny, {
6515
+ enabled: boolean;
6516
+ maxContinuations: number;
6517
+ }, {
6518
+ enabled?: boolean | undefined;
6519
+ maxContinuations?: number | undefined;
6520
+ }>>;
6202
6521
  }, "strip", z.ZodTypeAny, {
6203
6522
  enabled: boolean;
6204
6523
  maxAgeMinutes: number;
@@ -6209,6 +6528,10 @@ declare const daemonConfigSchema: z.ZodObject<{
6209
6528
  restarts: number;
6210
6529
  windowMinutes: number;
6211
6530
  };
6531
+ timeLimit: {
6532
+ enabled: boolean;
6533
+ maxContinuations: number;
6534
+ };
6212
6535
  }, {
6213
6536
  enabled?: boolean | undefined;
6214
6537
  maxAgeMinutes?: number | undefined;
@@ -6219,6 +6542,10 @@ declare const daemonConfigSchema: z.ZodObject<{
6219
6542
  restarts?: number | undefined;
6220
6543
  windowMinutes?: number | undefined;
6221
6544
  } | undefined;
6545
+ timeLimit?: {
6546
+ enabled?: boolean | undefined;
6547
+ maxContinuations?: number | undefined;
6548
+ } | undefined;
6222
6549
  }>>;
6223
6550
  /** Stop and resume signals (agents/signals, #857): stop a running task
6224
6551
  * cleanly, keep the agent's resume plan, resume it later. The owner may
@@ -6376,6 +6703,21 @@ declare const daemonConfigSchema: z.ZodObject<{
6376
6703
  requireForWork?: string[] | undefined;
6377
6704
  requireOverMinutes?: number | undefined;
6378
6705
  }>>;
6706
+ /** Sprint lanes (src/requests/sprints.ts, #1241): a lead agent hands the
6707
+ * daemon lanes of items (agentx_sprint), and the daemon gives each lane
6708
+ * its next item when the lane's turn ends. Needs `enabled` above. */
6709
+ sprints: z.ZodDefault<z.ZodObject<{
6710
+ enabled: z.ZodDefault<z.ZodBoolean>;
6711
+ /** A lane idle with items left for this long is told to the owner. A
6712
+ * sprint can set its own. */
6713
+ idleMinutes: z.ZodDefault<z.ZodNumber>;
6714
+ }, "strip", z.ZodTypeAny, {
6715
+ enabled: boolean;
6716
+ idleMinutes: number;
6717
+ }, {
6718
+ enabled?: boolean | undefined;
6719
+ idleMinutes?: number | undefined;
6720
+ }>>;
6379
6721
  /** Checkers that close an open loop on evidence (src/requests/checkers,
6380
6722
  * #1039). A loop with a `closeWhen` closes when its check is met; an
6381
6723
  * agent's done on it is refused while the check says not met. */
@@ -6631,6 +6973,10 @@ declare const daemonConfigSchema: z.ZodObject<{
6631
6973
  waitingOwner: boolean;
6632
6974
  timeoutSeconds: number;
6633
6975
  };
6976
+ sprints: {
6977
+ enabled: boolean;
6978
+ idleMinutes: number;
6979
+ };
6634
6980
  }, {
6635
6981
  enabled?: boolean | undefined;
6636
6982
  from?: string[] | undefined;
@@ -6702,6 +7048,10 @@ declare const daemonConfigSchema: z.ZodObject<{
6702
7048
  waitingOwner?: boolean | undefined;
6703
7049
  timeoutSeconds?: number | undefined;
6704
7050
  } | undefined;
7051
+ sprints?: {
7052
+ enabled?: boolean | undefined;
7053
+ idleMinutes?: number | undefined;
7054
+ } | undefined;
6705
7055
  }>>;
6706
7056
  /** Task watchers (src/watchers, #1030): every task start decides whether
6707
7057
  * the task needs a watcher and attaches one. Off by default. */
@@ -9324,8 +9674,8 @@ declare const daemonConfigSchema: z.ZodObject<{
9324
9674
  * them while ToolSearch is available, so a list saves only their
9325
9675
  * names (about 300 tokens) unless tool search is off. A tool left
9326
9676
  * off cannot be found even through ToolSearch. `agentx_approval`,
9327
- * `agentx_request`, `agentx_events`, `agentx_attach_next` and
9328
- * `agentx_workflow` are always kept, and so are `agentx_agents`, `agentx_recent` and
9677
+ * `agentx_request`, `agentx_events`, `agentx_attach_next`,
9678
+ * `agentx_workflow`, `agentx_waiting` and `agentx_sprint` are always kept, and so are `agentx_agents`, `agentx_recent` and
9329
9679
  * `agentx_wiki_query` while `contextOnDemand` is on. A name that is
9330
9680
  * not an agentx tool is rejected, so a typo cannot silently drop a
9331
9681
  * reply tool. Only an agentx server started as a command (stdio)
@@ -9624,6 +9974,11 @@ declare const daemonConfigSchema: z.ZodObject<{
9624
9974
  openHours: number;
9625
9975
  launchTimeoutSeconds: number;
9626
9976
  };
9977
+ worktrees: {
9978
+ enabled: boolean;
9979
+ maxAgeDays: number;
9980
+ root?: string | undefined;
9981
+ };
9627
9982
  toolUseRequired: string[];
9628
9983
  persistentProcess: boolean;
9629
9984
  queueMode: "drop" | "followup" | "collect";
@@ -9719,6 +10074,10 @@ declare const daemonConfigSchema: z.ZodObject<{
9719
10074
  restarts: number;
9720
10075
  windowMinutes: number;
9721
10076
  };
10077
+ timeLimit: {
10078
+ enabled: boolean;
10079
+ maxContinuations: number;
10080
+ };
9722
10081
  };
9723
10082
  mesh: {
9724
10083
  enabled: boolean;
@@ -10033,6 +10392,10 @@ declare const daemonConfigSchema: z.ZodObject<{
10033
10392
  waitingOwner: boolean;
10034
10393
  timeoutSeconds: number;
10035
10394
  };
10395
+ sprints: {
10396
+ enabled: boolean;
10397
+ idleMinutes: number;
10398
+ };
10036
10399
  };
10037
10400
  node: {
10038
10401
  id: string;
@@ -10245,6 +10608,7 @@ declare const daemonConfigSchema: z.ZodObject<{
10245
10608
  why: string;
10246
10609
  metric: string;
10247
10610
  } | undefined;
10611
+ report?: "always" | "exceptions" | undefined;
10248
10612
  command?: string | undefined;
10249
10613
  notify?: {
10250
10614
  channel: string;
@@ -10261,6 +10625,7 @@ declare const daemonConfigSchema: z.ZodObject<{
10261
10625
  maxOutputTokens?: number | undefined;
10262
10626
  autonomy?: "report" | "propose" | "act" | undefined;
10263
10627
  deliverResult?: boolean | undefined;
10628
+ requireSources?: boolean | undefined;
10264
10629
  fireToken?: string | undefined;
10265
10630
  }>;
10266
10631
  graph: {
@@ -10329,6 +10694,7 @@ declare const daemonConfigSchema: z.ZodObject<{
10329
10694
  maxReviewsPerPrPerDay: number;
10330
10695
  ciWaitMinutes: number;
10331
10696
  maxDiffKb: number;
10697
+ forges: ("gitlab" | "github")[];
10332
10698
  };
10333
10699
  mergePolicy: {
10334
10700
  enabled: boolean;
@@ -10346,6 +10712,16 @@ declare const daemonConfigSchema: z.ZodObject<{
10346
10712
  defaultModel?: string | undefined;
10347
10713
  baseUrl?: string | undefined;
10348
10714
  }>;
10715
+ exceptionsDigest: {
10716
+ enabled: boolean;
10717
+ time: string;
10718
+ timezone?: string | undefined;
10719
+ destination?: {
10720
+ channel: string;
10721
+ chatId: string;
10722
+ accountId?: string | undefined;
10723
+ } | undefined;
10724
+ };
10349
10725
  wikiNotes: {
10350
10726
  enabled: boolean;
10351
10727
  crons: string[];
@@ -10449,6 +10825,32 @@ declare const daemonConfigSchema: z.ZodObject<{
10449
10825
  }[];
10450
10826
  timezone?: string | undefined;
10451
10827
  };
10828
+ trackers: {
10829
+ linear: {
10830
+ enabled: boolean;
10831
+ label: string;
10832
+ apiKeyEnv: string;
10833
+ routes: {
10834
+ agent: string;
10835
+ team: string;
10836
+ checkout?: string | undefined;
10837
+ }[];
10838
+ webhookSecretEnv: string;
10839
+ };
10840
+ jira: {
10841
+ enabled: boolean;
10842
+ label: string;
10843
+ tokenEnv: string;
10844
+ routes: {
10845
+ agent: string;
10846
+ project: string;
10847
+ checkout?: string | undefined;
10848
+ }[];
10849
+ webhookSecretEnv: string;
10850
+ emailEnv: string;
10851
+ baseUrl?: string | undefined;
10852
+ };
10853
+ };
10452
10854
  shutdown: {
10453
10855
  restart: {
10454
10856
  windowWaitMinutes: number;
@@ -10872,6 +11274,11 @@ declare const daemonConfigSchema: z.ZodObject<{
10872
11274
  openHours?: number | undefined;
10873
11275
  launchTimeoutSeconds?: number | undefined;
10874
11276
  } | undefined;
11277
+ worktrees?: {
11278
+ enabled?: boolean | undefined;
11279
+ root?: string | undefined;
11280
+ maxAgeDays?: number | undefined;
11281
+ } | undefined;
10875
11282
  toolUseRequired?: string[] | undefined;
10876
11283
  gitlabAutoReply?: boolean | undefined;
10877
11284
  persistentProcess?: boolean | undefined;
@@ -10919,6 +11326,10 @@ declare const daemonConfigSchema: z.ZodObject<{
10919
11326
  restarts?: number | undefined;
10920
11327
  windowMinutes?: number | undefined;
10921
11328
  } | undefined;
11329
+ timeLimit?: {
11330
+ enabled?: boolean | undefined;
11331
+ maxContinuations?: number | undefined;
11332
+ } | undefined;
10922
11333
  } | undefined;
10923
11334
  mesh?: {
10924
11335
  enabled?: boolean | undefined;
@@ -11305,6 +11716,10 @@ declare const daemonConfigSchema: z.ZodObject<{
11305
11716
  waitingOwner?: boolean | undefined;
11306
11717
  timeoutSeconds?: number | undefined;
11307
11718
  } | undefined;
11719
+ sprints?: {
11720
+ enabled?: boolean | undefined;
11721
+ idleMinutes?: number | undefined;
11722
+ } | undefined;
11308
11723
  } | undefined;
11309
11724
  approvals?: {
11310
11725
  digest?: {
@@ -11506,6 +11921,7 @@ declare const daemonConfigSchema: z.ZodObject<{
11506
11921
  metric: string;
11507
11922
  } | undefined;
11508
11923
  enabled?: boolean | undefined;
11924
+ report?: "always" | "exceptions" | undefined;
11509
11925
  command?: string | undefined;
11510
11926
  prompt?: string | undefined;
11511
11927
  timeout?: number | undefined;
@@ -11526,6 +11942,7 @@ declare const daemonConfigSchema: z.ZodObject<{
11526
11942
  autonomy?: "report" | "propose" | "act" | undefined;
11527
11943
  onError?: "notify" | "disable" | "log" | ("notify" | "disable" | "log")[] | undefined;
11528
11944
  deliverResult?: boolean | undefined;
11945
+ requireSources?: boolean | undefined;
11529
11946
  fireToken?: string | undefined;
11530
11947
  }> | undefined;
11531
11948
  graph?: {
@@ -11594,6 +12011,7 @@ declare const daemonConfigSchema: z.ZodObject<{
11594
12011
  maxReviewsPerPrPerDay?: number | undefined;
11595
12012
  ciWaitMinutes?: number | undefined;
11596
12013
  maxDiffKb?: number | undefined;
12014
+ forges?: ("gitlab" | "github")[] | undefined;
11597
12015
  } | undefined;
11598
12016
  mergePolicy?: {
11599
12017
  enabled?: boolean | undefined;
@@ -11611,6 +12029,16 @@ declare const daemonConfigSchema: z.ZodObject<{
11611
12029
  defaultModel?: string | undefined;
11612
12030
  baseUrl?: string | undefined;
11613
12031
  }> | undefined;
12032
+ exceptionsDigest?: {
12033
+ enabled?: boolean | undefined;
12034
+ timezone?: string | undefined;
12035
+ time?: string | undefined;
12036
+ destination?: {
12037
+ channel: string;
12038
+ chatId: string;
12039
+ accountId?: string | undefined;
12040
+ } | undefined;
12041
+ } | undefined;
11614
12042
  wikiNotes?: {
11615
12043
  enabled?: boolean | undefined;
11616
12044
  inbox?: string | undefined;
@@ -11714,6 +12142,32 @@ declare const daemonConfigSchema: z.ZodObject<{
11714
12142
  autoAck?: boolean | undefined;
11715
12143
  }[] | undefined;
11716
12144
  } | undefined;
12145
+ trackers?: {
12146
+ linear?: {
12147
+ enabled?: boolean | undefined;
12148
+ label?: string | undefined;
12149
+ apiKeyEnv?: string | undefined;
12150
+ routes?: {
12151
+ agent: string;
12152
+ team: string;
12153
+ checkout?: string | undefined;
12154
+ }[] | undefined;
12155
+ webhookSecretEnv?: string | undefined;
12156
+ } | undefined;
12157
+ jira?: {
12158
+ enabled?: boolean | undefined;
12159
+ label?: string | undefined;
12160
+ baseUrl?: string | undefined;
12161
+ tokenEnv?: string | undefined;
12162
+ routes?: {
12163
+ agent: string;
12164
+ project: string;
12165
+ checkout?: string | undefined;
12166
+ }[] | undefined;
12167
+ webhookSecretEnv?: string | undefined;
12168
+ emailEnv?: string | undefined;
12169
+ } | undefined;
12170
+ } | undefined;
11717
12171
  shutdown?: {
11718
12172
  restart?: {
11719
12173
  allowBy?: string | undefined;
@@ -12704,6 +13158,11 @@ declare class AgentXDaemon {
12704
13158
  /** Pre-merge review gate (#990). Built with the GitHub channel; does
12705
13159
  * nothing while quality.reviewGate.enabled is false. */
12706
13160
  private reviewGate?;
13161
+ /** The same gate on GitLab merge requests (#1292), when
13162
+ * quality.reviewGate.forges lists "gitlab". */
13163
+ private gitlabReviewGate?;
13164
+ /** Linear and Jira issues handed to agents (#1292). */
13165
+ private trackerDispatcher?;
12707
13166
  /** Core vs edge paths (#1047); does nothing while
12708
13167
  * quality.mergePolicy.enabled is false. */
12709
13168
  private mergePolicy?;
@@ -12774,6 +13233,10 @@ declare class AgentXDaemon {
12774
13233
  * session keyed by the reviewed commit, so it never resumes the
12775
13234
  * author's conversation or an earlier review. */
12776
13235
  private buildReviewGate;
13236
+ /** Runs labelled Linear and Jira issues on their route's agent (#1292).
13237
+ * The chat id names the issue, so a worktree-enabled agent works in the
13238
+ * issue's own worktree of the route's checkout. */
13239
+ private trackers;
12777
13240
  /** Deliver a notice to the owner through the channel router: the
12778
13241
  * address it was given, else notifications.channel (push or ntfy). */
12779
13242
  private ownerSender;
@@ -12812,6 +13275,9 @@ declare class AgentXDaemon {
12812
13275
  private resumeCoordinator;
12813
13276
  /** Stop a running task with a resume plan, and resume it later (#857). */
12814
13277
  private createSignalService;
13278
+ /** Resume every task a stop-all order stopped, then send the owner one
13279
+ * report (#1271). Never throws. */
13280
+ private resumeStopAll;
12815
13281
  /** Resume, report or skip each run the last restart cut off. Never throws. */
12816
13282
  private resumeInterruptedRuns;
12817
13283
  /**
@@ -12879,11 +13345,16 @@ declare class AgentXDaemon {
12879
13345
  /** On the push host: the subscriptions table relayed phones use (#711). */
12880
13346
  private pushHost?;
12881
13347
  private approvalsSweeping;
13348
+ private exceptionsDigesting;
12882
13349
  private deskRoutingBusy;
12883
13350
  private mirroring;
12884
13351
  /** One pass of the Reminders mirror, when it is on and this machine
12885
13352
  * has a task app (src/approvals/mirror.ts). */
12886
13353
  private mirrorTick;
13354
+ /** The exceptions digest (src/crons/exceptions-digest.ts, #1289): once a
13355
+ * day, failed or missed schedules, stuck requests and paused agents.
13356
+ * Nothing wrong, nothing sent. */
13357
+ private exceptionsDigestTick;
12887
13358
  /** Every minute: expire decision cards, tell agents their results, and
12888
13359
  * send the day's digest when due (src/approvals/sweep.ts). */
12889
13360
  private startApprovalsSweep;
@@ -12924,6 +13395,27 @@ declare class AgentXDaemon {
12924
13395
  /** A plan was made or a step moved: follow it in a second rather than
12925
13396
  * at the next minute's check. */
12926
13397
  private kickPlans;
13398
+ private sprintsSweeping;
13399
+ private sprintsKick?;
13400
+ /** Lane turns this daemon started and still awaits, by dispatch token,
13401
+ * to the lane chat: their end comes back through execute(), not the
13402
+ * event bus. Keyed by the dispatch, so a retried item's old turn
13403
+ * ending does not drop the new one. */
13404
+ private sprintRuns;
13405
+ private sprintChatAwaited;
13406
+ /** A sprint was made or a lane moved: follow it in a second rather than
13407
+ * at the next minute's check. */
13408
+ private kickSprints;
13409
+ /** A lane's turn ended: the item is settled and the lane gets its next
13410
+ * one right away. */
13411
+ private sprintItemEnded;
13412
+ /** A lane's turn this daemon did not start ended: one an earlier daemon
13413
+ * started and this boot resumed. Its running item is settled. */
13414
+ private attachSprintEnds;
13415
+ /** Sprint lanes move on: each lane with nothing running gets its next
13416
+ * item, a blocked or idle lane is told to the owner, a finished sprint
13417
+ * gets one summary (src/requests/sprints.ts, #1241). One check at a time. */
13418
+ private sweepSprints;
12927
13419
  /** Tracked plans move on: steps handed over, quiet ones nudged,
12928
13420
  * approved messages sent, the owner told at the end or on a block
12929
13421
  * (src/requests/plan-sweep.ts, #788). One check at a time. */
@@ -13661,6 +14153,9 @@ interface AgentTask {
13661
14153
  * here (instead of in the user-message body) keeps it inside Claude's
13662
14154
  * cached system prompt across session resumes. */
13663
14155
  systemPromptAppend?: string;
14156
+ /** Folder the agent runs in, in place of its workspace: the issue's own
14157
+ * worktree (#1292). The workspace still supplies its `.env`. */
14158
+ cwd?: string;
13664
14159
  /** Per-invocation override for the context assembly strategy. When unset,
13665
14160
  * the registry falls back to config.session.contextStrategy. Set this
13666
14161
  * from benchmark harnesses that want to A/B the same request under
@@ -13705,6 +14200,12 @@ interface AgentTask {
13705
14200
  * retrying caller would otherwise have every attempt run once the slot
13706
14201
  * frees (#822). A run that already started is not affected. */
13707
14202
  callerSignal?: AbortSignal;
14203
+ /** How long a run from a caller that waits for a slot (api, a2a, mcp,
14204
+ * ...) may wait for a busy agent before it is refused. Default 25 min,
14205
+ * under mesh.sendTask's 30 min cap for a caller holding a request
14206
+ * open. A queued /send/agent has no such caller and waits longer, so
14207
+ * its message is not dropped behind long runs (#1258). */
14208
+ slotWaitMs?: number;
13708
14209
  /** How to re-enter this run if a restart cuts it off (agents/resume).
13709
14210
  * Absent: recorded as a direct run with this task's context. */
13710
14211
  origin?: RunOrigin;
@@ -13714,6 +14215,13 @@ interface AgentTask {
13714
14215
  /** Set on the one automatic retry of a run whose preparation steps hit
13715
14216
  * the pre-spawn deadline (#340). A retry that hits it again is reported. */
13716
14217
  preSpawnRetry?: number;
14218
+ /** Set on a run that continues one stopped at its agent's time limit
14219
+ * (#1257): how many continuations this request has had, and when its
14220
+ * first run started (a caller's deadline counts from there). */
14221
+ timeLimitContinuation?: number;
14222
+ timeLimitStartedAt?: number;
14223
+ /** The request as first sent, without the continuation note. */
14224
+ timeLimitRequest?: string;
13717
14225
  /** Improvement plan #8 — when true, the dispatcher discards any
13718
14226
  * cached session for this (agent, channel, chatId) before
13719
14227
  * executing: the claudeSessionId is cleared (no --resume) and
@@ -17093,6 +17601,8 @@ declare class AgentRegistry {
17093
17601
  private meshFallback?;
17094
17602
  /** See setRunNote. */
17095
17603
  private runNote?;
17604
+ /** See setTraceToolCalls. */
17605
+ private traceToolCalls?;
17096
17606
  /** Workflow auto-runner — invoked when workflow matching is in `mode: "auto"`
17097
17607
  * and a candidate workflow's confidence ≥ autoRunThreshold. Wired by the
17098
17608
  * daemon after the workflow dispatcher is constructed. Returns the runId of
@@ -17143,6 +17653,11 @@ declare class AgentRegistry {
17143
17653
  private cloudSessions?;
17144
17654
  /** Spec-test runs (#992), one per issue. Created on first use. */
17145
17655
  private specTests?;
17656
+ /** Worktrees being made (#1292), by agent and issue, so two tasks on
17657
+ * one issue arriving together share one `git worktree add`. */
17658
+ private worktreesPending;
17659
+ /** When each checkout's old worktrees were last pruned. */
17660
+ private worktreesPrunedAt;
17146
17661
  /** The context each running task was started with, by RunningTask id.
17147
17662
  * Kept apart from RunningTask because /agents serialises that, and a
17148
17663
  * context can carry a whole conversation history. Read by A2A
@@ -17178,6 +17693,9 @@ declare class AgentRegistry {
17178
17693
  * watcher only that run can close. The daemon calls this once watchers
17179
17694
  * attach; unset, no note is added. */
17180
17695
  setRunNote(note: ((started: AgentXEvents["task:started"]) => string | undefined) | undefined): void;
17696
+ /** Wire the trace lookup a time-limit continuation lists the stopped
17697
+ * run's tool calls from (#1257). Unset, the note lists none. */
17698
+ setTraceToolCalls(lookup: AgentRegistry["traceToolCalls"]): void;
17181
17699
  setWorkflowAutoRunner(runner: NonNullable<AgentRegistry["workflowAutoRunner"]> | undefined): void;
17182
17700
  /** Hot-swap the provider map. Daemon reload calls this after agentx.json
17183
17701
  * changes — the next task that executes will resolve credentials through
@@ -17284,6 +17802,12 @@ declare class AgentRegistry {
17284
17802
  * it on the trace. Null means: run locally, the reason is logged and on
17285
17803
  * the trace. */
17286
17804
  private runCloudSession;
17805
+ /** The agent and task to run locally: in the issue's own worktree when
17806
+ * `agents.<id>.worktrees` is on (#1292), else unchanged. A worktree that
17807
+ * cannot be made is logged, and the task runs in the workspace.
17808
+ * `fresh`: the worktree is new, so a session kept for the chat was
17809
+ * started in another folder, and Claude Code keeps sessions per folder. */
17810
+ private inTaskWorktree;
17287
17811
  private specTestSettings;
17288
17812
  private specTestStore;
17289
17813
  /** The spec-test input for a new cloud session on an issue (#992), or
@@ -17479,6 +18003,9 @@ declare class AgentRegistry {
17479
18003
  origin: RunOrigin | null;
17480
18004
  workflowRunId?: string;
17481
18005
  } | null;
18006
+ /** Every running task, as a stop-all signal addresses them (#1271). */
18007
+ signalTargets(): Array<NonNullable<ReturnType<AgentRegistry["signalTarget"]>>>;
18008
+ private signalTargetOf;
17482
18009
  /**
17483
18010
  * Daemon shutdown: stop every run still going once the drain limit is
17484
18011
  * spent. Each one ends as `interrupted` with `reason` rather than as a
@@ -19336,6 +19863,8 @@ declare const cronValueSchema: z.ZodObject<{
19336
19863
  }>;
19337
19864
  type CronValue = z.infer<typeof cronValueSchema>;
19338
19865
 
19866
+ type CronReportMode = "always" | "exceptions";
19867
+
19339
19868
  interface CronJobState {
19340
19869
  id: string;
19341
19870
  enabled: boolean;
@@ -19363,6 +19892,10 @@ interface CronJobState {
19363
19892
  /** Send each successful run's answer to the job's `notify` target.
19364
19893
  * True whenever the job has `notify`, unless `deliverResult: false`. */
19365
19894
  deliverResult?: boolean;
19895
+ /** `exceptions`: a run that answers NOTHING_TO_REPORT sends nothing (#1289). */
19896
+ report?: CronReportMode;
19897
+ /** Flag answer lines that state a fact without a source (#1288). */
19898
+ requireSources?: boolean;
19366
19899
  lastRun?: Date;
19367
19900
  nextRun?: Date;
19368
19901
  lastSuccess?: Date;
@@ -19404,6 +19937,11 @@ interface CronRunResult {
19404
19937
  /** Tool calls the autonomy guard blocked — what the routine would have
19405
19938
  * done with more power. */
19406
19939
  autonomyBlocks?: AutonomyBlock[];
19940
+ /** A `report: "exceptions"` run that had nothing to report (#1289). */
19941
+ quiet?: boolean;
19942
+ /** Answer lines that stated a fact without a source, on a job with
19943
+ * `requireSources` (#1288). Absent when every line had one. */
19944
+ unsourced?: number;
19407
19945
  }
19408
19946
 
19409
19947
  type FireNowResult = {