@joshuafolkken/kit 1.2116.0 → 1.3041.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 (2206) hide show
  1. package/.claude/agents/design-consultant.md +19 -0
  2. package/.claude/agents/investigator.md +12 -2
  3. package/.claude/agents/reviewer-verification.md +13 -2
  4. package/.claude/agents/reviewer.md +13 -2
  5. package/.claude/settings.json +32 -9
  6. package/.claude/skills/dependency-update/SKILL.md +11 -14
  7. package/.claude/skills/epic-commands/SKILL.md +8 -6
  8. package/.claude/skills/epic-commands/epic-bundle.md +6 -7
  9. package/.claude/skills/verify-ui/SKILL.md +13 -23
  10. package/.claude/skills/workflow-commands/SKILL.md +19 -18
  11. package/.claude/skills/workflow-commands/background-commands.md +7 -4
  12. package/.claude/skills/workflow-commands/backlogrun-child.md +31 -64
  13. package/.claude/skills/workflow-commands/backlogrun-lanes.md +54 -62
  14. package/.claude/skills/workflow-commands/backlogrun-park.md +65 -64
  15. package/.claude/skills/workflow-commands/backlogrun-progress.md +30 -44
  16. package/.claude/skills/workflow-commands/backlogrun-recovery.md +18 -33
  17. package/.claude/skills/workflow-commands/backlogrun-steps.md +62 -50
  18. package/.claude/skills/workflow-commands/backlogrun.md +13 -18
  19. package/.claude/skills/workflow-commands/chain-rule.md +54 -53
  20. package/.claude/skills/workflow-commands/delegation.md +11 -11
  21. package/.claude/skills/workflow-commands/entry-sequence.md +23 -34
  22. package/.claude/skills/workflow-commands/followup.md +19 -17
  23. package/.claude/skills/workflow-commands/fullrun-lane.md +11 -0
  24. package/.claude/skills/workflow-commands/fullrun-steps.md +27 -34
  25. package/.claude/skills/workflow-commands/fullrun.md +5 -6
  26. package/.claude/skills/workflow-commands/halfrun.md +4 -7
  27. package/.claude/skills/workflow-commands/issue-comments.md +29 -15
  28. package/.claude/skills/workflow-commands/issue-fold-existing.md +9 -14
  29. package/.claude/skills/workflow-commands/issue-scout.md +5 -8
  30. package/.claude/skills/workflow-commands/kickoff.md +31 -34
  31. package/.claude/skills/workflow-commands/latest-gate.md +6 -14
  32. package/.claude/skills/workflow-commands/needs-human-review.md +3 -3
  33. package/.claude/skills/workflow-commands/observation-filing.md +9 -7
  34. package/.claude/skills/workflow-commands/observation-ledger.md +4 -1
  35. package/.claude/skills/workflow-commands/pre-gate-cut.md +21 -26
  36. package/.claude/skills/workflow-commands/prerequisite.md +21 -6
  37. package/.claude/skills/workflow-commands/progress-watcher.md +8 -18
  38. package/.claude/skills/workflow-commands/prrun.md +1 -1
  39. package/.claude/skills/workflow-commands/retrospective.md +16 -15
  40. package/.claude/skills/workflow-commands/split-assessment.md +32 -22
  41. package/.claude/skills/workflow-commands/target-repository.md +2 -2
  42. package/.claude/skills/workflow-commands/working-tree-hold.md +3 -2
  43. package/.codex/hooks.json +18 -8
  44. package/.cursorrules +1 -2
  45. package/.github/actions/change-scope/action.yml +19 -0
  46. package/.github/actions/setup-pnpm/action.yml +87 -14
  47. package/.github/dependabot.yml +1 -0
  48. package/.github/workflows/ci.yml +74 -30
  49. package/.github/workflows/publish.yml +56 -14
  50. package/.github/workflows/sonar-qube.yml +28 -1
  51. package/.prettierignore +2 -0
  52. package/AGENTS.md +1 -2
  53. package/CLAUDE.md +8 -8
  54. package/GEMINI.md +1 -2
  55. package/README.md +1 -1
  56. package/SECURITY.md +11 -1
  57. package/cspell/index.yaml +11 -0
  58. package/dist/.inputs-verified.json +1 -0
  59. package/dist/CLAUDE.md +8 -8
  60. package/dist/commands/adopt.js +222 -0
  61. package/dist/commands/auth-setup-cli.js +127 -0
  62. package/dist/commands/auto-ok-judge-cli.js +227 -0
  63. package/dist/commands/auto-ok-main.js +138 -0
  64. package/dist/commands/backlog-budget-main.js +146 -0
  65. package/dist/commands/backlog-drive-cli.js +2023 -0
  66. package/dist/commands/backlog-next-main.js +188 -0
  67. package/dist/commands/backlog-offer-main.js +192 -0
  68. package/dist/commands/backlog-plan-cli.js +328 -0
  69. package/dist/commands/backlog-triage-cli.js +644 -0
  70. package/dist/commands/backlogrun-cli.js +835 -0
  71. package/dist/commands/behavior-cli.js +215 -0
  72. package/dist/commands/bump-version-main.js +22 -0
  73. package/dist/commands/bytes-command.js +247 -0
  74. package/dist/commands/cases-cli.js +57 -0
  75. package/dist/commands/check-commit-message-main.js +22 -0
  76. package/dist/commands/check-related.js +552 -0
  77. package/dist/commands/chunk-22DVQCP6.js +153 -0
  78. package/dist/commands/chunk-23GH6B3D.js +333 -0
  79. package/dist/commands/chunk-24ZDAWML.js +48 -0
  80. package/dist/commands/chunk-2ADQ5XRD.js +36 -0
  81. package/dist/commands/chunk-2BB5ZR2F.js +128 -0
  82. package/dist/commands/chunk-2BC33QPY.js +183 -0
  83. package/dist/commands/chunk-2BJJUTZA.js +59 -0
  84. package/dist/commands/chunk-2CXT6MBR.js +51 -0
  85. package/dist/commands/chunk-2DJLAUYB.js +109 -0
  86. package/dist/commands/chunk-2EZTYLO4.js +179 -0
  87. package/dist/commands/chunk-2FE3C4PH.js +112 -0
  88. package/dist/commands/chunk-2FJJYCBD.js +149 -0
  89. package/dist/commands/chunk-2NSB5ZYQ.js +26 -0
  90. package/dist/commands/chunk-2PHOLX62.js +43 -0
  91. package/dist/commands/chunk-2QM72JCJ.js +338 -0
  92. package/dist/commands/chunk-2VFPUPSG.js +170 -0
  93. package/dist/commands/chunk-2VRITY55.js +41 -0
  94. package/dist/commands/chunk-2XAH3MHV.js +23 -0
  95. package/dist/commands/chunk-34DND4BA.js +104 -0
  96. package/dist/commands/chunk-34JJYCIY.js +117 -0
  97. package/dist/commands/chunk-34KZDKQJ.js +304 -0
  98. package/dist/commands/chunk-352KLSFX.js +67 -0
  99. package/dist/commands/chunk-36LOGVJ7.js +38 -0
  100. package/dist/commands/chunk-3AEDZZNL.js +223 -0
  101. package/dist/commands/chunk-3B2HEFNO.js +51 -0
  102. package/dist/commands/chunk-3CCGKX7Y.js +20 -0
  103. package/dist/commands/chunk-3LZXX5GL.js +50 -0
  104. package/dist/commands/chunk-3NWAGIA6.js +39 -0
  105. package/dist/commands/chunk-3PEXBHRN.js +33 -0
  106. package/dist/commands/chunk-3RIQ36LH.js +110 -0
  107. package/dist/commands/chunk-3WRQP3QE.js +47 -0
  108. package/dist/commands/chunk-3WWQFCGX.js +18 -0
  109. package/dist/commands/chunk-3Z425MM3.js +61 -0
  110. package/dist/commands/chunk-3ZEO3KOM.js +35 -0
  111. package/dist/commands/chunk-3ZOX4G4U.js +88 -0
  112. package/dist/commands/chunk-452HWOJ7.js +395 -0
  113. package/dist/commands/chunk-475EFIJV.js +178 -0
  114. package/dist/commands/chunk-47UZB54M.js +73 -0
  115. package/dist/commands/chunk-4DN4XVPL.js +716 -0
  116. package/dist/commands/chunk-4DVM57T7.js +86 -0
  117. package/dist/commands/chunk-4EADHJVC.js +247 -0
  118. package/dist/commands/chunk-4HERA2GY.js +95 -0
  119. package/dist/commands/chunk-4JI35CVO.js +70 -0
  120. package/dist/commands/chunk-4L4LNWZ7.js +143 -0
  121. package/dist/commands/chunk-4N32QKJZ.js +170 -0
  122. package/dist/commands/chunk-4NRSFLG7.js +185 -0
  123. package/dist/commands/chunk-4OKRPAUT.js +98 -0
  124. package/dist/commands/chunk-4PUKDAXL.js +42 -0
  125. package/dist/commands/chunk-4Q64PG46.js +478 -0
  126. package/dist/commands/chunk-4UDTQVDD.js +278 -0
  127. package/dist/commands/chunk-4WR2LEZL.js +123 -0
  128. package/dist/commands/chunk-4ZHWTTQW.js +99 -0
  129. package/dist/commands/chunk-4ZJOC6OK.js +298 -0
  130. package/dist/commands/chunk-4ZQM4I7R.js +533 -0
  131. package/dist/commands/chunk-54X37JEJ.js +170 -0
  132. package/dist/commands/chunk-56KW5EOK.js +85 -0
  133. package/dist/commands/chunk-5CG3XU3O.js +74 -0
  134. package/dist/commands/chunk-5ESZLHDZ.js +514 -0
  135. package/dist/commands/chunk-5FBRMARM.js +578 -0
  136. package/dist/{hooks/chunk-OPSRGWFU.js → commands/chunk-5HVYOIIK.js} +1 -1
  137. package/dist/commands/chunk-5PCK53WP.js +168 -0
  138. package/dist/commands/chunk-5RG4S66L.js +47 -0
  139. package/dist/commands/chunk-5TMAPYQD.js +19 -0
  140. package/dist/commands/chunk-5UJGACVN.js +137 -0
  141. package/dist/commands/chunk-5Y7B7FDL.js +44 -0
  142. package/dist/commands/chunk-5Z6E5ZUV.js +89 -0
  143. package/dist/commands/chunk-5ZNUH4LV.js +1722 -0
  144. package/dist/commands/chunk-5ZTQX7OS.js +125 -0
  145. package/dist/commands/chunk-65E4OZJ7.js +9 -0
  146. package/dist/commands/chunk-66NX6EXR.js +29 -0
  147. package/dist/commands/chunk-66TGK5XL.js +84 -0
  148. package/dist/commands/chunk-6CFHLMKM.js +555 -0
  149. package/dist/commands/chunk-6CJXLPRI.js +72 -0
  150. package/dist/commands/chunk-6DDK5XWK.js +74 -0
  151. package/dist/commands/chunk-6FWV56B3.js +40 -0
  152. package/dist/commands/chunk-6GQX752S.js +145 -0
  153. package/dist/commands/chunk-6HRRZANN.js +55 -0
  154. package/dist/commands/chunk-6I2JM5UX.js +134 -0
  155. package/dist/commands/chunk-6MAZ55GF.js +1241 -0
  156. package/dist/commands/chunk-6NGNMIMT.js +20 -0
  157. package/dist/commands/chunk-6OP63TBT.js +78 -0
  158. package/dist/commands/chunk-6Q3XUCLM.js +204 -0
  159. package/dist/commands/chunk-6RUWU2SB.js +45 -0
  160. package/dist/commands/chunk-6TIVDEKG.js +34 -0
  161. package/dist/commands/chunk-6UCWAFQY.js +245 -0
  162. package/dist/commands/chunk-6WKJ3GDA.js +408 -0
  163. package/dist/commands/chunk-6YURRFRU.js +461 -0
  164. package/dist/commands/chunk-6YVURZAJ.js +350 -0
  165. package/dist/commands/chunk-6Z4YZG7P.js +169 -0
  166. package/dist/commands/chunk-77BIN247.js +122 -0
  167. package/dist/commands/chunk-7ABHNNY3.js +529 -0
  168. package/dist/commands/chunk-7C7FOKJK.js +115 -0
  169. package/dist/commands/chunk-7HAGC6SW.js +1062 -0
  170. package/dist/commands/chunk-7HCPRVMB.js +76 -0
  171. package/dist/commands/chunk-7IZJ5MG2.js +72 -0
  172. package/dist/commands/chunk-7KKUFLH5.js +56 -0
  173. package/dist/commands/chunk-7LJQMM2K.js +102 -0
  174. package/dist/commands/chunk-7MJYLUF4.js +99 -0
  175. package/dist/commands/chunk-7NHZCI5Y.js +704 -0
  176. package/dist/commands/chunk-7OQ56DVW.js +239 -0
  177. package/dist/commands/chunk-7VWPGTZO.js +260 -0
  178. package/dist/commands/chunk-7YZXS3AK.js +30 -0
  179. package/dist/commands/chunk-A4HOQKOG.js +85 -0
  180. package/dist/commands/chunk-A6T2N7VC.js +159 -0
  181. package/dist/commands/chunk-AAUDI7WJ.js +250 -0
  182. package/dist/commands/chunk-AC26ZUG5.js +259 -0
  183. package/dist/commands/chunk-ACZ52JPI.js +140 -0
  184. package/dist/commands/chunk-AJ65WNJB.js +230 -0
  185. package/dist/commands/chunk-AJWR7D3H.js +15 -0
  186. package/dist/commands/chunk-AK7SEO4Y.js +177 -0
  187. package/dist/commands/chunk-AKK56GNX.js +205 -0
  188. package/dist/commands/chunk-AKQYYHP2.js +461 -0
  189. package/dist/commands/chunk-ALDAS2WG.js +137 -0
  190. package/dist/commands/chunk-ANUTT56I.js +85 -0
  191. package/dist/commands/chunk-AQ3PMSXK.js +76 -0
  192. package/dist/commands/chunk-ARFBIJFS.js +43 -0
  193. package/dist/commands/chunk-AVVMDVGO.js +68 -0
  194. package/dist/commands/chunk-AWLYN2SP.js +64 -0
  195. package/dist/commands/chunk-AXXEMVRJ.js +23 -0
  196. package/dist/commands/chunk-B3M5WSGN.js +72 -0
  197. package/dist/commands/chunk-B5GXZK3E.js +34 -0
  198. package/dist/commands/chunk-B77ZMVHS.js +80 -0
  199. package/dist/commands/chunk-B7ZNIEDV.js +351 -0
  200. package/dist/commands/chunk-BCUDQWYK.js +77 -0
  201. package/dist/commands/chunk-BF6YX4HE.js +70 -0
  202. package/dist/commands/chunk-BHRS7HAM.js +272 -0
  203. package/dist/commands/chunk-BIKGPT52.js +29 -0
  204. package/dist/commands/chunk-BJA5U4Q7.js +75 -0
  205. package/dist/commands/chunk-BJKEXXY6.js +15 -0
  206. package/dist/commands/chunk-BMKWSWWE.js +126 -0
  207. package/dist/commands/chunk-BMM4RHCG.js +69 -0
  208. package/dist/commands/chunk-BMTYUJNT.js +59 -0
  209. package/dist/commands/chunk-BRFQBJ5Y.js +132 -0
  210. package/dist/commands/chunk-BRHPRDDV.js +127 -0
  211. package/dist/commands/chunk-BRUBX64M.js +33 -0
  212. package/dist/commands/chunk-BTZJDHQT.js +46 -0
  213. package/dist/commands/chunk-BYFC6MD2.js +72 -0
  214. package/dist/commands/chunk-BYGJ3BCJ.js +803 -0
  215. package/dist/commands/chunk-BYSPYVLD.js +130 -0
  216. package/dist/commands/chunk-C2SEDMZ3.js +238 -0
  217. package/dist/commands/chunk-C54QXJD6.js +4208 -0
  218. package/dist/commands/chunk-C6QSVO5K.js +56 -0
  219. package/dist/commands/chunk-CBAKBWSZ.js +332 -0
  220. package/dist/commands/chunk-CDY4NFQG.js +15 -0
  221. package/dist/commands/chunk-CFHRNTE5.js +326 -0
  222. package/dist/commands/chunk-CGLLAEKZ.js +110 -0
  223. package/dist/commands/chunk-CGYDIYHD.js +49 -0
  224. package/dist/commands/chunk-CHKYPF5O.js +82 -0
  225. package/dist/commands/chunk-CJBW6BWG.js +800 -0
  226. package/dist/commands/chunk-CJKPF5DJ.js +156 -0
  227. package/dist/commands/chunk-CKUKK7JG.js +252 -0
  228. package/dist/commands/chunk-CMHGDCGN.js +263 -0
  229. package/dist/commands/chunk-CNGTHSUS.js +750 -0
  230. package/dist/commands/chunk-COGKULQH.js +119 -0
  231. package/dist/commands/chunk-CP2J4RV2.js +3987 -0
  232. package/dist/commands/chunk-CQUZ6TNQ.js +120 -0
  233. package/dist/commands/chunk-CQZI7RIK.js +72 -0
  234. package/dist/commands/chunk-CVJHQOI3.js +153 -0
  235. package/dist/commands/chunk-CWCKCZS6.js +188 -0
  236. package/dist/commands/chunk-D5HIP4HT.js +289 -0
  237. package/dist/commands/chunk-D5OHVIPM.js +17 -0
  238. package/dist/commands/chunk-D6D6WQR6.js +125 -0
  239. package/dist/commands/chunk-D7JRJI44.js +297 -0
  240. package/dist/commands/chunk-D7OAU32Z.js +119 -0
  241. package/dist/commands/chunk-DAAX7XDS.js +1208 -0
  242. package/dist/commands/chunk-DBKTFB5V.js +18 -0
  243. package/dist/commands/chunk-DEZF7QZZ.js +184 -0
  244. package/dist/commands/chunk-DKM4UJQU.js +10 -0
  245. package/dist/commands/chunk-DMD74E3F.js +39 -0
  246. package/dist/commands/chunk-DPJVKTO4.js +41 -0
  247. package/dist/commands/chunk-DXJQHJQ4.js +73 -0
  248. package/dist/commands/chunk-DYZOOWVW.js +912 -0
  249. package/dist/commands/chunk-E33LSO2W.js +20 -0
  250. package/dist/commands/chunk-EBI2BAKQ.js +47 -0
  251. package/dist/commands/chunk-EBVS2LKX.js +60 -0
  252. package/dist/commands/chunk-EDKOSZ3K.js +88 -0
  253. package/dist/commands/chunk-EFDVE5P5.js +121 -0
  254. package/dist/commands/chunk-EGIHAEMT.js +72 -0
  255. package/dist/commands/chunk-EKLU6QR7.js +507 -0
  256. package/dist/commands/chunk-ELY76WAR.js +65 -0
  257. package/dist/commands/chunk-EM3HAZF6.js +52 -0
  258. package/dist/commands/chunk-EMTZAGT5.js +51 -0
  259. package/dist/commands/chunk-ENFPR7J2.js +53 -0
  260. package/dist/commands/chunk-ENKFCOVY.js +472 -0
  261. package/dist/commands/chunk-ERG4QRNG.js +224 -0
  262. package/dist/commands/chunk-EUGNQCYK.js +139 -0
  263. package/dist/commands/chunk-EW4NPUMQ.js +363 -0
  264. package/dist/commands/chunk-EWVR5AEX.js +140 -0
  265. package/dist/commands/chunk-EXDFKKMH.js +113 -0
  266. package/dist/commands/chunk-EXWB34R2.js +238 -0
  267. package/dist/commands/chunk-EYMPBHDN.js +61 -0
  268. package/dist/commands/chunk-EZ7IPKIH.js +20 -0
  269. package/dist/commands/chunk-EZSO25UZ.js +80 -0
  270. package/dist/commands/chunk-F6IQHZYY.js +94 -0
  271. package/dist/commands/chunk-FCINBCKB.js +77 -0
  272. package/dist/commands/chunk-FDS65XOJ.js +212 -0
  273. package/dist/commands/chunk-FFHEGWPK.js +91 -0
  274. package/dist/commands/chunk-FGG7V473.js +85 -0
  275. package/dist/commands/chunk-FGL6DBZU.js +71 -0
  276. package/dist/commands/chunk-FHFWNNUC.js +144 -0
  277. package/dist/{hooks/chunk-VVNYJWEI.js → commands/chunk-FIUCHMCF.js} +4 -2
  278. package/dist/commands/chunk-FJX7AENO.js +74 -0
  279. package/dist/commands/chunk-FKZ5E4JD.js +97 -0
  280. package/dist/commands/chunk-FMZWRDKH.js +302 -0
  281. package/dist/commands/chunk-FOKCRIAN.js +67 -0
  282. package/dist/commands/chunk-FQGWO2ZH.js +43 -0
  283. package/dist/commands/chunk-FROACLVU.js +525 -0
  284. package/dist/commands/chunk-FURNDIT3.js +34 -0
  285. package/dist/commands/chunk-FVDQNMP6.js +93 -0
  286. package/dist/commands/chunk-FVVZIJUC.js +425 -0
  287. package/dist/commands/chunk-FWU3H4TX.js +17 -0
  288. package/dist/commands/chunk-G3HBYHFA.js +16 -0
  289. package/dist/commands/chunk-G4E4M2P4.js +299 -0
  290. package/dist/commands/chunk-G5KSL2Q2.js +151 -0
  291. package/dist/commands/chunk-G6BXCWPH.js +141 -0
  292. package/dist/commands/chunk-G6XC7V6Y.js +58 -0
  293. package/dist/commands/chunk-GCPP5XIG.js +90 -0
  294. package/dist/commands/chunk-GITT5A5A.js +198 -0
  295. package/dist/commands/chunk-GJYMI2CM.js +48 -0
  296. package/dist/commands/chunk-GLC47H7I.js +285 -0
  297. package/dist/commands/chunk-GM3XLC4W.js +63 -0
  298. package/dist/commands/chunk-GO3GH7FG.js +75 -0
  299. package/dist/commands/chunk-GPTO6IZG.js +29 -0
  300. package/dist/commands/chunk-GUR54ELE.js +328 -0
  301. package/dist/commands/chunk-GW4UWR3O.js +126 -0
  302. package/dist/commands/chunk-GY4DMCKS.js +306 -0
  303. package/dist/commands/chunk-H6JQRHDC.js +80 -0
  304. package/dist/commands/chunk-HATKF6VX.js +173 -0
  305. package/dist/commands/chunk-HE5S4XRE.js +21 -0
  306. package/dist/commands/chunk-HG2NZQD5.js +135 -0
  307. package/dist/commands/chunk-HH3CVIFU.js +93 -0
  308. package/dist/commands/chunk-HHBC6QZE.js +95 -0
  309. package/dist/commands/chunk-HHMMGDMP.js +469 -0
  310. package/dist/commands/chunk-HI5WPM6C.js +127 -0
  311. package/dist/commands/chunk-HIU2WXB6.js +26 -0
  312. package/dist/commands/chunk-HLKAFSN4.js +76 -0
  313. package/dist/commands/chunk-HLUS2M3D.js +7 -0
  314. package/dist/commands/chunk-HQ2HSZBN.js +69 -0
  315. package/dist/commands/chunk-HQGNXR6I.js +245 -0
  316. package/dist/commands/chunk-HQSWPRUF.js +61 -0
  317. package/dist/commands/chunk-HRLGFRAV.js +21 -0
  318. package/dist/commands/chunk-HTIDHEEN.js +108 -0
  319. package/dist/commands/chunk-HVCQYZVD.js +38 -0
  320. package/dist/commands/chunk-HWEZRNPL.js +66 -0
  321. package/dist/commands/chunk-HX3FFIO5.js +74 -0
  322. package/dist/commands/chunk-HXCZ3KWS.js +41 -0
  323. package/dist/commands/chunk-HXDTA5VU.js +208 -0
  324. package/dist/commands/chunk-I2KCGKJI.js +107 -0
  325. package/dist/commands/chunk-I63RNFFR.js +213 -0
  326. package/dist/commands/chunk-IAD4WLLI.js +98 -0
  327. package/dist/commands/chunk-IB5TT73I.js +177 -0
  328. package/dist/commands/chunk-IBAYXCMU.js +156 -0
  329. package/dist/commands/chunk-IF3EIFK4.js +7515 -0
  330. package/dist/commands/chunk-IGD6QJPH.js +91 -0
  331. package/dist/commands/chunk-IGDJNXX2.js +49 -0
  332. package/dist/commands/chunk-ILGPZ47M.js +33 -0
  333. package/dist/commands/chunk-ILIITIMQ.js +126 -0
  334. package/dist/commands/chunk-IRGDMSTI.js +42 -0
  335. package/dist/commands/chunk-IW6NWCSN.js +10 -0
  336. package/dist/commands/chunk-IYJEBWW5.js +44 -0
  337. package/dist/commands/chunk-J22PSIXR.js +418 -0
  338. package/dist/commands/chunk-J3TKZLHA.js +11 -0
  339. package/dist/commands/chunk-J66YBAAM.js +161 -0
  340. package/dist/commands/chunk-J6WKZRV2.js +391 -0
  341. package/dist/commands/chunk-J7IO3AYH.js +179 -0
  342. package/dist/commands/chunk-JAKC2BHX.js +88 -0
  343. package/dist/commands/chunk-JCAQ7B6J.js +124 -0
  344. package/dist/commands/chunk-JFLFGLE4.js +32 -0
  345. package/dist/commands/chunk-JHN6RCE6.js +123 -0
  346. package/dist/commands/chunk-JIGBNCDR.js +88 -0
  347. package/dist/commands/chunk-JJHWTFWQ.js +76 -0
  348. package/dist/commands/chunk-JJRKTWLK.js +64 -0
  349. package/dist/commands/chunk-JKOGWGQM.js +92 -0
  350. package/dist/commands/chunk-JM6EVOFN.js +172 -0
  351. package/dist/commands/chunk-JQXPLMCO.js +81 -0
  352. package/dist/commands/chunk-JTU5A4JI.js +55 -0
  353. package/dist/commands/chunk-JV24VP2O.js +81 -0
  354. package/dist/commands/chunk-JVKXJ763.js +45 -0
  355. package/dist/commands/chunk-JZHY7D6D.js +71 -0
  356. package/dist/commands/chunk-JZK33TA5.js +99 -0
  357. package/dist/commands/chunk-JZOTCPX2.js +115 -0
  358. package/dist/commands/chunk-K275REYP.js +37 -0
  359. package/dist/commands/chunk-K2WVYHCP.js +18 -0
  360. package/dist/commands/chunk-K4G3HOKS.js +105 -0
  361. package/dist/commands/chunk-K64EIHD2.js +138 -0
  362. package/dist/commands/chunk-KB3OQWDT.js +71 -0
  363. package/dist/commands/chunk-KCFOP5RI.js +1310 -0
  364. package/dist/commands/chunk-KGE4AS2Y.js +134 -0
  365. package/dist/commands/chunk-KIILCKQR.js +220 -0
  366. package/dist/commands/chunk-KK2SL42W.js +241 -0
  367. package/dist/commands/chunk-KK7TEL5G.js +121 -0
  368. package/dist/commands/chunk-KKIMVXAP.js +280 -0
  369. package/dist/commands/chunk-KODXWMBX.js +77 -0
  370. package/dist/commands/chunk-KPSKWTOS.js +208 -0
  371. package/dist/commands/chunk-KSR23NYN.js +33 -0
  372. package/dist/commands/chunk-KTLR4Y32.js +21 -0
  373. package/dist/commands/chunk-KTV2HNWB.js +339 -0
  374. package/dist/commands/chunk-KVHNQHX3.js +100 -0
  375. package/dist/commands/chunk-KVURNO74.js +187 -0
  376. package/dist/commands/chunk-KWYQR5MK.js +269 -0
  377. package/dist/commands/chunk-KXHXMERX.js +214 -0
  378. package/dist/commands/chunk-KXK2A2HB.js +158 -0
  379. package/dist/commands/chunk-KZ5BBBMO.js +271 -0
  380. package/dist/commands/chunk-KZ7HD37E.js +121 -0
  381. package/dist/commands/chunk-KZSM5M5P.js +89 -0
  382. package/dist/commands/chunk-KZZWPUJW.js +25 -0
  383. package/dist/commands/chunk-L7DAL54N.js +347 -0
  384. package/dist/commands/chunk-LAR76BFA.js +114 -0
  385. package/dist/commands/chunk-LAYSCY4L.js +6 -0
  386. package/dist/commands/chunk-LB557AHJ.js +192 -0
  387. package/dist/commands/chunk-LBLII7BS.js +14 -0
  388. package/dist/commands/chunk-LEB2VP7F.js +77 -0
  389. package/dist/commands/chunk-LHKXJD6L.js +303 -0
  390. package/dist/commands/chunk-LJXKVLYI.js +229 -0
  391. package/dist/commands/chunk-LJZERYLG.js +133 -0
  392. package/dist/commands/chunk-LOOFYHUM.js +773 -0
  393. package/dist/commands/chunk-LPSULLNK.js +45 -0
  394. package/dist/commands/chunk-LQXFVZTS.js +13 -0
  395. package/dist/commands/chunk-LR22UK5W.js +17 -0
  396. package/dist/commands/chunk-LT7QSHR4.js +995 -0
  397. package/dist/commands/chunk-LULJUD6P.js +131 -0
  398. package/dist/commands/chunk-LUXWDMKI.js +426 -0
  399. package/dist/commands/chunk-LWAXXZPS.js +118 -0
  400. package/dist/commands/chunk-LX7TIEMI.js +1612 -0
  401. package/dist/commands/chunk-LYO6TX5L.js +47 -0
  402. package/dist/commands/chunk-LZ5QXE5N.js +244 -0
  403. package/dist/commands/chunk-M3ZDYCUF.js +117 -0
  404. package/dist/commands/chunk-M4UV3BEV.js +313 -0
  405. package/dist/commands/chunk-M6JDU5EK.js +133 -0
  406. package/dist/commands/chunk-MDKDJF2K.js +160 -0
  407. package/dist/commands/chunk-MDLOETXL.js +211 -0
  408. package/dist/commands/chunk-MFBNNTBM.js +44 -0
  409. package/dist/commands/chunk-MGF64OHV.js +32 -0
  410. package/dist/commands/chunk-MI2OS6TL.js +132 -0
  411. package/dist/commands/chunk-MLW4S35K.js +389 -0
  412. package/dist/commands/chunk-MMTVQOCP.js +211 -0
  413. package/dist/commands/chunk-MN425CU6.js +63 -0
  414. package/dist/commands/chunk-MOIOSCZM.js +171 -0
  415. package/dist/commands/chunk-MPGJ4ONJ.js +634 -0
  416. package/dist/commands/chunk-MRORPFSO.js +402 -0
  417. package/dist/commands/chunk-MSPIR3OA.js +32 -0
  418. package/dist/commands/chunk-MUGTOJUL.js +319 -0
  419. package/dist/commands/chunk-MVHPRYHE.js +91 -0
  420. package/dist/commands/chunk-MWO6FOSZ.js +393 -0
  421. package/dist/commands/chunk-MXC4IBZ7.js +104 -0
  422. package/dist/commands/chunk-MY3RSOS5.js +52 -0
  423. package/dist/commands/chunk-N7QTMTST.js +210 -0
  424. package/dist/commands/chunk-NDBX7LSS.js +32 -0
  425. package/dist/commands/chunk-NDWZTWXV.js +229 -0
  426. package/dist/commands/chunk-NEGJ77RV.js +173 -0
  427. package/dist/commands/chunk-NEGRE5VW.js +101 -0
  428. package/dist/commands/chunk-NFKULY26.js +48 -0
  429. package/dist/commands/chunk-NFPD2P3V.js +53 -0
  430. package/dist/commands/chunk-NHIW7JE6.js +335 -0
  431. package/dist/commands/chunk-NILSN7A4.js +158 -0
  432. package/dist/commands/chunk-NOLFSPOB.js +74 -0
  433. package/dist/commands/chunk-NSAVEXVR.js +353 -0
  434. package/dist/commands/chunk-NT67QTZO.js +65 -0
  435. package/dist/commands/chunk-NU7W6QGT.js +155 -0
  436. package/dist/commands/chunk-NUR4FQHM.js +21 -0
  437. package/dist/commands/chunk-NYWGJLBU.js +19 -0
  438. package/dist/commands/chunk-O3NDWYNT.js +68 -0
  439. package/dist/commands/chunk-OAAVY2JK.js +49 -0
  440. package/dist/commands/chunk-OF4BY4N7.js +32 -0
  441. package/dist/commands/chunk-OGS2DK7I.js +47 -0
  442. package/dist/commands/chunk-OHNP3QL2.js +186 -0
  443. package/dist/commands/chunk-OIPV3PWW.js +870 -0
  444. package/dist/commands/chunk-OIX2363L.js +16 -0
  445. package/dist/commands/chunk-OJ65BZBV.js +646 -0
  446. package/dist/commands/chunk-OKYFQJW3.js +22 -0
  447. package/dist/commands/chunk-OKZWEVR4.js +352 -0
  448. package/dist/commands/chunk-OL6IF4JC.js +20 -0
  449. package/dist/commands/chunk-OMPRILFH.js +29 -0
  450. package/dist/commands/chunk-OOWGH2RG.js +85 -0
  451. package/dist/commands/chunk-OP2RFVLS.js +102 -0
  452. package/dist/commands/chunk-ORKVN2LO.js +56 -0
  453. package/dist/commands/chunk-OSBWXZJ4.js +492 -0
  454. package/dist/commands/chunk-OT3UMEWK.js +47 -0
  455. package/dist/commands/chunk-OVWPZDWP.js +64 -0
  456. package/dist/commands/chunk-OWYK2BEJ.js +1222 -0
  457. package/dist/commands/chunk-OX3VQLV2.js +488 -0
  458. package/dist/commands/chunk-OZJP77UM.js +103 -0
  459. package/dist/commands/chunk-OZZWRJQI.js +246 -0
  460. package/dist/commands/chunk-P3H3DKTE.js +69 -0
  461. package/dist/commands/chunk-P4D5RESF.js +88 -0
  462. package/dist/commands/chunk-P4KIQRSL.js +119 -0
  463. package/dist/commands/chunk-P5SOYWH2.js +37 -0
  464. package/dist/commands/chunk-P7FPXAHP.js +29 -0
  465. package/dist/commands/chunk-PBOS7MTW.js +6 -0
  466. package/dist/commands/chunk-PE7B7242.js +84 -0
  467. package/dist/commands/chunk-PFO7EYAP.js +45 -0
  468. package/dist/commands/chunk-PHLOTUB7.js +366 -0
  469. package/dist/commands/chunk-PTNQCCIB.js +41 -0
  470. package/dist/commands/chunk-PTZEFQUX.js +211 -0
  471. package/dist/commands/chunk-PYOK73QE.js +44 -0
  472. package/dist/commands/chunk-Q426ZSZ4.js +131 -0
  473. package/dist/commands/chunk-Q5Q2QYVU.js +112 -0
  474. package/dist/commands/chunk-Q6SKKQVJ.js +34 -0
  475. package/dist/commands/chunk-Q7EEIOAD.js +120 -0
  476. package/dist/commands/chunk-QABRNGQV.js +88 -0
  477. package/dist/commands/chunk-QAHFPCFR.js +50 -0
  478. package/dist/commands/chunk-QDFVVRQP.js +92 -0
  479. package/dist/commands/chunk-QF4WC2AE.js +10 -0
  480. package/dist/commands/chunk-QGAERR7D.js +99 -0
  481. package/dist/commands/chunk-QGATHT4S.js +114 -0
  482. package/dist/commands/chunk-QHWJJ6X5.js +53 -0
  483. package/dist/commands/chunk-QJRVDE7T.js +307 -0
  484. package/dist/commands/chunk-QKTTKAXM.js +119 -0
  485. package/dist/commands/chunk-QMDKDQKW.js +114 -0
  486. package/dist/commands/chunk-QOSC5RKD.js +18 -0
  487. package/dist/commands/chunk-QQ4CIYMF.js +132 -0
  488. package/dist/commands/chunk-QQBMVC5W.js +227 -0
  489. package/dist/commands/chunk-QV5FKMOU.js +80 -0
  490. package/dist/commands/chunk-QVOFWFWC.js +134 -0
  491. package/dist/commands/chunk-QWWTC3XR.js +109 -0
  492. package/dist/commands/chunk-QX2R6UJG.js +15 -0
  493. package/dist/commands/chunk-QXQ56E56.js +27 -0
  494. package/dist/commands/chunk-R2THGPI3.js +99 -0
  495. package/dist/commands/chunk-R54Z2Z3X.js +114 -0
  496. package/dist/commands/chunk-R6QE5VJG.js +46 -0
  497. package/dist/commands/chunk-R7IT5VOL.js +27 -0
  498. package/dist/commands/chunk-RBU2NKHF.js +44 -0
  499. package/dist/commands/chunk-RDRN56E4.js +92 -0
  500. package/dist/commands/chunk-RG53UFNW.js +418 -0
  501. package/dist/commands/chunk-RGDFWJPZ.js +135 -0
  502. package/dist/commands/chunk-RGGEQM6G.js +140 -0
  503. package/dist/commands/chunk-RH6ZWJOA.js +77 -0
  504. package/dist/commands/chunk-RHKCWJQX.js +62 -0
  505. package/dist/commands/chunk-RKIAX4DZ.js +191 -0
  506. package/dist/commands/chunk-RLBFEHHC.js +300 -0
  507. package/dist/commands/chunk-RMDLFLPE.js +58 -0
  508. package/dist/commands/chunk-RN2YDNLF.js +229 -0
  509. package/dist/commands/chunk-ROJXMBXP.js +85 -0
  510. package/dist/commands/chunk-RRAIRS2T.js +54 -0
  511. package/dist/commands/chunk-RS764ZMU.js +46 -0
  512. package/dist/commands/chunk-RSSJWMQS.js +30 -0
  513. package/dist/commands/chunk-RUIBQMOV.js +38 -0
  514. package/dist/commands/chunk-RUQY5TS3.js +83 -0
  515. package/dist/commands/chunk-RVUJ6F5L.js +181 -0
  516. package/dist/commands/chunk-RW64VHEB.js +130 -0
  517. package/dist/commands/chunk-RXAZJMSZ.js +18 -0
  518. package/dist/commands/chunk-RXYMJPJB.js +114 -0
  519. package/dist/commands/chunk-S4M6UWR2.js +103 -0
  520. package/dist/commands/chunk-S4X5PJV7.js +40 -0
  521. package/dist/commands/chunk-SADJPNDB.js +67 -0
  522. package/dist/commands/chunk-SASX3W2M.js +99 -0
  523. package/dist/commands/chunk-SBGTCT2C.js +89 -0
  524. package/dist/commands/chunk-SFNBUB6D.js +110 -0
  525. package/dist/commands/chunk-SJ2ZN575.js +90 -0
  526. package/dist/commands/chunk-SP7DKYGU.js +1263 -0
  527. package/dist/commands/chunk-SRG6PKVS.js +49 -0
  528. package/dist/commands/chunk-SSL6A3Y4.js +165 -0
  529. package/dist/commands/chunk-SV4FZR24.js +78 -0
  530. package/dist/commands/chunk-SVAKCXZ7.js +44 -0
  531. package/dist/commands/chunk-SVTS7ACS.js +18 -0
  532. package/dist/commands/chunk-SVV4U5AR.js +62 -0
  533. package/dist/commands/chunk-SXJM4DZ5.js +40 -0
  534. package/dist/commands/chunk-SXULS6DX.js +112 -0
  535. package/dist/commands/chunk-SYB3M632.js +62 -0
  536. package/dist/commands/chunk-SYOXIKB7.js +705 -0
  537. package/dist/commands/chunk-SZG5HDNP.js +321 -0
  538. package/dist/commands/chunk-T25S4QHL.js +52 -0
  539. package/dist/commands/chunk-T4F33UKZ.js +114 -0
  540. package/dist/commands/chunk-T4UYEHWG.js +50 -0
  541. package/dist/commands/chunk-TAEGXID2.js +58 -0
  542. package/dist/commands/chunk-TBIX5FRN.js +106 -0
  543. package/dist/commands/chunk-TBNQIFWL.js +101 -0
  544. package/dist/commands/chunk-TCBUX52E.js +701 -0
  545. package/dist/commands/chunk-TEPYEUYG.js +585 -0
  546. package/dist/commands/chunk-TFLHYC2F.js +141 -0
  547. package/dist/commands/chunk-TJKM56WJ.js +109 -0
  548. package/dist/commands/chunk-TLAB552K.js +445 -0
  549. package/dist/commands/chunk-TP6L4W3W.js +82 -0
  550. package/dist/commands/chunk-TR7WWYD5.js +60 -0
  551. package/dist/commands/chunk-TUIFS5E7.js +72 -0
  552. package/dist/commands/chunk-TVZXG4Y4.js +197 -0
  553. package/dist/commands/chunk-TYNH2R66.js +1150 -0
  554. package/dist/commands/chunk-U3IVVR4W.js +33 -0
  555. package/dist/commands/chunk-U5HQQWRE.js +20 -0
  556. package/dist/commands/chunk-U5P6G3UV.js +77 -0
  557. package/dist/commands/chunk-U7XU5RG3.js +86 -0
  558. package/dist/commands/chunk-U7Y6RKLK.js +168 -0
  559. package/dist/commands/chunk-UCI4AL3Q.js +35 -0
  560. package/dist/commands/chunk-UCUSCLEK.js +90 -0
  561. package/dist/commands/chunk-UGCUSRZF.js +17 -0
  562. package/dist/commands/chunk-UIMMWH7U.js +98 -0
  563. package/dist/commands/chunk-UKBBWMLE.js +1189 -0
  564. package/dist/commands/chunk-ULVVGGTY.js +64 -0
  565. package/dist/commands/chunk-UNMSZGSG.js +269 -0
  566. package/dist/commands/chunk-UOVUUVDK.js +18 -0
  567. package/dist/commands/chunk-URDT2O2K.js +36 -0
  568. package/dist/commands/chunk-UREXZJDB.js +210 -0
  569. package/dist/commands/chunk-UTHUX7VU.js +88 -0
  570. package/dist/commands/chunk-UWLLZQJB.js +110 -0
  571. package/dist/commands/chunk-V4Z7G4UH.js +73 -0
  572. package/dist/commands/chunk-V5FD7DVV.js +48 -0
  573. package/dist/commands/chunk-V5OUZFWK.js +128 -0
  574. package/dist/commands/chunk-VCPGFBMN.js +655 -0
  575. package/dist/commands/chunk-VCR77BHO.js +8 -0
  576. package/dist/commands/chunk-VDGNXSP3.js +174 -0
  577. package/dist/commands/chunk-VGPIQNDB.js +24 -0
  578. package/dist/commands/chunk-VHRNXWVP.js +28 -0
  579. package/dist/commands/chunk-VJE3RJAX.js +23 -0
  580. package/dist/commands/chunk-VJS2MCLA.js +412 -0
  581. package/dist/commands/chunk-VK6D5CWA.js +161 -0
  582. package/dist/commands/chunk-VOF3N4WO.js +114 -0
  583. package/dist/commands/chunk-VQRT32JB.js +52 -0
  584. package/dist/commands/chunk-VQVPAVQ3.js +45 -0
  585. package/dist/commands/chunk-VV4TQYGD.js +38 -0
  586. package/dist/commands/chunk-W2IA2LV3.js +15 -0
  587. package/dist/commands/chunk-W3FX7FYN.js +84 -0
  588. package/dist/commands/chunk-W6MVQEMO.js +109 -0
  589. package/dist/commands/chunk-W7DRUOF7.js +122 -0
  590. package/dist/commands/chunk-WAEN2RTT.js +161 -0
  591. package/dist/commands/chunk-WB4T3VY2.js +104 -0
  592. package/dist/commands/chunk-WCEUMOKK.js +84 -0
  593. package/dist/commands/chunk-WJ4NEDNI.js +288 -0
  594. package/dist/commands/chunk-WL5JHB3I.js +12 -0
  595. package/dist/commands/chunk-WMMGXJXP.js +92 -0
  596. package/dist/commands/chunk-WOFLW2LX.js +26 -0
  597. package/dist/commands/chunk-WPAQUMHC.js +28 -0
  598. package/dist/commands/chunk-WQ6FS544.js +35 -0
  599. package/dist/commands/chunk-WTH6NTXU.js +128 -0
  600. package/dist/commands/chunk-WVR4RUFP.js +327 -0
  601. package/dist/commands/chunk-WWVYEHQT.js +272 -0
  602. package/dist/commands/chunk-X3TNPALI.js +213 -0
  603. package/dist/commands/chunk-X5XYKDOD.js +7 -0
  604. package/dist/commands/chunk-XC6GG5JR.js +78 -0
  605. package/dist/commands/chunk-XDF25GSU.js +536 -0
  606. package/dist/commands/chunk-XFPEUYDV.js +67 -0
  607. package/dist/commands/chunk-XFWI6WHH.js +60 -0
  608. package/dist/commands/chunk-XGMRAKSL.js +85 -0
  609. package/dist/commands/chunk-XHGWMD3L.js +104 -0
  610. package/dist/commands/chunk-XI2ABCRX.js +209 -0
  611. package/dist/commands/chunk-XKSUBUIH.js +116 -0
  612. package/dist/commands/chunk-XPBF5DG3.js +419 -0
  613. package/dist/commands/chunk-XSKB6ZUA.js +123 -0
  614. package/dist/commands/chunk-XUMYPESL.js +160 -0
  615. package/dist/commands/chunk-XXC32PVL.js +541 -0
  616. package/dist/commands/chunk-XXN2EZBY.js +133 -0
  617. package/dist/commands/chunk-XXNEY4B3.js +110 -0
  618. package/dist/commands/chunk-XZQWEVR3.js +84 -0
  619. package/dist/commands/chunk-Y27PTXXI.js +258 -0
  620. package/dist/commands/chunk-Y2RNUX4W.js +8 -0
  621. package/dist/commands/chunk-Y4EBUI6M.js +237 -0
  622. package/dist/commands/chunk-YAU3LYNF.js +60 -0
  623. package/dist/commands/chunk-YDURQICF.js +204 -0
  624. package/dist/commands/chunk-YGFOGA7C.js +1153 -0
  625. package/dist/commands/chunk-YHJ2AJMA.js +66 -0
  626. package/dist/commands/chunk-YIA6FC3K.js +78 -0
  627. package/dist/commands/chunk-YM77CF4D.js +183 -0
  628. package/dist/commands/chunk-YNPRJCEO.js +81 -0
  629. package/dist/commands/chunk-YTBQAD5W.js +170 -0
  630. package/dist/commands/chunk-YVH2OLDS.js +104 -0
  631. package/dist/commands/chunk-Z3WGHIVB.js +122 -0
  632. package/dist/commands/chunk-ZAAHZY2A.js +19 -0
  633. package/dist/commands/chunk-ZBFNQUY7.js +12 -0
  634. package/dist/commands/chunk-ZBZ5DDCH.js +1866 -0
  635. package/dist/commands/chunk-ZECFKW7D.js +60 -0
  636. package/dist/commands/chunk-ZLRUHSOP.js +48 -0
  637. package/dist/commands/chunk-ZNR75OXP.js +444 -0
  638. package/dist/commands/chunk-ZNX2LJCQ.js +29 -0
  639. package/dist/commands/chunk-ZSOR4ISJ.js +75 -0
  640. package/dist/commands/chunk-ZVAIIHBE.js +63 -0
  641. package/dist/commands/chunk-ZYFHYQA7.js +51 -0
  642. package/dist/commands/chunk-ZYGOZT4J.js +39 -0
  643. package/dist/commands/chunk-ZZFFSQF4.js +218 -0
  644. package/dist/commands/chunk-ZZULXNC2.js +47 -0
  645. package/dist/commands/chunk-ZZXO6TFH.js +232 -0
  646. package/dist/commands/ci-timing-cli.js +76 -0
  647. package/dist/commands/clone-scan-cli.js +189 -0
  648. package/dist/commands/code-symbol-cli.js +185 -0
  649. package/dist/commands/codex-hook-adapter.js +356 -0
  650. package/dist/commands/command-derive.js +802 -0
  651. package/dist/commands/cost-audit-main.js +209 -0
  652. package/dist/commands/cost-main.js +28 -0
  653. package/dist/commands/cspell-cached.js +159 -0
  654. package/dist/commands/defect-origin-main.js +222 -0
  655. package/dist/commands/defect-report-main.js +289 -0
  656. package/dist/commands/delegation-cli.js +65 -0
  657. package/dist/commands/diff-summary-cli.js +147 -0
  658. package/dist/commands/disposition-cli.js +411 -0
  659. package/dist/commands/doctor.js +267 -0
  660. package/dist/commands/document-read-cli.js +119 -844
  661. package/dist/commands/document-section-main.js +106 -835
  662. package/dist/commands/dogfood-commit-cli.js +102 -0
  663. package/dist/commands/e2e-retry-check.js +79 -0
  664. package/dist/commands/edit-files-cli.js +147 -0
  665. package/dist/commands/effect-audit-cli.js +320 -0
  666. package/dist/commands/epic-audit-main.js +160 -0
  667. package/dist/commands/epic-bundle-main.js +201 -0
  668. package/dist/commands/epic-check.js +91 -0
  669. package/dist/commands/epic-main.js +224 -0
  670. package/dist/commands/epic-next-main.js +159 -0
  671. package/dist/commands/eval-run.js +838 -0
  672. package/dist/commands/fanout-cli.js +86 -0
  673. package/dist/commands/format-edited-cli.js +118 -0
  674. package/dist/commands/format.js +140 -0
  675. package/dist/commands/fresh-machine-cli.js +691 -0
  676. package/dist/commands/gh-usage-cli.js +224 -0
  677. package/dist/commands/git-followup-workflow.js +2027 -0
  678. package/dist/commands/git-gh-checks-failed-main.js +156 -0
  679. package/dist/commands/git-workflow.js +603 -0
  680. package/dist/commands/github-release-cli.js +276 -0
  681. package/dist/commands/hook-ledger-cli.js +364 -0
  682. package/dist/commands/init-main.js +99 -0
  683. package/dist/commands/inputs.json +2795 -0
  684. package/dist/commands/issue-ack-cli.js +106 -0
  685. package/dist/commands/issue-already-done-cli.js +310 -0
  686. package/dist/commands/issue-body-cli.js +186 -0
  687. package/dist/commands/issue-cite-main.js +163 -0
  688. package/dist/commands/issue-comment-main.js +76 -0
  689. package/dist/commands/issue-consolidate-cli.js +330 -0
  690. package/dist/commands/issue-file-main.js +423 -0
  691. package/dist/commands/issue-fold-existing-cli.js +508 -0
  692. package/dist/commands/issue-fold-main.js +114 -0
  693. package/dist/commands/issue-lint-main.js +127 -0
  694. package/dist/commands/issue-measured-cli.js +210 -0
  695. package/dist/commands/issue-plan-cli.js +354 -0
  696. package/dist/commands/issue-premise-unmet-cli.js +273 -0
  697. package/dist/commands/issue-priority-cli.js +185 -0
  698. package/dist/commands/issue-read-main.js +80 -0
  699. package/dist/commands/issue-release-class-cli.js +120 -0
  700. package/dist/commands/issue-release-main.js +72 -0
  701. package/dist/commands/issue-scout-main.js +205 -0
  702. package/dist/commands/issue-spill-main.js +568 -0
  703. package/dist/commands/issue-state-main.js +77 -0
  704. package/dist/commands/issue-tick-cli.js +113 -0
  705. package/dist/commands/josh-completion.js +153 -0
  706. package/dist/commands/lane-adopt-cli.js +275 -0
  707. package/dist/commands/lane-breakdown-cli.js +731 -0
  708. package/dist/commands/lane-cli.js +869 -0
  709. package/dist/commands/lane-launch-main.js +103 -0
  710. package/dist/commands/lane-limit-cli.js +288 -0
  711. package/dist/commands/lane-measure-cli.js +1913 -0
  712. package/dist/commands/lane-pause-cli.js +255 -0
  713. package/dist/commands/lane-plan-cli.js +329 -0
  714. package/dist/commands/lane-resolve-cli.js +301 -0
  715. package/dist/commands/lane-restart-cli.js +393 -0
  716. package/dist/commands/lane-why-cli.js +310 -0
  717. package/dist/commands/lane-withdraw-cli.js +192 -0
  718. package/dist/commands/latest-corepack.js +278 -0
  719. package/dist/commands/latest-if-required-cli.js +124 -0
  720. package/dist/commands/latest-lane-guard-main.js +16 -0
  721. package/dist/commands/latest-scope-main.js +38 -0
  722. package/dist/commands/latest-update.js +449 -0
  723. package/dist/commands/lines-command.js +121 -0
  724. package/dist/commands/lint-parallel-main.js +135 -0
  725. package/dist/commands/lint-related.js +584 -0
  726. package/dist/commands/lint-rule.js +306 -0
  727. package/dist/commands/lockfile-policy.js +107 -0
  728. package/dist/commands/main-merge-main.js +61 -0
  729. package/dist/commands/main-sync-main.js +60 -0
  730. package/dist/commands/managed-config-scope-cli.js +66 -0
  731. package/dist/commands/measure-rerun-cli.js +124 -0
  732. package/dist/commands/metrics-command.js +892 -0
  733. package/dist/commands/observation-depth-cli.js +109 -0
  734. package/dist/commands/observation-record-cli.js +87 -0
  735. package/dist/commands/observations-flush-cli.js +117 -0
  736. package/dist/commands/oracle-list-cli.js +73 -0
  737. package/dist/commands/overrides-check.js +112 -0
  738. package/dist/commands/package-scout-cli.js +537 -0
  739. package/dist/commands/pin-verify-cli.js +88 -0
  740. package/dist/commands/plan-consumers-main.js +49 -0
  741. package/dist/commands/plan-scaffold-cli.js +408 -0
  742. package/dist/commands/port-command.js +64 -0
  743. package/dist/commands/pr-classification-main.js +37 -0
  744. package/dist/commands/pre-commit-lint.js +162 -0
  745. package/dist/commands/pre-commit-type-check.js +211 -0
  746. package/dist/commands/pre-push-unit.js +271 -0
  747. package/dist/commands/pretool-guard-cli.js +204 -0
  748. package/dist/commands/prevent-main-commit.js +42 -0
  749. package/dist/commands/project-profile-cli.js +59 -0
  750. package/dist/commands/propagate.js +368 -0
  751. package/dist/commands/prose-stale-cli.js +129 -0
  752. package/dist/commands/publish-tag-cli.js +30 -0
  753. package/dist/commands/publishable-range-check.js +191 -0
  754. package/dist/commands/read-files-cli.js +81 -0
  755. package/dist/commands/read-set-cli.js +158 -1745
  756. package/dist/commands/reconcile-templates.js +135 -0
  757. package/dist/commands/refactor-scan-cli.js +175 -0
  758. package/dist/commands/release-cli.js +752 -0
  759. package/dist/commands/release-scope-main.js +82 -0
  760. package/dist/commands/rename-cli.js +430 -0
  761. package/dist/commands/repo-party-cli.js +58 -0
  762. package/dist/commands/report-lint-cli.js +124 -0
  763. package/dist/commands/report-template-cli.js +69 -0
  764. package/dist/commands/reserved-run.js +127 -0
  765. package/dist/commands/retrospective-cli.js +557 -0
  766. package/dist/commands/review-attest-cli.js +118 -0
  767. package/dist/commands/review-brief-main.js +265 -0
  768. package/dist/commands/review-findings-cli.js +114 -0
  769. package/dist/commands/review-pair-cli.js +392 -0
  770. package/dist/commands/review-record-main.js +247 -0
  771. package/dist/commands/review-round2-cli.js +350 -0
  772. package/dist/commands/review-stops-cli.js +149 -0
  773. package/dist/commands/review-submit-cli.js +628 -0
  774. package/dist/commands/rule-list.js +182 -0
  775. package/dist/commands/rule-value-cli.js +1060 -0
  776. package/dist/commands/ruleset-check-cli.js +67 -0
  777. package/dist/commands/run-add-cli.js +274 -0
  778. package/dist/commands/run-board-main.js +276 -0
  779. package/dist/commands/run-carry-cli.js +644 -0
  780. package/dist/commands/run-chain-cli.js +560 -0
  781. package/dist/commands/run-cut-cli.js +714 -0
  782. package/dist/commands/run-ending-cli.js +166 -0
  783. package/dist/commands/run-entry-cli.js +1063 -0
  784. package/dist/commands/run-event-cli.js +298 -0
  785. package/dist/commands/run-handoff-cli.js +368 -0
  786. package/dist/commands/run-handoff-lanes-cli.js +233 -0
  787. package/dist/commands/run-hold-main.js +205 -0
  788. package/dist/commands/run-liveness-cli.js +190 -0
  789. package/dist/commands/run-merge-main.js +249 -0
  790. package/dist/commands/run-next-cli.js +241 -0
  791. package/dist/commands/run-park-cli.js +412 -0
  792. package/dist/commands/run-pause-cli.js +348 -0
  793. package/dist/commands/run-pickup-cli.js +196 -0
  794. package/dist/commands/run-prep-main.js +210 -21168
  795. package/dist/commands/run-prime-cli.js +301 -0
  796. package/dist/commands/run-progress-main.js +671 -0
  797. package/dist/commands/run-report-cli.js +377 -0
  798. package/dist/commands/run-review-cli.js +796 -0
  799. package/dist/commands/run-ship-cli.js +2620 -0
  800. package/dist/commands/run-ship-evidence-cli.js +289 -0
  801. package/dist/commands/run-ship-lap-W5T2VHFC.js +30 -0
  802. package/dist/commands/run-ship-wait-main.js +148 -0
  803. package/dist/commands/run-split-cli.js +527 -0
  804. package/dist/commands/run-stale-main.js +255 -0
  805. package/dist/commands/run-status-cli.js +217 -0
  806. package/dist/commands/run-step-cli.js +428 -27653
  807. package/dist/commands/run-tail-cli.js +119 -0
  808. package/dist/commands/run-tidy-main.js +403 -0
  809. package/dist/commands/run-wake-main.js +290 -0
  810. package/dist/commands/run-watcher-guard-cli.js +129 -0
  811. package/dist/commands/secretlint-scan.js +84 -0
  812. package/dist/commands/security-audit-main.js +151 -0
  813. package/dist/commands/security-audit-provision-main.js +52 -0
  814. package/dist/commands/selfcheck-cli.js +410 -0
  815. package/dist/commands/session-language-main.js +140 -0
  816. package/dist/commands/sonar-hotspots-cli.js +133 -0
  817. package/dist/commands/sonar-new-code-cli.js +143 -0
  818. package/dist/commands/split-assess-cli.js +139 -0
  819. package/dist/commands/split-child-recover-cli.js +169 -0
  820. package/dist/commands/start.js +709 -0
  821. package/dist/commands/stash-pop-main.js +26 -0
  822. package/dist/commands/stash-push-main.js +30 -0
  823. package/dist/commands/stop-guard.js +568 -0
  824. package/dist/commands/sync-main.js +58 -0
  825. package/dist/commands/telegram-test-main.js +64 -0
  826. package/dist/commands/test-declared.js +256 -0
  827. package/dist/commands/test-e2e-guard.js +201 -0
  828. package/dist/commands/test-pinned-main.js +190 -0
  829. package/dist/commands/test-reach-cli.js +112 -0
  830. package/dist/commands/test-red-main.js +46 -0
  831. package/dist/commands/test-related-ZCNC46MS.js +113 -0
  832. package/dist/commands/test-related-main.js +224 -0
  833. package/dist/commands/test-unit-guard-main.js +88 -0
  834. package/dist/commands/time-cli.js +353 -0
  835. package/dist/commands/time-density-cli.js +182 -0
  836. package/dist/commands/tree-status-cli.js +172 -0
  837. package/dist/commands/type-check-command.js +75 -0
  838. package/dist/commands/ui-routes-cli.js +135 -0
  839. package/dist/commands/ui-shot-cli.js +131 -0
  840. package/dist/commands/uninstall.js +425 -0
  841. package/dist/commands/unused-members-STULPRBU.js +331 -0
  842. package/dist/commands/unused-members-cli.js +55 -0
  843. package/dist/commands/upstream-interrupt-main.js +453 -0
  844. package/dist/commands/usage-tee-cli.js +60 -0
  845. package/dist/commands/verification-gate.js +808 -0
  846. package/dist/commands/version-check.js +497 -0
  847. package/dist/hooks/audit-provision.js +20 -9
  848. package/dist/hooks/chunk-5CUXGQT6.js +8353 -0
  849. package/dist/hooks/{chunk-UJ3FPMMM.js → chunk-5R5YFQR5.js} +445 -142
  850. package/dist/hooks/chunk-6RLY27FT.js +232 -0
  851. package/dist/hooks/chunk-6YGMIODI.js +86 -0
  852. package/dist/hooks/chunk-AO4TOV4V.js +5026 -0
  853. package/dist/hooks/chunk-CY3ADSDR.js +28580 -0
  854. package/dist/hooks/chunk-FOW4B7OQ.js +1795 -0
  855. package/dist/hooks/chunk-G5WSPYJ6.js +5663 -0
  856. package/dist/hooks/{chunk-CQD4LJE6.js → chunk-HHIVWGHX.js} +3290 -1279
  857. package/dist/hooks/chunk-IURJANNZ.js +1082 -0
  858. package/dist/hooks/chunk-LRD2ERRI.js +299 -0
  859. package/dist/hooks/chunk-OV22V63P.js +10980 -0
  860. package/dist/hooks/chunk-SAAPRHTK.js +43 -0
  861. package/dist/hooks/chunk-SXABK6UV.js +321 -0
  862. package/dist/hooks/chunk-U3ON2GBN.js +12 -0
  863. package/dist/hooks/chunk-YEURBB4L.js +32 -0
  864. package/dist/hooks/codex-hook-adapter.js +61 -25
  865. package/dist/hooks/daemon.js +67667 -0
  866. package/dist/hooks/format-edited.js +15 -5
  867. package/dist/hooks/inputs.json +601 -403
  868. package/dist/hooks/pretool-guard.js +11 -7
  869. package/dist/hooks/ready.js +300 -0
  870. package/dist/hooks/run-ship-lap-VCEOUHQI.js +8 -0
  871. package/dist/hooks/session-lang.js +515 -133
  872. package/dist/hooks/stop-guard.js +9370 -4513
  873. package/dist/inputs.json +169 -0
  874. package/dist/josh.js +9753 -6793
  875. package/dist/self-sync-guard/index.js +85 -14
  876. package/dist/version/index.js +659 -85
  877. package/eslint/base.js +36 -11
  878. package/eslint/config-fingerprint.js +164 -21
  879. package/eslint/rules/code-quality.js +6 -0
  880. package/eslint/rules/comment-why-only.js +40 -16
  881. package/eslint/rules/english-only-prose.js +10 -3
  882. package/eslint/rules/import.js +3 -17
  883. package/eslint/rules/test-helper-bans.js +34 -0
  884. package/eslint/untyped-environment.js +21 -0
  885. package/eslint/untyped.js +60 -0
  886. package/lefthook/base.yml +4 -5
  887. package/package.json +17 -15
  888. package/pnpm-workspace.yaml +7 -0
  889. package/ports/index.js +8 -15
  890. package/prompts/coding-standards.md +4 -43
  891. package/prompts/collaboration-workflow/file-edits.md +10 -10
  892. package/prompts/collaboration-workflow/gh-rest.md +14 -7
  893. package/prompts/collaboration-workflow/issue-template.en.md +129 -0
  894. package/prompts/collaboration-workflow/issue-template.md +49 -56
  895. package/prompts/collaboration-workflow/lane-instructions.md +1 -0
  896. package/prompts/collaboration-workflow/measurement.md +13 -17
  897. package/prompts/collaboration-workflow/operating-rules.md +10 -7
  898. package/prompts/collaboration-workflow/output-bounds.md +3 -3
  899. package/prompts/collaboration-workflow/overview.md +8 -17
  900. package/prompts/collaboration-workflow/plan-comment.md +1 -1
  901. package/prompts/collaboration-workflow/principles.md +17 -19
  902. package/prompts/collaboration-workflow/report-format.md +6 -5
  903. package/prompts/collaboration-workflow/residency.md +1 -0
  904. package/prompts/collaboration-workflow/rule-delivery.md +4 -12
  905. package/prompts/collaboration-workflow/shell-body.md +7 -7
  906. package/prompts/collaboration-workflow/turn-batching.md +2 -2
  907. package/prompts/collaboration-workflow/upstream-interrupt.md +8 -8
  908. package/prompts/collaboration-workflow/wip-cap.md +3 -3
  909. package/prompts/refactoring.md +4 -3
  910. package/prompts/review-rubric.md +8 -21
  911. package/prompts/review.md +52 -80
  912. package/prompts/sonar-hotspot-handling.md +1 -1
  913. package/prompts/testing-guide.md +15 -2
  914. package/scripts/agent/agent-argv.ts +30 -9
  915. package/scripts/agent/agent-consultation-model.ts +47 -0
  916. package/scripts/agent/agent-event.ts +11 -2
  917. package/scripts/agent/agent-launch-environment.ts +6 -57
  918. package/scripts/agent/agent-model-alias.ts +19 -0
  919. package/scripts/agent/agent-phase-profile.ts +89 -0
  920. package/scripts/agent/agent-profile-schema.ts +98 -0
  921. package/scripts/agent/agent-role-profile.ts +88 -133
  922. package/scripts/agent/agent-safe-text.ts +2 -2
  923. package/scripts/agent/agent-session-role.ts +25 -3
  924. package/scripts/agent/agent-ship-cap.ts +44 -0
  925. package/scripts/agent/agent-worker-profile.ts +154 -0
  926. package/scripts/agent/answer-judge.ts +174 -0
  927. package/scripts/agent/answer-verdict.ts +122 -0
  928. package/scripts/agent/claude-agent-argv.ts +13 -7
  929. package/scripts/agent/codex-agent-argv.ts +17 -143
  930. package/scripts/agent/codex-home-source.ts +1 -1
  931. package/scripts/agent/codex-hooks.ts +29 -6
  932. package/scripts/agent/judgment-agent-argv.ts +49 -0
  933. package/scripts/agent/lane-instructions.ts +33 -4
  934. package/scripts/auto-ok/auto-ok-author.ts +14 -3
  935. package/scripts/auto-ok/auto-ok-cli.ts +20 -12
  936. package/scripts/auto-ok/auto-ok-judge-cli.ts +10 -14
  937. package/scripts/auto-ok/auto-ok-judge-read.ts +3 -3
  938. package/scripts/auto-ok/auto-ok-judge-write.ts +20 -17
  939. package/scripts/auto-ok/auto-ok-judge.ts +4 -2
  940. package/scripts/backlog/backlog-arrival-added.ts +47 -11
  941. package/scripts/backlog/backlog-arrival.ts +90 -23
  942. package/scripts/backlog/backlog-auto-triage.ts +130 -0
  943. package/scripts/backlog/backlog-budget-cli.ts +2 -1
  944. package/scripts/backlog/backlog-budget.ts +31 -5
  945. package/scripts/backlog/backlog-defect-priority.ts +32 -19
  946. package/scripts/backlog/backlog-drain-flush.ts +22 -0
  947. package/scripts/backlog/backlog-drive-adopt.ts +2 -2
  948. package/scripts/backlog/backlog-drive-after-merge.ts +123 -0
  949. package/scripts/backlog/backlog-drive-args.ts +60 -7
  950. package/scripts/backlog/backlog-drive-cli.ts +69 -64
  951. package/scripts/backlog/backlog-drive-collect.ts +46 -0
  952. package/scripts/backlog/backlog-drive-epic.ts +1 -1
  953. package/scripts/backlog/backlog-drive-escalate.ts +115 -0
  954. package/scripts/backlog/backlog-drive-hold.ts +32 -8
  955. package/scripts/backlog/backlog-drive-idle.ts +21 -10
  956. package/scripts/backlog/backlog-drive-launch-pass.ts +79 -23
  957. package/scripts/backlog/backlog-drive-launch.ts +73 -7
  958. package/scripts/backlog/backlog-drive-listing.ts +59 -0
  959. package/scripts/backlog/backlog-drive-memory.ts +4 -5
  960. package/scripts/backlog/backlog-drive-named-offer.ts +112 -22
  961. package/scripts/backlog/backlog-drive-named.ts +11 -4
  962. package/scripts/backlog/backlog-drive-offer-argv.ts +10 -2
  963. package/scripts/backlog/backlog-drive-park-triage.ts +57 -0
  964. package/scripts/backlog/backlog-drive-paused.ts +2 -1
  965. package/scripts/backlog/backlog-drive-rate-limit.ts +29 -0
  966. package/scripts/backlog/backlog-drive-rate.ts +73 -0
  967. package/scripts/backlog/backlog-drive-record.ts +58 -0
  968. package/scripts/backlog/backlog-drive-restore.ts +38 -8
  969. package/scripts/backlog/backlog-drive-retrospective-unit.ts +80 -0
  970. package/scripts/backlog/backlog-drive-retrospective.ts +35 -1
  971. package/scripts/backlog/backlog-drive-retry.ts +85 -0
  972. package/scripts/backlog/backlog-drive-seats.ts +4 -7
  973. package/scripts/backlog/backlog-drive-split-unit.ts +108 -0
  974. package/scripts/backlog/backlog-drive-stalled-retry.ts +232 -0
  975. package/scripts/backlog/backlog-drive-state.ts +28 -0
  976. package/scripts/backlog/backlog-drive-tick.ts +77 -0
  977. package/scripts/backlog/backlog-drive-token-handling.ts +2 -2
  978. package/scripts/backlog/backlog-drive-trace.ts +45 -0
  979. package/scripts/backlog/backlog-drive-unit.ts +54 -0
  980. package/scripts/backlog/backlog-drive-unread.ts +1 -1
  981. package/scripts/backlog/backlog-drive.ts +142 -99
  982. package/scripts/backlog/backlog-gate-scope.ts +15 -3
  983. package/scripts/backlog/backlog-hold-codes.ts +23 -0
  984. package/scripts/backlog/backlog-hold-text.ts +107 -0
  985. package/scripts/backlog/backlog-measure-close.ts +61 -31
  986. package/scripts/backlog/backlog-named.ts +1 -1
  987. package/scripts/backlog/backlog-next-offer.ts +138 -0
  988. package/scripts/backlog/backlog-next-report.ts +221 -0
  989. package/scripts/backlog/backlog-next-shared.ts +22 -4
  990. package/scripts/backlog/backlog-next-size.ts +108 -0
  991. package/scripts/backlog/backlog-next.ts +52 -187
  992. package/scripts/backlog/backlog-occupied.ts +7 -7
  993. package/scripts/backlog/backlog-offer-cli.ts +13 -2
  994. package/scripts/backlog/backlog-offer-timing.ts +141 -0
  995. package/scripts/backlog/backlog-offer.ts +26 -6
  996. package/scripts/backlog/backlog-overlap.ts +7 -1
  997. package/scripts/backlog/backlog-plan-cli.ts +27 -3
  998. package/scripts/backlog/backlog-plan-comment.ts +36 -14
  999. package/scripts/backlog/backlog-plan-words.ts +69 -0
  1000. package/scripts/backlog/backlog-plan.ts +63 -46
  1001. package/scripts/backlog/backlog-pool.ts +42 -13
  1002. package/scripts/backlog/backlog-preflight.ts +67 -0
  1003. package/scripts/backlog/backlog-ready.ts +7 -69
  1004. package/scripts/backlog/backlog-resumable.ts +65 -0
  1005. package/scripts/backlog/backlog-resume-reads.ts +119 -0
  1006. package/scripts/backlog/backlog-stalled-detect.ts +4 -3
  1007. package/scripts/backlog/backlog-stalled.ts +3 -2
  1008. package/scripts/backlog/backlog-triage-adopt.ts +239 -0
  1009. package/scripts/backlog/backlog-triage-approval.ts +94 -0
  1010. package/scripts/backlog/backlog-triage-cli.ts +270 -0
  1011. package/scripts/backlog/backlog-triage-decision.ts +49 -0
  1012. package/scripts/backlog/backlog-triage-park.ts +53 -0
  1013. package/scripts/backlog/backlog-triage-pass.ts +113 -0
  1014. package/scripts/backlog/backlog-triage-unblock.ts +68 -0
  1015. package/scripts/backlog/backlog-wait-cause.ts +76 -16
  1016. package/scripts/backlog/backlog-yield-cap.ts +108 -0
  1017. package/scripts/backlog/backlogrun-args.ts +45 -16
  1018. package/scripts/backlog/backlogrun-cli.ts +82 -18
  1019. package/scripts/backlog/backlogrun-launch.ts +12 -4
  1020. package/scripts/backlog/backlogrun-replace.ts +44 -4
  1021. package/scripts/build/build-bin.ts +25 -2
  1022. package/scripts/build/build-codex-hooks.ts +2 -2
  1023. package/scripts/build/build-commands.ts +27 -19
  1024. package/scripts/build/build-hooks.ts +117 -22
  1025. package/scripts/build/hook-bundle-stamp.ts +15 -5
  1026. package/scripts/build/local-bin.ts +27 -1
  1027. package/scripts/build/source-location.ts +82 -0
  1028. package/scripts/ci/ci-timing-cli.ts +73 -0
  1029. package/scripts/ci/ci-timing-table.ts +84 -0
  1030. package/scripts/ci/ci-timing.ts +104 -0
  1031. package/scripts/ci/composite-actions.ts +1 -1
  1032. package/scripts/ci/pr-classification.ts +89 -11
  1033. package/scripts/code/code-symbol-cli.ts +121 -0
  1034. package/scripts/code/code-symbol.ts +127 -0
  1035. package/scripts/config-merge/patch-json-key.ts +4 -7
  1036. package/scripts/cost-runtime/cost-blocks.ts +3 -4
  1037. package/scripts/cost-runtime/cost-cli.ts +4 -7
  1038. package/scripts/cost-runtime/cost-pricing.ts +2 -2
  1039. package/scripts/cost-runtime/cost-tokens.ts +7 -6
  1040. package/scripts/delegation/delegation-policy.ts +2 -2
  1041. package/scripts/delegation/duplicate-read-guard.ts +41 -28
  1042. package/scripts/delegation/investigation-guard.ts +13 -5
  1043. package/scripts/delegation/investigation-reads.ts +52 -34
  1044. package/scripts/delegation/large-read-guard.ts +150 -0
  1045. package/scripts/discovery/git-directory.ts +61 -0
  1046. package/scripts/discovery/pin-verify-cli.ts +115 -0
  1047. package/scripts/discovery/repo-discovery.ts +10 -58
  1048. package/scripts/discovery/repo-party.ts +1 -0
  1049. package/scripts/document/backlogrun-parent-read-set.ts +37 -6
  1050. package/scripts/document/capped-print.ts +3 -3
  1051. package/scripts/document/command-reference-line-budget.ts +4 -1
  1052. package/scripts/document/document-byte-budget.ts +34 -16
  1053. package/scripts/document/document-byte-check.ts +1 -1
  1054. package/scripts/document/document-reachability.ts +4 -3
  1055. package/scripts/document/document-scan.ts +37 -6
  1056. package/scripts/document/document-section-cli.ts +13 -1
  1057. package/scripts/document/edit-files-cli.ts +3 -7
  1058. package/scripts/document/entry-read-budget.ts +12 -4
  1059. package/scripts/document/entry-read-set.ts +9 -2
  1060. package/scripts/document/issue-citation-budget.ts +3 -3
  1061. package/scripts/document/lane-child-read-set.ts +21 -29
  1062. package/scripts/document/read-set-cli.ts +17 -10
  1063. package/scripts/document/read-set-point-of-use.ts +13 -9
  1064. package/scripts/document/read-set-trim.ts +42 -2
  1065. package/scripts/epic/epic-audit-checks.ts +1 -1
  1066. package/scripts/epic/epic-audit-cli.ts +19 -21
  1067. package/scripts/epic/epic-audit-main.ts +17 -0
  1068. package/scripts/epic/epic-audit-orphans.ts +1 -1
  1069. package/scripts/epic/epic-audit.ts +6 -3
  1070. package/scripts/epic/epic-blocked-by.ts +198 -0
  1071. package/scripts/epic/epic-body.ts +6 -6
  1072. package/scripts/epic/epic-bundle-apply.ts +41 -10
  1073. package/scripts/epic/epic-bundle-cli.ts +40 -99
  1074. package/scripts/epic/epic-bundle-evidence.ts +2 -2
  1075. package/scripts/epic/epic-bundle-format.ts +21 -7
  1076. package/scripts/epic/epic-bundle-recommend.ts +56 -0
  1077. package/scripts/epic/epic-bundle-referenced.ts +42 -17
  1078. package/scripts/epic/epic-bundle.ts +31 -4
  1079. package/scripts/epic/epic-busy.ts +11 -9
  1080. package/scripts/epic/epic-chains.ts +59 -23
  1081. package/scripts/epic/epic-child-source.ts +111 -0
  1082. package/scripts/epic/epic-cli-untrack.ts +38 -0
  1083. package/scripts/epic/epic-cli.ts +26 -7
  1084. package/scripts/epic/epic-close-comment.ts +4 -2
  1085. package/scripts/epic/epic-close.ts +25 -11
  1086. package/scripts/epic/epic-decide.ts +39 -3
  1087. package/scripts/epic/epic-fetch.ts +116 -24
  1088. package/scripts/epic/epic-graph.ts +1 -0
  1089. package/scripts/epic/epic-label-age.ts +55 -13
  1090. package/scripts/epic/epic-lane-occupancy.ts +75 -0
  1091. package/scripts/epic/epic-lane-offer.ts +49 -13
  1092. package/scripts/epic/epic-main.ts +23 -0
  1093. package/scripts/epic/epic-next-main.ts +2 -4
  1094. package/scripts/epic/epic-next-read.ts +12 -3
  1095. package/scripts/epic/epic-next-views.ts +1 -1
  1096. package/scripts/epic/epic-notify.ts +72 -0
  1097. package/scripts/epic/epic-parse.ts +1 -1
  1098. package/scripts/epic/epic-rank.ts +6 -2
  1099. package/scripts/epic/epic-reference.ts +1 -1
  1100. package/scripts/epic/epic-run.ts +14 -1
  1101. package/scripts/epic/epic-shape.ts +2 -2
  1102. package/scripts/epic/epic-solo-stale.ts +1 -1
  1103. package/scripts/epic/epic-solo.ts +11 -5
  1104. package/scripts/epic/epic-split-reach.ts +107 -0
  1105. package/scripts/epic/epic-triage.ts +29 -5
  1106. package/scripts/epic/epic-untrack-plan.ts +75 -0
  1107. package/scripts/epic/epic-untrack.ts +42 -0
  1108. package/scripts/epic/epic.ts +65 -31
  1109. package/scripts/followup/followup-check-report.ts +70 -0
  1110. package/scripts/followup/followup-ci-path.ts +27 -7
  1111. package/scripts/followup/followup-coderabbit-retrigger.ts +61 -23
  1112. package/scripts/followup/followup-failed-tests.ts +4 -0
  1113. package/scripts/followup/followup-human-merge.ts +109 -0
  1114. package/scripts/followup/followup-job-needs.ts +92 -14
  1115. package/scripts/followup/followup-job-rerun.ts +162 -43
  1116. package/scripts/followup/followup-run-rerun.ts +183 -0
  1117. package/scripts/followup/followup-section.ts +30 -0
  1118. package/scripts/followup/followup-ship-environment.ts +17 -0
  1119. package/scripts/followup/git-followup-finish.ts +52 -1
  1120. package/scripts/followup/git-followup-flush.ts +6 -8
  1121. package/scripts/followup/git-followup-stages.ts +3 -0
  1122. package/scripts/followup/git-followup-workflow.ts +29 -9
  1123. package/scripts/followup/git-pr-followup-checks.ts +65 -8
  1124. package/scripts/followup/git-pr-followup-wrapup.ts +11 -9
  1125. package/scripts/followup/git-pr-followup.ts +18 -12
  1126. package/scripts/fresh-machine/fresh-machine-cli.ts +2 -1
  1127. package/scripts/fresh-machine/fresh-machine-image.ts +3 -1
  1128. package/scripts/fresh-machine/fresh-machine-patterns.ts +25 -4
  1129. package/scripts/fresh-machine/fresh-machine-registry.ts +85 -0
  1130. package/scripts/fresh-machine/fresh-machine-script.ts +3 -1
  1131. package/scripts/fresh-machine/fresh-machine-spec.ts +2 -2
  1132. package/scripts/fresh-machine/specs/kit-test-backlogrun-python.json +0 -1
  1133. package/scripts/fresh-machine/specs/kit-test-backlogrun.json +0 -1
  1134. package/scripts/gate/busy-average.ts +26 -3
  1135. package/scripts/gate/change-scope-action.ts +101 -0
  1136. package/scripts/gate/check-inputs.ts +1 -1
  1137. package/scripts/gate/check-related-order.ts +65 -0
  1138. package/scripts/gate/check-related-pinned.ts +3 -2
  1139. package/scripts/gate/check-related-reuse.ts +34 -6
  1140. package/scripts/gate/check-related-section.ts +8 -1
  1141. package/scripts/gate/check-related-unplanned.ts +11 -1
  1142. package/scripts/gate/check-related.ts +122 -34
  1143. package/scripts/gate/check-reuse.ts +63 -31
  1144. package/scripts/gate/command-memory.ts +10 -4
  1145. package/scripts/gate/core-admission.ts +34 -8
  1146. package/scripts/gate/core-budget.ts +55 -65
  1147. package/scripts/gate/core-priority.ts +28 -0
  1148. package/scripts/gate/core-reservation.ts +85 -0
  1149. package/scripts/gate/core-wait.ts +90 -19
  1150. package/scripts/gate/core-weights.ts +25 -16
  1151. package/scripts/gate/gate-checks.ts +196 -0
  1152. package/scripts/gate/gate-labels.ts +4 -0
  1153. package/scripts/gate/gate-plan.ts +34 -164
  1154. package/scripts/gate/gate-report.ts +14 -10
  1155. package/scripts/gate/gate-run-steps.ts +38 -6
  1156. package/scripts/gate/gate-skip.ts +1 -1
  1157. package/scripts/gate/gate-static-group.ts +35 -6
  1158. package/scripts/gate/machine-capacity.ts +20 -25
  1159. package/scripts/gate/metrics-totals.ts +30 -4
  1160. package/scripts/gate/path-glob.ts +15 -0
  1161. package/scripts/gate/pre-commit-type-check.ts +2 -6
  1162. package/scripts/gate/project-checks.ts +33 -2
  1163. package/scripts/gate/project-gate-steps.ts +206 -0
  1164. package/scripts/gate/project-step-reuse.ts +69 -0
  1165. package/scripts/gate/scoped-green.ts +10 -4
  1166. package/scripts/gate/since-green.ts +76 -20
  1167. package/scripts/gate/tree-verdict.ts +111 -0
  1168. package/scripts/gate/tsc-arguments.ts +9 -0
  1169. package/scripts/gate/type-check-command.ts +4 -7
  1170. package/scripts/gate/type-check-step.ts +4 -1
  1171. package/scripts/gate/type-program-serial.ts +52 -0
  1172. package/scripts/gate/verification-gate.ts +47 -17
  1173. package/scripts/gate/verification-inputs.ts +46 -11
  1174. package/scripts/gate/whole-tree-reuse.ts +24 -0
  1175. package/scripts/gh/gh-author-association.ts +40 -14
  1176. package/scripts/gh/gh-call-kind.ts +97 -0
  1177. package/scripts/gh/gh-comment-input.ts +26 -0
  1178. package/scripts/gh/gh-core-rate-limit.ts +151 -0
  1179. package/scripts/gh/gh-permission-cache.ts +44 -0
  1180. package/scripts/gh/gh-request-tally.ts +143 -0
  1181. package/scripts/gh/gh-spawn.ts +2 -2
  1182. package/scripts/gh/gh-usage-cli.ts +71 -0
  1183. package/scripts/gh/gh-usage-event.ts +82 -0
  1184. package/scripts/gh/gh-usage-log.ts +48 -0
  1185. package/scripts/gh/gh-usage-tally.ts +209 -0
  1186. package/scripts/gh/git-gh-api-path.ts +17 -2
  1187. package/scripts/gh/git-gh-blocked-by-graphql.ts +107 -0
  1188. package/scripts/gh/git-gh-checks-failed-main.ts +24 -0
  1189. package/scripts/gh/git-gh-checks-failed.ts +141 -0
  1190. package/scripts/gh/git-gh-code-scanning.ts +81 -0
  1191. package/scripts/gh/git-gh-conditional.ts +36 -4
  1192. package/scripts/gh/git-gh-etag-read.ts +107 -0
  1193. package/scripts/gh/git-gh-exec.ts +74 -25
  1194. package/scripts/gh/git-gh-failure.ts +16 -2
  1195. package/scripts/gh/git-gh-helpers.ts +2 -6
  1196. package/scripts/gh/git-gh-issue-alias-graphql.ts +113 -0
  1197. package/scripts/gh/git-gh-issue-batch-graphql.ts +155 -0
  1198. package/scripts/gh/git-gh-issue-batch-read.ts +66 -0
  1199. package/scripts/gh/git-gh-issue-graphql.ts +229 -0
  1200. package/scripts/gh/git-gh-issue-list-graphql.ts +103 -0
  1201. package/scripts/gh/git-gh-issue-list.ts +126 -34
  1202. package/scripts/gh/git-gh-issue-memo.ts +53 -0
  1203. package/scripts/gh/git-gh-issue-read.ts +87 -14
  1204. package/scripts/gh/git-gh-issue-rest.ts +5 -8
  1205. package/scripts/gh/git-gh-issue-write.ts +31 -10
  1206. package/scripts/gh/git-gh-issue.ts +25 -4
  1207. package/scripts/gh/git-gh-poll-read.ts +43 -18
  1208. package/scripts/gh/git-gh-pr-auto-merge.ts +1 -4
  1209. package/scripts/gh/git-gh-pr-graphql-snapshot.ts +369 -0
  1210. package/scripts/gh/git-gh-pr-graphql-state.ts +21 -26
  1211. package/scripts/gh/git-gh-pr-read.ts +4 -1
  1212. package/scripts/gh/git-gh-pr-rollup.ts +10 -3
  1213. package/scripts/gh/git-gh-pr-snapshot.ts +78 -22
  1214. package/scripts/gh/git-gh-pr.ts +51 -17
  1215. package/scripts/gh/git-gh-rate-limit.ts +91 -0
  1216. package/scripts/gh/git-gh-repo.ts +37 -20
  1217. package/scripts/gh/git-gh-retry.ts +60 -24
  1218. package/scripts/gh/git-gh-spawn-width.ts +6 -0
  1219. package/scripts/gh/git-gh-transport.ts +213 -0
  1220. package/scripts/gh/git-pr-ai-review.ts +8 -5
  1221. package/scripts/gh/git-pr-checks-eval.ts +16 -17
  1222. package/scripts/gh/git-pr-checks-failed.ts +24 -0
  1223. package/scripts/gh/git-pr-checks-gate.ts +129 -0
  1224. package/scripts/gh/git-pr-checks-missing.ts +165 -0
  1225. package/scripts/gh/git-pr-checks-parse.ts +4 -0
  1226. package/scripts/gh/git-pr-checks-watch.ts +22 -6
  1227. package/scripts/gh/git-pr-checks.ts +105 -76
  1228. package/scripts/gh/git-pr-merge-checked.ts +26 -12
  1229. package/scripts/gh/git-pr.ts +9 -23
  1230. package/scripts/git/base-tree.ts +18 -10
  1231. package/scripts/git/changed-paths-sync.ts +4 -12
  1232. package/scripts/git/changed-paths.ts +31 -6
  1233. package/scripts/git/git-command.ts +9 -1
  1234. package/scripts/git/git-common-directory.ts +17 -3
  1235. package/scripts/git/git-issue.ts +3 -3
  1236. package/scripts/git/git-merge-conflicts.ts +8 -3
  1237. package/scripts/git/git-path-quoting.ts +54 -0
  1238. package/scripts/git/git-push-transport.ts +8 -10
  1239. package/scripts/git/git-schemas.ts +1 -0
  1240. package/scripts/git/git-spawn-sync.ts +11 -7
  1241. package/scripts/git/git-spawn.ts +1 -1
  1242. package/scripts/git/git-ssh-keepalive.ts +3 -3
  1243. package/scripts/git/git-workflow.ts +32 -9
  1244. package/scripts/git/git-worktree.ts +12 -4
  1245. package/scripts/git/main-merge.ts +3 -36
  1246. package/scripts/git/main-sync.ts +2 -13
  1247. package/scripts/git/repository-lock.ts +8 -7
  1248. package/scripts/git/stash/git-stash.ts +38 -5
  1249. package/scripts/git/stash/stash-pop-cli.ts +43 -6
  1250. package/scripts/hooks/bash-revert.ts +253 -0
  1251. package/scripts/hooks/batch-guard.ts +28 -16
  1252. package/scripts/hooks/check-commit-message.ts +5 -7
  1253. package/scripts/hooks/codex-hook-adapter.ts +58 -13
  1254. package/scripts/hooks/direct-gh-usage.ts +130 -0
  1255. package/scripts/hooks/edited-cspell.ts +8 -11
  1256. package/scripts/hooks/fixtures/claude-Agent.json +16 -0
  1257. package/scripts/hooks/fixtures/claude-Bash.json +12 -0
  1258. package/scripts/hooks/fixtures/claude-Edit.json +17 -0
  1259. package/scripts/hooks/fixtures/claude-Read.json +12 -0
  1260. package/scripts/hooks/fixtures/claude-Write.json +12 -0
  1261. package/scripts/hooks/fixtures/codex-Bash-cat.json +12 -0
  1262. package/scripts/hooks/fixtures/codex-Bash.json +12 -0
  1263. package/scripts/hooks/fixtures/codex-apply_patch.json +14 -0
  1264. package/scripts/hooks/format-edited-cli.ts +8 -1
  1265. package/scripts/hooks/format-edited-file.ts +33 -27
  1266. package/scripts/hooks/hook-context.ts +22 -0
  1267. package/scripts/hooks/hook-demoted.ts +84 -0
  1268. package/scripts/hooks/hook-lap.ts +61 -0
  1269. package/scripts/hooks/hook-ledger-cli.ts +246 -0
  1270. package/scripts/hooks/hook-ledger-demote.ts +58 -0
  1271. package/scripts/hooks/hook-ledger-issues.ts +61 -0
  1272. package/scripts/hooks/hook-ledger-read.ts +97 -0
  1273. package/scripts/hooks/hook-ledger.ts +163 -0
  1274. package/scripts/hooks/implementation-authority.ts +48 -0
  1275. package/scripts/hooks/implementation-shell-deny-expansion.ts +20 -0
  1276. package/scripts/hooks/implementation-shell-deny-git.ts +128 -0
  1277. package/scripts/hooks/implementation-shell-deny.ts +220 -0
  1278. package/scripts/hooks/implementation-shell-nested.ts +148 -0
  1279. package/scripts/hooks/implementation-shell.ts +276 -0
  1280. package/scripts/hooks/lane-plan-guard.ts +1 -1
  1281. package/scripts/hooks/pre-commit-lint.ts +10 -5
  1282. package/scripts/hooks/pre-push-unit.ts +49 -13
  1283. package/scripts/hooks/pretool-guard.ts +184 -70
  1284. package/scripts/hooks/reserved-run.ts +13 -13
  1285. package/scripts/hooks/run-hook.sh +84 -30
  1286. package/scripts/hooks/step-zero-notice.ts +58 -17
  1287. package/scripts/hooks/stop-actions.ts +14 -5
  1288. package/scripts/hooks/stop-guard.ts +29 -8
  1289. package/scripts/init/claude-kit-only-settings.ts +1 -1
  1290. package/scripts/init/hook-command-rewrite.ts +90 -65
  1291. package/scripts/init/hook-launch.ts +27 -22
  1292. package/scripts/init/init-ai-copy.ts +14 -4
  1293. package/scripts/init/init-bootstrap.ts +40 -8
  1294. package/scripts/init/init-copy-content.ts +2 -2
  1295. package/scripts/init/init-install.ts +9 -1
  1296. package/scripts/init/init-logic-deploy-vps.ts +5 -3
  1297. package/scripts/init/init-logic-workspace.ts +16 -1
  1298. package/scripts/init/init-logic.ts +11 -18
  1299. package/scripts/init/npm-publish-files.ts +25 -0
  1300. package/scripts/init/start-setup-pr.ts +1 -1
  1301. package/scripts/init/tsconfig-preset-migration.ts +5 -10
  1302. package/scripts/issue/aggregation-split.ts +4 -2
  1303. package/scripts/issue/already-done-citation.ts +103 -0
  1304. package/scripts/issue/baseline-measure.ts +2 -1
  1305. package/scripts/issue/behavior-change-lint.ts +5 -4
  1306. package/scripts/issue/defect-origin-line.ts +11 -10
  1307. package/scripts/issue/defect-origin.ts +4 -3
  1308. package/scripts/issue/defect-rate.ts +2 -1
  1309. package/scripts/issue/defect-report-format.ts +1 -1
  1310. package/scripts/issue/effect-audit.ts +12 -11
  1311. package/scripts/issue/enforcement-lint.ts +48 -0
  1312. package/scripts/issue/expected-effect-lint.ts +6 -5
  1313. package/scripts/issue/figure-source-lint.ts +59 -0
  1314. package/scripts/issue/git-next-issues.ts +15 -17
  1315. package/scripts/issue/issue-already-done-cli.ts +24 -4
  1316. package/scripts/issue/issue-auto-ok.ts +65 -9
  1317. package/scripts/issue/issue-body-cli.ts +75 -0
  1318. package/scripts/issue/issue-body-keys.ts +227 -0
  1319. package/scripts/issue/issue-body-or-comment.ts +1 -1
  1320. package/scripts/issue/issue-bug-label.ts +5 -2
  1321. package/scripts/issue/issue-cap-files.ts +111 -0
  1322. package/scripts/issue/issue-cite-cli.ts +2 -2
  1323. package/scripts/issue/issue-cite.ts +20 -3
  1324. package/scripts/issue/issue-classification.ts +66 -7
  1325. package/scripts/issue/issue-closing-pr.ts +51 -16
  1326. package/scripts/issue/issue-comment-cli.ts +15 -2
  1327. package/scripts/issue/issue-consolidate-cli.ts +81 -0
  1328. package/scripts/issue/issue-consolidate.ts +246 -0
  1329. package/scripts/issue/issue-declared-size.ts +21 -0
  1330. package/scripts/issue/issue-evidence-exit.ts +12 -5
  1331. package/scripts/issue/issue-file-batch-entries.ts +107 -0
  1332. package/scripts/issue/issue-file-batch.ts +206 -0
  1333. package/scripts/issue/issue-file-cli.ts +152 -209
  1334. package/scripts/issue/issue-file-fold.ts +4 -8
  1335. package/scripts/issue/issue-file-interrupt.ts +68 -9
  1336. package/scripts/issue/issue-file-lane-hint.ts +3 -2
  1337. package/scripts/issue/issue-file-main.ts +17 -0
  1338. package/scripts/issue/issue-file-pass.ts +249 -0
  1339. package/scripts/issue/issue-file-worker.ts +95 -0
  1340. package/scripts/issue/issue-file.ts +25 -6
  1341. package/scripts/issue/issue-fold-apply.ts +102 -0
  1342. package/scripts/issue/issue-fold-existing-cli.ts +226 -19
  1343. package/scripts/issue/issue-human-stops.ts +102 -0
  1344. package/scripts/issue/issue-labels.ts +14 -3
  1345. package/scripts/issue/issue-lint-cli.ts +20 -6
  1346. package/scripts/issue/issue-lint.ts +4 -6
  1347. package/scripts/issue/issue-merged.ts +75 -9
  1348. package/scripts/issue/issue-not-before.ts +34 -4
  1349. package/scripts/issue/issue-number-shape.ts +8 -0
  1350. package/scripts/issue/issue-outcome.ts +107 -0
  1351. package/scripts/issue/issue-plan-cli.ts +33 -5
  1352. package/scripts/issue/issue-plan-notify.ts +100 -0
  1353. package/scripts/issue/issue-premise-unmet-cli.ts +110 -0
  1354. package/scripts/issue/issue-priority-cli.ts +103 -16
  1355. package/scripts/issue/issue-priority-instructed.ts +55 -0
  1356. package/scripts/issue/issue-priority-raise.ts +70 -12
  1357. package/scripts/issue/issue-priority.ts +56 -16
  1358. package/scripts/issue/issue-rank.ts +48 -15
  1359. package/scripts/issue/issue-read-cli.ts +66 -33
  1360. package/scripts/issue/issue-read.ts +30 -10
  1361. package/scripts/issue/issue-release-class-cli.ts +79 -0
  1362. package/scripts/issue/issue-report-failures.ts +14 -5
  1363. package/scripts/issue/issue-run-hold.ts +13 -0
  1364. package/scripts/issue/issue-run-verdict.ts +68 -0
  1365. package/scripts/issue/issue-sample-gate.ts +18 -7
  1366. package/scripts/issue/issue-sample-required.ts +20 -3
  1367. package/scripts/issue/issue-sample-source.ts +2 -1
  1368. package/scripts/issue/issue-scout-cli.ts +34 -18
  1369. package/scripts/issue/issue-scout.ts +25 -4
  1370. package/scripts/issue/issue-search.ts +3 -0
  1371. package/scripts/issue/issue-sources.ts +98 -0
  1372. package/scripts/issue/issue-spill-cli.ts +292 -0
  1373. package/scripts/issue/issue-spill-main.ts +11 -0
  1374. package/scripts/issue/issue-spill.ts +193 -0
  1375. package/scripts/issue/issue-state-cli.ts +9 -17
  1376. package/scripts/issue/issue-template-section.ts +8 -3
  1377. package/scripts/issue/issue-tick-cli.ts +59 -0
  1378. package/scripts/issue/issue-watch-diff.ts +24 -8
  1379. package/scripts/issue/issue-watch-hook.ts +11 -9
  1380. package/scripts/issue/issue-watch.ts +25 -5
  1381. package/scripts/issue/issue-wip.ts +44 -9
  1382. package/scripts/issue/markdown-section.ts +66 -10
  1383. package/scripts/issue/measure-declaration.ts +70 -13
  1384. package/scripts/issue/measure-rerun-cli.ts +9 -8
  1385. package/scripts/issue/measure-twin.ts +37 -0
  1386. package/scripts/issue/reproduction-measure.ts +2 -1
  1387. package/scripts/issue/session-cite.ts +1 -1
  1388. package/scripts/issue/size-estimate.ts +317 -22
  1389. package/scripts/issue/trusted-measure-source.ts +43 -0
  1390. package/scripts/issue/trusted-measure.ts +79 -35
  1391. package/scripts/issue/upstream-interrupt-cli.ts +280 -0
  1392. package/scripts/issue/upstream-interrupt-main.ts +11 -0
  1393. package/scripts/josh/agent-session-environment.ts +19 -1
  1394. package/scripts/josh/cli-body.ts +46 -9
  1395. package/scripts/josh/command-usage.ts +3 -0
  1396. package/scripts/josh/durable-state-migrate.ts +11 -4
  1397. package/scripts/josh/durable-state-root.ts +60 -0
  1398. package/scripts/josh/durable-state.ts +9 -44
  1399. package/scripts/josh/hook-decision.ts +55 -113
  1400. package/scripts/josh/hook-envelope.ts +62 -0
  1401. package/scripts/josh/hook-payload-capture.ts +78 -0
  1402. package/scripts/josh/hook-tool-payload.ts +15 -0
  1403. package/scripts/josh/josh-aliases.ts +7 -0
  1404. package/scripts/josh/josh-command-map.ts +15 -0
  1405. package/scripts/josh/josh-command-types.ts +28 -4
  1406. package/scripts/josh/josh-commands-agent-hooks.ts +39 -7
  1407. package/scripts/josh/josh-commands-ai.ts +420 -9
  1408. package/scripts/josh/josh-commands-backlog.ts +79 -11
  1409. package/scripts/josh/josh-commands-clone.ts +2 -5
  1410. package/scripts/josh/josh-commands-development.ts +45 -12
  1411. package/scripts/josh/josh-commands-document.ts +22 -10
  1412. package/scripts/josh/josh-commands-epic.ts +30 -11
  1413. package/scripts/josh/josh-commands-hooks.ts +0 -1
  1414. package/scripts/josh/josh-commands-issue-write.ts +193 -20
  1415. package/scripts/josh/josh-commands-issue.ts +57 -17
  1416. package/scripts/josh/josh-commands-lint.ts +52 -19
  1417. package/scripts/josh/josh-commands-maintenance.ts +37 -4
  1418. package/scripts/josh/josh-commands-pause.ts +53 -5
  1419. package/scripts/josh/josh-commands-prime.ts +28 -0
  1420. package/scripts/josh/josh-commands-progress.ts +59 -7
  1421. package/scripts/josh/josh-commands-project.ts +15 -7
  1422. package/scripts/josh/josh-commands-review.ts +83 -5
  1423. package/scripts/josh/josh-commands-run.ts +30 -33
  1424. package/scripts/josh/josh-commands-ship.ts +95 -13
  1425. package/scripts/josh/josh-commands-test-check.ts +0 -2
  1426. package/scripts/josh/josh-commands-versioning.ts +11 -2
  1427. package/scripts/josh/josh-commands-workflow.ts +46 -11
  1428. package/scripts/josh/josh-completion-scripts.ts +81 -0
  1429. package/scripts/josh/josh-completion.ts +29 -0
  1430. package/scripts/josh/josh-environment-file.ts +8 -10
  1431. package/scripts/josh/josh-gh-usage.ts +53 -0
  1432. package/scripts/josh/josh-in-process.ts +21 -21
  1433. package/scripts/josh/josh-logic.ts +22 -46
  1434. package/scripts/josh/josh-read-only.ts +51 -0
  1435. package/scripts/josh/josh-run.ts +30 -6
  1436. package/scripts/josh/josh.ts +9 -11
  1437. package/scripts/josh/path-decision.ts +2 -2
  1438. package/scripts/josh/process-identity.ts +5 -0
  1439. package/scripts/josh/session-handoff-line.ts +88 -0
  1440. package/scripts/josh/session-language-cli.ts +18 -4
  1441. package/scripts/josh/session-model-record.ts +62 -0
  1442. package/scripts/lane/historical-evidence.ts +136 -0
  1443. package/scripts/lane/historical-log-evidence.ts +47 -0
  1444. package/scripts/lane/lane-adopt-cli.ts +1 -1
  1445. package/scripts/lane/lane-await.ts +8 -3
  1446. package/scripts/lane/lane-breakdown-calls.ts +165 -0
  1447. package/scripts/lane/lane-breakdown-cli.ts +88 -10
  1448. package/scripts/lane/lane-breakdown-estimate.ts +136 -0
  1449. package/scripts/lane/lane-breakdown-implement.ts +166 -29
  1450. package/scripts/lane/lane-breakdown-laps.ts +116 -24
  1451. package/scripts/lane/lane-breakdown-pause.ts +127 -0
  1452. package/scripts/lane/lane-breakdown-pinned.ts +19 -3
  1453. package/scripts/lane/lane-breakdown-related.ts +40 -0
  1454. package/scripts/lane/lane-breakdown-text.ts +136 -15
  1455. package/scripts/lane/lane-breakdown.ts +215 -31
  1456. package/scripts/lane/lane-broker-server.ts +1 -1
  1457. package/scripts/lane/lane-capacity.ts +27 -16
  1458. package/scripts/lane/lane-chain-stop-stats.ts +110 -0
  1459. package/scripts/lane/lane-check-stats.ts +25 -5
  1460. package/scripts/lane/lane-child-invocation.ts +9 -9
  1461. package/scripts/lane/lane-ci-path-stats.ts +15 -4
  1462. package/scripts/lane/lane-cli.ts +2 -2
  1463. package/scripts/lane/lane-concurrency-stats.ts +110 -0
  1464. package/scripts/lane/lane-cut-stats.ts +101 -0
  1465. package/scripts/lane/lane-dispatch-prepare.ts +83 -0
  1466. package/scripts/lane/lane-dispatch.ts +27 -72
  1467. package/scripts/lane/lane-early-push-stats.ts +25 -0
  1468. package/scripts/lane/lane-elapsed-time.ts +118 -0
  1469. package/scripts/lane/lane-environment.ts +2 -2
  1470. package/scripts/lane/lane-gap-stats.ts +69 -8
  1471. package/scripts/lane/lane-guard-policy.ts +1 -1
  1472. package/scripts/lane/lane-hand-back-held.ts +51 -0
  1473. package/scripts/lane/lane-hand-back-hold.ts +103 -0
  1474. package/scripts/lane/lane-held-stats.ts +13 -1
  1475. package/scripts/lane/lane-implement-rate-read.ts +50 -0
  1476. package/scripts/lane/lane-implement-rate.ts +74 -0
  1477. package/scripts/lane/lane-implement-read.ts +129 -0
  1478. package/scripts/lane/lane-implement-signals-record.ts +56 -0
  1479. package/scripts/lane/lane-implement-signals.ts +161 -0
  1480. package/scripts/lane/lane-implement-stats.ts +93 -18
  1481. package/scripts/lane/lane-launch-admission.ts +61 -0
  1482. package/scripts/lane/lane-launch-cli.ts +63 -27
  1483. package/scripts/lane/lane-launch-pending.ts +44 -0
  1484. package/scripts/lane/lane-ledger-archive.ts +200 -0
  1485. package/scripts/lane/lane-ledger-kind.ts +5 -0
  1486. package/scripts/lane/lane-ledger-pinned-origin.ts +10 -0
  1487. package/scripts/lane/lane-ledger-schema-load.ts +45 -0
  1488. package/scripts/lane/lane-ledger-schema-offer.ts +30 -0
  1489. package/scripts/lane/lane-ledger-schema-ship.ts +73 -4
  1490. package/scripts/lane/lane-ledger-schema.ts +53 -30
  1491. package/scripts/lane/lane-ledger-tail.ts +124 -0
  1492. package/scripts/lane/lane-ledger-write.ts +60 -27
  1493. package/scripts/lane/lane-ledger.ts +6 -31
  1494. package/scripts/lane/lane-limit-cli.ts +11 -1
  1495. package/scripts/lane/lane-limit-history.ts +77 -0
  1496. package/scripts/lane/lane-limit-override.ts +49 -8
  1497. package/scripts/lane/lane-listening-ports.ts +77 -0
  1498. package/scripts/lane/lane-load.ts +62 -2
  1499. package/scripts/lane/lane-measure-cli.ts +134 -55
  1500. package/scripts/lane/lane-net-read.ts +22 -10
  1501. package/scripts/lane/lane-net-time.ts +134 -21
  1502. package/scripts/lane/lane-open.ts +19 -113
  1503. package/scripts/lane/lane-over-causes.ts +130 -0
  1504. package/scripts/lane/lane-over.ts +177 -0
  1505. package/scripts/lane/lane-overrun-prompt.ts +4 -3
  1506. package/scripts/lane/lane-overrun.ts +22 -9
  1507. package/scripts/lane/lane-pairs.ts +128 -0
  1508. package/scripts/lane/lane-paths.ts +26 -0
  1509. package/scripts/lane/lane-pause-cli.ts +4 -2
  1510. package/scripts/lane/lane-paused-spans.ts +11 -4
  1511. package/scripts/lane/lane-phase.ts +36 -7
  1512. package/scripts/lane/lane-plan-approval.ts +113 -0
  1513. package/scripts/lane/lane-plan-auto.ts +53 -0
  1514. package/scripts/lane/lane-plan-check.ts +196 -54
  1515. package/scripts/lane/lane-plan-cli.ts +41 -10
  1516. package/scripts/lane/lane-plan-estimate.ts +57 -0
  1517. package/scripts/lane/lane-plan-imports.ts +53 -0
  1518. package/scripts/lane/lane-plan-premise.ts +83 -0
  1519. package/scripts/lane/lane-plan-probe.ts +115 -0
  1520. package/scripts/lane/lane-plan-signals.ts +119 -0
  1521. package/scripts/lane/lane-plan-size.ts +380 -0
  1522. package/scripts/lane/lane-plan-wait-event.ts +124 -0
  1523. package/scripts/lane/lane-plan-wait-until.ts +22 -0
  1524. package/scripts/lane/lane-plan-wait.ts +125 -0
  1525. package/scripts/lane/lane-plan.ts +114 -14
  1526. package/scripts/lane/lane-preserve.ts +58 -13
  1527. package/scripts/lane/lane-process-load.ts +130 -19
  1528. package/scripts/lane/lane-process-stats.ts +51 -10
  1529. package/scripts/lane/lane-reap.ts +4 -2
  1530. package/scripts/lane/lane-registry.ts +19 -14
  1531. package/scripts/lane/lane-relaunch.ts +37 -14
  1532. package/scripts/lane/lane-report.ts +2 -0
  1533. package/scripts/lane/lane-resolve-cli.ts +88 -0
  1534. package/scripts/lane/lane-resolve-hunks.ts +63 -0
  1535. package/scripts/lane/lane-resolve-record.ts +59 -0
  1536. package/scripts/lane/lane-resolve.ts +122 -0
  1537. package/scripts/lane/lane-restart.ts +1 -1
  1538. package/scripts/lane/lane-room.ts +58 -0
  1539. package/scripts/lane/lane-round-one-stats.ts +2 -1
  1540. package/scripts/lane/lane-sampler.ts +53 -3
  1541. package/scripts/lane/lane-seat-ownership.ts +57 -0
  1542. package/scripts/lane/lane-seat-start.ts +52 -0
  1543. package/scripts/lane/lane-seat-stop.ts +20 -0
  1544. package/scripts/lane/lane-seat.ts +174 -0
  1545. package/scripts/lane/lane-seed.ts +2 -5
  1546. package/scripts/lane/lane-session-action.ts +26 -10
  1547. package/scripts/lane/lane-session-broker.ts +1 -1
  1548. package/scripts/lane/lane-session-reread.ts +2 -1
  1549. package/scripts/lane/lane-setup.ts +59 -0
  1550. package/scripts/lane/lane-ship-lap-stats.ts +3 -1
  1551. package/scripts/lane/lane-sinks-issues.ts +52 -0
  1552. package/scripts/lane/lane-sinks.ts +165 -0
  1553. package/scripts/lane/lane-size-record.ts +39 -0
  1554. package/scripts/lane/lane-size-stats.ts +111 -0
  1555. package/scripts/lane/lane-split-stats.ts +33 -9
  1556. package/scripts/lane/lane-stage-budget.ts +32 -0
  1557. package/scripts/lane/lane-stage-events.ts +103 -0
  1558. package/scripts/lane/lane-stage-stats.ts +94 -25
  1559. package/scripts/lane/lane-state-record.ts +74 -0
  1560. package/scripts/lane/lane-state.ts +21 -33
  1561. package/scripts/lane/lane-stats-request.ts +163 -0
  1562. package/scripts/lane/lane-stats-tables.ts +47 -3
  1563. package/scripts/lane/lane-stats.ts +9 -2
  1564. package/scripts/lane/lane-stop-check-stats.ts +117 -0
  1565. package/scripts/lane/lane-stop-stats.ts +33 -8
  1566. package/scripts/lane/lane-test-related-stats.ts +5 -2
  1567. package/scripts/lane/lane-timeline.ts +251 -0
  1568. package/scripts/lane/lane-transcript-calls.ts +73 -4
  1569. package/scripts/lane/lane-transcript-stats.ts +8 -3
  1570. package/scripts/lane/lane-turn-stats.ts +171 -0
  1571. package/scripts/lane/lane-value-cell.ts +87 -13
  1572. package/scripts/lane/lane-value-missing.ts +21 -0
  1573. package/scripts/lane/lane-why-causes.ts +94 -0
  1574. package/scripts/lane/lane-why-ci.ts +50 -0
  1575. package/scripts/lane/lane-why-cli.ts +83 -0
  1576. package/scripts/lane/lane-why-period.ts +187 -0
  1577. package/scripts/lane/lane-why-ship.ts +67 -0
  1578. package/scripts/lane/lane-why.ts +192 -0
  1579. package/scripts/lane/lane-withdraw.ts +12 -1
  1580. package/scripts/lane/lane-yield-split.ts +218 -0
  1581. package/scripts/lane/lane-yield.ts +38 -4
  1582. package/scripts/lane/openai-lane-ship.ts +2 -2
  1583. package/scripts/lane/openai-lane-supervisor-cli.ts +17 -8
  1584. package/scripts/lane/openai-lane-supervisor-decision.ts +10 -4
  1585. package/scripts/lane/openai-lane-supervisor-entry.ts +6 -0
  1586. package/scripts/lane/openai-lane-supervisor-owner.ts +31 -3
  1587. package/scripts/lane/openai-lane-supervisor.ts +62 -5
  1588. package/scripts/lane/process-directories.ts +3 -1
  1589. package/scripts/lane/process-lane-marks.ts +11 -5
  1590. package/scripts/lane/process-linux.ts +81 -0
  1591. package/scripts/lane/process-tools.ts +2 -5
  1592. package/scripts/lib/bounded-pool.ts +38 -7
  1593. package/scripts/lib/buffered-process.ts +34 -9
  1594. package/scripts/lib/claude-installer.ts +29 -0
  1595. package/scripts/lib/home-tilde.ts +24 -0
  1596. package/scripts/lib/import-closure.ts +72 -0
  1597. package/scripts/lib/josh-temporary-directory.ts +7 -0
  1598. package/scripts/lib/main-guard.ts +29 -0
  1599. package/scripts/lib/package-manifest.ts +80 -3
  1600. package/scripts/lib/pnpm-installer.ts +16 -0
  1601. package/scripts/lib/poll.ts +130 -20
  1602. package/scripts/lib/schemas.ts +1 -1
  1603. package/scripts/lib/stamped-memo.ts +1 -1
  1604. package/scripts/lib/stamped-store.ts +82 -0
  1605. package/scripts/lib/stdin-text.ts +68 -0
  1606. package/scripts/lib/timeouts.ts +4 -4
  1607. package/scripts/lib/transcript-record.ts +4 -0
  1608. package/scripts/lib/verified-download.ts +17 -0
  1609. package/scripts/lines/bytes-command.ts +1 -1
  1610. package/scripts/lint/cspell-cached.ts +1 -1
  1611. package/scripts/lint/eslint-cache-dependencies.ts +38 -8
  1612. package/scripts/lint/eslint-daemon-calls.ts +83 -0
  1613. package/scripts/lint/eslint-daemon.ts +101 -13
  1614. package/scripts/lint/eslint-heap.ts +50 -0
  1615. package/scripts/lint/eslint-memory.js +45 -0
  1616. package/scripts/lint/eslint-trim.ts +44 -0
  1617. package/scripts/lint/eslint-warm.ts +5 -2
  1618. package/scripts/lint/format.ts +30 -5
  1619. package/scripts/lint/import-graph-store.ts +245 -0
  1620. package/scripts/lint/import-graph.ts +54 -65
  1621. package/scripts/lint/import-move.ts +275 -0
  1622. package/scripts/lint/import-test-inputs.ts +97 -0
  1623. package/scripts/lint/lint-gate-scope.ts +1 -0
  1624. package/scripts/lint/lint-parallel.ts +148 -43
  1625. package/scripts/lint/lint-related-scope.ts +6 -1
  1626. package/scripts/lint/lint-related.ts +66 -25
  1627. package/scripts/lint/lint-rule.ts +293 -0
  1628. package/scripts/lint/lint-shard.ts +91 -0
  1629. package/scripts/lint/lint-timing.ts +39 -0
  1630. package/scripts/lint/rename-cli.ts +36 -10
  1631. package/scripts/lint/rename-identifier.ts +2 -2
  1632. package/scripts/lint/type-only-imports.ts +20 -1
  1633. package/scripts/notify/git-notify.ts +3 -1
  1634. package/scripts/notify/telegram-notify.ts +33 -35
  1635. package/scripts/notify/telegram-test.ts +9 -4
  1636. package/scripts/observations/observation-depth-cli.ts +78 -0
  1637. package/scripts/observations/observation-depth.ts +85 -0
  1638. package/scripts/observations/observation-ledger-archive.ts +180 -0
  1639. package/scripts/observations/observation-ledger-home.ts +15 -7
  1640. package/scripts/observations/observation-ledger.ts +5 -0
  1641. package/scripts/observations/observations-flush-landing.ts +1 -1
  1642. package/scripts/observations/observations-flush-transaction.ts +358 -0
  1643. package/scripts/observations/observations-flush.ts +72 -172
  1644. package/scripts/overrides/overrides-check.ts +33 -10
  1645. package/scripts/overrides/overrides-diff-report.ts +91 -0
  1646. package/scripts/overrides/overrides-diff.ts +98 -0
  1647. package/scripts/package/package-scout-cli.ts +37 -11
  1648. package/scripts/package/package-scout-format.ts +20 -6
  1649. package/scripts/package/package-scout-reuse.ts +207 -0
  1650. package/scripts/plan/plan-scaffold-cli.ts +136 -0
  1651. package/scripts/plan/plan-scaffold.ts +123 -0
  1652. package/scripts/ports/port-command.ts +2 -5
  1653. package/scripts/propagate/propagate-git.ts +3 -3
  1654. package/scripts/propagate/propagate-publish.ts +8 -7
  1655. package/scripts/propagate/propagate-steps.ts +2 -3
  1656. package/scripts/refactor/import-graph.ts +2 -4
  1657. package/scripts/refactor/refactor-lint.ts +47 -30
  1658. package/scripts/refactor/refactor-scan.ts +16 -9
  1659. package/scripts/refactor/refactor-targets.ts +2 -3
  1660. package/scripts/release/github-release-notes.ts +24 -0
  1661. package/scripts/release/github-release-runs.ts +32 -6
  1662. package/scripts/release/github-release.ts +20 -12
  1663. package/scripts/release/publish-tag-cli.ts +13 -3
  1664. package/scripts/release/release-cli.ts +2 -0
  1665. package/scripts/release/release-progress.ts +66 -46
  1666. package/scripts/release/release-publish-run.ts +39 -6
  1667. package/scripts/release/release-request.ts +42 -0
  1668. package/scripts/release/release-scope-cli.ts +31 -2
  1669. package/scripts/release/release-workflow-check.ts +59 -0
  1670. package/scripts/repo/repository-labels.ts +23 -11
  1671. package/scripts/report/markdown-shape.ts +2 -1
  1672. package/scripts/report/report-template-cli.ts +2 -2
  1673. package/scripts/report/report-template.ts +17 -4
  1674. package/scripts/review/acceptance-map.ts +87 -8
  1675. package/scripts/review/diff-summary-cli.ts +81 -0
  1676. package/scripts/review/diff-summary.ts +109 -0
  1677. package/scripts/review/disposition-batch-filing.ts +150 -0
  1678. package/scripts/review/disposition-batch.ts +103 -0
  1679. package/scripts/review/disposition-cli.ts +35 -1
  1680. package/scripts/review/import-specifiers.ts +38 -0
  1681. package/scripts/review/prose-stale-cli.ts +7 -37
  1682. package/scripts/review/prose-stale-read.ts +105 -0
  1683. package/scripts/review/prose-stale-scan.ts +121 -17
  1684. package/scripts/review/removed-tests-check.ts +28 -4
  1685. package/scripts/review/review-brief-cli.ts +69 -71
  1686. package/scripts/review/review-brief.ts +38 -42
  1687. package/scripts/review/review-code-tree.ts +80 -16
  1688. package/scripts/review/review-comment-carry.ts +30 -0
  1689. package/scripts/review/review-comment-round.ts +10 -5
  1690. package/scripts/review/review-diff-pack.ts +70 -0
  1691. package/scripts/review/review-diff-write.ts +23 -22
  1692. package/scripts/review/review-final-record.ts +47 -0
  1693. package/scripts/review/review-finding-ledger.ts +72 -10
  1694. package/scripts/review/review-findings-cli.ts +88 -8
  1695. package/scripts/review/review-fix-hunks.ts +115 -0
  1696. package/scripts/review/review-fix-round.ts +144 -0
  1697. package/scripts/review/review-gate-mode.ts +25 -0
  1698. package/scripts/review/review-interaction.ts +69 -11
  1699. package/scripts/review/review-lane-handover.ts +29 -4
  1700. package/scripts/review/review-level.ts +35 -34
  1701. package/scripts/review/review-lint-findings.ts +3 -3
  1702. package/scripts/review/review-lint-sections.ts +2 -2
  1703. package/scripts/review/review-lint.ts +7 -1
  1704. package/scripts/review/review-pair-cli.ts +157 -0
  1705. package/scripts/review/review-pair-log.ts +75 -0
  1706. package/scripts/review/review-pair-session.ts +98 -0
  1707. package/scripts/review/review-pair.ts +112 -0
  1708. package/scripts/review/review-prior-findings.ts +2 -4
  1709. package/scripts/review/review-prompt-level.ts +28 -0
  1710. package/scripts/review/review-readers-scan.ts +25 -3
  1711. package/scripts/review/review-record-cli.ts +46 -68
  1712. package/scripts/review/review-record-interaction.ts +2 -2
  1713. package/scripts/review/review-record-main.ts +7 -2
  1714. package/scripts/review/review-record-pinned.ts +5 -0
  1715. package/scripts/review/review-record-slot.ts +155 -0
  1716. package/scripts/review/review-reviewed-tree.ts +60 -13
  1717. package/scripts/review/review-round-one-blobs.ts +43 -9
  1718. package/scripts/review/review-round-one-skip.ts +72 -0
  1719. package/scripts/review/review-round-reuse.ts +13 -6
  1720. package/scripts/review/review-round.ts +57 -0
  1721. package/scripts/review/review-round2-cli.ts +5 -0
  1722. package/scripts/review/review-round2-skip-comment.ts +3 -1
  1723. package/scripts/review/review-round2.ts +18 -6
  1724. package/scripts/review/review-size.ts +92 -0
  1725. package/scripts/review/review-stamps.ts +8 -0
  1726. package/scripts/review/review-submit-args.ts +91 -0
  1727. package/scripts/review/review-submit-cli.ts +55 -29
  1728. package/scripts/review/selfcheck-cli.ts +193 -0
  1729. package/scripts/review/selfcheck-commands.ts +175 -0
  1730. package/scripts/review/selfcheck-report.ts +98 -0
  1731. package/scripts/rules/bash-triggers.ts +24 -13
  1732. package/scripts/rules/broad-investigation-shell.ts +183 -0
  1733. package/scripts/rules/broad-investigation.ts +116 -0
  1734. package/scripts/rules/codex-prompt.ts +63 -0
  1735. package/scripts/rules/consultation-handoff.ts +81 -0
  1736. package/scripts/rules/consultation-investigation.ts +99 -0
  1737. package/scripts/rules/decision-oracle.ts +1 -1
  1738. package/scripts/rules/delivered-rules-guard.ts +94 -0
  1739. package/scripts/rules/delivered-rules.ts +46 -87
  1740. package/scripts/rules/destructive-command.ts +2 -1
  1741. package/scripts/rules/direct-git-status.ts +81 -0
  1742. package/scripts/rules/direct-issue-comment.ts +71 -3
  1743. package/scripts/rules/direct-issue-read.ts +55 -2
  1744. package/scripts/rules/direct-vitest-run.ts +98 -0
  1745. package/scripts/rules/egress-guard.ts +308 -0
  1746. package/scripts/rules/firing-point.ts +9 -12
  1747. package/scripts/rules/gh-api.ts +19 -4
  1748. package/scripts/rules/gh-repo-selector.ts +1 -1
  1749. package/scripts/rules/git-argv.ts +57 -10
  1750. package/scripts/rules/guard-remedy.ts +18 -3
  1751. package/scripts/rules/guard-rule-rows.ts +13 -0
  1752. package/scripts/rules/implementation-cut-verdict.ts +1 -1
  1753. package/scripts/rules/implementation-cut.ts +94 -31
  1754. package/scripts/rules/interpreter-options.ts +179 -0
  1755. package/scripts/rules/investigator-foreground.ts +13 -7
  1756. package/scripts/rules/issue-citation.ts +20 -9
  1757. package/scripts/rules/josh-git-bare.ts +1 -1
  1758. package/scripts/rules/keychain-read.ts +73 -0
  1759. package/scripts/rules/lane-background.ts +15 -14
  1760. package/scripts/rules/lane-carry-conflict.ts +15 -8
  1761. package/scripts/rules/lane-direct-tool.ts +18 -11
  1762. package/scripts/rules/lane-interactive-ask.ts +3 -5
  1763. package/scripts/rules/lane-park.ts +25 -10
  1764. package/scripts/rules/lane-spilled-read.ts +3 -5
  1765. package/scripts/rules/lane-split-park.ts +7 -6
  1766. package/scripts/rules/lane-switch-main.ts +10 -3
  1767. package/scripts/rules/last-prompt.ts +8 -4
  1768. package/scripts/rules/launched-call.ts +135 -0
  1769. package/scripts/rules/main-model.ts +54 -0
  1770. package/scripts/rules/nested-commands.ts +71 -0
  1771. package/scripts/rules/permission-guards.ts +6 -2
  1772. package/scripts/rules/pr-merge.ts +1 -1
  1773. package/scripts/rules/pre-gate-cut.ts +20 -11
  1774. package/scripts/rules/protected-files.ts +34 -98
  1775. package/scripts/rules/repeat-check-related.ts +66 -0
  1776. package/scripts/rules/reviewer-foreground.ts +11 -7
  1777. package/scripts/rules/round-one-check-related.ts +59 -19
  1778. package/scripts/rules/rule-list.ts +3 -4
  1779. package/scripts/rules/rule-rephrase.ts +43 -0
  1780. package/scripts/rules/rule-rewrite.ts +16 -6
  1781. package/scripts/rules/rule-value-cache.ts +10 -1
  1782. package/scripts/rules/rule-value-cli.ts +143 -54
  1783. package/scripts/rules/rule-value-prose.ts +186 -0
  1784. package/scripts/rules/rule-value-runs.ts +171 -0
  1785. package/scripts/rules/rule-value-trend.ts +108 -0
  1786. package/scripts/rules/rule-value.ts +38 -13
  1787. package/scripts/rules/run-tail-rule.ts +19 -2
  1788. package/scripts/rules/secret-paths.ts +92 -0
  1789. package/scripts/rules/sed-in-place.ts +1 -1
  1790. package/scripts/rules/shell-permissions.ts +91 -0
  1791. package/scripts/rules/shell-redirects.ts +66 -0
  1792. package/scripts/rules/shell-segments.ts +148 -22
  1793. package/scripts/rules/shell-tokens.ts +66 -0
  1794. package/scripts/rules/standalone-gh-call.ts +63 -0
  1795. package/scripts/rules/stop-decision.ts +7 -1
  1796. package/scripts/rules/stop-rules.ts +1 -1
  1797. package/scripts/rules/unasked-filing.ts +166 -0
  1798. package/scripts/run/add/run-add-cli.ts +114 -36
  1799. package/scripts/run/add/run-add-epic.ts +45 -0
  1800. package/scripts/run/add/run-add-issue.ts +17 -0
  1801. package/scripts/run/add/run-add.ts +159 -21
  1802. package/scripts/run/attached-log.ts +38 -0
  1803. package/scripts/run/board/run-board-cli.ts +34 -9
  1804. package/scripts/run/board/run-board-closed-graphql.ts +129 -0
  1805. package/scripts/run/board/run-board-closed.ts +78 -11
  1806. package/scripts/run/board/run-board-decision-graphql.ts +136 -0
  1807. package/scripts/run/board/run-board-decision-read.ts +235 -0
  1808. package/scripts/run/board/run-board-decision.ts +97 -0
  1809. package/scripts/run/board/run-board-earlier.ts +27 -3
  1810. package/scripts/run/board/run-board-ending-reason.ts +112 -9
  1811. package/scripts/run/board/run-board-ending-states.ts +34 -0
  1812. package/scripts/run/board/run-board-every.ts +19 -9
  1813. package/scripts/run/board/run-board-first-lane.ts +26 -0
  1814. package/scripts/run/board/run-board-fit.ts +47 -11
  1815. package/scripts/run/board/run-board-fold-store.ts +62 -0
  1816. package/scripts/run/board/run-board-fold.ts +41 -9
  1817. package/scripts/run/board/run-board-gather-live.ts +2 -0
  1818. package/scripts/run/board/run-board-gather-thread.ts +14 -3
  1819. package/scripts/run/board/run-board-gather-worker.ts +10 -8
  1820. package/scripts/run/board/run-board-gather.ts +10 -3
  1821. package/scripts/run/board/run-board-github.ts +125 -30
  1822. package/scripts/run/board/run-board-header.ts +33 -24
  1823. package/scripts/run/board/run-board-held.ts +53 -0
  1824. package/scripts/run/board/run-board-human-merge.ts +113 -0
  1825. package/scripts/run/board/run-board-human.ts +37 -0
  1826. package/scripts/run/board/run-board-idle.ts +9 -6
  1827. package/scripts/run/board/run-board-issue-count.ts +101 -0
  1828. package/scripts/run/board/run-board-keys.ts +19 -4
  1829. package/scripts/run/board/run-board-labels.ts +20 -4
  1830. package/scripts/run/board/run-board-lane-event.ts +23 -2
  1831. package/scripts/run/board/run-board-lane-result.ts +58 -0
  1832. package/scripts/run/board/run-board-lane-state.ts +52 -7
  1833. package/scripts/run/board/run-board-lane-stop.ts +108 -0
  1834. package/scripts/run/board/run-board-lane-time.ts +1 -0
  1835. package/scripts/run/board/run-board-layout.ts +68 -76
  1836. package/scripts/run/board/run-board-link.ts +44 -2
  1837. package/scripts/run/board/run-board-notes.ts +1 -1
  1838. package/scripts/run/board/run-board-now.ts +1 -1
  1839. package/scripts/run/board/run-board-operation-codex.ts +37 -0
  1840. package/scripts/run/board/run-board-operation-read.ts +2 -2
  1841. package/scripts/run/board/run-board-operation.ts +14 -7
  1842. package/scripts/run/board/run-board-pause-fixture.json +12 -0
  1843. package/scripts/run/board/run-board-pause.ts +87 -0
  1844. package/scripts/run/board/run-board-plan-shared.ts +5 -0
  1845. package/scripts/run/board/run-board-plan.ts +6 -1
  1846. package/scripts/run/board/run-board-process-groups.ts +1 -1
  1847. package/scripts/run/board/run-board-quota-held.ts +319 -0
  1848. package/scripts/run/board/run-board-quota-lane.ts +23 -0
  1849. package/scripts/run/board/run-board-quota-read.ts +422 -0
  1850. package/scripts/run/board/run-board-quota-spent.ts +162 -0
  1851. package/scripts/run/board/run-board-quota-status.ts +67 -0
  1852. package/scripts/run/board/run-board-read.ts +112 -36
  1853. package/scripts/run/board/run-board-reason.ts +40 -20
  1854. package/scripts/run/board/run-board-render-condition.ts +27 -2
  1855. package/scripts/run/board/run-board-render-drawn.ts +5 -1
  1856. package/scripts/run/board/run-board-render-foot.ts +5 -1
  1857. package/scripts/run/board/run-board-render-found.ts +21 -2
  1858. package/scripts/run/board/run-board-render-icon.ts +3 -6
  1859. package/scripts/run/board/run-board-render-lanes.ts +49 -9
  1860. package/scripts/run/board/run-board-render-lead.ts +20 -1
  1861. package/scripts/run/board/run-board-render-legend.ts +4 -0
  1862. package/scripts/run/board/run-board-render-none.ts +35 -0
  1863. package/scripts/run/board/run-board-render-notes.ts +5 -3
  1864. package/scripts/run/board/run-board-render-processes.ts +6 -5
  1865. package/scripts/run/board/run-board-render-quota-cell.ts +81 -0
  1866. package/scripts/run/board/run-board-render-quota-github.ts +112 -0
  1867. package/scripts/run/board/run-board-render-quota.ts +285 -0
  1868. package/scripts/run/board/run-board-render-section.ts +50 -6
  1869. package/scripts/run/board/run-board-render-tail.ts +53 -7
  1870. package/scripts/run/board/run-board-render-throughput.ts +140 -0
  1871. package/scripts/run/board/run-board-render-title.ts +33 -4
  1872. package/scripts/run/board/run-board-render.ts +59 -57
  1873. package/scripts/run/board/run-board-row-yield.ts +1 -0
  1874. package/scripts/run/board/run-board-scope.ts +13 -6
  1875. package/scripts/run/board/run-board-seat.ts +107 -0
  1876. package/scripts/run/board/run-board-settle.ts +47 -0
  1877. package/scripts/run/board/run-board-setup.ts +30 -15
  1878. package/scripts/run/board/run-board-single.ts +123 -0
  1879. package/scripts/run/board/run-board-snapshot.ts +11 -1
  1880. package/scripts/run/board/run-board-span.ts +18 -3
  1881. package/scripts/run/board/run-board-spin.ts +12 -6
  1882. package/scripts/run/board/run-board-standing-waits.ts +52 -0
  1883. package/scripts/run/board/run-board-state.ts +23 -0
  1884. package/scripts/run/board/run-board-status.ts +97 -100
  1885. package/scripts/run/board/run-board-throughput.ts +215 -0
  1886. package/scripts/run/board/run-board-tick.ts +76 -30
  1887. package/scripts/run/board/run-board-usage-read.ts +3 -3
  1888. package/scripts/run/board/run-board-usage-top.ts +12 -35
  1889. package/scripts/run/board/run-board-usual.ts +18 -1
  1890. package/scripts/run/carry/run-carry-added.ts +6 -1
  1891. package/scripts/run/carry/run-carry-args.ts +22 -8
  1892. package/scripts/run/carry/run-carry-cli.ts +31 -1
  1893. package/scripts/run/carry/run-carry-conversation.ts +12 -4
  1894. package/scripts/run/carry/run-carry-ended.ts +3 -0
  1895. package/scripts/run/carry/run-carry-reclaim.ts +2 -1
  1896. package/scripts/run/carry/run-carry.ts +40 -20
  1897. package/scripts/run/cut/run-cut-adoption.ts +67 -0
  1898. package/scripts/run/cut/run-cut-cli.ts +89 -34
  1899. package/scripts/run/cut/run-cut-decline.ts +1 -1
  1900. package/scripts/run/cut/run-cut-handoff.ts +2 -1
  1901. package/scripts/run/cut/run-cut-next.ts +20 -0
  1902. package/scripts/run/cut/run-cut-ready.ts +7 -5
  1903. package/scripts/run/cut/run-cut-report.ts +13 -14
  1904. package/scripts/run/cut/run-cut-resume.ts +1 -1
  1905. package/scripts/run/cut/run-cut.ts +36 -23
  1906. package/scripts/run/detached-launch.ts +12 -7
  1907. package/scripts/run/early-push-record.ts +22 -0
  1908. package/scripts/run/entry/run-entry-children.ts +126 -0
  1909. package/scripts/run/entry/run-entry-cli.ts +126 -82
  1910. package/scripts/run/entry/run-entry-dispatch.ts +20 -0
  1911. package/scripts/run/entry/run-entry-lane-plan.ts +39 -0
  1912. package/scripts/run/entry/run-entry-spill.ts +67 -22
  1913. package/scripts/run/entry/run-entry-stop.ts +9 -8
  1914. package/scripts/run/entry/run-entry-sync.ts +149 -0
  1915. package/scripts/run/entry/run-entry-trust.ts +1 -1
  1916. package/scripts/run/entry/run-entry.ts +9 -0
  1917. package/scripts/run/event/run-event-checks.ts +1 -1
  1918. package/scripts/run/event/run-event-filed.ts +1 -1
  1919. package/scripts/run/event/run-event-follow.ts +9 -5
  1920. package/scripts/run/event/run-event-overrun.ts +7 -7
  1921. package/scripts/run/event/run-event-plan.ts +1 -1
  1922. package/scripts/run/event/run-event-render.ts +5 -0
  1923. package/scripts/run/event/run-event-retry.ts +34 -0
  1924. package/scripts/run/event/run-event-scope.ts +4 -1
  1925. package/scripts/run/event/run-event-setup.ts +55 -5
  1926. package/scripts/run/event/run-event-step.ts +81 -0
  1927. package/scripts/run/event/run-event-stream-emit.ts +63 -23
  1928. package/scripts/run/event/run-event-stream.ts +69 -21
  1929. package/scripts/run/event/run-event-tail.ts +122 -0
  1930. package/scripts/run/event/run-event-watch.ts +12 -7
  1931. package/scripts/run/handoff/run-handoff-args.ts +93 -0
  1932. package/scripts/run/handoff/run-handoff-cli.ts +320 -0
  1933. package/scripts/run/handoff/run-handoff-final.ts +38 -0
  1934. package/scripts/run/handoff/run-handoff-launch.ts +113 -0
  1935. package/scripts/run/handoff/run-handoff-retrospective.ts +48 -0
  1936. package/scripts/run/handoff-lanes/run-handoff-lanes-cli.ts +31 -0
  1937. package/scripts/run/handoff-lanes/run-handoff-lanes.ts +183 -0
  1938. package/scripts/run/hold/run-hold-block.ts +35 -0
  1939. package/scripts/run/hold/run-hold-cli.ts +20 -36
  1940. package/scripts/run/hold/run-hold-main.ts +16 -1
  1941. package/scripts/run/hold/run-hold.ts +12 -8
  1942. package/scripts/run/hold/run-stop-notify.ts +1 -1
  1943. package/scripts/run/launch-priority.ts +4 -7
  1944. package/scripts/run/merge/run-merge-auth.ts +38 -13
  1945. package/scripts/run/merge/run-merge-cap.ts +11 -6
  1946. package/scripts/run/merge/run-merge-cli.ts +55 -58
  1947. package/scripts/run/merge/run-merge-dated.ts +64 -0
  1948. package/scripts/run/merge/run-merge-decision.ts +183 -0
  1949. package/scripts/run/merge/run-merge-driver.ts +2 -0
  1950. package/scripts/run/merge/run-merge-github-limit.ts +98 -0
  1951. package/scripts/run/merge/run-merge-health.ts +137 -0
  1952. package/scripts/run/merge/run-merge-human-review.ts +26 -0
  1953. package/scripts/run/merge/run-merge-restart.ts +10 -3
  1954. package/scripts/run/merge/run-merge-signals.ts +34 -9
  1955. package/scripts/run/merge/run-merge-steps.ts +49 -50
  1956. package/scripts/run/merge/run-merge-token.ts +3 -4
  1957. package/scripts/run/merge/run-merge-usage-limit.ts +22 -9
  1958. package/scripts/run/merge/run-merge-withdrawn.ts +4 -3
  1959. package/scripts/run/merge/run-merge.ts +36 -18
  1960. package/scripts/run/park/run-park-answered.ts +84 -0
  1961. package/scripts/run/park/run-park-body.ts +346 -0
  1962. package/scripts/run/park/run-park-cli.ts +49 -12
  1963. package/scripts/run/park/run-park-escalate.ts +102 -0
  1964. package/scripts/run/park/run-park-lane.ts +41 -0
  1965. package/scripts/run/park/run-park-release.ts +61 -0
  1966. package/scripts/run/park/run-park-write.ts +41 -0
  1967. package/scripts/run/park/run-park.ts +2 -4
  1968. package/scripts/run/park/run-stalled-park.ts +32 -0
  1969. package/scripts/run/park/run-stalled.ts +97 -12
  1970. package/scripts/run/pause/run-pause-cli.ts +4 -3
  1971. package/scripts/run/pause/run-pause-comment.ts +30 -0
  1972. package/scripts/run/pause/run-pause.ts +35 -223
  1973. package/scripts/run/pause/run-set-aside-commit.ts +52 -0
  1974. package/scripts/run/pause/run-set-aside.ts +139 -0
  1975. package/scripts/run/prime/run-prime-cli.ts +105 -0
  1976. package/scripts/run/progress/run-progress-cli.ts +44 -27
  1977. package/scripts/run/progress/run-progress-config.ts +7 -18
  1978. package/scripts/run/progress/run-progress.ts +16 -7
  1979. package/scripts/run/review/run-chain-cli.ts +162 -0
  1980. package/scripts/run/review/run-chain-join.ts +108 -0
  1981. package/scripts/run/review/run-chain-review-fix.ts +70 -0
  1982. package/scripts/run/review/run-chain.ts +167 -0
  1983. package/scripts/run/review/run-review-cli.ts +127 -53
  1984. package/scripts/run/review/run-review-early-push.ts +46 -12
  1985. package/scripts/run/review/run-review-join-ready.ts +88 -0
  1986. package/scripts/run/review/run-review-pinned-accepted.ts +15 -1
  1987. package/scripts/run/review/run-review-pinned-join.ts +8 -4
  1988. package/scripts/run/review/run-review-pinned-steps.ts +12 -7
  1989. package/scripts/run/review/run-review-pinned.ts +8 -3
  1990. package/scripts/run/review/run-review-steps.ts +29 -14
  1991. package/scripts/run/review/run-review-unplanned.ts +75 -0
  1992. package/scripts/run/review/run-review.ts +4 -4
  1993. package/scripts/run/run-halfrun-resume.ts +9 -1
  1994. package/scripts/run/run-headless-keys.ts +23 -0
  1995. package/scripts/run/run-headless.ts +77 -13
  1996. package/scripts/run/run-investigation-record.ts +66 -0
  1997. package/scripts/run/run-label-main.ts +55 -0
  1998. package/scripts/run/run-label.ts +20 -4
  1999. package/scripts/run/run-liveness-cli.ts +1 -1
  2000. package/scripts/run/run-liveness.ts +6 -5
  2001. package/scripts/run/run-maintenance.ts +66 -0
  2002. package/scripts/run/run-open-pr.ts +19 -0
  2003. package/scripts/run/run-parent-cut-hook.ts +17 -9
  2004. package/scripts/run/run-pickup-cli.ts +86 -0
  2005. package/scripts/run/run-pickup-launch.ts +85 -0
  2006. package/scripts/run/run-poll-hook.ts +14 -7
  2007. package/scripts/run/run-pr-return.ts +99 -0
  2008. package/scripts/run/run-prep-cli.ts +54 -7
  2009. package/scripts/run/run-prep-locate.ts +8 -3
  2010. package/scripts/run/run-prep-summary.ts +55 -0
  2011. package/scripts/run/run-prep.ts +37 -1
  2012. package/scripts/run/run-report-cli.ts +13 -2
  2013. package/scripts/run/run-report-end.ts +133 -0
  2014. package/scripts/run/run-report-handoff.ts +1 -1
  2015. package/scripts/run/run-report.ts +7 -1
  2016. package/scripts/run/run-stage-read.ts +38 -4
  2017. package/scripts/run/run-stage.ts +18 -6
  2018. package/scripts/run/run-status.ts +2 -1
  2019. package/scripts/run/run-step-cli.ts +38 -10
  2020. package/scripts/run/run-step-lane-plan.ts +26 -12
  2021. package/scripts/run/run-step-progress.ts +61 -0
  2022. package/scripts/run/run-step-section-driver.ts +27 -0
  2023. package/scripts/run/run-step-section-once.ts +83 -0
  2024. package/scripts/run/run-step-section-table.ts +120 -0
  2025. package/scripts/run/run-step-section.ts +39 -53
  2026. package/scripts/run/run-step.ts +4 -3
  2027. package/scripts/run/run-stop-notify.ts +1 -1
  2028. package/scripts/run/run-tail-cli.ts +14 -6
  2029. package/scripts/run/run-tail.ts +22 -0
  2030. package/scripts/run/run-watcher-guard.ts +15 -5
  2031. package/scripts/run/run-watcher-hook.ts +12 -6
  2032. package/scripts/run/ship/run-ship-args.ts +8 -1
  2033. package/scripts/run/ship/run-ship-cli.ts +68 -65
  2034. package/scripts/run/ship/run-ship-conflict-probe.ts +12 -14
  2035. package/scripts/run/ship/run-ship-detach-wait.ts +25 -0
  2036. package/scripts/run/ship/run-ship-detach.ts +29 -35
  2037. package/scripts/run/ship/run-ship-early-push.ts +34 -0
  2038. package/scripts/run/ship/run-ship-evidence-cli.ts +133 -0
  2039. package/scripts/run/ship/run-ship-evidence.ts +71 -0
  2040. package/scripts/run/ship/run-ship-final-review.ts +28 -0
  2041. package/scripts/run/ship/run-ship-gate-runs.ts +58 -0
  2042. package/scripts/run/ship/run-ship-group.ts +38 -0
  2043. package/scripts/run/ship/run-ship-handover.ts +1 -1
  2044. package/scripts/run/ship/run-ship-lap.ts +100 -12
  2045. package/scripts/run/ship/run-ship-narrowed.ts +104 -0
  2046. package/scripts/run/ship/run-ship-next.ts +3 -3
  2047. package/scripts/run/ship/run-ship-pair-runs.ts +127 -0
  2048. package/scripts/run/ship/run-ship-place.ts +9 -8
  2049. package/scripts/run/ship/run-ship-planned.ts +1 -1
  2050. package/scripts/run/ship/run-ship-pre-detach-pinned.ts +7 -1
  2051. package/scripts/run/ship/run-ship-pre-detach.ts +18 -12
  2052. package/scripts/run/ship/run-ship-preflight-reuse.ts +53 -0
  2053. package/scripts/run/ship/run-ship-preflight.ts +21 -2
  2054. package/scripts/run/ship/run-ship-probe.ts +5 -15
  2055. package/scripts/run/ship/run-ship-record-wait.ts +30 -0
  2056. package/scripts/run/ship/run-ship-relaunch-cap.ts +107 -14
  2057. package/scripts/run/ship/run-ship-relaunch.ts +7 -1
  2058. package/scripts/run/ship/run-ship-removed-rows.ts +34 -10
  2059. package/scripts/run/ship/run-ship-reship.ts +125 -0
  2060. package/scripts/run/ship/run-ship-return.ts +68 -22
  2061. package/scripts/run/ship/run-ship-review-checkpoint.ts +112 -0
  2062. package/scripts/run/ship/run-ship-review-reason.ts +3 -1
  2063. package/scripts/run/ship/run-ship-review-steps.ts +80 -31
  2064. package/scripts/run/ship/run-ship-review.ts +13 -9
  2065. package/scripts/run/ship/run-ship-reviewer.ts +59 -7
  2066. package/scripts/run/ship/run-ship-scoped.ts +232 -21
  2067. package/scripts/run/ship/run-ship-stage.ts +3 -5
  2068. package/scripts/run/ship/run-ship-steps.ts +65 -20
  2069. package/scripts/run/ship/run-ship-stop-cause.ts +64 -2
  2070. package/scripts/run/ship/run-ship-stop-context.ts +5 -5
  2071. package/scripts/run/ship/run-ship-stop-text.ts +1 -1
  2072. package/scripts/run/ship/run-ship-supervised.ts +38 -0
  2073. package/scripts/run/ship/run-ship-sync.ts +114 -19
  2074. package/scripts/run/ship/run-ship-synced-scope.ts +162 -58
  2075. package/scripts/run/ship/run-ship-tree-stamp.ts +35 -0
  2076. package/scripts/run/ship/run-ship-wait-cli.ts +23 -25
  2077. package/scripts/run/ship/run-ship-wait-main.ts +12 -0
  2078. package/scripts/run/ship/run-ship-waiter.ts +8 -6
  2079. package/scripts/run/ship/run-ship.ts +12 -0
  2080. package/scripts/run/split/run-split-cli.ts +134 -0
  2081. package/scripts/run/split/run-split-prerequisite.ts +75 -0
  2082. package/scripts/run/split/run-split.ts +213 -0
  2083. package/scripts/run/stale/run-stale-cli.ts +86 -0
  2084. package/scripts/run/stale/run-stale-main.ts +7 -0
  2085. package/scripts/run/stale/run-stale.ts +117 -0
  2086. package/scripts/run/tidy/run-tidy-cli.ts +24 -2
  2087. package/scripts/run/tree-status-cli.ts +131 -0
  2088. package/scripts/run/tree-status.ts +77 -0
  2089. package/scripts/run/ts-entry-loader.ts +34 -0
  2090. package/scripts/run/wake/run-wake-await.ts +22 -2
  2091. package/scripts/run/wake/run-wake-cli.ts +3 -3
  2092. package/scripts/run/wake/run-wake-describe.ts +1 -1
  2093. package/scripts/run/wake/run-wake-driver.ts +158 -61
  2094. package/scripts/run/wake/run-wake-handoff.ts +65 -14
  2095. package/scripts/run/wake/run-wake-loop.ts +63 -23
  2096. package/scripts/run/wake/run-wake-ports.ts +99 -17
  2097. package/scripts/run/wake/run-wake-resume.ts +98 -0
  2098. package/scripts/run/wake/run-wake-session.ts +16 -14
  2099. package/scripts/run/wake/run-wake-window.ts +15 -0
  2100. package/scripts/run/wake/run-wake.ts +7 -6
  2101. package/scripts/safe-chain/preinstall-command.ts +3 -6
  2102. package/scripts/safe-chain/project-config.ts +2 -2
  2103. package/scripts/security/security-audit-cache.ts +157 -0
  2104. package/scripts/security/security-audit-main.ts +4 -2
  2105. package/scripts/security/security-audit-provision-logic.ts +4 -4
  2106. package/scripts/security/security-audit-provision-main.ts +19 -5
  2107. package/scripts/split/declared-growth.ts +22 -0
  2108. package/scripts/split/split-assess.ts +229 -37
  2109. package/scripts/split/split-child-recover-cli.ts +118 -0
  2110. package/scripts/split/split-direction.ts +172 -0
  2111. package/scripts/split/split-measure.ts +28 -14
  2112. package/scripts/split/split-relocations.ts +108 -0
  2113. package/scripts/split/split-resolution.ts +63 -61
  2114. package/scripts/sync/claude-settings-merge.ts +8 -4
  2115. package/scripts/sync/managed-config-scope.ts +13 -1
  2116. package/scripts/sync/sync-ai-files.ts +2 -2
  2117. package/scripts/sync/sync-configs.ts +3 -5
  2118. package/scripts/test/test-e2e-guard.ts +2 -1
  2119. package/scripts/test/test-inputs.ts +119 -0
  2120. package/scripts/test/test-no-base.ts +35 -16
  2121. package/scripts/test/test-pinned-cache-logic.ts +4 -0
  2122. package/scripts/test/test-pinned-cache.ts +8 -15
  2123. package/scripts/test/test-pinned-carry.ts +93 -0
  2124. package/scripts/test/test-pinned-emit.ts +2 -1
  2125. package/scripts/test/test-pinned-ledger.ts +15 -9
  2126. package/scripts/test/test-pinned-logic.ts +66 -4
  2127. package/scripts/test/test-pinned-main.ts +6 -30
  2128. package/scripts/test/test-pinned-moves.ts +43 -0
  2129. package/scripts/test/test-pinned-probe.ts +61 -17
  2130. package/scripts/test/test-pinned-prune-logic.ts +2 -1
  2131. package/scripts/test/test-pinned-reach.ts +11 -3
  2132. package/scripts/test/test-pinned-record.ts +36 -4
  2133. package/scripts/test/test-pinned-snapshot.ts +110 -0
  2134. package/scripts/test/test-pinned-spawn.ts +32 -7
  2135. package/scripts/test/test-pinned-stage.ts +43 -16
  2136. package/scripts/test/test-pinned-type-check.ts +110 -0
  2137. package/scripts/test/test-pinned.ts +92 -35
  2138. package/scripts/test/test-red-logic.ts +40 -2
  2139. package/scripts/test/test-red.ts +131 -19
  2140. package/scripts/test/test-related-cap.ts +182 -0
  2141. package/scripts/test/test-related-main.ts +2 -4
  2142. package/scripts/test/test-related-pins.ts +33 -0
  2143. package/scripts/test/test-related-record.ts +84 -8
  2144. package/scripts/test/test-related-red.ts +218 -0
  2145. package/scripts/test/test-related-reuse.ts +167 -0
  2146. package/scripts/test/test-related-run.ts +144 -0
  2147. package/scripts/test/test-related-synced.ts +31 -8
  2148. package/scripts/test/test-related-touched.ts +29 -6
  2149. package/scripts/test/test-related-verdict.ts +127 -0
  2150. package/scripts/test/test-related-whole.ts +22 -0
  2151. package/scripts/test/test-related.ts +124 -147
  2152. package/scripts/test/test-type-logic.ts +1 -2
  2153. package/scripts/test/test-unit-guard.ts +12 -3
  2154. package/scripts/test/unit-count-file.ts +25 -1
  2155. package/scripts/test/unit-lane-count.ts +63 -0
  2156. package/scripts/test/unit-run-marker.ts +11 -1
  2157. package/scripts/test/unit-update-arguments.ts +73 -0
  2158. package/scripts/test/unit-worker-share.ts +28 -13
  2159. package/scripts/test/whole-suite-files.ts +2 -0
  2160. package/scripts/time-runtime/guard-rephrase.ts +66 -0
  2161. package/scripts/time-runtime/time-agent-bundles.ts +5 -5
  2162. package/scripts/time-runtime/time-bundle-call.ts +2 -2
  2163. package/scripts/time-runtime/time-bundles.ts +2 -2
  2164. package/scripts/time-runtime/time-command-key.ts +2 -5
  2165. package/scripts/time-runtime/time-density-hook.ts +2 -31
  2166. package/scripts/time-runtime/time-format.ts +4 -4
  2167. package/scripts/time-runtime/time-josh-names.ts +51 -0
  2168. package/scripts/time-runtime/time-markers.ts +4 -4
  2169. package/scripts/time-runtime/time-phase-names.ts +2 -2
  2170. package/scripts/time-runtime/time-shell.ts +28 -17
  2171. package/scripts/time-runtime/time-single-check.ts +4 -4
  2172. package/scripts/time-runtime/time-spans.ts +8 -8
  2173. package/scripts/time-runtime/time-tool-call.ts +4 -3
  2174. package/scripts/time-runtime/time-transcript-block.ts +172 -0
  2175. package/scripts/time-runtime/time-transcript-line.ts +26 -158
  2176. package/scripts/time-runtime/transcript-tail.ts +39 -0
  2177. package/scripts/ui/ui-shot-cli.ts +90 -0
  2178. package/scripts/ui/ui-shot.ts +95 -0
  2179. package/scripts/usage/usage-state-path.ts +22 -0
  2180. package/scripts/usage/usage-tee-cli.ts +5 -0
  2181. package/scripts/usage/usage-tee.ts +48 -0
  2182. package/scripts/version/development-engines-verdict.ts +7 -1
  2183. package/scripts/version/fresh-metadata-cache.ts +4 -3
  2184. package/scripts/version/latest-corepack.ts +3 -3
  2185. package/scripts/version/latest-if-required-cli.ts +32 -4
  2186. package/scripts/version/latest-scope-cli.ts +12 -2
  2187. package/scripts/version/latest-stamp.ts +5 -4
  2188. package/scripts/version/npm-registry.ts +19 -0
  2189. package/scripts/version/playwright-browsers.ts +1 -1
  2190. package/scripts/version/release-hold.ts +2 -2
  2191. package/scripts/version/upgrade-command-guard.ts +1 -1
  2192. package/templates/prettierignore.basic +3 -0
  2193. package/templates/sonar-project.properties +2 -1
  2194. package/templates/workflows/ci.yml +5 -4
  2195. package/tsconfig/base.json +1 -0
  2196. package/dist/hooks/chunk-3GKE653K.js +0 -6204
  2197. package/dist/hooks/chunk-45CJJOO7.js +0 -1243
  2198. package/dist/hooks/chunk-5PM2JRGV.js +0 -7780
  2199. package/dist/hooks/chunk-7SIUNQXK.js +0 -3591
  2200. package/dist/hooks/chunk-Z6DQJKH3.js +0 -2806
  2201. package/prompts/collaboration-workflow.md +0 -28
  2202. package/scripts/epic/epic-bundle-poll.ts +0 -41
  2203. package/scripts/josh/josh-commands-lane.ts +0 -310
  2204. package/scripts/josh/josh-commands-split.ts +0 -28
  2205. package/scripts/review/review-lint-cli.ts +0 -57
  2206. package/scripts/split/split-early-notice.ts +0 -116
