dorfl 0.0.0 → 0.1.1

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 (619) hide show
  1. package/dist/advance-ci-template.d.ts +73 -0
  2. package/dist/advance-ci-template.d.ts.map +1 -0
  3. package/dist/advance-ci-template.js +104 -0
  4. package/dist/advance-ci-template.js.map +1 -0
  5. package/dist/advance-classify.d.ts +132 -0
  6. package/dist/advance-classify.d.ts.map +1 -0
  7. package/dist/advance-classify.js +120 -0
  8. package/dist/advance-classify.js.map +1 -0
  9. package/dist/advance-drivers.d.ts +182 -0
  10. package/dist/advance-drivers.d.ts.map +1 -0
  11. package/dist/advance-drivers.js +231 -0
  12. package/dist/advance-drivers.js.map +1 -0
  13. package/dist/advance-isolated.d.ts +156 -0
  14. package/dist/advance-isolated.d.ts.map +1 -0
  15. package/dist/advance-isolated.js +256 -0
  16. package/dist/advance-isolated.js.map +1 -0
  17. package/dist/advance-lifecycle-template.d.ts +107 -0
  18. package/dist/advance-lifecycle-template.d.ts.map +1 -0
  19. package/dist/advance-lifecycle-template.js +668 -0
  20. package/dist/advance-lifecycle-template.js.map +1 -0
  21. package/dist/advance-loop-driver.d.ts +325 -0
  22. package/dist/advance-loop-driver.d.ts.map +1 -0
  23. package/dist/advance-loop-driver.js +437 -0
  24. package/dist/advance-loop-driver.js.map +1 -0
  25. package/dist/advance-treeless-publish.d.ts +108 -0
  26. package/dist/advance-treeless-publish.d.ts.map +1 -0
  27. package/dist/advance-treeless-publish.js +71 -0
  28. package/dist/advance-treeless-publish.js.map +1 -0
  29. package/dist/advance.d.ts +340 -0
  30. package/dist/advance.d.ts.map +1 -0
  31. package/dist/advance.js +1122 -0
  32. package/dist/advance.js.map +1 -0
  33. package/dist/advancing-lock.d.ts +294 -0
  34. package/dist/advancing-lock.d.ts.map +1 -0
  35. package/dist/advancing-lock.js +594 -0
  36. package/dist/advancing-lock.js.map +1 -0
  37. package/dist/agent-launch.d.ts +79 -0
  38. package/dist/agent-launch.d.ts.map +1 -0
  39. package/dist/agent-launch.js +61 -0
  40. package/dist/agent-launch.js.map +1 -0
  41. package/dist/agent-stop.d.ts +149 -0
  42. package/dist/agent-stop.d.ts.map +1 -0
  43. package/dist/agent-stop.js +307 -0
  44. package/dist/agent-stop.js.map +1 -0
  45. package/dist/apply-decide.d.ts +127 -0
  46. package/dist/apply-decide.d.ts.map +1 -0
  47. package/dist/apply-decide.js +176 -0
  48. package/dist/apply-decide.js.map +1 -0
  49. package/dist/apply-merge-action.d.ts +206 -0
  50. package/dist/apply-merge-action.d.ts.map +1 -0
  51. package/dist/apply-merge-action.js +307 -0
  52. package/dist/apply-merge-action.js.map +1 -0
  53. package/dist/apply-persist.d.ts +174 -0
  54. package/dist/apply-persist.d.ts.map +1 -0
  55. package/dist/apply-persist.js +359 -0
  56. package/dist/apply-persist.js.map +1 -0
  57. package/dist/arbiter.d.ts +120 -0
  58. package/dist/arbiter.d.ts.map +1 -0
  59. package/dist/arbiter.js +255 -0
  60. package/dist/arbiter.js.map +1 -0
  61. package/dist/brand.d.ts +70 -0
  62. package/dist/brand.d.ts.map +1 -0
  63. package/dist/brand.js +84 -0
  64. package/dist/brand.js.map +1 -0
  65. package/dist/buildable-body.d.ts +132 -0
  66. package/dist/buildable-body.d.ts.map +1 -0
  67. package/dist/buildable-body.js +131 -0
  68. package/dist/buildable-body.js.map +1 -0
  69. package/dist/categorise.d.ts +66 -0
  70. package/dist/categorise.d.ts.map +1 -0
  71. package/dist/categorise.js +106 -0
  72. package/dist/categorise.js.map +1 -0
  73. package/dist/claim-cas.d.ts +117 -0
  74. package/dist/claim-cas.d.ts.map +1 -0
  75. package/dist/claim-cas.js +312 -0
  76. package/dist/claim-cas.js.map +1 -0
  77. package/dist/cli-spinner.d.ts +112 -0
  78. package/dist/cli-spinner.d.ts.map +1 -0
  79. package/dist/cli-spinner.js +157 -0
  80. package/dist/cli-spinner.js.map +1 -0
  81. package/dist/cli.d.ts +11 -0
  82. package/dist/cli.d.ts.map +1 -0
  83. package/dist/cli.js +3100 -0
  84. package/dist/cli.js.map +1 -0
  85. package/dist/close-job-template.d.ts +70 -0
  86. package/dist/close-job-template.d.ts.map +1 -0
  87. package/dist/close-job-template.js +180 -0
  88. package/dist/close-job-template.js.map +1 -0
  89. package/dist/close-job.d.ts +95 -0
  90. package/dist/close-job.d.ts.map +1 -0
  91. package/dist/close-job.js +226 -0
  92. package/dist/close-job.js.map +1 -0
  93. package/dist/complete.d.ts +361 -0
  94. package/dist/complete.d.ts.map +1 -0
  95. package/dist/complete.js +885 -0
  96. package/dist/complete.js.map +1 -0
  97. package/dist/concurrency.d.ts +68 -0
  98. package/dist/concurrency.d.ts.map +1 -0
  99. package/dist/concurrency.js +112 -0
  100. package/dist/concurrency.js.map +1 -0
  101. package/dist/config-override.d.ts +76 -0
  102. package/dist/config-override.d.ts.map +1 -0
  103. package/dist/config-override.js +50 -0
  104. package/dist/config-override.js.map +1 -0
  105. package/dist/config.d.ts +668 -0
  106. package/dist/config.d.ts.map +1 -0
  107. package/dist/config.js +241 -0
  108. package/dist/config.js.map +1 -0
  109. package/dist/continue-branch.d.ts +249 -0
  110. package/dist/continue-branch.d.ts.map +1 -0
  111. package/dist/continue-branch.js +389 -0
  112. package/dist/continue-branch.js.map +1 -0
  113. package/dist/cwd-section.d.ts +186 -0
  114. package/dist/cwd-section.d.ts.map +1 -0
  115. package/dist/cwd-section.js +209 -0
  116. package/dist/cwd-section.js.map +1 -0
  117. package/dist/decision-engine.d.ts +170 -0
  118. package/dist/decision-engine.d.ts.map +1 -0
  119. package/dist/decision-engine.js +136 -0
  120. package/dist/decision-engine.js.map +1 -0
  121. package/dist/detect.d.ts +17 -0
  122. package/dist/detect.d.ts.map +1 -0
  123. package/dist/detect.js +118 -0
  124. package/dist/detect.js.map +1 -0
  125. package/dist/do-autopick.d.ts +85 -0
  126. package/dist/do-autopick.d.ts.map +1 -0
  127. package/dist/do-autopick.js +112 -0
  128. package/dist/do-autopick.js.map +1 -0
  129. package/dist/do-config.d.ts +312 -0
  130. package/dist/do-config.d.ts.map +1 -0
  131. package/dist/do-config.js +358 -0
  132. package/dist/do-config.js.map +1 -0
  133. package/dist/do-remote-auto.d.ts +75 -0
  134. package/dist/do-remote-auto.d.ts.map +1 -0
  135. package/dist/do-remote-auto.js +111 -0
  136. package/dist/do-remote-auto.js.map +1 -0
  137. package/dist/do.d.ts +621 -0
  138. package/dist/do.d.ts.map +1 -0
  139. package/dist/do.js +1882 -0
  140. package/dist/do.js.map +1 -0
  141. package/dist/drop-source.d.ts +96 -0
  142. package/dist/drop-source.d.ts.map +1 -0
  143. package/dist/drop-source.js +91 -0
  144. package/dist/drop-source.js.map +1 -0
  145. package/dist/eligibility.d.ts +46 -0
  146. package/dist/eligibility.d.ts.map +1 -0
  147. package/dist/eligibility.js +34 -0
  148. package/dist/eligibility.js.map +1 -0
  149. package/dist/env-config.d.ts +51 -0
  150. package/dist/env-config.d.ts.map +1 -0
  151. package/dist/env-config.js +272 -0
  152. package/dist/env-config.js.map +1 -0
  153. package/dist/failure-cause.d.ts +70 -0
  154. package/dist/failure-cause.d.ts.map +1 -0
  155. package/dist/failure-cause.js +126 -0
  156. package/dist/failure-cause.js.map +1 -0
  157. package/dist/format.d.ts +43 -0
  158. package/dist/format.d.ts.map +1 -0
  159. package/dist/format.js +256 -0
  160. package/dist/format.js.map +1 -0
  161. package/dist/frontmatter.d.ts +208 -0
  162. package/dist/frontmatter.d.ts.map +1 -0
  163. package/dist/frontmatter.js +344 -0
  164. package/dist/frontmatter.js.map +1 -0
  165. package/dist/gate-readiness.d.ts +84 -0
  166. package/dist/gate-readiness.d.ts.map +1 -0
  167. package/dist/gate-readiness.js +103 -0
  168. package/dist/gate-readiness.js.map +1 -0
  169. package/dist/gc.d.ts +165 -0
  170. package/dist/gc.d.ts.map +1 -0
  171. package/dist/gc.js +313 -0
  172. package/dist/gc.js.map +1 -0
  173. package/dist/gh-failure.d.ts +42 -0
  174. package/dist/gh-failure.d.ts.map +1 -0
  175. package/dist/gh-failure.js +49 -0
  176. package/dist/gh-failure.js.map +1 -0
  177. package/dist/git.d.ts +75 -0
  178. package/dist/git.d.ts.map +1 -0
  179. package/dist/git.js +130 -0
  180. package/dist/git.js.map +1 -0
  181. package/dist/github.d.ts +187 -0
  182. package/dist/github.d.ts.map +1 -0
  183. package/dist/github.js +343 -0
  184. package/dist/github.js.map +1 -0
  185. package/dist/harness.d.ts +242 -0
  186. package/dist/harness.d.ts.map +1 -0
  187. package/dist/harness.js +157 -0
  188. package/dist/harness.js.map +1 -0
  189. package/dist/identity.d.ts +167 -0
  190. package/dist/identity.d.ts.map +1 -0
  191. package/dist/identity.js +231 -0
  192. package/dist/identity.js.map +1 -0
  193. package/dist/index.d.ts +147 -0
  194. package/dist/index.d.ts.map +1 -0
  195. package/dist/index.js +76 -0
  196. package/dist/index.js.map +1 -0
  197. package/dist/install-ci-branch-protection.d.ts +147 -0
  198. package/dist/install-ci-branch-protection.d.ts.map +1 -0
  199. package/dist/install-ci-branch-protection.js +166 -0
  200. package/dist/install-ci-branch-protection.js.map +1 -0
  201. package/dist/install-ci-capabilities/advance-lifecycle.d.ts +15 -0
  202. package/dist/install-ci-capabilities/advance-lifecycle.d.ts.map +1 -0
  203. package/dist/install-ci-capabilities/advance-lifecycle.js +28 -0
  204. package/dist/install-ci-capabilities/advance-lifecycle.js.map +1 -0
  205. package/dist/install-ci-capabilities/close-job.d.ts +13 -0
  206. package/dist/install-ci-capabilities/close-job.d.ts.map +1 -0
  207. package/dist/install-ci-capabilities/close-job.js +26 -0
  208. package/dist/install-ci-capabilities/close-job.js.map +1 -0
  209. package/dist/install-ci-capabilities/example-noop.d.ts +16 -0
  210. package/dist/install-ci-capabilities/example-noop.d.ts.map +1 -0
  211. package/dist/install-ci-capabilities/example-noop.js +23 -0
  212. package/dist/install-ci-capabilities/example-noop.js.map +1 -0
  213. package/dist/install-ci-capabilities/intake.d.ts +15 -0
  214. package/dist/install-ci-capabilities/intake.d.ts.map +1 -0
  215. package/dist/install-ci-capabilities/intake.js +28 -0
  216. package/dist/install-ci-capabilities/intake.js.map +1 -0
  217. package/dist/install-ci-capabilities/verify.d.ts +14 -0
  218. package/dist/install-ci-capabilities/verify.d.ts.map +1 -0
  219. package/dist/install-ci-capabilities/verify.js +27 -0
  220. package/dist/install-ci-capabilities/verify.js.map +1 -0
  221. package/dist/install-ci-core.d.ts +446 -0
  222. package/dist/install-ci-core.d.ts.map +1 -0
  223. package/dist/install-ci-core.js +760 -0
  224. package/dist/install-ci-core.js.map +1 -0
  225. package/dist/install-ci-github.d.ts +167 -0
  226. package/dist/install-ci-github.d.ts.map +1 -0
  227. package/dist/install-ci-github.js +315 -0
  228. package/dist/install-ci-github.js.map +1 -0
  229. package/dist/install-ci.d.ts +105 -0
  230. package/dist/install-ci.d.ts.map +1 -0
  231. package/dist/install-ci.js +363 -0
  232. package/dist/install-ci.js.map +1 -0
  233. package/dist/intake-event.d.ts +88 -0
  234. package/dist/intake-event.d.ts.map +1 -0
  235. package/dist/intake-event.js +66 -0
  236. package/dist/intake-event.js.map +1 -0
  237. package/dist/intake-marker.d.ts +95 -0
  238. package/dist/intake-marker.d.ts.map +1 -0
  239. package/dist/intake-marker.js +127 -0
  240. package/dist/intake-marker.js.map +1 -0
  241. package/dist/intake-triage.d.ts +48 -0
  242. package/dist/intake-triage.d.ts.map +1 -0
  243. package/dist/intake-triage.js +95 -0
  244. package/dist/intake-triage.js.map +1 -0
  245. package/dist/intake-trigger-template.d.ts +185 -0
  246. package/dist/intake-trigger-template.d.ts.map +1 -0
  247. package/dist/intake-trigger-template.js +449 -0
  248. package/dist/intake-trigger-template.js.map +1 -0
  249. package/dist/intake.d.ts +569 -0
  250. package/dist/intake.d.ts.map +1 -0
  251. package/dist/intake.js +1628 -0
  252. package/dist/intake.js.map +1 -0
  253. package/dist/integration-core.d.ts +539 -0
  254. package/dist/integration-core.d.ts.map +1 -0
  255. package/dist/integration-core.js +2195 -0
  256. package/dist/integration-core.js.map +1 -0
  257. package/dist/integrator.d.ts +343 -0
  258. package/dist/integrator.d.ts.map +1 -0
  259. package/dist/integrator.js +400 -0
  260. package/dist/integrator.js.map +1 -0
  261. package/dist/isolation.d.ts +219 -0
  262. package/dist/isolation.d.ts.map +1 -0
  263. package/dist/isolation.js +261 -0
  264. package/dist/isolation.js.map +1 -0
  265. package/dist/issue-provider.d.ts +349 -0
  266. package/dist/issue-provider.d.ts.map +1 -0
  267. package/dist/issue-provider.js +360 -0
  268. package/dist/issue-provider.js.map +1 -0
  269. package/dist/item-lock.d.ts +626 -0
  270. package/dist/item-lock.d.ts.map +1 -0
  271. package/dist/item-lock.js +1381 -0
  272. package/dist/item-lock.js.map +1 -0
  273. package/dist/item-path.d.ts +49 -0
  274. package/dist/item-path.d.ts.map +1 -0
  275. package/dist/item-path.js +66 -0
  276. package/dist/item-path.js.map +1 -0
  277. package/dist/ledger-lint.d.ts +129 -0
  278. package/dist/ledger-lint.d.ts.map +1 -0
  279. package/dist/ledger-lint.js +249 -0
  280. package/dist/ledger-lint.js.map +1 -0
  281. package/dist/ledger-read.d.ts +357 -0
  282. package/dist/ledger-read.d.ts.map +1 -0
  283. package/dist/ledger-read.js +442 -0
  284. package/dist/ledger-read.js.map +1 -0
  285. package/dist/ledger-write.d.ts +330 -0
  286. package/dist/ledger-write.d.ts.map +1 -0
  287. package/dist/ledger-write.js +411 -0
  288. package/dist/ledger-write.js.map +1 -0
  289. package/dist/lifecycle-gather.d.ts +30 -0
  290. package/dist/lifecycle-gather.d.ts.map +1 -0
  291. package/dist/lifecycle-gather.js +205 -0
  292. package/dist/lifecycle-gather.js.map +1 -0
  293. package/dist/lifecycle-pools.d.ts +180 -0
  294. package/dist/lifecycle-pools.d.ts.map +1 -0
  295. package/dist/lifecycle-pools.js +78 -0
  296. package/dist/lifecycle-pools.js.map +1 -0
  297. package/dist/merge-question-surfacer.d.ts +166 -0
  298. package/dist/merge-question-surfacer.d.ts.map +1 -0
  299. package/dist/merge-question-surfacer.js +297 -0
  300. package/dist/merge-question-surfacer.js.map +1 -0
  301. package/dist/mint-adr.d.ts +126 -0
  302. package/dist/mint-adr.d.ts.map +1 -0
  303. package/dist/mint-adr.js +257 -0
  304. package/dist/mint-adr.js.map +1 -0
  305. package/dist/mirror-pool-scan.d.ts +125 -0
  306. package/dist/mirror-pool-scan.d.ts.map +1 -0
  307. package/dist/mirror-pool-scan.js +104 -0
  308. package/dist/mirror-pool-scan.js.map +1 -0
  309. package/dist/needs-attention.d.ts +341 -0
  310. package/dist/needs-attention.d.ts.map +1 -0
  311. package/dist/needs-attention.js +900 -0
  312. package/dist/needs-attention.js.map +1 -0
  313. package/dist/orphan-sidecar.d.ts +79 -0
  314. package/dist/orphan-sidecar.d.ts.map +1 -0
  315. package/dist/orphan-sidecar.js +71 -0
  316. package/dist/orphan-sidecar.js.map +1 -0
  317. package/dist/output.d.ts +48 -0
  318. package/dist/output.d.ts.map +1 -0
  319. package/dist/output.js +66 -0
  320. package/dist/output.js.map +1 -0
  321. package/dist/pi-harness.d.ts +179 -0
  322. package/dist/pi-harness.d.ts.map +1 -0
  323. package/dist/pi-harness.js +342 -0
  324. package/dist/pi-harness.js.map +1 -0
  325. package/dist/placement.d.ts +99 -0
  326. package/dist/placement.d.ts.map +1 -0
  327. package/dist/placement.js +67 -0
  328. package/dist/placement.js.map +1 -0
  329. package/dist/prd-to-spec.d.ts +329 -0
  330. package/dist/prd-to-spec.d.ts.map +1 -0
  331. package/dist/prd-to-spec.js +706 -0
  332. package/dist/prd-to-spec.js.map +1 -0
  333. package/dist/prepare.d.ts +121 -0
  334. package/dist/prepare.d.ts.map +1 -0
  335. package/dist/prepare.js +140 -0
  336. package/dist/prepare.js.map +1 -0
  337. package/dist/prompt.d.ts +363 -0
  338. package/dist/prompt.d.ts.map +1 -0
  339. package/dist/prompt.js +499 -0
  340. package/dist/prompt.js.map +1 -0
  341. package/dist/protocol/ADR-FORMAT.md +47 -0
  342. package/dist/protocol/CLAIM-PROTOCOL.md +217 -0
  343. package/dist/protocol/REVIEW-PROTOCOL.md +119 -0
  344. package/dist/protocol/SURFACE-PROTOCOL.md +121 -0
  345. package/dist/protocol/TASKING-PROTOCOL.md +122 -0
  346. package/dist/protocol/WORK-CONTRACT.md +276 -0
  347. package/dist/protocol/spec-template.md +71 -0
  348. package/dist/protocol/task-template.md +65 -0
  349. package/dist/readiness.d.ts +66 -0
  350. package/dist/readiness.d.ts.map +1 -0
  351. package/dist/readiness.js +36 -0
  352. package/dist/readiness.js.map +1 -0
  353. package/dist/reap-branches.d.ts +102 -0
  354. package/dist/reap-branches.d.ts.map +1 -0
  355. package/dist/reap-branches.js +149 -0
  356. package/dist/reap-branches.js.map +1 -0
  357. package/dist/recover-isolated.d.ts +72 -0
  358. package/dist/recover-isolated.d.ts.map +1 -0
  359. package/dist/recover-isolated.js +188 -0
  360. package/dist/recover-isolated.js.map +1 -0
  361. package/dist/registry.d.ts +172 -0
  362. package/dist/registry.d.ts.map +1 -0
  363. package/dist/registry.js +296 -0
  364. package/dist/registry.js.map +1 -0
  365. package/dist/repo-config.d.ts +201 -0
  366. package/dist/repo-config.d.ts.map +1 -0
  367. package/dist/repo-config.js +414 -0
  368. package/dist/repo-config.js.map +1 -0
  369. package/dist/repo-key.d.ts +20 -0
  370. package/dist/repo-key.d.ts.map +1 -0
  371. package/dist/repo-key.js +68 -0
  372. package/dist/repo-key.js.map +1 -0
  373. package/dist/repo-mirror.d.ts +177 -0
  374. package/dist/repo-mirror.d.ts.map +1 -0
  375. package/dist/repo-mirror.js +271 -0
  376. package/dist/repo-mirror.js.map +1 -0
  377. package/dist/retry-backoff.d.ts +90 -0
  378. package/dist/retry-backoff.d.ts.map +1 -0
  379. package/dist/retry-backoff.js +98 -0
  380. package/dist/retry-backoff.js.map +1 -0
  381. package/dist/review-gate.d.ts +173 -0
  382. package/dist/review-gate.d.ts.map +1 -0
  383. package/dist/review-gate.js +261 -0
  384. package/dist/review-gate.js.map +1 -0
  385. package/dist/review-verdict.d.ts +149 -0
  386. package/dist/review-verdict.d.ts.map +1 -0
  387. package/dist/review-verdict.js +332 -0
  388. package/dist/review-verdict.js.map +1 -0
  389. package/dist/run.d.ts +221 -0
  390. package/dist/run.d.ts.map +1 -0
  391. package/dist/run.js +963 -0
  392. package/dist/run.js.map +1 -0
  393. package/dist/scan.d.ts +308 -0
  394. package/dist/scan.d.ts.map +1 -0
  395. package/dist/scan.js +374 -0
  396. package/dist/scan.js.map +1 -0
  397. package/dist/select-order.d.ts +75 -0
  398. package/dist/select-order.d.ts.map +1 -0
  399. package/dist/select-order.js +108 -0
  400. package/dist/select-order.js.map +1 -0
  401. package/dist/select-priority.d.ts +188 -0
  402. package/dist/select-priority.d.ts.map +1 -0
  403. package/dist/select-priority.js +80 -0
  404. package/dist/select-priority.js.map +1 -0
  405. package/dist/select.d.ts +25 -0
  406. package/dist/select.d.ts.map +1 -0
  407. package/dist/select.js +43 -0
  408. package/dist/select.js.map +1 -0
  409. package/dist/session-path.d.ts +36 -0
  410. package/dist/session-path.d.ts.map +1 -0
  411. package/dist/session-path.js +129 -0
  412. package/dist/session-path.js.map +1 -0
  413. package/dist/sidecar-apply.d.ts +83 -0
  414. package/dist/sidecar-apply.d.ts.map +1 -0
  415. package/dist/sidecar-apply.js +111 -0
  416. package/dist/sidecar-apply.js.map +1 -0
  417. package/dist/sidecar.d.ts +245 -0
  418. package/dist/sidecar.d.ts.map +1 -0
  419. package/dist/sidecar.js +481 -0
  420. package/dist/sidecar.js.map +1 -0
  421. package/dist/slug-namespace.d.ts +204 -0
  422. package/dist/slug-namespace.d.ts.map +1 -0
  423. package/dist/slug-namespace.js +229 -0
  424. package/dist/slug-namespace.js.map +1 -0
  425. package/dist/spec-complete.d.ts +44 -0
  426. package/dist/spec-complete.d.ts.map +1 -0
  427. package/dist/spec-complete.js +69 -0
  428. package/dist/spec-complete.js.map +1 -0
  429. package/dist/start.d.ts +97 -0
  430. package/dist/start.d.ts.map +1 -0
  431. package/dist/start.js +633 -0
  432. package/dist/start.js.map +1 -0
  433. package/dist/status.d.ts +199 -0
  434. package/dist/status.d.ts.map +1 -0
  435. package/dist/status.js +228 -0
  436. package/dist/status.js.map +1 -0
  437. package/dist/surface-gate.d.ts +162 -0
  438. package/dist/surface-gate.d.ts.map +1 -0
  439. package/dist/surface-gate.js +206 -0
  440. package/dist/surface-gate.js.map +1 -0
  441. package/dist/surface-persist.d.ts +86 -0
  442. package/dist/surface-persist.d.ts.map +1 -0
  443. package/dist/surface-persist.js +129 -0
  444. package/dist/surface-persist.js.map +1 -0
  445. package/dist/tasker-review-loop.d.ts +249 -0
  446. package/dist/tasker-review-loop.d.ts.map +1 -0
  447. package/dist/tasker-review-loop.js +369 -0
  448. package/dist/tasker-review-loop.js.map +1 -0
  449. package/dist/tasking-eligibility.d.ts +74 -0
  450. package/dist/tasking-eligibility.d.ts.map +1 -0
  451. package/dist/tasking-eligibility.js +52 -0
  452. package/dist/tasking-eligibility.js.map +1 -0
  453. package/dist/tasking-lock.d.ts +111 -0
  454. package/dist/tasking-lock.d.ts.map +1 -0
  455. package/dist/tasking-lock.js +256 -0
  456. package/dist/tasking-lock.js.map +1 -0
  457. package/dist/tasking.d.ts +275 -0
  458. package/dist/tasking.d.ts.map +1 -0
  459. package/dist/tasking.js +951 -0
  460. package/dist/tasking.js.map +1 -0
  461. package/dist/triage-gate.d.ts +127 -0
  462. package/dist/triage-gate.d.ts.map +1 -0
  463. package/dist/triage-gate.js +139 -0
  464. package/dist/triage-gate.js.map +1 -0
  465. package/dist/triage-persist.d.ts +163 -0
  466. package/dist/triage-persist.d.ts.map +1 -0
  467. package/dist/triage-persist.js +387 -0
  468. package/dist/triage-persist.js.map +1 -0
  469. package/dist/verdict-json.d.ts +32 -0
  470. package/dist/verdict-json.d.ts.map +1 -0
  471. package/dist/verdict-json.js +74 -0
  472. package/dist/verdict-json.js.map +1 -0
  473. package/dist/verify-workflow-template.d.ts +60 -0
  474. package/dist/verify-workflow-template.d.ts.map +1 -0
  475. package/dist/verify-workflow-template.js +126 -0
  476. package/dist/verify-workflow-template.js.map +1 -0
  477. package/dist/verify.d.ts +60 -0
  478. package/dist/verify.d.ts.map +1 -0
  479. package/dist/verify.js +62 -0
  480. package/dist/verify.js.map +1 -0
  481. package/dist/watch-session.d.ts +112 -0
  482. package/dist/watch-session.d.ts.map +1 -0
  483. package/dist/watch-session.js +347 -0
  484. package/dist/watch-session.js.map +1 -0
  485. package/dist/work-layout.d.ts +198 -0
  486. package/dist/work-layout.d.ts.map +1 -0
  487. package/dist/work-layout.js +217 -0
  488. package/dist/work-layout.js.map +1 -0
  489. package/dist/work-on.d.ts +154 -0
  490. package/dist/work-on.d.ts.map +1 -0
  491. package/dist/work-on.js +387 -0
  492. package/dist/work-on.js.map +1 -0
  493. package/dist/workspace.d.ts +224 -0
  494. package/dist/workspace.d.ts.map +1 -0
  495. package/dist/workspace.js +325 -0
  496. package/dist/workspace.js.map +1 -0
  497. package/package.json +46 -2
  498. package/src/advance-ci-template.ts +203 -0
  499. package/src/advance-classify.ts +197 -0
  500. package/src/advance-drivers.ts +414 -0
  501. package/src/advance-isolated.ts +432 -0
  502. package/src/advance-lifecycle-template.ts +791 -0
  503. package/src/advance-loop-driver.ts +745 -0
  504. package/src/advance-treeless-publish.ts +177 -0
  505. package/src/advance.ts +1564 -0
  506. package/src/advancing-lock.ts +988 -0
  507. package/src/agent-launch.ts +137 -0
  508. package/src/agent-stop.ts +361 -0
  509. package/src/apply-decide.ts +242 -0
  510. package/src/apply-merge-action.ts +502 -0
  511. package/src/apply-persist.ts +518 -0
  512. package/src/arbiter.ts +372 -0
  513. package/src/brand.ts +111 -0
  514. package/src/buildable-body.ts +196 -0
  515. package/src/categorise.ts +158 -0
  516. package/src/claim-cas.ts +513 -0
  517. package/src/cli-spinner.ts +225 -0
  518. package/src/cli.ts +4379 -0
  519. package/src/close-job-template.ts +236 -0
  520. package/src/close-job.ts +319 -0
  521. package/src/complete.ts +1379 -0
  522. package/src/concurrency.ts +151 -0
  523. package/src/config-override.ts +116 -0
  524. package/src/config.ts +883 -0
  525. package/src/continue-branch.ts +542 -0
  526. package/src/cwd-section.ts +392 -0
  527. package/src/decision-engine.ts +272 -0
  528. package/src/detect.ts +124 -0
  529. package/src/do-autopick.ts +223 -0
  530. package/src/do-config.ts +589 -0
  531. package/src/do-remote-auto.ts +197 -0
  532. package/src/do.ts +2623 -0
  533. package/src/drop-source.ts +194 -0
  534. package/src/eligibility.ts +79 -0
  535. package/src/env-config.ts +305 -0
  536. package/src/failure-cause.ts +142 -0
  537. package/src/format.ts +313 -0
  538. package/src/frontmatter.ts +477 -0
  539. package/src/gate-readiness.ts +147 -0
  540. package/src/gc.ts +510 -0
  541. package/src/gh-failure.ts +53 -0
  542. package/src/git.ts +186 -0
  543. package/src/github.ts +468 -0
  544. package/src/harness.ts +355 -0
  545. package/src/identity.ts +322 -0
  546. package/src/index.ts +785 -0
  547. package/src/install-ci-branch-protection.ts +255 -0
  548. package/src/install-ci-capabilities/advance-lifecycle.ts +34 -0
  549. package/src/install-ci-capabilities/close-job.ts +32 -0
  550. package/src/install-ci-capabilities/example-noop.ts +24 -0
  551. package/src/install-ci-capabilities/intake.ts +34 -0
  552. package/src/install-ci-capabilities/verify.ts +33 -0
  553. package/src/install-ci-core.ts +1088 -0
  554. package/src/install-ci-github.ts +376 -0
  555. package/src/install-ci.ts +552 -0
  556. package/src/intake-event.ts +102 -0
  557. package/src/intake-marker.ts +195 -0
  558. package/src/intake-triage.ts +138 -0
  559. package/src/intake-trigger-template.ts +591 -0
  560. package/src/intake.ts +2445 -0
  561. package/src/integration-core.ts +3065 -0
  562. package/src/integrator.ts +771 -0
  563. package/src/isolation.ts +484 -0
  564. package/src/issue-provider.ts +733 -0
  565. package/src/item-lock.ts +1858 -0
  566. package/src/item-path.ts +75 -0
  567. package/src/ledger-lint.ts +332 -0
  568. package/src/ledger-read.ts +924 -0
  569. package/src/ledger-write.ts +865 -0
  570. package/src/lifecycle-gather.ts +298 -0
  571. package/src/lifecycle-pools.ts +250 -0
  572. package/src/merge-question-surfacer.ts +496 -0
  573. package/src/mint-adr.ts +362 -0
  574. package/src/mirror-pool-scan.ts +240 -0
  575. package/src/needs-attention.ts +1506 -0
  576. package/src/orphan-sidecar.ts +150 -0
  577. package/src/output.ts +89 -0
  578. package/src/pi-harness.ts +403 -0
  579. package/src/placement.ts +131 -0
  580. package/src/prd-to-spec.ts +1059 -0
  581. package/src/prepare.ts +230 -0
  582. package/src/prompt.ts +763 -0
  583. package/src/readiness.ts +98 -0
  584. package/src/reap-branches.ts +278 -0
  585. package/src/recover-isolated.ts +276 -0
  586. package/src/registry.ts +475 -0
  587. package/src/repo-config.ts +550 -0
  588. package/src/repo-key.ts +74 -0
  589. package/src/repo-mirror.ts +367 -0
  590. package/src/retry-backoff.ts +130 -0
  591. package/src/review-gate.ts +389 -0
  592. package/src/review-verdict.ts +422 -0
  593. package/src/run.ts +1430 -0
  594. package/src/scan.ts +611 -0
  595. package/src/select-order.ts +143 -0
  596. package/src/select-priority.ts +266 -0
  597. package/src/select.ts +62 -0
  598. package/src/session-path.ts +153 -0
  599. package/src/sidecar-apply.ts +216 -0
  600. package/src/sidecar.ts +700 -0
  601. package/src/slug-namespace.ts +367 -0
  602. package/src/spec-complete.ts +118 -0
  603. package/src/start.ts +974 -0
  604. package/src/status.ts +441 -0
  605. package/src/surface-gate.ts +337 -0
  606. package/src/surface-persist.ts +241 -0
  607. package/src/tasker-review-loop.ts +671 -0
  608. package/src/tasking-eligibility.ts +114 -0
  609. package/src/tasking-lock.ts +416 -0
  610. package/src/tasking.ts +1437 -0
  611. package/src/triage-gate.ts +248 -0
  612. package/src/triage-persist.ts +570 -0
  613. package/src/verdict-json.ts +73 -0
  614. package/src/verify-workflow-template.ts +159 -0
  615. package/src/verify.ts +123 -0
  616. package/src/watch-session.ts +397 -0
  617. package/src/work-layout.ts +262 -0
  618. package/src/work-on.ts +660 -0
  619. package/src/workspace.ts +502 -0