@@ -1,10 +1,8 @@
1
1
  # Code Review Rubric
2
2
 
3
3
  The rubric the reviewer applies: severity, output format, the nine categories and stop conditions.
4
- `pnpm josh review:brief` prints its absolute path for `/code-review`, which runs in a forked process
5
- reading no other repository document, so this file stands alone. Orchestration (when a review runs,
6
- which round is due, the gate, the PR) is in `prompts/review.md` and the `workflow-commands` skill,
7
- already resolved into the brief.
4
+ It stands alone — the reviewer needs no other repository document; orchestration is already resolved
5
+ into the brief.
8
6
 
9
7
  **Default hypothesis: this diff contains at least one non-trivial issue.** Your job is to find it, not
10
8
  to confirm correctness. Assume each category is wrong until proven otherwise; declare one clean only
@@ -15,14 +13,11 @@ the whole diff (see "The second round is a verification pass" below).
15
13
 
16
14
  ## Severity (decided by a test, never by discretion)
17
15
 
18
- `medium` blocks opening the PR, so a borderline `medium` costs a whole round — decide it by test.
19
-
20
16
  **A finding is `medium` or higher only when both of these hold:**
21
17
 
22
18
  1. **It reaches something real** — a runtime code path, a distributed artifact a consumer reads, or
23
19
  the verification that guards either (a test, fixture or CI check whose defect lets one of the first
24
- two ship unnoticed). `package.json` does not ship `**/*.test.ts` or `**/*-fixture.ts`, so without
25
- this third member a vacuous or wrongly-pinned suite could never exceed `low`.
20
+ two ship unnoticed).
26
21
  2. **You can write the concrete failure scenario** — the inputs or state, and the wrong output,
27
22
  breakage or misreading that follows. Not "this could be confusing": the actual sequence.
28
23
 
@@ -34,22 +29,16 @@ that passes test 1, and when the attempt fails write "no failure scenario — <w
34
29
  on a test-1 finding without that line is a skipped step.
35
30
 
36
31
  Distributed artifacts — `CLAUDE.md`, `prompts/**`, `.claude/**`, `docs/**` — are reviewed at the same
37
- level as runtime code: a dangling pointer or a citation naming the wrong file reaches every consumer,
38
- and no test covers prose.
32
+ level as runtime code: a dangling pointer or a citation naming the wrong file is a defect.
39
33
 
40
- `high` is fixed before committing and blocks the merge regardless of round count. A `low` that fails
41
- test 1 (does not reach the user) may be dropped with a one-line reason; a `low` that passed test 1 and
42
- lacks only a failure scenario still reaches the user, so if it closes in a few lines inside a file the
43
- diff already touches, fix it.
34
+ A `low` that fails test 1 may be dropped with a one-line reason; a `low` that passed test 1 and lacks
35
+ only a failure scenario is fixed when it closes in a few lines inside a file the diff already touches.
44
36
 