@@ -0,0 +1,569 @@
1
+ import type { IntegrateResult, ReviewProvider } from './integrator.js';
2
+ import type { IntegrationMode, SpecsLandIn } from './config.js';
3
+ import type { OriginTrust } from './frontmatter.js';
4
+ import { type Identity } from './identity.js';
5
+ import { type Harness } from './harness.js';
6
+ import { type Issue, type IssueComment, type IssueProvider } from './issue-provider.js';
7
+ import { parseReviewVerdict, type ReviewFinding, type ReviewVerdict } from './review-verdict.js';
8
+ import { type IntakeTriageDecision } from './intake-triage.js';
9
+ /**
10
+ * **`intake <N>`** (prd `issue-intake`, task `intake-tracer-slice-outcome`): the
11
+ * KEYSTONE of the issue front-door. A new, GATE-FREE command — explicit invocation
12
+ * IS the authorization (precedent: `explicit-do-prd-not-gated-by-autoslice`), so
13
+ * `autoTask`/`autoBuild` config does NOT apply — that reads a GitHub issue + its
14
+ * thread through the {@link IssueProvider} seam, runs the decision as a
15
+ * **prompt → VERDICT**, and DISPATCHES on the verdict.
16
+ *
17
+ * The engine shape MIRRORS the review gate (prompt → `approve|block` → dispatch):
18
+ * the decision prompt is an INLINE builder ({@link buildIntakeDecisionSpec}, like
19
+ * `buildTaskingPrd`); the **dispatcher is the testable seam** — a STUBBED verdict
20
+ * (injected, no model/network) drives it, exactly as `ReviewGate` is injected. The
21
+ * prompt's JUDGEMENT is NOT unit-tested (like the review prompt's is not); only the
22
+ * dispatch is.
23
+ *
24
+ * The dispatcher implements the FULL four-outcome decision table (prd
25
+ * `issue-intake` — the source of truth):
26
+ * - **ASK** (not clear enough to act on): `postIssueComment` the next clarifying
27
+ * question; emit NOTHING; STOP.
28
+ * - **TASK** (clear AND fits ONE tracer-bullet task): write
29
+ * `work/backlog/<slug>.md` (`covers: []`, NO `prd:`) carrying `issue: N` (the
30
+ * lone-task closure link, NOT `Fixes #N`), integrate via {@link
31
+ * performIntegration} (default `propose`).
32
+ * - **PRD** (clear AND coherent but >1 task — INCLUDING a coupled-but-SMALL pair,
33
+ * which is NEVER bounced): write the prd file (`work/prds/ready/<slug>.md`) with `issue: N` (+ the gate
34
+ * axes the verdict carried), integrate, STOP (tasking is the separate `do prd:`
35
+ * step).
36
+ * - **BOUNCE** (genuinely UNRELATED concerns — no shared vision): the bounce is
37
+ * TERMINAL (the asks are unrelated and must be re-filed), so intake CLOSES the
38
+ * issue ATOMICALLY — the "file separate issues" text as the closing comment +
39
+ * `reason: not planned` (the honest GitHub-native signal) in ONE `closeIssue`
40
+ * call; emit NOTHING. Intake closes on BOUNCE (as not planned); NEVER on
41
+ * task/prd (CI's close-job closes those via the `issue:` field) / ask.
42
+ *
43
+ * The per-outcome integration KNOBS, the processing LOCK, and event-classification
44
+ * are LATER tasks and are NOT built here (default `propose` is fine here).
45
+ *
46
+ * The AGENT only DRAFTS (returns the verdict object); the RUNNER (this dispatcher)
47
+ * owns every git/seam side-effect — the write + integrate (and, in later tasks,
48
+ * the comment + label ops). The agent is git-free AND seam-free: the in-band
49
+ * boundary (the SAME discipline the build/tasker agents follow).
50
+ */
51
+ /**
52
+ * The four outcomes the decision prompt classifies an issue into (the decision
53
+ * table). EXPAND step (prd
54
+ * `prd-to-spec-vocabulary-cutover-and-migration-command`): the `spec` outcome
55
+ * names the "clear + coherent but >1 task" classification (a parent SPEC). HARD
56
+ * CUTOVER (contract step): the legacy `prd` outcome token is GONE — the prompt
57
+ * emits `spec` and the parser rejects any other token.
58
+ */
59
+ export type IntakeOutcome = 'ask' | 'task' | 'spec' | 'bounce';
60
+ /**
61
+ * The VERDICT the decision prompt returns — `{ask,task,spec,bounce}` + the drafted
62
+ * content for the chosen outcome. THIS code path consumes only the `task` branch's
63
+ * fields (`taskSlug` / `taskTitle` / `taskBody`); the `ask`/`spec`/`bounce`
64
+ * fields are carried on the shape (so the type is stable for the next task) but
65
+ * not dispatched here.
66
+ */
67
+ export interface IntakeVerdict {
68
+ /** Which outcome the prompt chose for the issue. */
69
+ outcome: IntakeOutcome;
70
+ /**
71
+ * The drafted task's content-derived slug (`task` outcome). The dispatcher
72
+ * SANITISES it (a content-derived slug, never a counter) before writing
73
+ * `work/backlog/<slug>.md`. Falls back to a slug derived from {@link taskTitle}
74
+ * when absent/empty.
75
+ */
76
+ taskSlug?: string;
77
+ /** The drafted task's `title:` (`task` outcome). */
78
+ taskTitle?: string;
79
+ /**
80
+ * The drafted task BODY (`task` outcome) — the markdown AFTER the frontmatter
81
+ * (the `## What to build` / `## Acceptance criteria` / `## Prompt` sections). The
82
+ * dispatcher writes the frontmatter (slug/title/`covers: []`, NO `prd:`) carrying
83
+ * the lone-task `issue: N` closure link itself; the agent never writes
84
+ * git-visible files.
85
+ */
86
+ taskBody?: string;
87
+ /**
88
+ * The drafted clarifying question (`ask` outcome) — the dispatcher posts it via
89
+ * `postIssueComment`, emits nothing, and STOPS (a later run resumes from the
90
+ * updated thread).
91
+ */
92
+ question?: string;
93
+ /**
94
+ * The drafted spec's content-derived slug (`spec` outcome). The dispatcher
95
+ * SANITISES it through `paramCase` (never a counter) before writing the spec
96
+ * file (`work/specs/ready/<slug>.md`). Falls back to a slug derived from {@link specTitle} when
97
+ * absent/empty.
98
+ */
99
+ specSlug?: string;
100
+ /** The drafted spec's `title:` (`spec` outcome). */
101
+ specTitle?: string;
102
+ /**
103
+ * The drafted spec BODY (`spec` outcome) — the markdown AFTER the frontmatter
104
+ * (`## Problem Statement` / `## Solution` / `## User Stories` / …). The dispatcher
105
+ * writes the frontmatter (title/slug/`issue: N` + the gate axes) itself; the
106
+ * agent never writes git-visible files.
107
+ */
108
+ specBody?: string;
109
+ /**
110
+ * The spec's gate axes (`spec` outcome) AS THE PROMPT JUDGED THEM — surfaced onto
111
+ * the emitted spec frontmatter (prd `issue-intake` US #8: "the emitted artifact
112
+ * carries … its own gate axes"). Both omitted (undeclared) by default; the prompt
113
+ * sets `specHumanOnly: true` when a human should drive the TASKING and/or
114
+ * `specNeedsAnswers: true` when open questions remain.
115
+ */
116
+ specHumanOnly?: boolean;
117
+ specNeedsAnswers?: boolean;
118
+ /**
119
+ * The drafted bounce message (`bounce` outcome) — the dispatcher carries it as
120
+ * the CLOSING COMMENT on the atomic `closeIssue` ("please file separate issues")
121
+ * with `reason: not planned`, then emits nothing. A bounce is TERMINAL, so the
122
+ * issue is CLOSED (not left open).
123
+ */
124
+ bounceMessage?: string;
125
+ }
126
+ /** The terminal status of one `intake <N>` run. */
127
+ export type IntakeRunOutcome = 'tasked' | 'asked' | 'spec-written' | 'bounced' | 'no-new-input' | 'already-terminal' | 'locked' | 'lock-failed' | 'agent-failed' | 'stale' | 'usage-error';
128
+ export interface IntakeResult {
129
+ exitCode: 0 | 1 | 4;
130
+ outcome: IntakeRunOutcome;
131
+ /** The issue number acted on. */
132
+ issueNumber: number;
133
+ /** The slug of the emitted artifact (task OR prd outcome). */
134
+ emittedSlug?: string;
135
+ /** Repo-relative path of the emitted artifact (task OR prd outcome). */
136
+ emitted?: string;
137
+ /** True iff a comment was posted on the issue (ask / bounce outcomes). */
138
+ commented?: boolean;
139
+ /**
140
+ * True iff the ISSUE was closed (the BOUNCE outcome — a terminal bounce closes
141
+ * the issue atomically as `not planned`). Additive (mirrors {@link commented}),
142
+ * so CI / callers can observe the close. Never set on ask/task/prd.
143
+ */
144
+ closed?: boolean;
145
+ /** Human-readable summary of the terminal condition. */
146
+ message: string;
147
+ }
148
+ /**
149
+ * The DECISION step: given the issue + thread, return a VERDICT. Tests inject a
150
+ * canned verdict (the STUBBED seam that drives the dispatcher, no model/network).
151
+ * Production wires the harness through {@link harnessIntakeDecision}.
152
+ */
153
+ export type IntakeDecider = (input: {
154
+ cwd: string;
155
+ issue: Issue;
156
+ comments: IssueComment[];
157
+ prompt: string;
158
+ env?: NodeJS.ProcessEnv;
159
+ }) => Promise<IntakeVerdict>;
160
+ export interface PerformIntakeOptions {
161
+ /** The issue number to intake (`intake <N>`). */
162
+ issueNumber: number;
163
+ /** The working clone/checkout the intake runs in. */
164
+ cwd: string;
165
+ /** Name of the arbiter git remote. Defaults to `origin`. */
166
+ arbiter?: string;
167
+ /**
168
+ * The issue seam (read the issue + thread). Tests inject a STUB; production
169
+ * defaults to {@link GitHubIssueProvider} (the only place `gh` is shelled out).
170
+ */
171
+ issueProvider?: IssueProvider;
172
+ /**
173
+ * The DECISION seam (prompt → verdict). Tests inject a CANNED verdict (no
174
+ * model/network) — this is the unit-test target. Production wires the harness.
175
+ */
176
+ decide?: IntakeDecider;
177
+ /**
178
+ * The LONE-TASK bounded-review seam (prompt → review verdict). After a `task`
179
+ * verdict and BEFORE the write/integrate, {@link dispatchTask} runs a bounded
180
+ * (3-round, HARD-CAPPED) adversarial self-review on the SINGLE drafted task
181
+ * through this seam (observation
182
+ * `intake-lone-task-skips-adversarial-review-the-prd-path-gets`, rulings A/B/C).
183
+ * Tests inject a CANNED review verdict (no model/network) — the new testable
184
+ * seam; production wires the harness ({@link harnessLoneTaskReviewGate}). It
185
+ * mirrors {@link decide}'s injectable shape, NOT the tasker loop (which is a
186
+ * SET-level reviewer this never imports/calls).
187
+ */
188
+ reviewTask?: LoneTaskReviewGate;
189
+ /** The harness seam used when {@link decide} is omitted; defaults to the null adapter. */
190
+ harness?: Harness;
191
+ /** The configured agent command the harness shells out to (null adapter). */
192
+ agentCmd?: string;
193
+ /** The model routing intent forwarded to the harness (ADR §13). */
194
+ model?: string;
195
+ /** The HOST-ONLY sessions root for the pi session file. */
196
+ sessionsDir?: string;
197
+ /**
198
+ * The PER-OUTCOME integration modes (prd `issue-intake` US #9) the emitted artifact integrates
199
+ * THROUGH the shared core with. Because `intake` decides the artifact TYPE at
200
+ * RUNTIME, the mode is keyed per type: an emitted task integrates with
201
+ * `integration.task`, an emitted prd with `integration.prd` (`propose` =
202
+ * push the `work/<slug>` branch + open a PR, NO `main` touch; `merge` = land on
203
+ * `main`). The CLI resolves this from the granular + aggregate flags via
204
+ * {@link resolveIntakeIntegrationModes}; ask/bounce emit nothing, so the modes
205
+ * are no-ops for them. Unset ⇒ propose for both.
206
+ */
207
+ integration?: IntakeIntegrationModes;
208
+ /**
209
+ * **The ORIGIN-TRUST verdict, passed IN** (task
210
+ * `untrusted-origin-forces-build-propose`; the `--origin-trust <trusted|untrusted>`
211
+ * CLI flag). `intake` STAMPS `origin: issue` + this `originTrust` onto every prd/
212
+ * task it emits, so the author-trust signal SURVIVES the prd/task merge
213
+ * boundary (a landed-on-main artifact otherwise erases how it was born, the
214
+ * laundering gap). `intake` does NOT resolve trust itself: the verdict is CI's
215
+ * POLICY, computed in the `intake.yml` shell from the SAME `author_association`
216
+ * case as the integration flags and threaded IN here (preserving the ~L296
217
+ * boundary). UNSET means the artifact is emitted UNSTAMPED, read as `human`/trusted:
218
+ * a LOCAL `dorfl intake <N>` (no CI shell, no `--origin-trust`) is the
219
+ * human-IS-the-checkpoint path, gate-free exactly as `do`.
220
+ */
221
+ originTrust?: OriginTrust;
222
+ /**
223
+ * **The PR-INTENT axis** (config `noPR`, ADR §6): when `true`, intake's propose
224
+ * emissions push the branch but skip the PR (the explicit suppress-PR intent).
225
+ * NOT a provider choice — the provider is purely arbiter-derived. Unset/false ⇒
226
+ * the PR opens normally.
227
+ */
228
+ noPR?: boolean;
229
+ /**
230
+ * **The per-repo PRD-PLACEMENT default, passed IN** (prd
231
+ * `staging-pool-position-gate-and-trust-model` US #2/#5, task
232
+ * `pre-prd-staging-pool-split-and-untrusted-prd-placement`). The resolved
233
+ * per-repo default landing for `intake`-authored prds (`pre-proposed` =
234
+ * staging; `ready` = the auto-tasking pool), fed as the CONFIGURED-DEFAULT rung
235
+ * into the shared placement resolver (`src/placement.ts`). The resolver
236
+ * overlays an EXPLICIT operator flag ({@link explicitSpecsLandIn}, top) and
237
+ * the UNTRUSTED-ORIGIN force (`originTrust: untrusted` ⇒ staging) on top.
238
+ * Unset ⇒ the resolver's built-in floor applies (`staging` = `prds/proposed/`,
239
+ * the conservative landing). The PRD TWIN of `tasksLandIn` on the tasker
240
+ * path — one resolver, two lifecycles.
241
+ */
242
+ specsLandIn?: SpecsLandIn;
243
+ /**
244
+ * **The OPERATOR's EXPLICIT spec-placement override** (the TOP precedence
245
+ * rung). When set, the runner-deterministic resolver lands the spec HERE
246
+ * regardless of `originTrust` or {@link specsLandIn} — the positional
247
+ * analogue of `explicitMerge` overriding the untrusted-origin
248
+ * build-propose rule ("the operator is present; CLI always wins, no
249
+ * special force-key"). Set ONLY when the operator typed
250
+ * `--specs-land-in <where>`; never when the value came from config.
251
+ */
252
+ explicitSpecsLandIn?: SpecsLandIn;
253
+ /**
254
+ * Optional FULLY-FORMED review provider INSTANCE used VERBATIM (the SAME seam
255
+ * `run`/`do` expose; forwarded to `performIntegration` as `providerInstance`).
256
+ * Tests/embeddings inject a stubbed `GitHubProvider` (a custom `gh` path) to
257
+ * drive intake's propose pipeline OFFLINE. The resolved provider OBJECT, NOT a
258
+ * config override. Unset ⇒ the core selects from the arbiter URL.
259
+ */
260
+ providerInstance?: ReviewProvider;
261
+ /**
262
+ * The optional runner IDENTITY (a bot), threaded from host-only
263
+ * `config.identity`. It scopes intake's GIT + provider operations — the `gh`
264
+ * issue ops (read/label/comment/close), the push, and the PR — via process-
265
+ * scoped env overrides. It is NEVER applied to the intake AGENT launches (the
266
+ * decision agent + the lone-task review agent), which stay ambient: an agent
267
+ * must not act as the bot. Absent ⇒ ambient (today's behaviour).
268
+ */
269
+ identity?: Identity;
270
+ /** Environment for child git/agent processes (the AGENT-launch ambient env). */
271
+ env?: NodeJS.ProcessEnv;
272
+ /** Sink for human-readable progress notes. */
273
+ note?: (message: string) => void;
274
+ }
275
+ /**
276
+ * **The STAGED-prds dir** (prd `staging-pool-position-gate-and-trust-model`,
277
+ * task `pre-prd-staging-pool-split-and-untrusted-prd-placement`, governing
278
+ * ADR `placement-is-runner-deterministic-humanonly-is-agent-judgement`). When
279
+ * the runner-deterministic placement resolver picks the staging side for an
280
+ * `intake`-authored prd, the runner writes the prd file HERE instead of in
281
+ * `work/prds/ready/`. An item born in `prds/proposed/` is durable + readable but NOT in
282
+ * the tasking candidate POOL (`work/prds/ready/` is the pool). A runner/human-owned promotion
283
+ * ({@link promoteFromPreSpec} in `needs-attention.ts`) moves an approved prd
284
+ * `prds/proposed/ → prds/ready/` to make it taskable.
285
+ */
286
+ export declare const STAGED_SPECS_DIR: string;
287
+ /**
288
+ * The emitted artifact TYPE `intake` decides at RUNTIME — a `task` verdict emits
289
+ * `work/backlog/<slug>.md`, a `prd` verdict emits the prd file (`work/prds/ready/<slug>.md`). The two
290
+ * granular flag axes (`--merge-task`/`--propose-task` vs `--merge-spec`/
291
+ * `--propose-spec`) are keyed on this. (ask/bounce emit NOTHING, so the modes are
292
+ * no-ops for them.)
293
+ */
294
+ export type IntakeArtifactType = 'task' | 'spec';
295
+ /**
296
+ * The PER-OUTCOME integration mode FLAG SET (prd `issue-intake` US #9). Because
297
+ * `intake` decides the artifact TYPE at runtime, a single `--merge`/`--propose`
298
+ * cannot express a type-conditional policy ("merge a prd but propose a task") —
299
+ * hence the four GRANULAR per-type flags layered over the two AGGREGATES:
300
+ *
301
+ * - **granular:** `--merge-spec`/`--propose-spec` apply iff the outcome is a spec;
302
+ * `--merge-task`/`--propose-task` apply iff it is a task.
303
+ * - **aggregates:** `--merge` = merge BOTH types; `--propose` = propose BOTH.
304
+ *
305
+ * `intake` owns only these KNOBS; WHICH knobs CI sets (from gate state +
306
+ * author-trust) is CI's POLICY, authored in `runner-in-ci` — NOT here.
307
+ */
308
+ export interface IntakeIntegrationFlags {
309
+ /** Aggregate: merge BOTH a task and a prd (the broad knob, overridden per type). */
310
+ merge?: boolean;
311
+ /** Aggregate: propose BOTH a task and a prd. */
312
+ propose?: boolean;
313
+ /** Granular: merge a spec (overrides the aggregate for the spec outcome). */
314
+ mergeSpec?: boolean;
315
+ /** Granular: propose a spec (overrides the aggregate for the spec outcome). */
316
+ proposeSpec?: boolean;
317
+ /** Granular: merge a task (overrides the aggregate for the task outcome). */
318
+ mergeTask?: boolean;
319
+ /** Granular: propose a task (overrides the aggregate for the task outcome). */
320
+ proposeTask?: boolean;
321
+ }
322
+ /** Both per-type integration modes, resolved from the flag set in ONE eager pass. */
323
+ export interface IntakeIntegrationModes {
324
+ /** The mode an EMITTED task integrates with. */
325
+ task: IntegrationMode;
326
+ /**
327
+ * The mode an EMITTED spec integrates with. `spec` is the CANONICAL key (prd →
328
+ * spec cutover); the user-facing `--merge-spec`/`--propose-spec` flags that FEED
329
+ * it carry the same `spec` spelling (the cli-flag rename landed in batch 4f).
330
+ */
331
+ spec: IntegrationMode;
332
+ }
333
+ /**
334
+ * The PURE per-outcome integration mode resolution (prd `issue-intake` US #9 —
335
+ * the canonical table). Given ONLY the flag set, resolve BOTH per-type modes in
336
+ * one eager pass (so a usage error is caught before the runtime verdict is even
337
+ * known). The rules, all decided in the prd:
338
+ *
339
+ * - **unset ⇒ propose for BOTH** (conservative default; matches `do`).
340
+ * - **aggregates:** `--merge` ⇒ merge both; `--propose` ⇒ propose both (this axis
341
+ * COMPOSES the existing {@link integrationFromFlags}, reusing its mutual
342
+ * exclusion + error message).
343
+ * - **granular routes per type:** `--merge-spec` merges a spec (and leaves a task at
344
+ * the aggregate/default), etc.
345
+ * - **GRANULAR OVERRIDES AGGREGATE:** `--merge --propose-task` ⇒ merge a spec,
346
+ * propose a task.
347
+ * - **same type + both modes is a usage ERROR:** `--merge-spec --propose-spec` (and
348
+ * `--merge-task --propose-task`), and the aggregate `--merge --propose`.
349
+ *
350
+ * Throws (a usage error) on any mutually-exclusive pair. The dispatcher picks the
351
+ * field matching the runtime verdict's type; ask/bounce never integrate, so the
352
+ * modes are no-ops for them.
353
+ *
354
+ * `defaultMode` is the FALLBACK when NEITHER a granular nor the aggregate flag
355
+ * selects a mode for a type — it defaults to `propose` (so the pure table reads
356
+ * "unset ⇒ propose for both"), but the CLI passes the per-repo/global
357
+ * config-resolved mode so the established precedence chain (flag > per-repo >
358
+ * global > default) is preserved, exactly as `do`/`complete` resolve it.
359
+ */
360
+ export declare function resolveIntakeIntegrationModes(flags: IntakeIntegrationFlags, defaultMode?: IntegrationMode): IntakeIntegrationModes;
361
+ /**
362
+ * Run `intake <N>` end-to-end (the LOCAL one-shot). Never throws for the expected
363
+ * agent-failed / stale / usage cases — those are returned with the corresponding
364
+ * exit code and outcome. The runner owns all git/seam side-effects; the agent only
365
+ * DRAFTS the verdict.
366
+ */
367
+ export declare function performIntake(options: PerformIntakeOptions): Promise<IntakeResult>;
368
+ /**
369
+ * Build the INFORMATIONAL completion-comment BODY (with its FULL `created` marker)
370
+ * for a SUCCESSFUL `task` / `spec` outcome — the PURE, seam-free core of
371
+ * {@link postCompletionComment}, exported so both link variants are unit-testable
372
+ * without a live seam. The comment:
373
+ *
374
+ * - reports `task created` / `spec created` framed as CREATED — NEVER "issue
375
+ * resolved/closed" (intake never closes on the task/spec path).
376
+ * - LINKS the artifact by INTEGRATION MODE: the PR `url` in propose, the landed
377
+ * `commit` (the additive {@link IntegrateResult.commit}) in merge. A degraded
378
+ * propose (no `url`) or a failed merge-tip read (no `commit`) simply OMITS the
379
+ * link — the comment still confirms what was created (the artifact is safe on the
380
+ * branch/main regardless). No prd link beyond the slug.
381
+ * - carries the FULL intake MARKER via the SHARED {@link stampIntakeMarker} helper
382
+ * (`kind=created slug=<slug> seen=<id>,…`) so the triage's `already-terminal`
383
+ * branch consumes it — the comment cannot re-trigger intake.
384
+ */
385
+ export declare function composeIntakeCompletionComment(params: {
386
+ kind: 'task' | 'spec';
387
+ slug: string;
388
+ integration: IntegrateResult | undefined;
389
+ seen: string[];
390
+ }): string;
391
+ /**
392
+ * Render the backlog task file: the frontmatter (`title`/`slug`/`covers: []`, NO
393
+ * `prd:` — its own source of truth, prd `issue-intake` decision table) carrying the lone-task
394
+ * `issue: N` closure link + the drafted body. The task closes its source issue
395
+ * via its `issue:` field (the provider-agnostic link a FUTURE CI close-job reads
396
+ * from folder + field state); it carries NO `Fixes #N` (a deferred GitHub-only
397
+ * optimisation, structurally unplaceable on the `--merge` path). The number is
398
+ * the task's own closure path — `issue:` XOR `prd:`; a lone task never carries a
399
+ * `prd:` (prd `issue-intake` decision table). When the agent drafted no body, a thin default
400
+ * scaffold keeps the file a valid task.
401
+ */
402
+ export declare function renderBacklogTask(params: {
403
+ slug: string;
404
+ title: string;
405
+ body: string | undefined;
406
+ issueNumber: number;
407
+ /**
408
+ * The origin-trust STAMP (task `untrusted-origin-forces-build-propose`).
409
+ * Present ⇒ emit `origin: issue` + `originTrust: <value>` so the becomes-code
410
+ * checkpoint survives the merge boundary. UNSET (a local intake, no CI shell)
411
+ * ⇒ NO stamp (the human running intake IS the checkpoint ⇒ human/trusted).
412
+ */
413
+ originTrust?: OriginTrust;
414
+ }): string;
415
+ /**
416
+ * Render the emitted prd file: the frontmatter (`title`/`slug` + the loop-closure
417
+ * `issue: N` + the gate axes the prompt JUDGED) followed by the drafted prd body.
418
+ * For a FANNED prd the `issue: N` lives ONLY on the prd — never duplicated across
419
+ * the N fanned tasks, which reach it via `task.prd: → prd issue:` (a fanned
420
+ * task carries `prd:`, NOT its own `issue:`; the lone-task outcome is the only
421
+ * one that puts `issue:` on a task). The close JOB reaches the prd's number via
422
+ * `task.prd: → prd issue:`. The gate axes (`humanOnly`/`needsAnswers`) are emitted ONLY when the
423
+ * verdict declared them `true` — an omitted axis is `undefined` (undeclared), the
424
+ * same convention `frontmatter.ts` parses. When the agent drafted no body, a thin
425
+ * default scaffold keeps the file a valid prd that `do prd:` can later task.
426
+ */
427
+ export declare function renderSpec(params: {
428
+ slug: string;
429
+ title: string;
430
+ body: string | undefined;
431
+ issueNumber: number;
432
+ humanOnly: boolean | undefined;
433
+ needsAnswers: boolean | undefined;
434
+ /**
435
+ * The origin-trust STAMP (task `untrusted-origin-forces-build-propose`).
436
+ * Present ⇒ emit `origin: issue` + `originTrust: <value>`, PROPAGATED onto every
437
+ * emitted task by the tasker so the build transition can read it. UNSET (a
438
+ * local intake) ⇒ NO stamp (human/trusted).
439
+ */
440
+ originTrust?: OriginTrust;
441
+ }): string;
442
+ /**
443
+ * Parse the decision agent's emitted VERDICT out of its (possibly prose-wrapped /
444
+ * fenced) textual output into an {@link IntakeVerdict} — the PRODUCTION wire
445
+ * between the launched agent and the already-built dispatcher, modeled 1:1 on the
446
+ * review gate's `parseReviewVerdict` twin (`review-gate.ts`). It pulls the first
447
+ * JSON object carrying an `"outcome"` field via the SHARED
448
+ * {@link extractJsonObjectSpan} (NOT a forked second "first JSON object in agent
449
+ * prose" extractor — the review gates anchor on `"verdict"`, intake on
450
+ * `"outcome"`; same need, one implementation — coherence), `JSON.parse`s it, and
451
+ * validates the shape: `outcome ∈ {ask,task,spec,bounce}`.
452
+ *
453
+ * The per-outcome fields map 1:1 onto {@link IntakeVerdict} (`task` →
454
+ * taskSlug?/taskTitle/taskBody, `spec` →
455
+ * specSlug?/specTitle/specBody/specHumanOnly?/specNeedsAnswers?, `ask` → question,
456
+ * `bounce` → bounceMessage). Missing OPTIONALS are tolerated — the dispatcher
457
+ * already has fallbacks (slug-from-title, the thin comment/scaffold defaults).
458
+ *
459
+ * THROWS a clear error on: no JSON object present, invalid JSON, or an `outcome`
460
+ * not in the set. The caller (`decideAndDispatch`) maps any throw onto the
461
+ * `agent-failed` outcome (exit 1) — a malformed verdict degrades honestly, never
462
+ * a crash and never a silent dispatch.
463
+ */
464
+ export declare function parseIntakeVerdict(output: string): IntakeVerdict;
465
+ /**
466
+ * Backwards-compatible alias for {@link ReviewFinding} (task
467
+ * `review-protocol-doc-and-shared-machinery`). Existing imports keep compiling;
468
+ * new code should reach for `ReviewFinding` from `review-verdict.ts`.
469
+ */
470
+ export type LoneTaskReviewFinding = ReviewFinding;
471
+ /**
472
+ * The lone-task review verdict shape is now the UNIFIED {@link ReviewVerdict}.
473
+ * The lone-task caller consumes the `edit` / `questions` channels of the wide
474
+ * type; other review callers consume different channels. The SET/graph/overlap
475
+ * lenses are still N=1-OFF in the PROMPT (intake never spawns the tasker loop's
476
+ * set-level sinks); the type itself is shared.
477
+ */
478
+ export type LoneTaskReviewVerdict = ReviewVerdict;
479
+ /** What the lone-task review gate needs to launch / answer ONE review round. */
480
+ export interface LoneTaskReviewGateInput {
481
+ /** The drafted task's slug (the candidate under review). */
482
+ slug: string;
483
+ /** The source issue number (the destination check's target behaviour). */
484
+ issueNumber: number;
485
+ /** The drafted task's title (the candidate under review). */
486
+ title: string;
487
+ /** The drafted task BODY as it stands THIS round (after any prior in-memory edits). */
488
+ body: string;
489
+ /** Which review ROUND this is (1-based, 1..{@link LONE_TASK_REVIEW_MAX_ROUNDS}). */
490
+ round: number;
491
+ /** The working clone/checkout the review runs in. */
492
+ cwd: string;
493
+ /** Environment for the review-agent launch. */
494
+ env?: NodeJS.ProcessEnv;
495
+ }
496
+ /**
497
+ * The lone-task review SEAM: run ONE adversarial review round on the SINGLE
498
+ * drafted task and return a parsed verdict (incl. an optional in-memory edit).
499
+ * Tests inject a canned verdict (no model/network) — the new testable seam, mirroring
500
+ * {@link IntakeDecider}. Production uses {@link harnessLoneTaskReviewGate}.
501
+ */
502
+ export type LoneTaskReviewGate = (input: LoneTaskReviewGateInput) => Promise<LoneTaskReviewVerdict>;
503
+ /** Options for the production harness-backed lone-task review gate. */
504
+ export interface HarnessLoneTaskReviewGateOptions {
505
+ /** The harness seam used to launch the fresh-context review agent. */
506
+ harness?: Harness;
507
+ /** The configured agent command the harness shells out to. */
508
+ agentCmd?: string;
509
+ /** The model routing intent forwarded to the harness (ADR §13). */
510
+ model?: string;
511
+ /** The HOST-ONLY sessions root for the review session file. */
512
+ sessionsDir?: string;
513
+ }
514
+ /**
515
+ * The PRODUCTION lone-task review gate: launch the `review` SKILL as an agent
516
+ * through the EXISTING harness seam (the SAME wire {@link runDecision} uses), then
517
+ * PARSE the emitted `{verdict, findings, edit, questions}` via
518
+ * {@link parseLoneTaskReviewVerdict}. The agent makes the review JUDGEMENT (the
519
+ * per-task + destination lenses on the ONE task); this gate launches it and parses
520
+ * its verdict. A launch failure THROWS (the dispatcher's try/catch maps it onto
521
+ * `agent-failed`). MIRRORS {@link harnessTaskReviewGate} WITHOUT importing it.
522
+ */
523
+ export declare function harnessLoneTaskReviewGate(options?: HarnessLoneTaskReviewGateOptions): LoneTaskReviewGate;
524
+ /**
525
+ * Build the LONE-TASK review PROMPT: instruct a fresh-context agent to apply
526
+ * the **review discipline** (`work/protocol/REVIEW-PROTOCOL.md`) to the SINGLE
527
+ * drafted task — per-task well-formedness + the destination check ("if this
528
+ * task is built exactly as written, do we end up with the behaviour issue #N
529
+ * asks for?"). The SET / graph / overlap lenses are N=1 and EXPLICITLY OFF.
530
+ * A round may propose an `edit` (the FULL replacement task body) the runner
531
+ * applies IN MEMORY and re-reviews; converge when a round finds NO new blocking
532
+ * issue, else carry the open `questions` into the ASK comment for the human.
533
+ *
534
+ * The discipline body and the JSON-emitted-shape contract are SHARED helpers
535
+ * (task `review-protocol-doc-and-shared-machinery`); this builder owns ONLY
536
+ * the lone-task-specific framing.
537
+ */
538
+ export declare function buildLoneTaskReviewPrompt(input: LoneTaskReviewGateInput): string;
539
+ /**
540
+ * Backwards-compatible alias for the unified {@link parseReviewVerdict}
541
+ * (task `review-protocol-doc-and-shared-machinery`). The lone-task review
542
+ * verdict is now the unified {@link ReviewVerdict}; the alias keeps existing
543
+ * tests/callers compiling.
544
+ */
545
+ export declare const parseLoneTaskReviewVerdict: typeof parseReviewVerdict;
546
+ /**
547
+ * Build the intake decision PRD (an inline prompt builder, like `buildTaskingPrd`
548
+ * in `tasking.ts` / the reviewer prompts in `review-gate.ts` — NOT a standalone
549
+ * asset/`.md` file; no such convention exists in this package). It encodes the FULL
550
+ * four-outcome decision table (prd `issue-intake` — the source of truth) and the
551
+ * three DECISION AIDS stated once there:
552
+ *
553
+ * 1. the **"clear?" bar** = `to-task`/`needsAnswers`' "would I build the wrong
554
+ * thing if I guessed?" — if a material requirement/scope/acceptance question is
555
+ * unanswered, ASK (never guess a spec from a vague issue);
556
+ * 2. the **"one task?" bar** = `to-task`' tracer-bullet test (one thin end-to-end
557
+ * path, demoable on its own) — fits → TASK, needs splitting → PRD;
558
+ * 3. **PRD vs BOUNCE** turns on a **SHARED VISION**: coupled (even if small) → PRD;
559
+ * genuinely unrelated → BOUNCE. Size NEVER forces a bounce — only unrelatedness
560
+ * (the over-bounce guard: a coupled-but-small pair gets a light PRD, never a
561
+ * bounce).
562
+ *
563
+ * The prompt anchors to `to-task`/`to-spec` for the task/spec SHAPES it drafts. Its
564
+ * JUDGEMENT is NOT unit-tested (exactly as the review prompt's is not) — only the
565
+ * dispatch is. The agent only DRAFTS the verdict + its content; it does NO git/seam
566
+ * ops (the runner owns every postComment / write / integrate — the in-band boundary).
567
+ */
568
+ export declare function buildIntakeDecisionSpec(issue: Issue, comments: IssueComment[], triage?: IntakeTriageDecision): string;
569
+ //# sourceMappingURL=intake.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intake.d.ts","sourceRoot":"","sources":["../src/intake.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAC,eAAe,EAAE,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAErE,OAAO,KAAK,EAAC,eAAe,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAMlD,OAAO,EAGN,KAAK,QAAQ,EACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAc,KAAK,OAAO,EAAC,MAAM,cAAc,CAAC;AAGvD,OAAO,EAGN,KAAK,KAAK,EACV,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACN,kBAAkB,EAGlB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EAAe,KAAK,oBAAoB,EAAC,MAAM,oBAAoB,CAAC;AAG3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE/D;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC7B,oDAAoD;IACpD,O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