45
37
  ---
46
38
 
47
39
  ## The second round is a verification pass, not a second full review
48
40
 
49
- Read twice under "assume it is wrong", one diff returns new findings whether or not the code changed,
50
- so round 2 asks a different question. **The question changes, never the standard**: a confirmed High
51
- still blocks the merge, the cap in `prompts/review.md` → "Review round cap" still holds, and every rule
52
- here applies unchanged.
41
+ **The question changes, never the standard**: every rule here applies unchanged.
53
42
 
54
43
  | | First round | Second round |
55
44
  | -------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------- |
@@ -126,8 +115,6 @@ No issues — `parse_ids` returns what its name says; no near-copy of `split_ids
126
115
 
127
116
  ## Review categories (must all be checked)
128
117
 
129
- Round 1 checks all nine; round 2 checks category 1 plus the categories its fix delta touches.
130
-
131
118
  ### 1. Bug risks & logic errors
132
119
 
133
120
  Actively try to break the changed code.
@@ -207,7 +194,7 @@ concerns"; if nothing is uncertain, trace the logic path that gives that confide
207
194
  - **A checkout that cannot be attested** (`pnpm josh review:attest <nonce>` exits non-zero) → report
208
195
  `REVIEW TARGET MISMATCH`, no findings and no verdict of any kind: the review read a tree the brief did
209
196
  not describe.
210
- - High findings → must fix before committing
197
+ - High findings → must fix before committing; a High blocks the merge regardless of round count
211
198
  - Medium findings → must fix before opening the PR
212
199
  - A finding wholly covered by an open follow-up this Issue filed (a `先送り: #M <title>` comment on
213
200
  it, which `issue:file --found-during <N>` posts) → record it as `low` citing `#M`, never `medium`
package/prompts/review.md CHANGED
@@ -4,21 +4,19 @@ Review policy: the level, the round count, and what happens to a finding after t
4
4
 
5
5
  - Rubric (severity tests, nine categories, output format, stop conditions): `prompts/review-rubric.md`,
6
6
  handed to `/code-review` by `pnpm josh review:brief`.
7
- - Orchestration (gate beside the review, when the PR opens, the merge):
7
+ - Orchestration (gate before round 1, when the PR opens, the merge):
8
8
  `.claude/skills/workflow-commands/chain-rule.md` → "Orchestration facts single-sourced here".
9
9
 
10
10
  ---
11
11
 
12
12
  ## When to run
13
13
 
14
- When: `CLAUDE.md` → "Pre-commit Self-Review"; inside a workflow, round 1 runs before the commit and
15
- round 2 beside CI (`.claude/skills/workflow-commands/chain-rule.md`). Launch the `reviewer` agent
16
- type (round 2: `reviewer-verification`), never nested, with the model `pnpm josh review:brief` prints.
17
- Before the reviewer returns its findings → `pnpm josh review:lint` (`.claude/agents/reviewer.md`).
14
+ When: `CLAUDE.md` → "Pre-commit Self-Review"; in a workflow, as `run:chain` and `run:review` print.
15
+ The reviewer is a `reviewer` agent (round 2: `reviewer-verification`), never nested, on the model
16
+ `pnpm josh review:brief` prints.
18
17
 
19
18
  Re-run after fixes until **no high or medium findings remain or the round cap below is reached** (the
20
- first review counts), whichever comes first. Round 2 is a verification pass over the fixes
21
- (`prompts/review-rubric.md` → "The second round is a verification pass, not a second full review").
19
+ first review counts).
22
20
 
23
21
  ---
24
22
 
@@ -27,21 +25,21 @@ first review counts), whichever comes first. Round 2 is a verification pass over
27
25
  Answer these ten over your own diff before the scoped pair that precedes round 1 — question 1 once
28
26
  `pnpm josh run:review --join` prints its lines after the review, or, under `--join --fixing` or a
29
27
  check `--join` restarted on a moved tree, the ship's pre-detach — and fix what an
30
- answer turns up (about four in five of 100 sampled High/Medium findings that stopped lane reviews
31
- fell under one; `pnpm josh lane:stats` counts the kinds that still stop). The review, its severity
32
- tests and the round cap are unchanged.
28
+ answer turns up. The review, its severity tests and the round cap are unchanged.
33
29
 
34
30
  1. **Tests pin the change** — read the `unpinned` and `unchecked` lines `pnpm josh run:review --join`
35
31
  prints from `pnpm josh test:pinned` (each unchecked place is listed in its `full output:` log) (`docs/josh-commands.md` → "`josh test:pinned`"), and check a pinning test's fixture reaches its branch (no assert on a string the code
36
32
  never draws, no comparison against a literal copy).
37
33
  2. **Prose matches the code** — grep docs, prompts and comments for the old wording of every behavior,
38
- constant, command and heading you changed, moved or removed (`pnpm josh prose:stale` finds the
39
- removed ones), `"the table above"` and rewritten sentences included.
34
+ constant, command and heading you changed, moved or removed (`pnpm josh review:selfcheck` → `q2`),
35
+ `"the table above"` and rewritten sentences included.
40
36
  3. **Failure is not a negative answer** — every timeout, non-zero exit or `gh` failure on a touched
41
37
  path returns something a caller can tell apart from `false`, `undefined` or "nothing found".
42
38
  4. **Every caller moved with it** — grep every reference to a changed function, list or command, and
43
39
  update each sibling path (the other CLI, the registry, the consumer side) in the same change.
44
- The readers outside the diff: `pnpm josh review:brief` → `## Readers outside the diff`.
40
+ The readers outside the diff: `pnpm josh review:selfcheck` → `q4`; where the interaction review is
41
+ due, answer the questions it prints under `q4 interaction review questions` too, then record
42
+ them: `pnpm josh review:selfcheck --interaction-answered` (`scripts/review/selfcheck-cli.ts`).
45
43
  5. **The Issue is met on HEAD** — the premises you relied on hold on the current tree, and each
46
44
  acceptance criterion is checked against the diff.
47
45
  6. **State is read fresh** — for every record, stamp, snapshot, memo or ledger a decision reads, name
@@ -58,8 +56,8 @@ tests and the round cap are unchanged.
58
56
  change runs in — kit and a consumer, and a predecessor that died midway leaving its record behind.
59
57
  10. **Commands your prose tells a reader to run are run** — for every command a refusal, hint or
60
58
  document you added or changed tells a reader to run, run it as written from a cwd other than the
61
- root, with an absolute path, a relative path and an empty input, and check each result — in a
62
- scratch copy (`mktemp -d`) when it writes, deletes, files or pushes, never on the lane's files.
59
+ root, with an absolute path, a relative path and an empty input (`pnpm josh review:selfcheck` →
60
+ `q10`), and check each result — in a scratch copy (`mktemp -d`) when it writes, deletes, files or pushes, never on the lane's files.
63
61
 
64
62
  The brief lists `Removed tests` → each needs a `## 消えたテストの処置` row in the PR body, or the
65
63
  merge is refused: `prompts/collaboration-workflow/report-format.md` → "PR 本文の消えたテストの処置".
@@ -68,17 +66,7 @@ merge is refused: `prompts/collaboration-workflow/report-format.md` → "PR 本
68
66
 
69
67
  ## Review level (decided by `pnpm josh review:brief --level-only`, never by judgement)
70
68
 
71
- Run `pnpm josh review:brief --level-only` and use what it prints — `low` or `medium`, from the changed
72
- paths only, never "this one is small". `--staged` classifies the staged diff, `--json` adds the reason;
73
- inside a workflow `pnpm josh review:brief` prints the level on its first line. `low` gets 1 round,
74
- `medium` up to 2. A diff that touches documentation is not inert: it stays at `medium`.
75
-
76
- ```bash
77
- pnpm josh review:brief --level-only # the branch diff
78
- pnpm josh review:brief --level-only --staged # the staged diff
79
- ```
80
-
81
- **A confirmed High blocks regardless of round count**, whatever the cap.
69
+ Use the level `pnpm josh review:brief --level-only [--staged] [--json]` prints: `low` gets 1 round with Sonnet (Anthropic default), `medium` up to 2. Documentation, prompts and tests only get `low`; executable changes also get `low` at 20 added/deleted lines or fewer, including tests. Larger executable diffs, binary files and unreadable sizes stay `medium`. Model overrides still apply.
82
70
 
83
71
  ---
84
72
 
@@ -87,21 +75,25 @@ pnpm josh review:brief --level-only --staged # the staged diff
87
75
  `pnpm josh run:review` writes its brief to a file beside round 1's where it is due, printing both paths; one still owed after round 1
88
76
  takes `pnpm josh review:brief --interaction`. Hand it to a reviewer subagent, dispose of the findings
89
77
  by the three-way disposition below, and record the pass with
90
- `pnpm josh review:record --interaction --issue <N> [<category>:<severity>:<file> ...]`.
78
+ `pnpm josh review:record --from-slot --interaction --issue <N> [<n>=<disposition> ...]`.
91
79
 
92
80
  `pnpm josh followup` refuses a due change with none recorded; `pnpm josh ship --review` runs it itself, beside round 1, and stops once on the findings of both.
93
81
 
94
82
  ## Review round cap (2 rounds)
95
83
 
96
- Two rounds is the ceiling, not the schedule: every fix creates new surface a further round would find
97
- something in. Whether round 2 is due is `pnpm josh review:round2`'s answer (below). The interaction
98
- review is not one of the two.
84
+ Two rounds is the ceiling, not the schedule; whether round 2 is due is `pnpm josh review:round2`'s
85
+ answer (below). The interaction review is not one of the two.
86
+
87
+ A bare `review:brief` starts at full-change final round 2 when both declared size axes fit, no
88
+ High/Medium exists in the issue's history, and the gate is local; it records `round1: skipped-in-size`.
89
+ Missing or unreadable inputs keep round 1; explicit round flags win. Final disposition and the
90
+ independent interaction review still apply.
99
91
 
100
92
  ### A merge-conflict resolution review is not one of the two
101
93
 
102
94
  When `pnpm josh followup` reports `PR checks failed (merge conflict)`, the child resolves the conflict
103
- in its own lane and reviews the resolution — **that round does not count against the cap**, since it
104
- reads what merging a moved `main` did, not the change. Procedure and the four step-back conditions:
95
+ in its own lane and reviews the resolution — **that round does not count against the cap**. Procedure
96
+ and the four step-back conditions:
105
97
  `.claude/skills/workflow-commands/backlogrun-recovery.md` → "Conflicts are not predicted".
106
98
  `pnpm josh review:attest --check` must answer `ok` before the merge is re-issued; a confirmed High parks
107
99
  the child rather than buying a further round.
@@ -112,44 +104,30 @@ the child rather than buying a further round.
112
104
  pnpm josh review:round2 --record <N> # → required | skip ; the reason on stderr
113
105
  ```
114
106
 
115
- Ask once round 1's fixes are in and the round is recorded with each finding's disposition
116
- (`pnpm josh review:record`'s usage), before the commit. Round 1 is closed only when the ledger shows
117
- every round-1 High/Medium as `fixed` or `false-positive`. Anything else, including a missing round-1
118
- snapshot, answers `required`.
119
-
120
- `skip` has exactly two arms, and the reason line names which fired:
121
-
122
- - **A** — the fix delta is empty.
123
- - **B** — every path in the fix delta is inert by the review-level classification above:
124
- `docs/**/*.md`, the root `README.md`, under `prompts/`, a metrics approval under
125
- `.josh/metrics-accepted/`, or a `.ts` / `.js` / `.svelte` file outside
126
- `.claude/` changed only in comments (a lint, type-check, coverage or bundler directive comment counts
127
- as code).
128
-
129
- One path outside that set makes it `required` — `.claude/**`, `CLAUDE.md`, a test, configuration, a
130
- code line, or a source file whose comment-free text cannot be read.
131
-
132
- `--record <N>` records a skipped round on the Issue itself: a comment under `## Round 2 skipped`
133
- naming which arm fired and quoting the reason line verbatim, written once however often it is asked.
107
+ Ask once round 1's fixes are in and recorded (`pnpm josh review:record`'s usage), before the commit;
108
+ the reason line says why. The `required` cases and the two `skip` arms are defined in
109
+ `scripts/review/review-round2.ts` (`decide`, `is_unexecuted`); the skip comment `--record` posts, in
110
+ `scripts/review/review-round2-skip-comment.ts`.
134
111
 
135
112
  ### Three-way disposition after the cap
136
113
 
137
114
  After round 2, place every remaining non-High finding in exactly one exit, decided by what the finding
138
- is. **The default exit is branch 3, and branch 2 has to be earned**. "It might matter later" is branch 3.
115
+ is. **The default exit is branch 3; branch 2 has to be earned.**
139
116
 
140
117
  1. **Fix it in place** — it closes in a few lines inside a file the diff already changed, with no
141
118
  design decision (a stale comment, a name, an unused export). A fix-in-place never starts a new
142
- review round. A finding that cannot close under both limits is filed, not fixed in place.
143
- 2. **File it as an Issue** — a **confirmed defect that reaches a runtime code path** — both halves, and neither on its own.
144
- Confirmed: the failure scenario is stated in concrete inputs and state.
145
- **Reaching is read exactly as the rubric's Severity test 1 reads it** (a runtime code path, a
146
- distributed artifact a consumer reads, or the verification that guards either), so a defect in a
147
- distributed document is branch 2. `pnpm josh disposition <path>` answers `runtime` / `non-runtime`
148
- from the finding's paths (the review level's inert set). **"It needs a decision" is no longer a branch-2 condition on its own**:
149
- a design question with no defect under it takes branch 3.
150
- 3. **Drop it with a one-line note in the PR body** — **This is the default, and it takes everything the other two branches did not**:
151
- a Low that does not reach the user, a design preference, an unproven suspicion. **The note is not optional**:
152
- one line naming the finding and why it was dropped.
119
+ review round; a finding that cannot close under both limits is not fixed in place.
120
+ 2. **File it as an Issue** — a **confirmed defect that reaches a runtime code path**, both halves.
121
+ Confirmed: the failure scenario is stated in concrete inputs and state. Reaching is the rubric's
122
+ Severity test 1 (a runtime code path, a distributed artifact a consumer reads, or the verification
123
+ that guards either); `pnpm josh disposition <path>` answers `runtime` / `non-runtime` from the
124
+ finding's paths. A design question with no defect under it is branch 3.
125
+ 3. **Drop it with a one-line note in the PR body** — everything the other two did not take: a Low that
126
+ does not reach the user, a design preference, an unproven suspicion, "it might matter later". The
127
+ note, naming the finding and why it was dropped, is required.
128
+
129
+ Two or more findings remain after branch 1 → `pnpm josh disposition --batch <file>` prints each one's branch and
130
+ the drop notes for the PR body (`docs/josh-commands-backlog.md` → `josh disposition`).
153
131
 
154
132
  Findings that reduce to one root judgement are filed as one Issue with a section per symptom
155
133
  (`## 現象 1` / `## 現象 2`).
@@ -158,8 +136,7 @@ Branch 2 only:
158
136
 
159
137
  - File a follow-up Issue whose `parent: #N` line names the current one — a mention in its background
160
138
  is not read by `epic:bundle`; the current Issue completes.
161
- - An Issue in no epic is never offered by `epic:next`, so filing continues to the epic. Run these steps
162
- inside the CI wait: in `fullrun` / `backlogrun` after `pnpm josh git -y` and before
139
+ - Filing continues to the epic: run these steps inside the CI wait — in `fullrun` / `backlogrun` after `pnpm josh git -y` and before
163
140
  `pnpm josh followup`; in `halfrun` or a standalone pre-commit self-review as soon as the disposition
164
141
  is decided. They may run delegated — `pnpm josh delegate followup-filing`.
165
142
  - A second follow-up from one round folds into the first by default
@@ -167,24 +144,19 @@ Branch 2 only:
167
144
  filing-time fold"). `pnpm josh issue:file` asks the fold question on the run's second filing and holds
168
145
  a `fold`; the first filing asks nothing.
169
146
 
170
- 1. Before the current Issue closes, file it tagged `route:review-cap`:
171
- `pnpm josh issue:file "<title>" --body-file <body-file> --route review-cap --found-during <N>`
147
+ 1. Before the current Issue closes, run the `issue:file` line `disposition --batch <file> --found-during <N>`
148
+ printed, its drafted body read first (no batch: write the body, same line):
149
+ `pnpm josh issue:file "<title>" --body-file <body-file> --route review-cap --label run:lane --found-during <N>`
172
150
  (`--found-during` leaves the deferral note on the current Issue the ship reviewer reads). It lints
173
151
  the body, applies the declared labels, runs the duplicate scan and `epic:bundle`
174
152
  (`docs/josh-commands-backlog.md` → `josh issue:file`). A security finding declares its
175
- `- セキュリティ:` line (`issue-template.md` → H). `epic:bundle` reads open issues only, so
176
- after the parent closes it answers `none` permanently.
153
+ `- セキュリティ:` line (`issue-template.md` → H).
177
154
  2. Act on the printed `epic:bundle` answer with `pnpm josh epic:bundle <new> --apply` — never a
178
- hand edit of the epic body, which leaves the task list and `blocked-by` relations disagreeing
179
- (`epic:next` returns `error`). Tier A, no confirmation:
180
- - `add_to_epic` / `create_epic` → `--apply` writes it, with any recorded order.
181
- - `ask` (candidates across two or more epics) → `--apply` writes nothing; place it in the
182
- recommended epic with `pnpm josh epic --add <E> <new> --decision-file <path>`
183
- (`.claude/skills/epic-commands/epic-bundle.md`).
184
- - `none` → nothing.
185
- - Non-zero exit, or any ⚠ warning above `Nothing to bundle.` → stop and report what it said; a
186
- `none` after such a warning is not "nothing to bundle".
187
-
188
- **A confirmed High is never deferred** — it blocks the merge, never fixed-in-place, filed or dropped.
155
+ hand edit of the epic body. Tier A, no confirmation; what each answer does is
156
+ `.claude/skills/epic-commands/SKILL.md` → "`josh epic:bundle <N>` — does this new issue belong
157
+ with one already filed?". Non-zero exit, or any ⚠ warning above `Nothing to bundle.` → stop and
158
+ report what it said; a `none` after such a warning is not "nothing to bundle".
159
+
160
+ **A confirmed High blocks regardless of round count** — never deferred, fixed-in-place, filed or dropped.
189
161
  If one still stands after round 2, do not start a third: stop, send a `confirmation` Telegram, and put
190
162
  the scope back to the user (usually: split the Issue).
@@ -46,7 +46,7 @@ A failed read (rate-limit, network) prints `unreadable: <reason>`, distinct from
46
46
 
47
47
  ## Step C: optional — mark SAFE via API if a token is available
48
48
 
49
- With `SONAR_TOKEN` exported (SonarCloud user token with write scope):
49
+ With `SONAR_TOKEN` exported (SonarCloud user token with write scope), the user runs it — an agent's `curl` → ask the user (`scripts/rules/egress-guard.ts`):
50
50
 
51
51
  ```bash
52
52
  curl -sS -u "$SONAR_TOKEN:" -X POST \
@@ -15,7 +15,7 @@ Every requirement gets a test (`CLAUDE.md` → "Code Change Rules" Step 0); the
15
15
 
16
16
  ### Verification checklist (add to the completion gate)
17
17
 
18
- - [ ] Requirement count equals the count of tests added/updated (each gap documented as infeasible).
18
+ - [ ] Every requirement has a declared test (each gap documented as infeasible); `pnpm josh test:declared --match` checks each declaration against the change set (`docs/josh-commands.md` → "josh test:declared").
19
19
  - [ ] UI changes: a screenshot of the affected screen was checked (`CLAUDE.md` → UI verification); if impossible here, say so and ask the user to check.
20
20
 
21
21
  ---
@@ -71,7 +71,7 @@ When tests leave persistent state behind:
71
71
 
72
72
  1. Add or extend a guard and confirm it fails (e.g. `dash_leak_guard.scrub_then_assert_clean` in `src/routes/dash/dash-leak-check.e2e.ts` scrubs `E2E_`-prefixed tasks, then asserts none remain).
73
73
  2. Fix production code or teardown — prefer `data-testid` over locale-specific `aria-label`; do not swallow cleanup errors unless intended.
74
- 3. Confirm green with full `pnpm test:e2e` (or a targeted Playwright run).
74
+ 3. Confirm green with full `pnpm josh test:e2e` (or a targeted Playwright run).
75
75
  4. Document any new invariant here or in the E2E helper module.
76
76
 
77
77
  ### Error Messages
@@ -84,6 +84,19 @@ When tests leave persistent state behind:
84
84
  - **Mock the whole read**: a stub of one call leaving a second on its default still passes, slowly and against the remote (joshuafolkken/kit#1353: a 10-second CI timeout).
85
85
  - kit's `vitest.config.ts` fails such a run, listing the `gh` invocations (`docs/josh-commands.md` → `josh test:unit`); elsewhere the rule holds unguarded.
86
86
 
87
+ ### What not to test (テストしないもの)
88
+
89
+ Writing an assertion → it must check behavior the code computes. Skip it when it only restates:
90
+
91
+ - a re-export existing (barrel, `index.ts`)
92
+ - raw text of a document or config — test the code that reads it
93
+ - a mock's echo — a stub returning what the test set, or called with what the test passed through
94
+ - a source literal re-typed into the test — import it, or assert what it drives
95
+
96
+ ### Use the shared test helpers (kit only)
97
+
98
+ Creating a temp directory, a fixture file or an execa stub in a test → `#tools/test/temporary-directory`, `#tools/test/write-file`, `#tools/test/execa-result`. `mkdtempSync` and `vi.clearAllMocks()` in `beforeEach` are lint errors (`eslint/rules/test-helper-bans.js`).
99
+
87
100
  ### A josh command that writes state runs through the integration harness (kit only)
88
101
 
89
102
  - A new or changed state-writing josh command needs a test in all three environments of `tools/test/josh-harness.ts` — kit, a consumer without `docs/`, a lane worktree (joshuafolkken/kit#2402). Packed suite: `vitest.harness.config.ts`
@@ -1,3 +1,4 @@
1
+ import { review_prompt_level } from '#scripts/review/review-prompt-level'
1
2
  import { agent_diagnostics } from './agent-diagnostics'
2
3
  import {
3
4
  agent_role_profile,
@@ -6,6 +7,8 @@ import {
6
7
  type AgentRole,
7
8
  type ProfileResult,
8
9
  } from './agent-role-profile'
10
+ import { agent_ship_cap } from './agent-ship-cap'
11
+ import { agent_worker_profile } from './agent-worker-profile'
9
12
  import { claude_agent_argv } from './claude-agent-argv'
10
13
  import { codex_agent_argv } from './codex-agent-argv'
11
14
 
@@ -19,6 +22,12 @@ interface AgentArgv {
19
22
  type AgentArgvResult =
20
23
  { kind: 'argv'; argv: AgentArgv; profile: AgentProfile } | { kind: 'rejected'; note: string }
21
24
 
25
+ // Where a cut relaunch runs, and how it reads its Issue's labels when `josh.worker` asks for them.
26
+ interface ResumeSite {
27
+ cwd: string
28
+ labels: () => Promise<ReadonlyArray<string> | undefined>
29
+ }
30
+
22
31
  // **`session_id` forces the fresh session's id, and only the Claude path can honour it**.
23
32
  // Codex has no such flag, and the run-state report reads Claude transcripts
24
33
  // alone, so an OpenAI scheduler simply builds as before; whiff attribution is a Claude-transcript
@@ -102,21 +111,27 @@ function profiled_in(invocation: string, resolved: ProfileResult, cwd: string):
102
111
  }
103
112
 
104
113
  // **A cut relaunch's profile, resolved for the phase the resumed child is entering**.
105
- // A stored lane profile keeps its model unless the phase's own model key is set, and takes the phase's
106
- // effort; a lane without one resolves the worker for the phase. An env override wins over the phase in
107
- // either path.
108
- function resume_argv(
114
+ // A stored lane profile takes the phase's model where the phase has one (pre-gate: Sonnet, or
115
+ // `JOSH_WORKER_SHIP_MODEL`) and the phase's effort; a lane without one resolves the worker for the
116
+ // phase. An env override wins over the phase in either path. The phase's model is then capped at the
117
+ // Issue's `josh.worker` profile, whose labels `site.labels` reads only when the setting exists.
118
+ async function resume_argv(
109
119
  invocation: string,
110
120
  profile: AgentProfile | undefined,
111
121
  phase: string,
112
- cwd: string,
113
- ): AgentArgvResult {
122
+ site: ResumeSite,
123
+ ): Promise<AgentArgvResult> {
114
124
  const resolved =
115
125
  profile === undefined
116
126
  ? agent_role_profile.resolve(agent_role_profile.WORKER, process.env, phase)
117
127
  : agent_role_profile.with_phase(profile, phase)
128
+ const capped = await agent_ship_cap.capped(
129
+ resolved,
130
+ phase,
131
+ async () => await agent_worker_profile.resolve(site.cwd, site.labels),
132
+ )
118
133
 
119
- return profiled_in(invocation, resolved, cwd)
134
+ return profiled_in(invocation, capped, site.cwd)
120
135
  }
121
136
 
122
137
  function resolve_in(
@@ -135,7 +150,13 @@ function review_in(
135
150
  cwd: string,
136
151
  environment: AgentEnvironment = process.env,
137
152
  ): AgentArgvResult {
138
- return profiled_in(invocation, agent_role_profile.resolve_review(round, environment), cwd)
153
+ const is_reduced = review_prompt_level.level_of(invocation) === 'low'
154
+
155
+ return profiled_in(
156
+ invocation,
157
+ agent_role_profile.resolve_review(round, environment, is_reduced),
158
+ cwd,
159
+ )
139
160
  }
140
161
 
141
162
  const agent_argv = {
@@ -148,5 +169,5 @@ const agent_argv = {
148
169
  with_resume_in,
149
170
  }
150
171
 
151
- export type { AgentArgv, AgentArgvResult }
172
+ export type { AgentArgv, AgentArgvResult, ResumeSite }
152
173
  export { agent_argv }
@@ -0,0 +1,47 @@
1
+ import { agent_provider, type AgentProvider } from './agent-provider'
2
+
3
+ const { ANTHROPIC_PROVIDER, PROVIDER_SCHEMA } = agent_provider
4
+
5
+ // **The consultation main line runs on Opus** (joshuafolkken/kit#6901): the session a person opens
6
+ // without a kit launcher. A design consultation goes from it to the `design-consultant` unit on Fable,
7
+ // so the main line's own rate stays Opus for operating, filing and plain questions.
8
+ const CONSULTATION_MAIN_MODEL = 'claude-opus-5-5'
9
+
10
+ // **The consultation models** (joshuafolkken/kit#5351) — the high-rate models a launched main line
11
+ // never runs on and a main line on one hands its run to `run:handoff`. The Astra id is confirmed on a
12
+ // live Codex CLI by joshuafolkken/kit#5394.
13
+ const CONSULTATION_MODELS: Readonly<Record<AgentProvider, string>> = {
14
+ anthropic: 'claude-fable-5-1',
15
+ openai: 'gpt-6.1-astra',
16
+ }
17
+ // The `Agent` tool's alias for the Claude consultation model.
18
+ const CONSULTATION_ALIAS = 'fable'
19
+
20
+ // Every Opus release, the default's family, costs more than the investigation model.
21
+ const MAIN_FAMILY_PREFIX = 'claude-opus-'
22
+
23
+ // The provider whose consultation model this is, by id or by the `Agent` alias; `undefined` for any
24
+ // other model.
25
+ function consultation_provider(model: string): AgentProvider | undefined {
26
+ if (model === CONSULTATION_ALIAS) return ANTHROPIC_PROVIDER
27
+
28
+ return PROVIDER_SCHEMA.options.find((provider) => CONSULTATION_MODELS[provider] === model)
29
+ }
30
+
31
+ // The provider a main line on this model hands its reading over on: the Opus family or a
32
+ // consultation model, each above its investigation model's rate; `undefined` for a cheaper or unknown
33
+ // model, which has nothing cheaper to hand to.
34
+ function rated_provider(model: string): AgentProvider | undefined {
35
+ if (model.startsWith(MAIN_FAMILY_PREFIX)) return ANTHROPIC_PROVIDER
36
+
37
+ return consultation_provider(model)
38
+ }
39
+
40
+ const agent_consultation_model = {
41
+ CONSULTATION_ALIAS,
42
+ CONSULTATION_MAIN_MODEL,
43
+ consultation_provider,
44
+ rated_provider,
45
+ }
46
+
47
+ export { agent_consultation_model }
@@ -34,6 +34,7 @@ interface AgentEventState {
34
34
  provider: AgentProvider | undefined
35
35
  launch: AgentLaunch
36
36
  progress: string | undefined
37
+ last_message?: string | undefined
37
38
  result: AgentResult
38
39
  reason: string | undefined
39
40
  usage: AgentUsage | undefined
@@ -84,7 +85,7 @@ function claude_assistant(value: unknown, state: AgentEventState): AgentEventSta
84
85
  if (!is_claude_assistant(record)) return undefined
85
86
  const progress = claude_progress(record) ?? state.progress
86
87
 
87
- return { ...state, provider: 'anthropic', progress }
88
+ return { ...state, provider: 'anthropic', progress, last_message: progress }
88
89
  }
89
90
 
90
91
  function claude_terminal(value: unknown, state: AgentEventState): AgentEventState | undefined {
@@ -99,12 +100,20 @@ function claude_event(value: unknown, state: AgentEventState): AgentEventState |
99
100
  return claude_assistant(value, state) ?? claude_terminal(value, state)
100
101
  }
101
102
 
103
+ function codex_message(
104
+ item: z.infer<typeof CODEX_PROGRESS_SCHEMA>['item'],
105
+ previous: string | undefined,
106
+ ): string | undefined {
107
+ return item?.type === 'agent_message' ? (usable_text(item.text) ?? previous) : previous
108
+ }
109
+
102
110
  function codex_progress(value: unknown, state: AgentEventState): AgentEventState | undefined {
103
111
  const parsed = CODEX_PROGRESS_SCHEMA.safeParse(value)
104
112
  if (!parsed.success) return undefined
105
113
  const progress = usable_text(parsed.data.item?.text) ?? state.progress
114
+ const last_message = codex_message(parsed.data.item, state.last_message)
106
115
 
107
- return { ...state, provider: 'openai', progress }
116
+ return { ...state, provider: 'openai', progress, last_message }
108
117
  }
109
118
 
110
119
  function codex_completed(value: unknown, state: AgentEventState): AgentEventState | undefined {
@@ -1,78 +1,27 @@
1
- import { existsSync, lstatSync, mkdirSync, readlinkSync, symlinkSync, unlinkSync } from 'node:fs'
2
- import path from 'node:path'
3
- import { gh_cli_token } from '#scripts/gh/gh-cli-token'
4
1
  import { PLATFORM_TEMP_ROOT } from '#scripts/josh/platform-temporary'
5
2
  import { agent_headless } from './agent-headless'
6
- import { agent_role_profile, type AgentProfile } from './agent-role-profile'
3
+ import type { AgentProfile } from './agent-profile-schema'
7
4
  import { agent_session_role } from './agent-session-role'
8
- import { codex_home_source } from './codex-home-source'
9
5
 
10
6
  const OPENAI_PROVIDER = 'openai'
11
- const REVIEWER_HOME = ['node_modules', '.cache', 'josh', 'openai', 'reviewer-home']
12
- const HOME_FILES = ['auth.json', 'config.toml']
13
- const PRIVATE_DIRECTORY_MODE = 0o700
14
7
 
15
8
  type LaunchEnvironment = Readonly<Record<string, string | undefined>>
16
9
 
17
- function openai_environment(): LaunchEnvironment {
18
- const token = gh_cli_token.get()
19
-
20
- return token === undefined
21
- ? { TMPDIR: PLATFORM_TEMP_ROOT }
22
- : { GH_TOKEN: token, TMPDIR: PLATFORM_TEMP_ROOT }
23
- }
24
-
25
- function remove_old_home_link(source: string, target: string): boolean {
26
- const current = lstatSync(target, { throwIfNoEntry: false })
27
-
28
- if (current === undefined) return false
29
- if (!current.isSymbolicLink()) throw new Error(`Reviewer home file is not a link: ${target}`)
30
- if (existsSync(source) && readlinkSync(target) === source) return true
31
-
32
- unlinkSync(target)
33
-
34
- return false
35
- }
36
-
37
- function link_home_file(source_home: string, target_home: string, name: string): void {
38
- const source = path.join(source_home, name)
39
- const target = path.join(target_home, name)
40
-
41
- if (!remove_old_home_link(source, target) && existsSync(source)) symlinkSync(source, target)
42
- }
43
-
44
- // A nested reviewer cannot open the parent Codex installation ID for writing inside a lane sandbox.
45
- // Keep credentials and user configuration readable, while its own mutable state stays in the lane.
46
- function reviewer_home(cwd: string, environment: LaunchEnvironment): string {
47
- const source =
48
- environment['CODEX_HOME'] ?? process.env['CODEX_HOME'] ?? codex_home_source.default_home()
49
- const target = path.resolve(cwd, ...REVIEWER_HOME)
50
-
51
- mkdirSync(target, { recursive: true, mode: PRIVATE_DIRECTORY_MODE })
52
- for (const name of HOME_FILES) link_home_file(source, target, name)
53
-
54
- return target
55
- }
56
-
10
+ // An OpenAI child reads gh's keyring and the real Codex home as a Claude child does: every Codex role
11
+ // runs with full access (joshuafolkken/kit#5438), so neither a GH_TOKEN nor a lane-local home is passed.
57
12
  function build(
58
- cwd: string,
59
13
  profile: AgentProfile | undefined,
60
14
  environment: LaunchEnvironment = {},
61
15
  ): LaunchEnvironment {
62
- if (profile === undefined) return environment
16
+ if (profile === undefined) return { ...environment, [agent_session_role.KEY]: undefined }
63
17
 
64
18
  const marked = {
65
19
  ...agent_headless.environment(),
66
- ...agent_session_role.env_for(profile.role),
67
20
  ...environment,
21
+ ...agent_session_role.env_for(profile.role),
68
22
  }
69
- if (profile.provider !== OPENAI_PROVIDER) return marked
70
-
71
- const base = { ...openai_environment(), ...marked }
72
23
 
73
- return profile.role === agent_role_profile.REVIEWER
74
- ? { ...base, CODEX_HOME: reviewer_home(cwd, environment) }
75
- : base
24
+ return profile.provider === OPENAI_PROVIDER ? { TMPDIR: PLATFORM_TEMP_ROOT, ...marked } : marked
76
25
  }
77
26
 
78
27
  const agent_launch_environment = { build }
@@ -0,0 +1,19 @@
1
+ // The `Agent` tool alias a pinned Claude model id runs under (`claude-opus-5-5` → `opus`), so a brief
2
+ // can print it beside the id instead of the session converting it by hand.
3
+ const CLAUDE_MODEL_PATTERN = /^claude-(?<family>opus|sonnet|haiku|fable)-/u
4
+
5
+ // The alias of a Claude model id; `undefined` for any other model, a bare alias included.
6
+ function alias_of(model: string): string | undefined {
7
+ return CLAUDE_MODEL_PATTERN.exec(model)?.groups?.['family']
8
+ }
9
+
10
+ // The ` (<alias>)` suffix printed after a model id; empty when the model has no alias.
11
+ function suffix_of(model: string): string {
12
+ const alias = alias_of(model)
13
+
14
+ return alias === undefined ? '' : ` (${alias})`
15
+ }
16
+
17
+ const agent_model_alias = { alias_of, suffix_of }
18
+
19
+ export { agent_model_alias }