@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.
- package/.claude/agents/design-consultant.md +19 -0
- package/.claude/agents/investigator.md +12 -2
- package/.claude/agents/reviewer-verification.md +13 -2
- package/.claude/agents/reviewer.md +13 -2
- package/.claude/settings.json +32 -9
- package/.claude/skills/dependency-update/SKILL.md +11 -14
- package/.claude/skills/epic-commands/SKILL.md +8 -6
- package/.claude/skills/epic-commands/epic-bundle.md +6 -7
- package/.claude/skills/verify-ui/SKILL.md +13 -23
- package/.claude/skills/workflow-commands/SKILL.md +19 -18
- package/.claude/skills/workflow-commands/background-commands.md +7 -4
- package/.claude/skills/workflow-commands/backlogrun-child.md +31 -64
- package/.claude/skills/workflow-commands/backlogrun-lanes.md +54 -62
- package/.claude/skills/workflow-commands/backlogrun-park.md +65 -64
- package/.claude/skills/workflow-commands/backlogrun-progress.md +30 -44
- package/.claude/skills/workflow-commands/backlogrun-recovery.md +18 -33
- package/.claude/skills/workflow-commands/backlogrun-steps.md +62 -50
- package/.claude/skills/workflow-commands/backlogrun.md +13 -18
- package/.claude/skills/workflow-commands/chain-rule.md +54 -53
- package/.claude/skills/workflow-commands/delegation.md +11 -11
- package/.claude/skills/workflow-commands/entry-sequence.md +23 -34
- package/.claude/skills/workflow-commands/followup.md +19 -17
- package/.claude/skills/workflow-commands/fullrun-lane.md +11 -0
- package/.claude/skills/workflow-commands/fullrun-steps.md +27 -34
- package/.claude/skills/workflow-commands/fullrun.md +5 -6
- package/.claude/skills/workflow-commands/halfrun.md +4 -7
- package/.claude/skills/workflow-commands/issue-comments.md +29 -15
- package/.claude/skills/workflow-commands/issue-fold-existing.md +9 -14
- package/.claude/skills/workflow-commands/issue-scout.md +5 -8
- package/.claude/skills/workflow-commands/kickoff.md +31 -34
- package/.claude/skills/workflow-commands/latest-gate.md +6 -14
- package/.claude/skills/workflow-commands/needs-human-review.md +3 -3
- package/.claude/skills/workflow-commands/observation-filing.md +9 -7
- package/.claude/skills/workflow-commands/observation-ledger.md +4 -1
- package/.claude/skills/workflow-commands/pre-gate-cut.md +21 -26
- package/.claude/skills/workflow-commands/prerequisite.md +21 -6
- package/.claude/skills/workflow-commands/progress-watcher.md +8 -18
- package/.claude/skills/workflow-commands/prrun.md +1 -1
- package/.claude/skills/workflow-commands/retrospective.md +16 -15
- package/.claude/skills/workflow-commands/split-assessment.md +32 -22
- package/.claude/skills/workflow-commands/target-repository.md +2 -2
- package/.claude/skills/workflow-commands/working-tree-hold.md +3 -2
- package/.codex/hooks.json +18 -8
- package/.cursorrules +1 -2
- package/.github/actions/change-scope/action.yml +19 -0
- package/.github/actions/setup-pnpm/action.yml +87 -14
- package/.github/dependabot.yml +1 -0
- package/.github/workflows/ci.yml +74 -30
- package/.github/workflows/publish.yml +56 -14
- package/.github/workflows/sonar-qube.yml +28 -1
- package/.prettierignore +2 -0
- package/AGENTS.md +1 -2
- package/CLAUDE.md +8 -8
- package/GEMINI.md +1 -2
- package/README.md +1 -1
- package/SECURITY.md +11 -1
- package/cspell/index.yaml +11 -0
- package/dist/.inputs-verified.json +1 -0
- package/dist/CLAUDE.md +8 -8
- package/dist/commands/adopt.js +222 -0
- package/dist/commands/auth-setup-cli.js +127 -0
- package/dist/commands/auto-ok-judge-cli.js +227 -0
- package/dist/commands/auto-ok-main.js +138 -0
- package/dist/commands/backlog-budget-main.js +146 -0
- package/dist/commands/backlog-drive-cli.js +2023 -0
- package/dist/commands/backlog-next-main.js +188 -0
- package/dist/commands/backlog-offer-main.js +192 -0
- package/dist/commands/backlog-plan-cli.js +328 -0
- package/dist/commands/backlog-triage-cli.js +644 -0
- package/dist/commands/backlogrun-cli.js +835 -0
- package/dist/commands/behavior-cli.js +215 -0
- package/dist/commands/bump-version-main.js +22 -0
- package/dist/commands/bytes-command.js +247 -0
- package/dist/commands/cases-cli.js +57 -0
- package/dist/commands/check-commit-message-main.js +22 -0
- package/dist/commands/check-related.js +552 -0
- package/dist/commands/chunk-22DVQCP6.js +153 -0
- package/dist/commands/chunk-23GH6B3D.js +333 -0
- package/dist/commands/chunk-24ZDAWML.js +48 -0
- package/dist/commands/chunk-2ADQ5XRD.js +36 -0
- package/dist/commands/chunk-2BB5ZR2F.js +128 -0
- package/dist/commands/chunk-2BC33QPY.js +183 -0
- package/dist/commands/chunk-2BJJUTZA.js +59 -0
- package/dist/commands/chunk-2CXT6MBR.js +51 -0
- package/dist/commands/chunk-2DJLAUYB.js +109 -0
- package/dist/commands/chunk-2EZTYLO4.js +179 -0
- package/dist/commands/chunk-2FE3C4PH.js +112 -0
- package/dist/commands/chunk-2FJJYCBD.js +149 -0
- package/dist/commands/chunk-2NSB5ZYQ.js +26 -0
- package/dist/commands/chunk-2PHOLX62.js +43 -0
- package/dist/commands/chunk-2QM72JCJ.js +338 -0
- package/dist/commands/chunk-2VFPUPSG.js +170 -0
- package/dist/commands/chunk-2VRITY55.js +41 -0
- package/dist/commands/chunk-2XAH3MHV.js +23 -0
- package/dist/commands/chunk-34DND4BA.js +104 -0
- package/dist/commands/chunk-34JJYCIY.js +117 -0
- package/dist/commands/chunk-34KZDKQJ.js +304 -0
- package/dist/commands/chunk-352KLSFX.js +67 -0
- package/dist/commands/chunk-36LOGVJ7.js +38 -0
- package/dist/commands/chunk-3AEDZZNL.js +223 -0
- package/dist/commands/chunk-3B2HEFNO.js +51 -0
- package/dist/commands/chunk-3CCGKX7Y.js +20 -0
- package/dist/commands/chunk-3LZXX5GL.js +50 -0
- package/dist/commands/chunk-3NWAGIA6.js +39 -0
- package/dist/commands/chunk-3PEXBHRN.js +33 -0
- package/dist/commands/chunk-3RIQ36LH.js +110 -0
- package/dist/commands/chunk-3WRQP3QE.js +47 -0
- package/dist/commands/chunk-3WWQFCGX.js +18 -0
- package/dist/commands/chunk-3Z425MM3.js +61 -0
- package/dist/commands/chunk-3ZEO3KOM.js +35 -0
- package/dist/commands/chunk-3ZOX4G4U.js +88 -0
- package/dist/commands/chunk-452HWOJ7.js +395 -0
- package/dist/commands/chunk-475EFIJV.js +178 -0
- package/dist/commands/chunk-47UZB54M.js +73 -0
- package/dist/commands/chunk-4DN4XVPL.js +716 -0
- package/dist/commands/chunk-4DVM57T7.js +86 -0
- package/dist/commands/chunk-4EADHJVC.js +247 -0
- package/dist/commands/chunk-4HERA2GY.js +95 -0
- package/dist/commands/chunk-4JI35CVO.js +70 -0
- package/dist/commands/chunk-4L4LNWZ7.js +143 -0
- package/dist/commands/chunk-4N32QKJZ.js +170 -0
- package/dist/commands/chunk-4NRSFLG7.js +185 -0
- package/dist/commands/chunk-4OKRPAUT.js +98 -0
- package/dist/commands/chunk-4PUKDAXL.js +42 -0
- package/dist/commands/chunk-4Q64PG46.js +478 -0
- package/dist/commands/chunk-4UDTQVDD.js +278 -0
- package/dist/commands/chunk-4WR2LEZL.js +123 -0
- package/dist/commands/chunk-4ZHWTTQW.js +99 -0
- package/dist/commands/chunk-4ZJOC6OK.js +298 -0
- package/dist/commands/chunk-4ZQM4I7R.js +533 -0
- package/dist/commands/chunk-54X37JEJ.js +170 -0
- package/dist/commands/chunk-56KW5EOK.js +85 -0
- package/dist/commands/chunk-5CG3XU3O.js +74 -0
- package/dist/commands/chunk-5ESZLHDZ.js +514 -0
- package/dist/commands/chunk-5FBRMARM.js +578 -0
- package/dist/{hooks/chunk-OPSRGWFU.js → commands/chunk-5HVYOIIK.js} +1 -1
- package/dist/commands/chunk-5PCK53WP.js +168 -0
- package/dist/commands/chunk-5RG4S66L.js +47 -0
- package/dist/commands/chunk-5TMAPYQD.js +19 -0
- package/dist/commands/chunk-5UJGACVN.js +137 -0
- package/dist/commands/chunk-5Y7B7FDL.js +44 -0
- package/dist/commands/chunk-5Z6E5ZUV.js +89 -0
- package/dist/commands/chunk-5ZNUH4LV.js +1722 -0
- package/dist/commands/chunk-5ZTQX7OS.js +125 -0
- package/dist/commands/chunk-65E4OZJ7.js +9 -0
- package/dist/commands/chunk-66NX6EXR.js +29 -0
- package/dist/commands/chunk-66TGK5XL.js +84 -0
- package/dist/commands/chunk-6CFHLMKM.js +555 -0
- package/dist/commands/chunk-6CJXLPRI.js +72 -0
- package/dist/commands/chunk-6DDK5XWK.js +74 -0
- package/dist/commands/chunk-6FWV56B3.js +40 -0
- package/dist/commands/chunk-6GQX752S.js +145 -0
- package/dist/commands/chunk-6HRRZANN.js +55 -0
- package/dist/commands/chunk-6I2JM5UX.js +134 -0
- package/dist/commands/chunk-6MAZ55GF.js +1241 -0
- package/dist/commands/chunk-6NGNMIMT.js +20 -0
- package/dist/commands/chunk-6OP63TBT.js +78 -0
- package/dist/commands/chunk-6Q3XUCLM.js +204 -0
- package/dist/commands/chunk-6RUWU2SB.js +45 -0
- package/dist/commands/chunk-6TIVDEKG.js +34 -0
- package/dist/commands/chunk-6UCWAFQY.js +245 -0
- package/dist/commands/chunk-6WKJ3GDA.js +408 -0
- package/dist/commands/chunk-6YURRFRU.js +461 -0
- package/dist/commands/chunk-6YVURZAJ.js +350 -0
- package/dist/commands/chunk-6Z4YZG7P.js +169 -0
- package/dist/commands/chunk-77BIN247.js +122 -0
- package/dist/commands/chunk-7ABHNNY3.js +529 -0
- package/dist/commands/chunk-7C7FOKJK.js +115 -0
- package/dist/commands/chunk-7HAGC6SW.js +1062 -0
- package/dist/commands/chunk-7HCPRVMB.js +76 -0
- package/dist/commands/chunk-7IZJ5MG2.js +72 -0
- package/dist/commands/chunk-7KKUFLH5.js +56 -0
- package/dist/commands/chunk-7LJQMM2K.js +102 -0
- package/dist/commands/chunk-7MJYLUF4.js +99 -0
- package/dist/commands/chunk-7NHZCI5Y.js +704 -0
- package/dist/commands/chunk-7OQ56DVW.js +239 -0
- package/dist/commands/chunk-7VWPGTZO.js +260 -0
- package/dist/commands/chunk-7YZXS3AK.js +30 -0
- package/dist/commands/chunk-A4HOQKOG.js +85 -0
- package/dist/commands/chunk-A6T2N7VC.js +159 -0
- package/dist/commands/chunk-AAUDI7WJ.js +250 -0
- package/dist/commands/chunk-AC26ZUG5.js +259 -0
- package/dist/commands/chunk-ACZ52JPI.js +140 -0
- package/dist/commands/chunk-AJ65WNJB.js +230 -0
- package/dist/commands/chunk-AJWR7D3H.js +15 -0
- package/dist/commands/chunk-AK7SEO4Y.js +177 -0
- package/dist/commands/chunk-AKK56GNX.js +205 -0
- package/dist/commands/chunk-AKQYYHP2.js +461 -0
- package/dist/commands/chunk-ALDAS2WG.js +137 -0
- package/dist/commands/chunk-ANUTT56I.js +85 -0
- package/dist/commands/chunk-AQ3PMSXK.js +76 -0
- package/dist/commands/chunk-ARFBIJFS.js +43 -0
- package/dist/commands/chunk-AVVMDVGO.js +68 -0
- package/dist/commands/chunk-AWLYN2SP.js +64 -0
- package/dist/commands/chunk-AXXEMVRJ.js +23 -0
- package/dist/commands/chunk-B3M5WSGN.js +72 -0
- package/dist/commands/chunk-B5GXZK3E.js +34 -0
- package/dist/commands/chunk-B77ZMVHS.js +80 -0
- package/dist/commands/chunk-B7ZNIEDV.js +351 -0
- package/dist/commands/chunk-BCUDQWYK.js +77 -0
- package/dist/commands/chunk-BF6YX4HE.js +70 -0
- package/dist/commands/chunk-BHRS7HAM.js +272 -0
- package/dist/commands/chunk-BIKGPT52.js +29 -0
- package/dist/commands/chunk-BJA5U4Q7.js +75 -0
- package/dist/commands/chunk-BJKEXXY6.js +15 -0
- package/dist/commands/chunk-BMKWSWWE.js +126 -0
- package/dist/commands/chunk-BMM4RHCG.js +69 -0
- package/dist/commands/chunk-BMTYUJNT.js +59 -0
- package/dist/commands/chunk-BRFQBJ5Y.js +132 -0
- package/dist/commands/chunk-BRHPRDDV.js +127 -0
- package/dist/commands/chunk-BRUBX64M.js +33 -0
- package/dist/commands/chunk-BTZJDHQT.js +46 -0
- package/dist/commands/chunk-BYFC6MD2.js +72 -0
- package/dist/commands/chunk-BYGJ3BCJ.js +803 -0
- package/dist/commands/chunk-BYSPYVLD.js +130 -0
- package/dist/commands/chunk-C2SEDMZ3.js +238 -0
- package/dist/commands/chunk-C54QXJD6.js +4208 -0
- package/dist/commands/chunk-C6QSVO5K.js +56 -0
- package/dist/commands/chunk-CBAKBWSZ.js +332 -0
- package/dist/commands/chunk-CDY4NFQG.js +15 -0
- package/dist/commands/chunk-CFHRNTE5.js +326 -0
- package/dist/commands/chunk-CGLLAEKZ.js +110 -0
- package/dist/commands/chunk-CGYDIYHD.js +49 -0
- package/dist/commands/chunk-CHKYPF5O.js +82 -0
- package/dist/commands/chunk-CJBW6BWG.js +800 -0
- package/dist/commands/chunk-CJKPF5DJ.js +156 -0
- package/dist/commands/chunk-CKUKK7JG.js +252 -0
- package/dist/commands/chunk-CMHGDCGN.js +263 -0
- package/dist/commands/chunk-CNGTHSUS.js +750 -0
- package/dist/commands/chunk-COGKULQH.js +119 -0
- package/dist/commands/chunk-CP2J4RV2.js +3987 -0
- package/dist/commands/chunk-CQUZ6TNQ.js +120 -0
- package/dist/commands/chunk-CQZI7RIK.js +72 -0
- package/dist/commands/chunk-CVJHQOI3.js +153 -0
- package/dist/commands/chunk-CWCKCZS6.js +188 -0
- package/dist/commands/chunk-D5HIP4HT.js +289 -0
- package/dist/commands/chunk-D5OHVIPM.js +17 -0
- package/dist/commands/chunk-D6D6WQR6.js +125 -0
- package/dist/commands/chunk-D7JRJI44.js +297 -0
- package/dist/commands/chunk-D7OAU32Z.js +119 -0
- package/dist/commands/chunk-DAAX7XDS.js +1208 -0
- package/dist/commands/chunk-DBKTFB5V.js +18 -0
- package/dist/commands/chunk-DEZF7QZZ.js +184 -0
- package/dist/commands/chunk-DKM4UJQU.js +10 -0
- package/dist/commands/chunk-DMD74E3F.js +39 -0
- package/dist/commands/chunk-DPJVKTO4.js +41 -0
- package/dist/commands/chunk-DXJQHJQ4.js +73 -0
- package/dist/commands/chunk-DYZOOWVW.js +912 -0
- package/dist/commands/chunk-E33LSO2W.js +20 -0
- package/dist/commands/chunk-EBI2BAKQ.js +47 -0
- package/dist/commands/chunk-EBVS2LKX.js +60 -0
- package/dist/commands/chunk-EDKOSZ3K.js +88 -0
- package/dist/commands/chunk-EFDVE5P5.js +121 -0
- package/dist/commands/chunk-EGIHAEMT.js +72 -0
- package/dist/commands/chunk-EKLU6QR7.js +507 -0
- package/dist/commands/chunk-ELY76WAR.js +65 -0
- package/dist/commands/chunk-EM3HAZF6.js +52 -0
- package/dist/commands/chunk-EMTZAGT5.js +51 -0
- package/dist/commands/chunk-ENFPR7J2.js +53 -0
- package/dist/commands/chunk-ENKFCOVY.js +472 -0
- package/dist/commands/chunk-ERG4QRNG.js +224 -0
- package/dist/commands/chunk-EUGNQCYK.js +139 -0
- package/dist/commands/chunk-EW4NPUMQ.js +363 -0
- package/dist/commands/chunk-EWVR5AEX.js +140 -0
- package/dist/commands/chunk-EXDFKKMH.js +113 -0
- package/dist/commands/chunk-EXWB34R2.js +238 -0
- package/dist/commands/chunk-EYMPBHDN.js +61 -0
- package/dist/commands/chunk-EZ7IPKIH.js +20 -0
- package/dist/commands/chunk-EZSO25UZ.js +80 -0
- package/dist/commands/chunk-F6IQHZYY.js +94 -0
- package/dist/commands/chunk-FCINBCKB.js +77 -0
- package/dist/commands/chunk-FDS65XOJ.js +212 -0
- package/dist/commands/chunk-FFHEGWPK.js +91 -0
- package/dist/commands/chunk-FGG7V473.js +85 -0
- package/dist/commands/chunk-FGL6DBZU.js +71 -0
- package/dist/commands/chunk-FHFWNNUC.js +144 -0
- package/dist/{hooks/chunk-VVNYJWEI.js → commands/chunk-FIUCHMCF.js} +4 -2
- package/dist/commands/chunk-FJX7AENO.js +74 -0
- package/dist/commands/chunk-FKZ5E4JD.js +97 -0
- package/dist/commands/chunk-FMZWRDKH.js +302 -0
- package/dist/commands/chunk-FOKCRIAN.js +67 -0
- package/dist/commands/chunk-FQGWO2ZH.js +43 -0
- package/dist/commands/chunk-FROACLVU.js +525 -0
- package/dist/commands/chunk-FURNDIT3.js +34 -0
- package/dist/commands/chunk-FVDQNMP6.js +93 -0
- package/dist/commands/chunk-FVVZIJUC.js +425 -0
- package/dist/commands/chunk-FWU3H4TX.js +17 -0
- package/dist/commands/chunk-G3HBYHFA.js +16 -0
- package/dist/commands/chunk-G4E4M2P4.js +299 -0
- package/dist/commands/chunk-G5KSL2Q2.js +151 -0
- package/dist/commands/chunk-G6BXCWPH.js +141 -0
- package/dist/commands/chunk-G6XC7V6Y.js +58 -0
- package/dist/commands/chunk-GCPP5XIG.js +90 -0
- package/dist/commands/chunk-GITT5A5A.js +198 -0
- package/dist/commands/chunk-GJYMI2CM.js +48 -0
- package/dist/commands/chunk-GLC47H7I.js +285 -0
- package/dist/commands/chunk-GM3XLC4W.js +63 -0
- package/dist/commands/chunk-GO3GH7FG.js +75 -0
- package/dist/commands/chunk-GPTO6IZG.js +29 -0
- package/dist/commands/chunk-GUR54ELE.js +328 -0
- package/dist/commands/chunk-GW4UWR3O.js +126 -0
- package/dist/commands/chunk-GY4DMCKS.js +306 -0
- package/dist/commands/chunk-H6JQRHDC.js +80 -0
- package/dist/commands/chunk-HATKF6VX.js +173 -0
- package/dist/commands/chunk-HE5S4XRE.js +21 -0
- package/dist/commands/chunk-HG2NZQD5.js +135 -0
- package/dist/commands/chunk-HH3CVIFU.js +93 -0
- package/dist/commands/chunk-HHBC6QZE.js +95 -0
- package/dist/commands/chunk-HHMMGDMP.js +469 -0
- package/dist/commands/chunk-HI5WPM6C.js +127 -0
- package/dist/commands/chunk-HIU2WXB6.js +26 -0
- package/dist/commands/chunk-HLKAFSN4.js +76 -0
- package/dist/commands/chunk-HLUS2M3D.js +7 -0
- package/dist/commands/chunk-HQ2HSZBN.js +69 -0
- package/dist/commands/chunk-HQGNXR6I.js +245 -0
- package/dist/commands/chunk-HQSWPRUF.js +61 -0
- package/dist/commands/chunk-HRLGFRAV.js +21 -0
- package/dist/commands/chunk-HTIDHEEN.js +108 -0
- package/dist/commands/chunk-HVCQYZVD.js +38 -0
- package/dist/commands/chunk-HWEZRNPL.js +66 -0
- package/dist/commands/chunk-HX3FFIO5.js +74 -0
- package/dist/commands/chunk-HXCZ3KWS.js +41 -0
- package/dist/commands/chunk-HXDTA5VU.js +208 -0
- package/dist/commands/chunk-I2KCGKJI.js +107 -0
- package/dist/commands/chunk-I63RNFFR.js +213 -0
- package/dist/commands/chunk-IAD4WLLI.js +98 -0
- package/dist/commands/chunk-IB5TT73I.js +177 -0
- package/dist/commands/chunk-IBAYXCMU.js +156 -0
- package/dist/commands/chunk-IF3EIFK4.js +7515 -0
- package/dist/commands/chunk-IGD6QJPH.js +91 -0
- package/dist/commands/chunk-IGDJNXX2.js +49 -0
- package/dist/commands/chunk-ILGPZ47M.js +33 -0
- package/dist/commands/chunk-ILIITIMQ.js +126 -0
- package/dist/commands/chunk-IRGDMSTI.js +42 -0
- package/dist/commands/chunk-IW6NWCSN.js +10 -0
- package/dist/commands/chunk-IYJEBWW5.js +44 -0
- package/dist/commands/chunk-J22PSIXR.js +418 -0
- package/dist/commands/chunk-J3TKZLHA.js +11 -0
- package/dist/commands/chunk-J66YBAAM.js +161 -0
- package/dist/commands/chunk-J6WKZRV2.js +391 -0
- package/dist/commands/chunk-J7IO3AYH.js +179 -0
- package/dist/commands/chunk-JAKC2BHX.js +88 -0
- package/dist/commands/chunk-JCAQ7B6J.js +124 -0
- package/dist/commands/chunk-JFLFGLE4.js +32 -0
- package/dist/commands/chunk-JHN6RCE6.js +123 -0
- package/dist/commands/chunk-JIGBNCDR.js +88 -0
- package/dist/commands/chunk-JJHWTFWQ.js +76 -0
- package/dist/commands/chunk-JJRKTWLK.js +64 -0
- package/dist/commands/chunk-JKOGWGQM.js +92 -0
- package/dist/commands/chunk-JM6EVOFN.js +172 -0
- package/dist/commands/chunk-JQXPLMCO.js +81 -0
- package/dist/commands/chunk-JTU5A4JI.js +55 -0
- package/dist/commands/chunk-JV24VP2O.js +81 -0
- package/dist/commands/chunk-JVKXJ763.js +45 -0
- package/dist/commands/chunk-JZHY7D6D.js +71 -0
- package/dist/commands/chunk-JZK33TA5.js +99 -0
- package/dist/commands/chunk-JZOTCPX2.js +115 -0
- package/dist/commands/chunk-K275REYP.js +37 -0
- package/dist/commands/chunk-K2WVYHCP.js +18 -0
- package/dist/commands/chunk-K4G3HOKS.js +105 -0
- package/dist/commands/chunk-K64EIHD2.js +138 -0
- package/dist/commands/chunk-KB3OQWDT.js +71 -0
- package/dist/commands/chunk-KCFOP5RI.js +1310 -0
- package/dist/commands/chunk-KGE4AS2Y.js +134 -0
- package/dist/commands/chunk-KIILCKQR.js +220 -0
- package/dist/commands/chunk-KK2SL42W.js +241 -0
- package/dist/commands/chunk-KK7TEL5G.js +121 -0
- package/dist/commands/chunk-KKIMVXAP.js +280 -0
- package/dist/commands/chunk-KODXWMBX.js +77 -0
- package/dist/commands/chunk-KPSKWTOS.js +208 -0
- package/dist/commands/chunk-KSR23NYN.js +33 -0
- package/dist/commands/chunk-KTLR4Y32.js +21 -0
- package/dist/commands/chunk-KTV2HNWB.js +339 -0
- package/dist/commands/chunk-KVHNQHX3.js +100 -0
- package/dist/commands/chunk-KVURNO74.js +187 -0
- package/dist/commands/chunk-KWYQR5MK.js +269 -0
- package/dist/commands/chunk-KXHXMERX.js +214 -0
- package/dist/commands/chunk-KXK2A2HB.js +158 -0
- package/dist/commands/chunk-KZ5BBBMO.js +271 -0
- package/dist/commands/chunk-KZ7HD37E.js +121 -0
- package/dist/commands/chunk-KZSM5M5P.js +89 -0
- package/dist/commands/chunk-KZZWPUJW.js +25 -0
- package/dist/commands/chunk-L7DAL54N.js +347 -0
- package/dist/commands/chunk-LAR76BFA.js +114 -0
- package/dist/commands/chunk-LAYSCY4L.js +6 -0
- package/dist/commands/chunk-LB557AHJ.js +192 -0
- package/dist/commands/chunk-LBLII7BS.js +14 -0
- package/dist/commands/chunk-LEB2VP7F.js +77 -0
- package/dist/commands/chunk-LHKXJD6L.js +303 -0
- package/dist/commands/chunk-LJXKVLYI.js +229 -0
- package/dist/commands/chunk-LJZERYLG.js +133 -0
- package/dist/commands/chunk-LOOFYHUM.js +773 -0
- package/dist/commands/chunk-LPSULLNK.js +45 -0
- package/dist/commands/chunk-LQXFVZTS.js +13 -0
- package/dist/commands/chunk-LR22UK5W.js +17 -0
- package/dist/commands/chunk-LT7QSHR4.js +995 -0
- package/dist/commands/chunk-LULJUD6P.js +131 -0
- package/dist/commands/chunk-LUXWDMKI.js +426 -0
- package/dist/commands/chunk-LWAXXZPS.js +118 -0
- package/dist/commands/chunk-LX7TIEMI.js +1612 -0
- package/dist/commands/chunk-LYO6TX5L.js +47 -0
- package/dist/commands/chunk-LZ5QXE5N.js +244 -0
- package/dist/commands/chunk-M3ZDYCUF.js +117 -0
- package/dist/commands/chunk-M4UV3BEV.js +313 -0
- package/dist/commands/chunk-M6JDU5EK.js +133 -0
- package/dist/commands/chunk-MDKDJF2K.js +160 -0
- package/dist/commands/chunk-MDLOETXL.js +211 -0
- package/dist/commands/chunk-MFBNNTBM.js +44 -0
- package/dist/commands/chunk-MGF64OHV.js +32 -0
- package/dist/commands/chunk-MI2OS6TL.js +132 -0
- package/dist/commands/chunk-MLW4S35K.js +389 -0
- package/dist/commands/chunk-MMTVQOCP.js +211 -0
- package/dist/commands/chunk-MN425CU6.js +63 -0
- package/dist/commands/chunk-MOIOSCZM.js +171 -0
- package/dist/commands/chunk-MPGJ4ONJ.js +634 -0
- package/dist/commands/chunk-MRORPFSO.js +402 -0
- package/dist/commands/chunk-MSPIR3OA.js +32 -0
- package/dist/commands/chunk-MUGTOJUL.js +319 -0
- package/dist/commands/chunk-MVHPRYHE.js +91 -0
- package/dist/commands/chunk-MWO6FOSZ.js +393 -0
- package/dist/commands/chunk-MXC4IBZ7.js +104 -0
- package/dist/commands/chunk-MY3RSOS5.js +52 -0
- package/dist/commands/chunk-N7QTMTST.js +210 -0
- package/dist/commands/chunk-NDBX7LSS.js +32 -0
- package/dist/commands/chunk-NDWZTWXV.js +229 -0
- package/dist/commands/chunk-NEGJ77RV.js +173 -0
- package/dist/commands/chunk-NEGRE5VW.js +101 -0
- package/dist/commands/chunk-NFKULY26.js +48 -0
- package/dist/commands/chunk-NFPD2P3V.js +53 -0
- package/dist/commands/chunk-NHIW7JE6.js +335 -0
- package/dist/commands/chunk-NILSN7A4.js +158 -0
- package/dist/commands/chunk-NOLFSPOB.js +74 -0
- package/dist/commands/chunk-NSAVEXVR.js +353 -0
- package/dist/commands/chunk-NT67QTZO.js +65 -0
- package/dist/commands/chunk-NU7W6QGT.js +155 -0
- package/dist/commands/chunk-NUR4FQHM.js +21 -0
- package/dist/commands/chunk-NYWGJLBU.js +19 -0
- package/dist/commands/chunk-O3NDWYNT.js +68 -0
- package/dist/commands/chunk-OAAVY2JK.js +49 -0
- package/dist/commands/chunk-OF4BY4N7.js +32 -0
- package/dist/commands/chunk-OGS2DK7I.js +47 -0
- package/dist/commands/chunk-OHNP3QL2.js +186 -0
- package/dist/commands/chunk-OIPV3PWW.js +870 -0
- package/dist/commands/chunk-OIX2363L.js +16 -0
- package/dist/commands/chunk-OJ65BZBV.js +646 -0
- package/dist/commands/chunk-OKYFQJW3.js +22 -0
- package/dist/commands/chunk-OKZWEVR4.js +352 -0
- package/dist/commands/chunk-OL6IF4JC.js +20 -0
- package/dist/commands/chunk-OMPRILFH.js +29 -0
- package/dist/commands/chunk-OOWGH2RG.js +85 -0
- package/dist/commands/chunk-OP2RFVLS.js +102 -0
- package/dist/commands/chunk-ORKVN2LO.js +56 -0
- package/dist/commands/chunk-OSBWXZJ4.js +492 -0
- package/dist/commands/chunk-OT3UMEWK.js +47 -0
- package/dist/commands/chunk-OVWPZDWP.js +64 -0
- package/dist/commands/chunk-OWYK2BEJ.js +1222 -0
- package/dist/commands/chunk-OX3VQLV2.js +488 -0
- package/dist/commands/chunk-OZJP77UM.js +103 -0
- package/dist/commands/chunk-OZZWRJQI.js +246 -0
- package/dist/commands/chunk-P3H3DKTE.js +69 -0
- package/dist/commands/chunk-P4D5RESF.js +88 -0
- package/dist/commands/chunk-P4KIQRSL.js +119 -0
- package/dist/commands/chunk-P5SOYWH2.js +37 -0
- package/dist/commands/chunk-P7FPXAHP.js +29 -0
- package/dist/commands/chunk-PBOS7MTW.js +6 -0
- package/dist/commands/chunk-PE7B7242.js +84 -0
- package/dist/commands/chunk-PFO7EYAP.js +45 -0
- package/dist/commands/chunk-PHLOTUB7.js +366 -0
- package/dist/commands/chunk-PTNQCCIB.js +41 -0
- package/dist/commands/chunk-PTZEFQUX.js +211 -0
- package/dist/commands/chunk-PYOK73QE.js +44 -0
- package/dist/commands/chunk-Q426ZSZ4.js +131 -0
- package/dist/commands/chunk-Q5Q2QYVU.js +112 -0
- package/dist/commands/chunk-Q6SKKQVJ.js +34 -0
- package/dist/commands/chunk-Q7EEIOAD.js +120 -0
- package/dist/commands/chunk-QABRNGQV.js +88 -0
- package/dist/commands/chunk-QAHFPCFR.js +50 -0
- package/dist/commands/chunk-QDFVVRQP.js +92 -0
- package/dist/commands/chunk-QF4WC2AE.js +10 -0
- package/dist/commands/chunk-QGAERR7D.js +99 -0
- package/dist/commands/chunk-QGATHT4S.js +114 -0
- package/dist/commands/chunk-QHWJJ6X5.js +53 -0
- package/dist/commands/chunk-QJRVDE7T.js +307 -0
- package/dist/commands/chunk-QKTTKAXM.js +119 -0
- package/dist/commands/chunk-QMDKDQKW.js +114 -0
- package/dist/commands/chunk-QOSC5RKD.js +18 -0
- package/dist/commands/chunk-QQ4CIYMF.js +132 -0
- package/dist/commands/chunk-QQBMVC5W.js +227 -0
- package/dist/commands/chunk-QV5FKMOU.js +80 -0
- package/dist/commands/chunk-QVOFWFWC.js +134 -0
- package/dist/commands/chunk-QWWTC3XR.js +109 -0
- package/dist/commands/chunk-QX2R6UJG.js +15 -0
- package/dist/commands/chunk-QXQ56E56.js +27 -0
- package/dist/commands/chunk-R2THGPI3.js +99 -0
- package/dist/commands/chunk-R54Z2Z3X.js +114 -0
- package/dist/commands/chunk-R6QE5VJG.js +46 -0
- package/dist/commands/chunk-R7IT5VOL.js +27 -0
- package/dist/commands/chunk-RBU2NKHF.js +44 -0
- package/dist/commands/chunk-RDRN56E4.js +92 -0
- package/dist/commands/chunk-RG53UFNW.js +418 -0
- package/dist/commands/chunk-RGDFWJPZ.js +135 -0
- package/dist/commands/chunk-RGGEQM6G.js +140 -0
- package/dist/commands/chunk-RH6ZWJOA.js +77 -0
- package/dist/commands/chunk-RHKCWJQX.js +62 -0
- package/dist/commands/chunk-RKIAX4DZ.js +191 -0
- package/dist/commands/chunk-RLBFEHHC.js +300 -0
- package/dist/commands/chunk-RMDLFLPE.js +58 -0
- package/dist/commands/chunk-RN2YDNLF.js +229 -0
- package/dist/commands/chunk-ROJXMBXP.js +85 -0
- package/dist/commands/chunk-RRAIRS2T.js +54 -0
- package/dist/commands/chunk-RS764ZMU.js +46 -0
- package/dist/commands/chunk-RSSJWMQS.js +30 -0
- package/dist/commands/chunk-RUIBQMOV.js +38 -0
- package/dist/commands/chunk-RUQY5TS3.js +83 -0
- package/dist/commands/chunk-RVUJ6F5L.js +181 -0
- package/dist/commands/chunk-RW64VHEB.js +130 -0
- package/dist/commands/chunk-RXAZJMSZ.js +18 -0
- package/dist/commands/chunk-RXYMJPJB.js +114 -0
- package/dist/commands/chunk-S4M6UWR2.js +103 -0
- package/dist/commands/chunk-S4X5PJV7.js +40 -0
- package/dist/commands/chunk-SADJPNDB.js +67 -0
- package/dist/commands/chunk-SASX3W2M.js +99 -0
- package/dist/commands/chunk-SBGTCT2C.js +89 -0
- package/dist/commands/chunk-SFNBUB6D.js +110 -0
- package/dist/commands/chunk-SJ2ZN575.js +90 -0
- package/dist/commands/chunk-SP7DKYGU.js +1263 -0
- package/dist/commands/chunk-SRG6PKVS.js +49 -0
- package/dist/commands/chunk-SSL6A3Y4.js +165 -0
- package/dist/commands/chunk-SV4FZR24.js +78 -0
- package/dist/commands/chunk-SVAKCXZ7.js +44 -0
- package/dist/commands/chunk-SVTS7ACS.js +18 -0
- package/dist/commands/chunk-SVV4U5AR.js +62 -0
- package/dist/commands/chunk-SXJM4DZ5.js +40 -0
- package/dist/commands/chunk-SXULS6DX.js +112 -0
- package/dist/commands/chunk-SYB3M632.js +62 -0
- package/dist/commands/chunk-SYOXIKB7.js +705 -0
- package/dist/commands/chunk-SZG5HDNP.js +321 -0
- package/dist/commands/chunk-T25S4QHL.js +52 -0
- package/dist/commands/chunk-T4F33UKZ.js +114 -0
- package/dist/commands/chunk-T4UYEHWG.js +50 -0
- package/dist/commands/chunk-TAEGXID2.js +58 -0
- package/dist/commands/chunk-TBIX5FRN.js +106 -0
- package/dist/commands/chunk-TBNQIFWL.js +101 -0
- package/dist/commands/chunk-TCBUX52E.js +701 -0
- package/dist/commands/chunk-TEPYEUYG.js +585 -0
- package/dist/commands/chunk-TFLHYC2F.js +141 -0
- package/dist/commands/chunk-TJKM56WJ.js +109 -0
- package/dist/commands/chunk-TLAB552K.js +445 -0
- package/dist/commands/chunk-TP6L4W3W.js +82 -0
- package/dist/commands/chunk-TR7WWYD5.js +60 -0
- package/dist/commands/chunk-TUIFS5E7.js +72 -0
- package/dist/commands/chunk-TVZXG4Y4.js +197 -0
- package/dist/commands/chunk-TYNH2R66.js +1150 -0
- package/dist/commands/chunk-U3IVVR4W.js +33 -0
- package/dist/commands/chunk-U5HQQWRE.js +20 -0
- package/dist/commands/chunk-U5P6G3UV.js +77 -0
- package/dist/commands/chunk-U7XU5RG3.js +86 -0
- package/dist/commands/chunk-U7Y6RKLK.js +168 -0
- package/dist/commands/chunk-UCI4AL3Q.js +35 -0
- package/dist/commands/chunk-UCUSCLEK.js +90 -0
- package/dist/commands/chunk-UGCUSRZF.js +17 -0
- package/dist/commands/chunk-UIMMWH7U.js +98 -0
- package/dist/commands/chunk-UKBBWMLE.js +1189 -0
- package/dist/commands/chunk-ULVVGGTY.js +64 -0
- package/dist/commands/chunk-UNMSZGSG.js +269 -0
- package/dist/commands/chunk-UOVUUVDK.js +18 -0
- package/dist/commands/chunk-URDT2O2K.js +36 -0
- package/dist/commands/chunk-UREXZJDB.js +210 -0
- package/dist/commands/chunk-UTHUX7VU.js +88 -0
- package/dist/commands/chunk-UWLLZQJB.js +110 -0
- package/dist/commands/chunk-V4Z7G4UH.js +73 -0
- package/dist/commands/chunk-V5FD7DVV.js +48 -0
- package/dist/commands/chunk-V5OUZFWK.js +128 -0
- package/dist/commands/chunk-VCPGFBMN.js +655 -0
- package/dist/commands/chunk-VCR77BHO.js +8 -0
- package/dist/commands/chunk-VDGNXSP3.js +174 -0
- package/dist/commands/chunk-VGPIQNDB.js +24 -0
- package/dist/commands/chunk-VHRNXWVP.js +28 -0
- package/dist/commands/chunk-VJE3RJAX.js +23 -0
- package/dist/commands/chunk-VJS2MCLA.js +412 -0
- package/dist/commands/chunk-VK6D5CWA.js +161 -0
- package/dist/commands/chunk-VOF3N4WO.js +114 -0
- package/dist/commands/chunk-VQRT32JB.js +52 -0
- package/dist/commands/chunk-VQVPAVQ3.js +45 -0
- package/dist/commands/chunk-VV4TQYGD.js +38 -0
- package/dist/commands/chunk-W2IA2LV3.js +15 -0
- package/dist/commands/chunk-W3FX7FYN.js +84 -0
- package/dist/commands/chunk-W6MVQEMO.js +109 -0
- package/dist/commands/chunk-W7DRUOF7.js +122 -0
- package/dist/commands/chunk-WAEN2RTT.js +161 -0
- package/dist/commands/chunk-WB4T3VY2.js +104 -0
- package/dist/commands/chunk-WCEUMOKK.js +84 -0
- package/dist/commands/chunk-WJ4NEDNI.js +288 -0
- package/dist/commands/chunk-WL5JHB3I.js +12 -0
- package/dist/commands/chunk-WMMGXJXP.js +92 -0
- package/dist/commands/chunk-WOFLW2LX.js +26 -0
- package/dist/commands/chunk-WPAQUMHC.js +28 -0
- package/dist/commands/chunk-WQ6FS544.js +35 -0
- package/dist/commands/chunk-WTH6NTXU.js +128 -0
- package/dist/commands/chunk-WVR4RUFP.js +327 -0
- package/dist/commands/chunk-WWVYEHQT.js +272 -0
- package/dist/commands/chunk-X3TNPALI.js +213 -0
- package/dist/commands/chunk-X5XYKDOD.js +7 -0
- package/dist/commands/chunk-XC6GG5JR.js +78 -0
- package/dist/commands/chunk-XDF25GSU.js +536 -0
- package/dist/commands/chunk-XFPEUYDV.js +67 -0
- package/dist/commands/chunk-XFWI6WHH.js +60 -0
- package/dist/commands/chunk-XGMRAKSL.js +85 -0
- package/dist/commands/chunk-XHGWMD3L.js +104 -0
- package/dist/commands/chunk-XI2ABCRX.js +209 -0
- package/dist/commands/chunk-XKSUBUIH.js +116 -0
- package/dist/commands/chunk-XPBF5DG3.js +419 -0
- package/dist/commands/chunk-XSKB6ZUA.js +123 -0
- package/dist/commands/chunk-XUMYPESL.js +160 -0
- package/dist/commands/chunk-XXC32PVL.js +541 -0
- package/dist/commands/chunk-XXN2EZBY.js +133 -0
- package/dist/commands/chunk-XXNEY4B3.js +110 -0
- package/dist/commands/chunk-XZQWEVR3.js +84 -0
- package/dist/commands/chunk-Y27PTXXI.js +258 -0
- package/dist/commands/chunk-Y2RNUX4W.js +8 -0
- package/dist/commands/chunk-Y4EBUI6M.js +237 -0
- package/dist/commands/chunk-YAU3LYNF.js +60 -0
- package/dist/commands/chunk-YDURQICF.js +204 -0
- package/dist/commands/chunk-YGFOGA7C.js +1153 -0
- package/dist/commands/chunk-YHJ2AJMA.js +66 -0
- package/dist/commands/chunk-YIA6FC3K.js +78 -0
- package/dist/commands/chunk-YM77CF4D.js +183 -0
- package/dist/commands/chunk-YNPRJCEO.js +81 -0
- package/dist/commands/chunk-YTBQAD5W.js +170 -0
- package/dist/commands/chunk-YVH2OLDS.js +104 -0
- package/dist/commands/chunk-Z3WGHIVB.js +122 -0
- package/dist/commands/chunk-ZAAHZY2A.js +19 -0
- package/dist/commands/chunk-ZBFNQUY7.js +12 -0
- package/dist/commands/chunk-ZBZ5DDCH.js +1866 -0
- package/dist/commands/chunk-ZECFKW7D.js +60 -0
- package/dist/commands/chunk-ZLRUHSOP.js +48 -0
- package/dist/commands/chunk-ZNR75OXP.js +444 -0
- package/dist/commands/chunk-ZNX2LJCQ.js +29 -0
- package/dist/commands/chunk-ZSOR4ISJ.js +75 -0
- package/dist/commands/chunk-ZVAIIHBE.js +63 -0
- package/dist/commands/chunk-ZYFHYQA7.js +51 -0
- package/dist/commands/chunk-ZYGOZT4J.js +39 -0
- package/dist/commands/chunk-ZZFFSQF4.js +218 -0
- package/dist/commands/chunk-ZZULXNC2.js +47 -0
- package/dist/commands/chunk-ZZXO6TFH.js +232 -0
- package/dist/commands/ci-timing-cli.js +76 -0
- package/dist/commands/clone-scan-cli.js +189 -0
- package/dist/commands/code-symbol-cli.js +185 -0
- package/dist/commands/codex-hook-adapter.js +356 -0
- package/dist/commands/command-derive.js +802 -0
- package/dist/commands/cost-audit-main.js +209 -0
- package/dist/commands/cost-main.js +28 -0
- package/dist/commands/cspell-cached.js +159 -0
- package/dist/commands/defect-origin-main.js +222 -0
- package/dist/commands/defect-report-main.js +289 -0
- package/dist/commands/delegation-cli.js +65 -0
- package/dist/commands/diff-summary-cli.js +147 -0
- package/dist/commands/disposition-cli.js +411 -0
- package/dist/commands/doctor.js +267 -0
- package/dist/commands/document-read-cli.js +119 -844
- package/dist/commands/document-section-main.js +106 -835
- package/dist/commands/dogfood-commit-cli.js +102 -0
- package/dist/commands/e2e-retry-check.js +79 -0
- package/dist/commands/edit-files-cli.js +147 -0
- package/dist/commands/effect-audit-cli.js +320 -0
- package/dist/commands/epic-audit-main.js +160 -0
- package/dist/commands/epic-bundle-main.js +201 -0
- package/dist/commands/epic-check.js +91 -0
- package/dist/commands/epic-main.js +224 -0
- package/dist/commands/epic-next-main.js +159 -0
- package/dist/commands/eval-run.js +838 -0
- package/dist/commands/fanout-cli.js +86 -0
- package/dist/commands/format-edited-cli.js +118 -0
- package/dist/commands/format.js +140 -0
- package/dist/commands/fresh-machine-cli.js +691 -0
- package/dist/commands/gh-usage-cli.js +224 -0
- package/dist/commands/git-followup-workflow.js +2027 -0
- package/dist/commands/git-gh-checks-failed-main.js +156 -0
- package/dist/commands/git-workflow.js +603 -0
- package/dist/commands/github-release-cli.js +276 -0
- package/dist/commands/hook-ledger-cli.js +364 -0
- package/dist/commands/init-main.js +99 -0
- package/dist/commands/inputs.json +2795 -0
- package/dist/commands/issue-ack-cli.js +106 -0
- package/dist/commands/issue-already-done-cli.js +310 -0
- package/dist/commands/issue-body-cli.js +186 -0
- package/dist/commands/issue-cite-main.js +163 -0
- package/dist/commands/issue-comment-main.js +76 -0
- package/dist/commands/issue-consolidate-cli.js +330 -0
- package/dist/commands/issue-file-main.js +423 -0
- package/dist/commands/issue-fold-existing-cli.js +508 -0
- package/dist/commands/issue-fold-main.js +114 -0
- package/dist/commands/issue-lint-main.js +127 -0
- package/dist/commands/issue-measured-cli.js +210 -0
- package/dist/commands/issue-plan-cli.js +354 -0
- package/dist/commands/issue-premise-unmet-cli.js +273 -0
- package/dist/commands/issue-priority-cli.js +185 -0
- package/dist/commands/issue-read-main.js +80 -0
- package/dist/commands/issue-release-class-cli.js +120 -0
- package/dist/commands/issue-release-main.js +72 -0
- package/dist/commands/issue-scout-main.js +205 -0
- package/dist/commands/issue-spill-main.js +568 -0
- package/dist/commands/issue-state-main.js +77 -0
- package/dist/commands/issue-tick-cli.js +113 -0
- package/dist/commands/josh-completion.js +153 -0
- package/dist/commands/lane-adopt-cli.js +275 -0
- package/dist/commands/lane-breakdown-cli.js +731 -0
- package/dist/commands/lane-cli.js +869 -0
- package/dist/commands/lane-launch-main.js +103 -0
- package/dist/commands/lane-limit-cli.js +288 -0
- package/dist/commands/lane-measure-cli.js +1913 -0
- package/dist/commands/lane-pause-cli.js +255 -0
- package/dist/commands/lane-plan-cli.js +329 -0
- package/dist/commands/lane-resolve-cli.js +301 -0
- package/dist/commands/lane-restart-cli.js +393 -0
- package/dist/commands/lane-why-cli.js +310 -0
- package/dist/commands/lane-withdraw-cli.js +192 -0
- package/dist/commands/latest-corepack.js +278 -0
- package/dist/commands/latest-if-required-cli.js +124 -0
- package/dist/commands/latest-lane-guard-main.js +16 -0
- package/dist/commands/latest-scope-main.js +38 -0
- package/dist/commands/latest-update.js +449 -0
- package/dist/commands/lines-command.js +121 -0
- package/dist/commands/lint-parallel-main.js +135 -0
- package/dist/commands/lint-related.js +584 -0
- package/dist/commands/lint-rule.js +306 -0
- package/dist/commands/lockfile-policy.js +107 -0
- package/dist/commands/main-merge-main.js +61 -0
- package/dist/commands/main-sync-main.js +60 -0
- package/dist/commands/managed-config-scope-cli.js +66 -0
- package/dist/commands/measure-rerun-cli.js +124 -0
- package/dist/commands/metrics-command.js +892 -0
- package/dist/commands/observation-depth-cli.js +109 -0
- package/dist/commands/observation-record-cli.js +87 -0
- package/dist/commands/observations-flush-cli.js +117 -0
- package/dist/commands/oracle-list-cli.js +73 -0
- package/dist/commands/overrides-check.js +112 -0
- package/dist/commands/package-scout-cli.js +537 -0
- package/dist/commands/pin-verify-cli.js +88 -0
- package/dist/commands/plan-consumers-main.js +49 -0
- package/dist/commands/plan-scaffold-cli.js +408 -0
- package/dist/commands/port-command.js +64 -0
- package/dist/commands/pr-classification-main.js +37 -0
- package/dist/commands/pre-commit-lint.js +162 -0
- package/dist/commands/pre-commit-type-check.js +211 -0
- package/dist/commands/pre-push-unit.js +271 -0
- package/dist/commands/pretool-guard-cli.js +204 -0
- package/dist/commands/prevent-main-commit.js +42 -0
- package/dist/commands/project-profile-cli.js +59 -0
- package/dist/commands/propagate.js +368 -0
- package/dist/commands/prose-stale-cli.js +129 -0
- package/dist/commands/publish-tag-cli.js +30 -0
- package/dist/commands/publishable-range-check.js +191 -0
- package/dist/commands/read-files-cli.js +81 -0
- package/dist/commands/read-set-cli.js +158 -1745
- package/dist/commands/reconcile-templates.js +135 -0
- package/dist/commands/refactor-scan-cli.js +175 -0
- package/dist/commands/release-cli.js +752 -0
- package/dist/commands/release-scope-main.js +82 -0
- package/dist/commands/rename-cli.js +430 -0
- package/dist/commands/repo-party-cli.js +58 -0
- package/dist/commands/report-lint-cli.js +124 -0
- package/dist/commands/report-template-cli.js +69 -0
- package/dist/commands/reserved-run.js +127 -0
- package/dist/commands/retrospective-cli.js +557 -0
- package/dist/commands/review-attest-cli.js +118 -0
- package/dist/commands/review-brief-main.js +265 -0
- package/dist/commands/review-findings-cli.js +114 -0
- package/dist/commands/review-pair-cli.js +392 -0
- package/dist/commands/review-record-main.js +247 -0
- package/dist/commands/review-round2-cli.js +350 -0
- package/dist/commands/review-stops-cli.js +149 -0
- package/dist/commands/review-submit-cli.js +628 -0
- package/dist/commands/rule-list.js +182 -0
- package/dist/commands/rule-value-cli.js +1060 -0
- package/dist/commands/ruleset-check-cli.js +67 -0
- package/dist/commands/run-add-cli.js +274 -0
- package/dist/commands/run-board-main.js +276 -0
- package/dist/commands/run-carry-cli.js +644 -0
- package/dist/commands/run-chain-cli.js +560 -0
- package/dist/commands/run-cut-cli.js +714 -0
- package/dist/commands/run-ending-cli.js +166 -0
- package/dist/commands/run-entry-cli.js +1063 -0
- package/dist/commands/run-event-cli.js +298 -0
- package/dist/commands/run-handoff-cli.js +368 -0
- package/dist/commands/run-handoff-lanes-cli.js +233 -0
- package/dist/commands/run-hold-main.js +205 -0
- package/dist/commands/run-liveness-cli.js +190 -0
- package/dist/commands/run-merge-main.js +249 -0
- package/dist/commands/run-next-cli.js +241 -0
- package/dist/commands/run-park-cli.js +412 -0
- package/dist/commands/run-pause-cli.js +348 -0
- package/dist/commands/run-pickup-cli.js +196 -0
- package/dist/commands/run-prep-main.js +210 -21168
- package/dist/commands/run-prime-cli.js +301 -0
- package/dist/commands/run-progress-main.js +671 -0
- package/dist/commands/run-report-cli.js +377 -0
- package/dist/commands/run-review-cli.js +796 -0
- package/dist/commands/run-ship-cli.js +2620 -0
- package/dist/commands/run-ship-evidence-cli.js +289 -0
- package/dist/commands/run-ship-lap-W5T2VHFC.js +30 -0
- package/dist/commands/run-ship-wait-main.js +148 -0
- package/dist/commands/run-split-cli.js +527 -0
- package/dist/commands/run-stale-main.js +255 -0
- package/dist/commands/run-status-cli.js +217 -0
- package/dist/commands/run-step-cli.js +428 -27653
- package/dist/commands/run-tail-cli.js +119 -0
- package/dist/commands/run-tidy-main.js +403 -0
- package/dist/commands/run-wake-main.js +290 -0
- package/dist/commands/run-watcher-guard-cli.js +129 -0
- package/dist/commands/secretlint-scan.js +84 -0
- package/dist/commands/security-audit-main.js +151 -0
- package/dist/commands/security-audit-provision-main.js +52 -0
- package/dist/commands/selfcheck-cli.js +410 -0
- package/dist/commands/session-language-main.js +140 -0
- package/dist/commands/sonar-hotspots-cli.js +133 -0
- package/dist/commands/sonar-new-code-cli.js +143 -0
- package/dist/commands/split-assess-cli.js +139 -0
- package/dist/commands/split-child-recover-cli.js +169 -0
- package/dist/commands/start.js +709 -0
- package/dist/commands/stash-pop-main.js +26 -0
- package/dist/commands/stash-push-main.js +30 -0
- package/dist/commands/stop-guard.js +568 -0
- package/dist/commands/sync-main.js +58 -0
- package/dist/commands/telegram-test-main.js +64 -0
- package/dist/commands/test-declared.js +256 -0
- package/dist/commands/test-e2e-guard.js +201 -0
- package/dist/commands/test-pinned-main.js +190 -0
- package/dist/commands/test-reach-cli.js +112 -0
- package/dist/commands/test-red-main.js +46 -0
- package/dist/commands/test-related-ZCNC46MS.js +113 -0
- package/dist/commands/test-related-main.js +224 -0
- package/dist/commands/test-unit-guard-main.js +88 -0
- package/dist/commands/time-cli.js +353 -0
- package/dist/commands/time-density-cli.js +182 -0
- package/dist/commands/tree-status-cli.js +172 -0
- package/dist/commands/type-check-command.js +75 -0
- package/dist/commands/ui-routes-cli.js +135 -0
- package/dist/commands/ui-shot-cli.js +131 -0
- package/dist/commands/uninstall.js +425 -0
- package/dist/commands/unused-members-STULPRBU.js +331 -0
- package/dist/commands/unused-members-cli.js +55 -0
- package/dist/commands/upstream-interrupt-main.js +453 -0
- package/dist/commands/usage-tee-cli.js +60 -0
- package/dist/commands/verification-gate.js +808 -0
- package/dist/commands/version-check.js +497 -0
- package/dist/hooks/audit-provision.js +20 -9
- package/dist/hooks/chunk-5CUXGQT6.js +8353 -0
- package/dist/hooks/{chunk-UJ3FPMMM.js → chunk-5R5YFQR5.js} +445 -142
- package/dist/hooks/chunk-6RLY27FT.js +232 -0
- package/dist/hooks/chunk-6YGMIODI.js +86 -0
- package/dist/hooks/chunk-AO4TOV4V.js +5026 -0
- package/dist/hooks/chunk-CY3ADSDR.js +28580 -0
- package/dist/hooks/chunk-FOW4B7OQ.js +1795 -0
- package/dist/hooks/chunk-G5WSPYJ6.js +5663 -0
- package/dist/hooks/{chunk-CQD4LJE6.js → chunk-HHIVWGHX.js} +3290 -1279
- package/dist/hooks/chunk-IURJANNZ.js +1082 -0
- package/dist/hooks/chunk-LRD2ERRI.js +299 -0
- package/dist/hooks/chunk-OV22V63P.js +10980 -0
- package/dist/hooks/chunk-SAAPRHTK.js +43 -0
- package/dist/hooks/chunk-SXABK6UV.js +321 -0
- package/dist/hooks/chunk-U3ON2GBN.js +12 -0
- package/dist/hooks/chunk-YEURBB4L.js +32 -0
- package/dist/hooks/codex-hook-adapter.js +61 -25
- package/dist/hooks/daemon.js +67667 -0
- package/dist/hooks/format-edited.js +15 -5
- package/dist/hooks/inputs.json +601 -403
- package/dist/hooks/pretool-guard.js +11 -7
- package/dist/hooks/ready.js +300 -0
- package/dist/hooks/run-ship-lap-VCEOUHQI.js +8 -0
- package/dist/hooks/session-lang.js +515 -133
- package/dist/hooks/stop-guard.js +9370 -4513
- package/dist/inputs.json +169 -0
- package/dist/josh.js +9753 -6793
- package/dist/self-sync-guard/index.js +85 -14
- package/dist/version/index.js +659 -85
- package/eslint/base.js +36 -11
- package/eslint/config-fingerprint.js +164 -21
- package/eslint/rules/code-quality.js +6 -0
- package/eslint/rules/comment-why-only.js +40 -16
- package/eslint/rules/english-only-prose.js +10 -3
- package/eslint/rules/import.js +3 -17
- package/eslint/rules/test-helper-bans.js +34 -0
- package/eslint/untyped-environment.js +21 -0
- package/eslint/untyped.js +60 -0
- package/lefthook/base.yml +4 -5
- package/package.json +17 -15
- package/pnpm-workspace.yaml +7 -0
- package/ports/index.js +8 -15
- package/prompts/coding-standards.md +4 -43
- package/prompts/collaboration-workflow/file-edits.md +10 -10
- package/prompts/collaboration-workflow/gh-rest.md +14 -7
- package/prompts/collaboration-workflow/issue-template.en.md +129 -0
- package/prompts/collaboration-workflow/issue-template.md +49 -56
- package/prompts/collaboration-workflow/lane-instructions.md +1 -0
- package/prompts/collaboration-workflow/measurement.md +13 -17
- package/prompts/collaboration-workflow/operating-rules.md +10 -7
- package/prompts/collaboration-workflow/output-bounds.md +3 -3
- package/prompts/collaboration-workflow/overview.md +8 -17
- package/prompts/collaboration-workflow/plan-comment.md +1 -1
- package/prompts/collaboration-workflow/principles.md +17 -19
- package/prompts/collaboration-workflow/report-format.md +6 -5
- package/prompts/collaboration-workflow/residency.md +1 -0
- package/prompts/collaboration-workflow/rule-delivery.md +4 -12
- package/prompts/collaboration-workflow/shell-body.md +7 -7
- package/prompts/collaboration-workflow/turn-batching.md +2 -2
- package/prompts/collaboration-workflow/upstream-interrupt.md +8 -8
- package/prompts/collaboration-workflow/wip-cap.md +3 -3
- package/prompts/refactoring.md +4 -3
- package/prompts/review-rubric.md +8 -21
- package/prompts/review.md +52 -80
- package/prompts/sonar-hotspot-handling.md +1 -1
- package/prompts/testing-guide.md +15 -2
- package/scripts/agent/agent-argv.ts +30 -9
- package/scripts/agent/agent-consultation-model.ts +47 -0
- package/scripts/agent/agent-event.ts +11 -2
- package/scripts/agent/agent-launch-environment.ts +6 -57
- package/scripts/agent/agent-model-alias.ts +19 -0
- package/scripts/agent/agent-phase-profile.ts +89 -0
- package/scripts/agent/agent-profile-schema.ts +98 -0
- package/scripts/agent/agent-role-profile.ts +88 -133
- package/scripts/agent/agent-safe-text.ts +2 -2
- package/scripts/agent/agent-session-role.ts +25 -3
- package/scripts/agent/agent-ship-cap.ts +44 -0
- package/scripts/agent/agent-worker-profile.ts +154 -0
- package/scripts/agent/answer-judge.ts +174 -0
- package/scripts/agent/answer-verdict.ts +122 -0
- package/scripts/agent/claude-agent-argv.ts +13 -7
- package/scripts/agent/codex-agent-argv.ts +17 -143
- package/scripts/agent/codex-home-source.ts +1 -1
- package/scripts/agent/codex-hooks.ts +29 -6
- package/scripts/agent/judgment-agent-argv.ts +49 -0
- package/scripts/agent/lane-instructions.ts +33 -4
- package/scripts/auto-ok/auto-ok-author.ts +14 -3
- package/scripts/auto-ok/auto-ok-cli.ts +20 -12
- package/scripts/auto-ok/auto-ok-judge-cli.ts +10 -14
- package/scripts/auto-ok/auto-ok-judge-read.ts +3 -3
- package/scripts/auto-ok/auto-ok-judge-write.ts +20 -17
- package/scripts/auto-ok/auto-ok-judge.ts +4 -2
- package/scripts/backlog/backlog-arrival-added.ts +47 -11
- package/scripts/backlog/backlog-arrival.ts +90 -23
- package/scripts/backlog/backlog-auto-triage.ts +130 -0
- package/scripts/backlog/backlog-budget-cli.ts +2 -1
- package/scripts/backlog/backlog-budget.ts +31 -5
- package/scripts/backlog/backlog-defect-priority.ts +32 -19
- package/scripts/backlog/backlog-drain-flush.ts +22 -0
- package/scripts/backlog/backlog-drive-adopt.ts +2 -2
- package/scripts/backlog/backlog-drive-after-merge.ts +123 -0
- package/scripts/backlog/backlog-drive-args.ts +60 -7
- package/scripts/backlog/backlog-drive-cli.ts +69 -64
- package/scripts/backlog/backlog-drive-collect.ts +46 -0
- package/scripts/backlog/backlog-drive-epic.ts +1 -1
- package/scripts/backlog/backlog-drive-escalate.ts +115 -0
- package/scripts/backlog/backlog-drive-hold.ts +32 -8
- package/scripts/backlog/backlog-drive-idle.ts +21 -10
- package/scripts/backlog/backlog-drive-launch-pass.ts +79 -23
- package/scripts/backlog/backlog-drive-launch.ts +73 -7
- package/scripts/backlog/backlog-drive-listing.ts +59 -0
- package/scripts/backlog/backlog-drive-memory.ts +4 -5
- package/scripts/backlog/backlog-drive-named-offer.ts +112 -22
- package/scripts/backlog/backlog-drive-named.ts +11 -4
- package/scripts/backlog/backlog-drive-offer-argv.ts +10 -2
- package/scripts/backlog/backlog-drive-park-triage.ts +57 -0
- package/scripts/backlog/backlog-drive-paused.ts +2 -1
- package/scripts/backlog/backlog-drive-rate-limit.ts +29 -0
- package/scripts/backlog/backlog-drive-rate.ts +73 -0
- package/scripts/backlog/backlog-drive-record.ts +58 -0
- package/scripts/backlog/backlog-drive-restore.ts +38 -8
- package/scripts/backlog/backlog-drive-retrospective-unit.ts +80 -0
- package/scripts/backlog/backlog-drive-retrospective.ts +35 -1
- package/scripts/backlog/backlog-drive-retry.ts +85 -0
- package/scripts/backlog/backlog-drive-seats.ts +4 -7
- package/scripts/backlog/backlog-drive-split-unit.ts +108 -0
- package/scripts/backlog/backlog-drive-stalled-retry.ts +232 -0
- package/scripts/backlog/backlog-drive-state.ts +28 -0
- package/scripts/backlog/backlog-drive-tick.ts +77 -0
- package/scripts/backlog/backlog-drive-token-handling.ts +2 -2
- package/scripts/backlog/backlog-drive-trace.ts +45 -0
- package/scripts/backlog/backlog-drive-unit.ts +54 -0
- package/scripts/backlog/backlog-drive-unread.ts +1 -1
- package/scripts/backlog/backlog-drive.ts +142 -99
- package/scripts/backlog/backlog-gate-scope.ts +15 -3
- package/scripts/backlog/backlog-hold-codes.ts +23 -0
- package/scripts/backlog/backlog-hold-text.ts +107 -0
- package/scripts/backlog/backlog-measure-close.ts +61 -31
- package/scripts/backlog/backlog-named.ts +1 -1
- package/scripts/backlog/backlog-next-offer.ts +138 -0
- package/scripts/backlog/backlog-next-report.ts +221 -0
- package/scripts/backlog/backlog-next-shared.ts +22 -4
- package/scripts/backlog/backlog-next-size.ts +108 -0
- package/scripts/backlog/backlog-next.ts +52 -187
- package/scripts/backlog/backlog-occupied.ts +7 -7
- package/scripts/backlog/backlog-offer-cli.ts +13 -2
- package/scripts/backlog/backlog-offer-timing.ts +141 -0
- package/scripts/backlog/backlog-offer.ts +26 -6
- package/scripts/backlog/backlog-overlap.ts +7 -1
- package/scripts/backlog/backlog-plan-cli.ts +27 -3
- package/scripts/backlog/backlog-plan-comment.ts +36 -14
- package/scripts/backlog/backlog-plan-words.ts +69 -0
- package/scripts/backlog/backlog-plan.ts +63 -46
- package/scripts/backlog/backlog-pool.ts +42 -13
- package/scripts/backlog/backlog-preflight.ts +67 -0
- package/scripts/backlog/backlog-ready.ts +7 -69
- package/scripts/backlog/backlog-resumable.ts +65 -0
- package/scripts/backlog/backlog-resume-reads.ts +119 -0
- package/scripts/backlog/backlog-stalled-detect.ts +4 -3
- package/scripts/backlog/backlog-stalled.ts +3 -2
- package/scripts/backlog/backlog-triage-adopt.ts +239 -0
- package/scripts/backlog/backlog-triage-approval.ts +94 -0
- package/scripts/backlog/backlog-triage-cli.ts +270 -0
- package/scripts/backlog/backlog-triage-decision.ts +49 -0
- package/scripts/backlog/backlog-triage-park.ts +53 -0
- package/scripts/backlog/backlog-triage-pass.ts +113 -0
- package/scripts/backlog/backlog-triage-unblock.ts +68 -0
- package/scripts/backlog/backlog-wait-cause.ts +76 -16
- package/scripts/backlog/backlog-yield-cap.ts +108 -0
- package/scripts/backlog/backlogrun-args.ts +45 -16
- package/scripts/backlog/backlogrun-cli.ts +82 -18
- package/scripts/backlog/backlogrun-launch.ts +12 -4
- package/scripts/backlog/backlogrun-replace.ts +44 -4
- package/scripts/build/build-bin.ts +25 -2
- package/scripts/build/build-codex-hooks.ts +2 -2
- package/scripts/build/build-commands.ts +27 -19
- package/scripts/build/build-hooks.ts +117 -22
- package/scripts/build/hook-bundle-stamp.ts +15 -5
- package/scripts/build/local-bin.ts +27 -1
- package/scripts/build/source-location.ts +82 -0
- package/scripts/ci/ci-timing-cli.ts +73 -0
- package/scripts/ci/ci-timing-table.ts +84 -0
- package/scripts/ci/ci-timing.ts +104 -0
- package/scripts/ci/composite-actions.ts +1 -1
- package/scripts/ci/pr-classification.ts +89 -11
- package/scripts/code/code-symbol-cli.ts +121 -0
- package/scripts/code/code-symbol.ts +127 -0
- package/scripts/config-merge/patch-json-key.ts +4 -7
- package/scripts/cost-runtime/cost-blocks.ts +3 -4
- package/scripts/cost-runtime/cost-cli.ts +4 -7
- package/scripts/cost-runtime/cost-pricing.ts +2 -2
- package/scripts/cost-runtime/cost-tokens.ts +7 -6
- package/scripts/delegation/delegation-policy.ts +2 -2
- package/scripts/delegation/duplicate-read-guard.ts +41 -28
- package/scripts/delegation/investigation-guard.ts +13 -5
- package/scripts/delegation/investigation-reads.ts +52 -34
- package/scripts/delegation/large-read-guard.ts +150 -0
- package/scripts/discovery/git-directory.ts +61 -0
- package/scripts/discovery/pin-verify-cli.ts +115 -0
- package/scripts/discovery/repo-discovery.ts +10 -58
- package/scripts/discovery/repo-party.ts +1 -0
- package/scripts/document/backlogrun-parent-read-set.ts +37 -6
- package/scripts/document/capped-print.ts +3 -3
- package/scripts/document/command-reference-line-budget.ts +4 -1
- package/scripts/document/document-byte-budget.ts +34 -16
- package/scripts/document/document-byte-check.ts +1 -1
- package/scripts/document/document-reachability.ts +4 -3
- package/scripts/document/document-scan.ts +37 -6
- package/scripts/document/document-section-cli.ts +13 -1
- package/scripts/document/edit-files-cli.ts +3 -7
- package/scripts/document/entry-read-budget.ts +12 -4
- package/scripts/document/entry-read-set.ts +9 -2
- package/scripts/document/issue-citation-budget.ts +3 -3
- package/scripts/document/lane-child-read-set.ts +21 -29
- package/scripts/document/read-set-cli.ts +17 -10
- package/scripts/document/read-set-point-of-use.ts +13 -9
- package/scripts/document/read-set-trim.ts +42 -2
- package/scripts/epic/epic-audit-checks.ts +1 -1
- package/scripts/epic/epic-audit-cli.ts +19 -21
- package/scripts/epic/epic-audit-main.ts +17 -0
- package/scripts/epic/epic-audit-orphans.ts +1 -1
- package/scripts/epic/epic-audit.ts +6 -3
- package/scripts/epic/epic-blocked-by.ts +198 -0
- package/scripts/epic/epic-body.ts +6 -6
- package/scripts/epic/epic-bundle-apply.ts +41 -10
- package/scripts/epic/epic-bundle-cli.ts +40 -99
- package/scripts/epic/epic-bundle-evidence.ts +2 -2
- package/scripts/epic/epic-bundle-format.ts +21 -7
- package/scripts/epic/epic-bundle-recommend.ts +56 -0
- package/scripts/epic/epic-bundle-referenced.ts +42 -17
- package/scripts/epic/epic-bundle.ts +31 -4
- package/scripts/epic/epic-busy.ts +11 -9
- package/scripts/epic/epic-chains.ts +59 -23
- package/scripts/epic/epic-child-source.ts +111 -0
- package/scripts/epic/epic-cli-untrack.ts +38 -0
- package/scripts/epic/epic-cli.ts +26 -7
- package/scripts/epic/epic-close-comment.ts +4 -2
- package/scripts/epic/epic-close.ts +25 -11
- package/scripts/epic/epic-decide.ts +39 -3
- package/scripts/epic/epic-fetch.ts +116 -24
- package/scripts/epic/epic-graph.ts +1 -0
- package/scripts/epic/epic-label-age.ts +55 -13
- package/scripts/epic/epic-lane-occupancy.ts +75 -0
- package/scripts/epic/epic-lane-offer.ts +49 -13
- package/scripts/epic/epic-main.ts +23 -0
- package/scripts/epic/epic-next-main.ts +2 -4
- package/scripts/epic/epic-next-read.ts +12 -3
- package/scripts/epic/epic-next-views.ts +1 -1
- package/scripts/epic/epic-notify.ts +72 -0
- package/scripts/epic/epic-parse.ts +1 -1
- package/scripts/epic/epic-rank.ts +6 -2
- package/scripts/epic/epic-reference.ts +1 -1
- package/scripts/epic/epic-run.ts +14 -1
- package/scripts/epic/epic-shape.ts +2 -2
- package/scripts/epic/epic-solo-stale.ts +1 -1
- package/scripts/epic/epic-solo.ts +11 -5
- package/scripts/epic/epic-split-reach.ts +107 -0
- package/scripts/epic/epic-triage.ts +29 -5
- package/scripts/epic/epic-untrack-plan.ts +75 -0
- package/scripts/epic/epic-untrack.ts +42 -0
- package/scripts/epic/epic.ts +65 -31
- package/scripts/followup/followup-check-report.ts +70 -0
- package/scripts/followup/followup-ci-path.ts +27 -7
- package/scripts/followup/followup-coderabbit-retrigger.ts +61 -23
- package/scripts/followup/followup-failed-tests.ts +4 -0
- package/scripts/followup/followup-human-merge.ts +109 -0
- package/scripts/followup/followup-job-needs.ts +92 -14
- package/scripts/followup/followup-job-rerun.ts +162 -43
- package/scripts/followup/followup-run-rerun.ts +183 -0
- package/scripts/followup/followup-section.ts +30 -0
- package/scripts/followup/followup-ship-environment.ts +17 -0
- package/scripts/followup/git-followup-finish.ts +52 -1
- package/scripts/followup/git-followup-flush.ts +6 -8
- package/scripts/followup/git-followup-stages.ts +3 -0
- package/scripts/followup/git-followup-workflow.ts +29 -9
- package/scripts/followup/git-pr-followup-checks.ts +65 -8
- package/scripts/followup/git-pr-followup-wrapup.ts +11 -9
- package/scripts/followup/git-pr-followup.ts +18 -12
- package/scripts/fresh-machine/fresh-machine-cli.ts +2 -1
- package/scripts/fresh-machine/fresh-machine-image.ts +3 -1
- package/scripts/fresh-machine/fresh-machine-patterns.ts +25 -4
- package/scripts/fresh-machine/fresh-machine-registry.ts +85 -0
- package/scripts/fresh-machine/fresh-machine-script.ts +3 -1
- package/scripts/fresh-machine/fresh-machine-spec.ts +2 -2
- package/scripts/fresh-machine/specs/kit-test-backlogrun-python.json +0 -1
- package/scripts/fresh-machine/specs/kit-test-backlogrun.json +0 -1
- package/scripts/gate/busy-average.ts +26 -3
- package/scripts/gate/change-scope-action.ts +101 -0
- package/scripts/gate/check-inputs.ts +1 -1
- package/scripts/gate/check-related-order.ts +65 -0
- package/scripts/gate/check-related-pinned.ts +3 -2
- package/scripts/gate/check-related-reuse.ts +34 -6
- package/scripts/gate/check-related-section.ts +8 -1
- package/scripts/gate/check-related-unplanned.ts +11 -1
- package/scripts/gate/check-related.ts +122 -34
- package/scripts/gate/check-reuse.ts +63 -31
- package/scripts/gate/command-memory.ts +10 -4
- package/scripts/gate/core-admission.ts +34 -8
- package/scripts/gate/core-budget.ts +55 -65
- package/scripts/gate/core-priority.ts +28 -0
- package/scripts/gate/core-reservation.ts +85 -0
- package/scripts/gate/core-wait.ts +90 -19
- package/scripts/gate/core-weights.ts +25 -16
- package/scripts/gate/gate-checks.ts +196 -0
- package/scripts/gate/gate-labels.ts +4 -0
- package/scripts/gate/gate-plan.ts +34 -164
- package/scripts/gate/gate-report.ts +14 -10
- package/scripts/gate/gate-run-steps.ts +38 -6
- package/scripts/gate/gate-skip.ts +1 -1
- package/scripts/gate/gate-static-group.ts +35 -6
- package/scripts/gate/machine-capacity.ts +20 -25
- package/scripts/gate/metrics-totals.ts +30 -4
- package/scripts/gate/path-glob.ts +15 -0
- package/scripts/gate/pre-commit-type-check.ts +2 -6
- package/scripts/gate/project-checks.ts +33 -2
- package/scripts/gate/project-gate-steps.ts +206 -0
- package/scripts/gate/project-step-reuse.ts +69 -0
- package/scripts/gate/scoped-green.ts +10 -4
- package/scripts/gate/since-green.ts +76 -20
- package/scripts/gate/tree-verdict.ts +111 -0
- package/scripts/gate/tsc-arguments.ts +9 -0
- package/scripts/gate/type-check-command.ts +4 -7
- package/scripts/gate/type-check-step.ts +4 -1
- package/scripts/gate/type-program-serial.ts +52 -0
- package/scripts/gate/verification-gate.ts +47 -17
- package/scripts/gate/verification-inputs.ts +46 -11
- package/scripts/gate/whole-tree-reuse.ts +24 -0
- package/scripts/gh/gh-author-association.ts +40 -14
- package/scripts/gh/gh-call-kind.ts +97 -0
- package/scripts/gh/gh-comment-input.ts +26 -0
- package/scripts/gh/gh-core-rate-limit.ts +151 -0
- package/scripts/gh/gh-permission-cache.ts +44 -0
- package/scripts/gh/gh-request-tally.ts +143 -0
- package/scripts/gh/gh-spawn.ts +2 -2
- package/scripts/gh/gh-usage-cli.ts +71 -0
- package/scripts/gh/gh-usage-event.ts +82 -0
- package/scripts/gh/gh-usage-log.ts +48 -0
- package/scripts/gh/gh-usage-tally.ts +209 -0
- package/scripts/gh/git-gh-api-path.ts +17 -2
- package/scripts/gh/git-gh-blocked-by-graphql.ts +107 -0
- package/scripts/gh/git-gh-checks-failed-main.ts +24 -0
- package/scripts/gh/git-gh-checks-failed.ts +141 -0
- package/scripts/gh/git-gh-code-scanning.ts +81 -0
- package/scripts/gh/git-gh-conditional.ts +36 -4
- package/scripts/gh/git-gh-etag-read.ts +107 -0
- package/scripts/gh/git-gh-exec.ts +74 -25
- package/scripts/gh/git-gh-failure.ts +16 -2
- package/scripts/gh/git-gh-helpers.ts +2 -6
- package/scripts/gh/git-gh-issue-alias-graphql.ts +113 -0
- package/scripts/gh/git-gh-issue-batch-graphql.ts +155 -0
- package/scripts/gh/git-gh-issue-batch-read.ts +66 -0
- package/scripts/gh/git-gh-issue-graphql.ts +229 -0
- package/scripts/gh/git-gh-issue-list-graphql.ts +103 -0
- package/scripts/gh/git-gh-issue-list.ts +126 -34
- package/scripts/gh/git-gh-issue-memo.ts +53 -0
- package/scripts/gh/git-gh-issue-read.ts +87 -14
- package/scripts/gh/git-gh-issue-rest.ts +5 -8
- package/scripts/gh/git-gh-issue-write.ts +31 -10
- package/scripts/gh/git-gh-issue.ts +25 -4
- package/scripts/gh/git-gh-poll-read.ts +43 -18
- package/scripts/gh/git-gh-pr-auto-merge.ts +1 -4
- package/scripts/gh/git-gh-pr-graphql-snapshot.ts +369 -0
- package/scripts/gh/git-gh-pr-graphql-state.ts +21 -26
- package/scripts/gh/git-gh-pr-read.ts +4 -1
- package/scripts/gh/git-gh-pr-rollup.ts +10 -3
- package/scripts/gh/git-gh-pr-snapshot.ts +78 -22
- package/scripts/gh/git-gh-pr.ts +51 -17
- package/scripts/gh/git-gh-rate-limit.ts +91 -0
- package/scripts/gh/git-gh-repo.ts +37 -20
- package/scripts/gh/git-gh-retry.ts +60 -24
- package/scripts/gh/git-gh-spawn-width.ts +6 -0
- package/scripts/gh/git-gh-transport.ts +213 -0
- package/scripts/gh/git-pr-ai-review.ts +8 -5
- package/scripts/gh/git-pr-checks-eval.ts +16 -17
- package/scripts/gh/git-pr-checks-failed.ts +24 -0
- package/scripts/gh/git-pr-checks-gate.ts +129 -0
- package/scripts/gh/git-pr-checks-missing.ts +165 -0
- package/scripts/gh/git-pr-checks-parse.ts +4 -0
- package/scripts/gh/git-pr-checks-watch.ts +22 -6
- package/scripts/gh/git-pr-checks.ts +105 -76
- package/scripts/gh/git-pr-merge-checked.ts +26 -12
- package/scripts/gh/git-pr.ts +9 -23
- package/scripts/git/base-tree.ts +18 -10
- package/scripts/git/changed-paths-sync.ts +4 -12
- package/scripts/git/changed-paths.ts +31 -6
- package/scripts/git/git-command.ts +9 -1
- package/scripts/git/git-common-directory.ts +17 -3
- package/scripts/git/git-issue.ts +3 -3
- package/scripts/git/git-merge-conflicts.ts +8 -3
- package/scripts/git/git-path-quoting.ts +54 -0
- package/scripts/git/git-push-transport.ts +8 -10
- package/scripts/git/git-schemas.ts +1 -0
- package/scripts/git/git-spawn-sync.ts +11 -7
- package/scripts/git/git-spawn.ts +1 -1
- package/scripts/git/git-ssh-keepalive.ts +3 -3
- package/scripts/git/git-workflow.ts +32 -9
- package/scripts/git/git-worktree.ts +12 -4
- package/scripts/git/main-merge.ts +3 -36
- package/scripts/git/main-sync.ts +2 -13
- package/scripts/git/repository-lock.ts +8 -7
- package/scripts/git/stash/git-stash.ts +38 -5
- package/scripts/git/stash/stash-pop-cli.ts +43 -6
- package/scripts/hooks/bash-revert.ts +253 -0
- package/scripts/hooks/batch-guard.ts +28 -16
- package/scripts/hooks/check-commit-message.ts +5 -7
- package/scripts/hooks/codex-hook-adapter.ts +58 -13
- package/scripts/hooks/direct-gh-usage.ts +130 -0
- package/scripts/hooks/edited-cspell.ts +8 -11
- package/scripts/hooks/fixtures/claude-Agent.json +16 -0
- package/scripts/hooks/fixtures/claude-Bash.json +12 -0
- package/scripts/hooks/fixtures/claude-Edit.json +17 -0
- package/scripts/hooks/fixtures/claude-Read.json +12 -0
- package/scripts/hooks/fixtures/claude-Write.json +12 -0
- package/scripts/hooks/fixtures/codex-Bash-cat.json +12 -0
- package/scripts/hooks/fixtures/codex-Bash.json +12 -0
- package/scripts/hooks/fixtures/codex-apply_patch.json +14 -0
- package/scripts/hooks/format-edited-cli.ts +8 -1
- package/scripts/hooks/format-edited-file.ts +33 -27
- package/scripts/hooks/hook-context.ts +22 -0
- package/scripts/hooks/hook-demoted.ts +84 -0
- package/scripts/hooks/hook-lap.ts +61 -0
- package/scripts/hooks/hook-ledger-cli.ts +246 -0
- package/scripts/hooks/hook-ledger-demote.ts +58 -0
- package/scripts/hooks/hook-ledger-issues.ts +61 -0
- package/scripts/hooks/hook-ledger-read.ts +97 -0
- package/scripts/hooks/hook-ledger.ts +163 -0
- package/scripts/hooks/implementation-authority.ts +48 -0
- package/scripts/hooks/implementation-shell-deny-expansion.ts +20 -0
- package/scripts/hooks/implementation-shell-deny-git.ts +128 -0
- package/scripts/hooks/implementation-shell-deny.ts +220 -0
- package/scripts/hooks/implementation-shell-nested.ts +148 -0
- package/scripts/hooks/implementation-shell.ts +276 -0
- package/scripts/hooks/lane-plan-guard.ts +1 -1
- package/scripts/hooks/pre-commit-lint.ts +10 -5
- package/scripts/hooks/pre-push-unit.ts +49 -13
- package/scripts/hooks/pretool-guard.ts +184 -70
- package/scripts/hooks/reserved-run.ts +13 -13
- package/scripts/hooks/run-hook.sh +84 -30
- package/scripts/hooks/step-zero-notice.ts +58 -17
- package/scripts/hooks/stop-actions.ts +14 -5
- package/scripts/hooks/stop-guard.ts +29 -8
- package/scripts/init/claude-kit-only-settings.ts +1 -1
- package/scripts/init/hook-command-rewrite.ts +90 -65
- package/scripts/init/hook-launch.ts +27 -22
- package/scripts/init/init-ai-copy.ts +14 -4
- package/scripts/init/init-bootstrap.ts +40 -8
- package/scripts/init/init-copy-content.ts +2 -2
- package/scripts/init/init-install.ts +9 -1
- package/scripts/init/init-logic-deploy-vps.ts +5 -3
- package/scripts/init/init-logic-workspace.ts +16 -1
- package/scripts/init/init-logic.ts +11 -18
- package/scripts/init/npm-publish-files.ts +25 -0
- package/scripts/init/start-setup-pr.ts +1 -1
- package/scripts/init/tsconfig-preset-migration.ts +5 -10
- package/scripts/issue/aggregation-split.ts +4 -2
- package/scripts/issue/already-done-citation.ts +103 -0
- package/scripts/issue/baseline-measure.ts +2 -1
- package/scripts/issue/behavior-change-lint.ts +5 -4
- package/scripts/issue/defect-origin-line.ts +11 -10
- package/scripts/issue/defect-origin.ts +4 -3
- package/scripts/issue/defect-rate.ts +2 -1
- package/scripts/issue/defect-report-format.ts +1 -1
- package/scripts/issue/effect-audit.ts +12 -11
- package/scripts/issue/enforcement-lint.ts +48 -0
- package/scripts/issue/expected-effect-lint.ts +6 -5
- package/scripts/issue/figure-source-lint.ts +59 -0
- package/scripts/issue/git-next-issues.ts +15 -17
- package/scripts/issue/issue-already-done-cli.ts +24 -4
- package/scripts/issue/issue-auto-ok.ts +65 -9
- package/scripts/issue/issue-body-cli.ts +75 -0
- package/scripts/issue/issue-body-keys.ts +227 -0
- package/scripts/issue/issue-body-or-comment.ts +1 -1
- package/scripts/issue/issue-bug-label.ts +5 -2
- package/scripts/issue/issue-cap-files.ts +111 -0
- package/scripts/issue/issue-cite-cli.ts +2 -2
- package/scripts/issue/issue-cite.ts +20 -3
- package/scripts/issue/issue-classification.ts +66 -7
- package/scripts/issue/issue-closing-pr.ts +51 -16
- package/scripts/issue/issue-comment-cli.ts +15 -2
- package/scripts/issue/issue-consolidate-cli.ts +81 -0
- package/scripts/issue/issue-consolidate.ts +246 -0
- package/scripts/issue/issue-declared-size.ts +21 -0
- package/scripts/issue/issue-evidence-exit.ts +12 -5
- package/scripts/issue/issue-file-batch-entries.ts +107 -0
- package/scripts/issue/issue-file-batch.ts +206 -0
- package/scripts/issue/issue-file-cli.ts +152 -209
- package/scripts/issue/issue-file-fold.ts +4 -8
- package/scripts/issue/issue-file-interrupt.ts +68 -9
- package/scripts/issue/issue-file-lane-hint.ts +3 -2
- package/scripts/issue/issue-file-main.ts +17 -0
- package/scripts/issue/issue-file-pass.ts +249 -0
- package/scripts/issue/issue-file-worker.ts +95 -0
- package/scripts/issue/issue-file.ts +25 -6
- package/scripts/issue/issue-fold-apply.ts +102 -0
- package/scripts/issue/issue-fold-existing-cli.ts +226 -19
- package/scripts/issue/issue-human-stops.ts +102 -0
- package/scripts/issue/issue-labels.ts +14 -3
- package/scripts/issue/issue-lint-cli.ts +20 -6
- package/scripts/issue/issue-lint.ts +4 -6
- package/scripts/issue/issue-merged.ts +75 -9
- package/scripts/issue/issue-not-before.ts +34 -4
- package/scripts/issue/issue-number-shape.ts +8 -0
- package/scripts/issue/issue-outcome.ts +107 -0
- package/scripts/issue/issue-plan-cli.ts +33 -5
- package/scripts/issue/issue-plan-notify.ts +100 -0
- package/scripts/issue/issue-premise-unmet-cli.ts +110 -0
- package/scripts/issue/issue-priority-cli.ts +103 -16
- package/scripts/issue/issue-priority-instructed.ts +55 -0
- package/scripts/issue/issue-priority-raise.ts +70 -12
- package/scripts/issue/issue-priority.ts +56 -16
- package/scripts/issue/issue-rank.ts +48 -15
- package/scripts/issue/issue-read-cli.ts +66 -33
- package/scripts/issue/issue-read.ts +30 -10
- package/scripts/issue/issue-release-class-cli.ts +79 -0
- package/scripts/issue/issue-report-failures.ts +14 -5
- package/scripts/issue/issue-run-hold.ts +13 -0
- package/scripts/issue/issue-run-verdict.ts +68 -0
- package/scripts/issue/issue-sample-gate.ts +18 -7
- package/scripts/issue/issue-sample-required.ts +20 -3
- package/scripts/issue/issue-sample-source.ts +2 -1
- package/scripts/issue/issue-scout-cli.ts +34 -18
- package/scripts/issue/issue-scout.ts +25 -4
- package/scripts/issue/issue-search.ts +3 -0
- package/scripts/issue/issue-sources.ts +98 -0
- package/scripts/issue/issue-spill-cli.ts +292 -0
- package/scripts/issue/issue-spill-main.ts +11 -0
- package/scripts/issue/issue-spill.ts +193 -0
- package/scripts/issue/issue-state-cli.ts +9 -17
- package/scripts/issue/issue-template-section.ts +8 -3
- package/scripts/issue/issue-tick-cli.ts +59 -0
- package/scripts/issue/issue-watch-diff.ts +24 -8
- package/scripts/issue/issue-watch-hook.ts +11 -9
- package/scripts/issue/issue-watch.ts +25 -5
- package/scripts/issue/issue-wip.ts +44 -9
- package/scripts/issue/markdown-section.ts +66 -10
- package/scripts/issue/measure-declaration.ts +70 -13
- package/scripts/issue/measure-rerun-cli.ts +9 -8
- package/scripts/issue/measure-twin.ts +37 -0
- package/scripts/issue/reproduction-measure.ts +2 -1
- package/scripts/issue/session-cite.ts +1 -1
- package/scripts/issue/size-estimate.ts +317 -22
- package/scripts/issue/trusted-measure-source.ts +43 -0
- package/scripts/issue/trusted-measure.ts +79 -35
- package/scripts/issue/upstream-interrupt-cli.ts +280 -0
- package/scripts/issue/upstream-interrupt-main.ts +11 -0
- package/scripts/josh/agent-session-environment.ts +19 -1
- package/scripts/josh/cli-body.ts +46 -9
- package/scripts/josh/command-usage.ts +3 -0
- package/scripts/josh/durable-state-migrate.ts +11 -4
- package/scripts/josh/durable-state-root.ts +60 -0
- package/scripts/josh/durable-state.ts +9 -44
- package/scripts/josh/hook-decision.ts +55 -113
- package/scripts/josh/hook-envelope.ts +62 -0
- package/scripts/josh/hook-payload-capture.ts +78 -0
- package/scripts/josh/hook-tool-payload.ts +15 -0
- package/scripts/josh/josh-aliases.ts +7 -0
- package/scripts/josh/josh-command-map.ts +15 -0
- package/scripts/josh/josh-command-types.ts +28 -4
- package/scripts/josh/josh-commands-agent-hooks.ts +39 -7
- package/scripts/josh/josh-commands-ai.ts +420 -9
- package/scripts/josh/josh-commands-backlog.ts +79 -11
- package/scripts/josh/josh-commands-clone.ts +2 -5
- package/scripts/josh/josh-commands-development.ts +45 -12
- package/scripts/josh/josh-commands-document.ts +22 -10
- package/scripts/josh/josh-commands-epic.ts +30 -11
- package/scripts/josh/josh-commands-hooks.ts +0 -1
- package/scripts/josh/josh-commands-issue-write.ts +193 -20
- package/scripts/josh/josh-commands-issue.ts +57 -17
- package/scripts/josh/josh-commands-lint.ts +52 -19
- package/scripts/josh/josh-commands-maintenance.ts +37 -4
- package/scripts/josh/josh-commands-pause.ts +53 -5
- package/scripts/josh/josh-commands-prime.ts +28 -0
- package/scripts/josh/josh-commands-progress.ts +59 -7
- package/scripts/josh/josh-commands-project.ts +15 -7
- package/scripts/josh/josh-commands-review.ts +83 -5
- package/scripts/josh/josh-commands-run.ts +30 -33
- package/scripts/josh/josh-commands-ship.ts +95 -13
- package/scripts/josh/josh-commands-test-check.ts +0 -2
- package/scripts/josh/josh-commands-versioning.ts +11 -2
- package/scripts/josh/josh-commands-workflow.ts +46 -11
- package/scripts/josh/josh-completion-scripts.ts +81 -0
- package/scripts/josh/josh-completion.ts +29 -0
- package/scripts/josh/josh-environment-file.ts +8 -10
- package/scripts/josh/josh-gh-usage.ts +53 -0
- package/scripts/josh/josh-in-process.ts +21 -21
- package/scripts/josh/josh-logic.ts +22 -46
- package/scripts/josh/josh-read-only.ts +51 -0
- package/scripts/josh/josh-run.ts +30 -6
- package/scripts/josh/josh.ts +9 -11
- package/scripts/josh/path-decision.ts +2 -2
- package/scripts/josh/process-identity.ts +5 -0
- package/scripts/josh/session-handoff-line.ts +88 -0
- package/scripts/josh/session-language-cli.ts +18 -4
- package/scripts/josh/session-model-record.ts +62 -0
- package/scripts/lane/historical-evidence.ts +136 -0
- package/scripts/lane/historical-log-evidence.ts +47 -0
- package/scripts/lane/lane-adopt-cli.ts +1 -1
- package/scripts/lane/lane-await.ts +8 -3
- package/scripts/lane/lane-breakdown-calls.ts +165 -0
- package/scripts/lane/lane-breakdown-cli.ts +88 -10
- package/scripts/lane/lane-breakdown-estimate.ts +136 -0
- package/scripts/lane/lane-breakdown-implement.ts +166 -29
- package/scripts/lane/lane-breakdown-laps.ts +116 -24
- package/scripts/lane/lane-breakdown-pause.ts +127 -0
- package/scripts/lane/lane-breakdown-pinned.ts +19 -3
- package/scripts/lane/lane-breakdown-related.ts +40 -0
- package/scripts/lane/lane-breakdown-text.ts +136 -15
- package/scripts/lane/lane-breakdown.ts +215 -31
- package/scripts/lane/lane-broker-server.ts +1 -1
- package/scripts/lane/lane-capacity.ts +27 -16
- package/scripts/lane/lane-chain-stop-stats.ts +110 -0
- package/scripts/lane/lane-check-stats.ts +25 -5
- package/scripts/lane/lane-child-invocation.ts +9 -9
- package/scripts/lane/lane-ci-path-stats.ts +15 -4
- package/scripts/lane/lane-cli.ts +2 -2
- package/scripts/lane/lane-concurrency-stats.ts +110 -0
- package/scripts/lane/lane-cut-stats.ts +101 -0
- package/scripts/lane/lane-dispatch-prepare.ts +83 -0
- package/scripts/lane/lane-dispatch.ts +27 -72
- package/scripts/lane/lane-early-push-stats.ts +25 -0
- package/scripts/lane/lane-elapsed-time.ts +118 -0
- package/scripts/lane/lane-environment.ts +2 -2
- package/scripts/lane/lane-gap-stats.ts +69 -8
- package/scripts/lane/lane-guard-policy.ts +1 -1
- package/scripts/lane/lane-hand-back-held.ts +51 -0
- package/scripts/lane/lane-hand-back-hold.ts +103 -0
- package/scripts/lane/lane-held-stats.ts +13 -1
- package/scripts/lane/lane-implement-rate-read.ts +50 -0
- package/scripts/lane/lane-implement-rate.ts +74 -0
- package/scripts/lane/lane-implement-read.ts +129 -0
- package/scripts/lane/lane-implement-signals-record.ts +56 -0
- package/scripts/lane/lane-implement-signals.ts +161 -0
- package/scripts/lane/lane-implement-stats.ts +93 -18
- package/scripts/lane/lane-launch-admission.ts +61 -0
- package/scripts/lane/lane-launch-cli.ts +63 -27
- package/scripts/lane/lane-launch-pending.ts +44 -0
- package/scripts/lane/lane-ledger-archive.ts +200 -0
- package/scripts/lane/lane-ledger-kind.ts +5 -0
- package/scripts/lane/lane-ledger-pinned-origin.ts +10 -0
- package/scripts/lane/lane-ledger-schema-load.ts +45 -0
- package/scripts/lane/lane-ledger-schema-offer.ts +30 -0
- package/scripts/lane/lane-ledger-schema-ship.ts +73 -4
- package/scripts/lane/lane-ledger-schema.ts +53 -30
- package/scripts/lane/lane-ledger-tail.ts +124 -0
- package/scripts/lane/lane-ledger-write.ts +60 -27
- package/scripts/lane/lane-ledger.ts +6 -31
- package/scripts/lane/lane-limit-cli.ts +11 -1
- package/scripts/lane/lane-limit-history.ts +77 -0
- package/scripts/lane/lane-limit-override.ts +49 -8
- package/scripts/lane/lane-listening-ports.ts +77 -0
- package/scripts/lane/lane-load.ts +62 -2
- package/scripts/lane/lane-measure-cli.ts +134 -55
- package/scripts/lane/lane-net-read.ts +22 -10
- package/scripts/lane/lane-net-time.ts +134 -21
- package/scripts/lane/lane-open.ts +19 -113
- package/scripts/lane/lane-over-causes.ts +130 -0
- package/scripts/lane/lane-over.ts +177 -0
- package/scripts/lane/lane-overrun-prompt.ts +4 -3
- package/scripts/lane/lane-overrun.ts +22 -9
- package/scripts/lane/lane-pairs.ts +128 -0
- package/scripts/lane/lane-paths.ts +26 -0
- package/scripts/lane/lane-pause-cli.ts +4 -2
- package/scripts/lane/lane-paused-spans.ts +11 -4
- package/scripts/lane/lane-phase.ts +36 -7
- package/scripts/lane/lane-plan-approval.ts +113 -0
- package/scripts/lane/lane-plan-auto.ts +53 -0
- package/scripts/lane/lane-plan-check.ts +196 -54
- package/scripts/lane/lane-plan-cli.ts +41 -10
- package/scripts/lane/lane-plan-estimate.ts +57 -0
- package/scripts/lane/lane-plan-imports.ts +53 -0
- package/scripts/lane/lane-plan-premise.ts +83 -0
- package/scripts/lane/lane-plan-probe.ts +115 -0
- package/scripts/lane/lane-plan-signals.ts +119 -0
- package/scripts/lane/lane-plan-size.ts +380 -0
- package/scripts/lane/lane-plan-wait-event.ts +124 -0
- package/scripts/lane/lane-plan-wait-until.ts +22 -0
- package/scripts/lane/lane-plan-wait.ts +125 -0
- package/scripts/lane/lane-plan.ts +114 -14
- package/scripts/lane/lane-preserve.ts +58 -13
- package/scripts/lane/lane-process-load.ts +130 -19
- package/scripts/lane/lane-process-stats.ts +51 -10
- package/scripts/lane/lane-reap.ts +4 -2
- package/scripts/lane/lane-registry.ts +19 -14
- package/scripts/lane/lane-relaunch.ts +37 -14
- package/scripts/lane/lane-report.ts +2 -0
- package/scripts/lane/lane-resolve-cli.ts +88 -0
- package/scripts/lane/lane-resolve-hunks.ts +63 -0
- package/scripts/lane/lane-resolve-record.ts +59 -0
- package/scripts/lane/lane-resolve.ts +122 -0
- package/scripts/lane/lane-restart.ts +1 -1
- package/scripts/lane/lane-room.ts +58 -0
- package/scripts/lane/lane-round-one-stats.ts +2 -1
- package/scripts/lane/lane-sampler.ts +53 -3
- package/scripts/lane/lane-seat-ownership.ts +57 -0
- package/scripts/lane/lane-seat-start.ts +52 -0
- package/scripts/lane/lane-seat-stop.ts +20 -0
- package/scripts/lane/lane-seat.ts +174 -0
- package/scripts/lane/lane-seed.ts +2 -5
- package/scripts/lane/lane-session-action.ts +26 -10
- package/scripts/lane/lane-session-broker.ts +1 -1
- package/scripts/lane/lane-session-reread.ts +2 -1
- package/scripts/lane/lane-setup.ts +59 -0
- package/scripts/lane/lane-ship-lap-stats.ts +3 -1
- package/scripts/lane/lane-sinks-issues.ts +52 -0
- package/scripts/lane/lane-sinks.ts +165 -0
- package/scripts/lane/lane-size-record.ts +39 -0
- package/scripts/lane/lane-size-stats.ts +111 -0
- package/scripts/lane/lane-split-stats.ts +33 -9
- package/scripts/lane/lane-stage-budget.ts +32 -0
- package/scripts/lane/lane-stage-events.ts +103 -0
- package/scripts/lane/lane-stage-stats.ts +94 -25
- package/scripts/lane/lane-state-record.ts +74 -0
- package/scripts/lane/lane-state.ts +21 -33
- package/scripts/lane/lane-stats-request.ts +163 -0
- package/scripts/lane/lane-stats-tables.ts +47 -3
- package/scripts/lane/lane-stats.ts +9 -2
- package/scripts/lane/lane-stop-check-stats.ts +117 -0
- package/scripts/lane/lane-stop-stats.ts +33 -8
- package/scripts/lane/lane-test-related-stats.ts +5 -2
- package/scripts/lane/lane-timeline.ts +251 -0
- package/scripts/lane/lane-transcript-calls.ts +73 -4
- package/scripts/lane/lane-transcript-stats.ts +8 -3
- package/scripts/lane/lane-turn-stats.ts +171 -0
- package/scripts/lane/lane-value-cell.ts +87 -13
- package/scripts/lane/lane-value-missing.ts +21 -0
- package/scripts/lane/lane-why-causes.ts +94 -0
- package/scripts/lane/lane-why-ci.ts +50 -0
- package/scripts/lane/lane-why-cli.ts +83 -0
- package/scripts/lane/lane-why-period.ts +187 -0
- package/scripts/lane/lane-why-ship.ts +67 -0
- package/scripts/lane/lane-why.ts +192 -0
- package/scripts/lane/lane-withdraw.ts +12 -1
- package/scripts/lane/lane-yield-split.ts +218 -0
- package/scripts/lane/lane-yield.ts +38 -4
- package/scripts/lane/openai-lane-ship.ts +2 -2
- package/scripts/lane/openai-lane-supervisor-cli.ts +17 -8
- package/scripts/lane/openai-lane-supervisor-decision.ts +10 -4
- package/scripts/lane/openai-lane-supervisor-entry.ts +6 -0
- package/scripts/lane/openai-lane-supervisor-owner.ts +31 -3
- package/scripts/lane/openai-lane-supervisor.ts +62 -5
- package/scripts/lane/process-directories.ts +3 -1
- package/scripts/lane/process-lane-marks.ts +11 -5
- package/scripts/lane/process-linux.ts +81 -0
- package/scripts/lane/process-tools.ts +2 -5
- package/scripts/lib/bounded-pool.ts +38 -7
- package/scripts/lib/buffered-process.ts +34 -9
- package/scripts/lib/claude-installer.ts +29 -0
- package/scripts/lib/home-tilde.ts +24 -0
- package/scripts/lib/import-closure.ts +72 -0
- package/scripts/lib/josh-temporary-directory.ts +7 -0
- package/scripts/lib/main-guard.ts +29 -0
- package/scripts/lib/package-manifest.ts +80 -3
- package/scripts/lib/pnpm-installer.ts +16 -0
- package/scripts/lib/poll.ts +130 -20
- package/scripts/lib/schemas.ts +1 -1
- package/scripts/lib/stamped-memo.ts +1 -1
- package/scripts/lib/stamped-store.ts +82 -0
- package/scripts/lib/stdin-text.ts +68 -0
- package/scripts/lib/timeouts.ts +4 -4
- package/scripts/lib/transcript-record.ts +4 -0
- package/scripts/lib/verified-download.ts +17 -0
- package/scripts/lines/bytes-command.ts +1 -1
- package/scripts/lint/cspell-cached.ts +1 -1
- package/scripts/lint/eslint-cache-dependencies.ts +38 -8
- package/scripts/lint/eslint-daemon-calls.ts +83 -0
- package/scripts/lint/eslint-daemon.ts +101 -13
- package/scripts/lint/eslint-heap.ts +50 -0
- package/scripts/lint/eslint-memory.js +45 -0
- package/scripts/lint/eslint-trim.ts +44 -0
- package/scripts/lint/eslint-warm.ts +5 -2
- package/scripts/lint/format.ts +30 -5
- package/scripts/lint/import-graph-store.ts +245 -0
- package/scripts/lint/import-graph.ts +54 -65
- package/scripts/lint/import-move.ts +275 -0
- package/scripts/lint/import-test-inputs.ts +97 -0
- package/scripts/lint/lint-gate-scope.ts +1 -0
- package/scripts/lint/lint-parallel.ts +148 -43
- package/scripts/lint/lint-related-scope.ts +6 -1
- package/scripts/lint/lint-related.ts +66 -25
- package/scripts/lint/lint-rule.ts +293 -0
- package/scripts/lint/lint-shard.ts +91 -0
- package/scripts/lint/lint-timing.ts +39 -0
- package/scripts/lint/rename-cli.ts +36 -10
- package/scripts/lint/rename-identifier.ts +2 -2
- package/scripts/lint/type-only-imports.ts +20 -1
- package/scripts/notify/git-notify.ts +3 -1
- package/scripts/notify/telegram-notify.ts +33 -35
- package/scripts/notify/telegram-test.ts +9 -4
- package/scripts/observations/observation-depth-cli.ts +78 -0
- package/scripts/observations/observation-depth.ts +85 -0
- package/scripts/observations/observation-ledger-archive.ts +180 -0
- package/scripts/observations/observation-ledger-home.ts +15 -7
- package/scripts/observations/observation-ledger.ts +5 -0
- package/scripts/observations/observations-flush-landing.ts +1 -1
- package/scripts/observations/observations-flush-transaction.ts +358 -0
- package/scripts/observations/observations-flush.ts +72 -172
- package/scripts/overrides/overrides-check.ts +33 -10
- package/scripts/overrides/overrides-diff-report.ts +91 -0
- package/scripts/overrides/overrides-diff.ts +98 -0
- package/scripts/package/package-scout-cli.ts +37 -11
- package/scripts/package/package-scout-format.ts +20 -6
- package/scripts/package/package-scout-reuse.ts +207 -0
- package/scripts/plan/plan-scaffold-cli.ts +136 -0
- package/scripts/plan/plan-scaffold.ts +123 -0
- package/scripts/ports/port-command.ts +2 -5
- package/scripts/propagate/propagate-git.ts +3 -3
- package/scripts/propagate/propagate-publish.ts +8 -7
- package/scripts/propagate/propagate-steps.ts +2 -3
- package/scripts/refactor/import-graph.ts +2 -4
- package/scripts/refactor/refactor-lint.ts +47 -30
- package/scripts/refactor/refactor-scan.ts +16 -9
- package/scripts/refactor/refactor-targets.ts +2 -3
- package/scripts/release/github-release-notes.ts +24 -0
- package/scripts/release/github-release-runs.ts +32 -6
- package/scripts/release/github-release.ts +20 -12
- package/scripts/release/publish-tag-cli.ts +13 -3
- package/scripts/release/release-cli.ts +2 -0
- package/scripts/release/release-progress.ts +66 -46
- package/scripts/release/release-publish-run.ts +39 -6
- package/scripts/release/release-request.ts +42 -0
- package/scripts/release/release-scope-cli.ts +31 -2
- package/scripts/release/release-workflow-check.ts +59 -0
- package/scripts/repo/repository-labels.ts +23 -11
- package/scripts/report/markdown-shape.ts +2 -1
- package/scripts/report/report-template-cli.ts +2 -2
- package/scripts/report/report-template.ts +17 -4
- package/scripts/review/acceptance-map.ts +87 -8
- package/scripts/review/diff-summary-cli.ts +81 -0
- package/scripts/review/diff-summary.ts +109 -0
- package/scripts/review/disposition-batch-filing.ts +150 -0
- package/scripts/review/disposition-batch.ts +103 -0
- package/scripts/review/disposition-cli.ts +35 -1
- package/scripts/review/import-specifiers.ts +38 -0
- package/scripts/review/prose-stale-cli.ts +7 -37
- package/scripts/review/prose-stale-read.ts +105 -0
- package/scripts/review/prose-stale-scan.ts +121 -17
- package/scripts/review/removed-tests-check.ts +28 -4
- package/scripts/review/review-brief-cli.ts +69 -71
- package/scripts/review/review-brief.ts +38 -42
- package/scripts/review/review-code-tree.ts +80 -16
- package/scripts/review/review-comment-carry.ts +30 -0
- package/scripts/review/review-comment-round.ts +10 -5
- package/scripts/review/review-diff-pack.ts +70 -0
- package/scripts/review/review-diff-write.ts +23 -22
- package/scripts/review/review-final-record.ts +47 -0
- package/scripts/review/review-finding-ledger.ts +72 -10
- package/scripts/review/review-findings-cli.ts +88 -8
- package/scripts/review/review-fix-hunks.ts +115 -0
- package/scripts/review/review-fix-round.ts +144 -0
- package/scripts/review/review-gate-mode.ts +25 -0
- package/scripts/review/review-interaction.ts +69 -11
- package/scripts/review/review-lane-handover.ts +29 -4
- package/scripts/review/review-level.ts +35 -34
- package/scripts/review/review-lint-findings.ts +3 -3
- package/scripts/review/review-lint-sections.ts +2 -2
- package/scripts/review/review-lint.ts +7 -1
- package/scripts/review/review-pair-cli.ts +157 -0
- package/scripts/review/review-pair-log.ts +75 -0
- package/scripts/review/review-pair-session.ts +98 -0
- package/scripts/review/review-pair.ts +112 -0
- package/scripts/review/review-prior-findings.ts +2 -4
- package/scripts/review/review-prompt-level.ts +28 -0
- package/scripts/review/review-readers-scan.ts +25 -3
- package/scripts/review/review-record-cli.ts +46 -68
- package/scripts/review/review-record-interaction.ts +2 -2
- package/scripts/review/review-record-main.ts +7 -2
- package/scripts/review/review-record-pinned.ts +5 -0
- package/scripts/review/review-record-slot.ts +155 -0
- package/scripts/review/review-reviewed-tree.ts +60 -13
- package/scripts/review/review-round-one-blobs.ts +43 -9
- package/scripts/review/review-round-one-skip.ts +72 -0
- package/scripts/review/review-round-reuse.ts +13 -6
- package/scripts/review/review-round.ts +57 -0
- package/scripts/review/review-round2-cli.ts +5 -0
- package/scripts/review/review-round2-skip-comment.ts +3 -1
- package/scripts/review/review-round2.ts +18 -6
- package/scripts/review/review-size.ts +92 -0
- package/scripts/review/review-stamps.ts +8 -0
- package/scripts/review/review-submit-args.ts +91 -0
- package/scripts/review/review-submit-cli.ts +55 -29
- package/scripts/review/selfcheck-cli.ts +193 -0
- package/scripts/review/selfcheck-commands.ts +175 -0
- package/scripts/review/selfcheck-report.ts +98 -0
- package/scripts/rules/bash-triggers.ts +24 -13
- package/scripts/rules/broad-investigation-shell.ts +183 -0
- package/scripts/rules/broad-investigation.ts +116 -0
- package/scripts/rules/codex-prompt.ts +63 -0
- package/scripts/rules/consultation-handoff.ts +81 -0
- package/scripts/rules/consultation-investigation.ts +99 -0
- package/scripts/rules/decision-oracle.ts +1 -1
- package/scripts/rules/delivered-rules-guard.ts +94 -0
- package/scripts/rules/delivered-rules.ts +46 -87
- package/scripts/rules/destructive-command.ts +2 -1
- package/scripts/rules/direct-git-status.ts +81 -0
- package/scripts/rules/direct-issue-comment.ts +71 -3
- package/scripts/rules/direct-issue-read.ts +55 -2
- package/scripts/rules/direct-vitest-run.ts +98 -0
- package/scripts/rules/egress-guard.ts +308 -0
- package/scripts/rules/firing-point.ts +9 -12
- package/scripts/rules/gh-api.ts +19 -4
- package/scripts/rules/gh-repo-selector.ts +1 -1
- package/scripts/rules/git-argv.ts +57 -10
- package/scripts/rules/guard-remedy.ts +18 -3
- package/scripts/rules/guard-rule-rows.ts +13 -0
- package/scripts/rules/implementation-cut-verdict.ts +1 -1
- package/scripts/rules/implementation-cut.ts +94 -31
- package/scripts/rules/interpreter-options.ts +179 -0
- package/scripts/rules/investigator-foreground.ts +13 -7
- package/scripts/rules/issue-citation.ts +20 -9
- package/scripts/rules/josh-git-bare.ts +1 -1
- package/scripts/rules/keychain-read.ts +73 -0
- package/scripts/rules/lane-background.ts +15 -14
- package/scripts/rules/lane-carry-conflict.ts +15 -8
- package/scripts/rules/lane-direct-tool.ts +18 -11
- package/scripts/rules/lane-interactive-ask.ts +3 -5
- package/scripts/rules/lane-park.ts +25 -10
- package/scripts/rules/lane-spilled-read.ts +3 -5
- package/scripts/rules/lane-split-park.ts +7 -6
- package/scripts/rules/lane-switch-main.ts +10 -3
- package/scripts/rules/last-prompt.ts +8 -4
- package/scripts/rules/launched-call.ts +135 -0
- package/scripts/rules/main-model.ts +54 -0
- package/scripts/rules/nested-commands.ts +71 -0
- package/scripts/rules/permission-guards.ts +6 -2
- package/scripts/rules/pr-merge.ts +1 -1
- package/scripts/rules/pre-gate-cut.ts +20 -11
- package/scripts/rules/protected-files.ts +34 -98
- package/scripts/rules/repeat-check-related.ts +66 -0
- package/scripts/rules/reviewer-foreground.ts +11 -7
- package/scripts/rules/round-one-check-related.ts +59 -19
- package/scripts/rules/rule-list.ts +3 -4
- package/scripts/rules/rule-rephrase.ts +43 -0
- package/scripts/rules/rule-rewrite.ts +16 -6
- package/scripts/rules/rule-value-cache.ts +10 -1
- package/scripts/rules/rule-value-cli.ts +143 -54
- package/scripts/rules/rule-value-prose.ts +186 -0
- package/scripts/rules/rule-value-runs.ts +171 -0
- package/scripts/rules/rule-value-trend.ts +108 -0
- package/scripts/rules/rule-value.ts +38 -13
- package/scripts/rules/run-tail-rule.ts +19 -2
- package/scripts/rules/secret-paths.ts +92 -0
- package/scripts/rules/sed-in-place.ts +1 -1
- package/scripts/rules/shell-permissions.ts +91 -0
- package/scripts/rules/shell-redirects.ts +66 -0
- package/scripts/rules/shell-segments.ts +148 -22
- package/scripts/rules/shell-tokens.ts +66 -0
- package/scripts/rules/standalone-gh-call.ts +63 -0
- package/scripts/rules/stop-decision.ts +7 -1
- package/scripts/rules/stop-rules.ts +1 -1
- package/scripts/rules/unasked-filing.ts +166 -0
- package/scripts/run/add/run-add-cli.ts +114 -36
- package/scripts/run/add/run-add-epic.ts +45 -0
- package/scripts/run/add/run-add-issue.ts +17 -0
- package/scripts/run/add/run-add.ts +159 -21
- package/scripts/run/attached-log.ts +38 -0
- package/scripts/run/board/run-board-cli.ts +34 -9
- package/scripts/run/board/run-board-closed-graphql.ts +129 -0
- package/scripts/run/board/run-board-closed.ts +78 -11
- package/scripts/run/board/run-board-decision-graphql.ts +136 -0
- package/scripts/run/board/run-board-decision-read.ts +235 -0
- package/scripts/run/board/run-board-decision.ts +97 -0
- package/scripts/run/board/run-board-earlier.ts +27 -3
- package/scripts/run/board/run-board-ending-reason.ts +112 -9
- package/scripts/run/board/run-board-ending-states.ts +34 -0
- package/scripts/run/board/run-board-every.ts +19 -9
- package/scripts/run/board/run-board-first-lane.ts +26 -0
- package/scripts/run/board/run-board-fit.ts +47 -11
- package/scripts/run/board/run-board-fold-store.ts +62 -0
- package/scripts/run/board/run-board-fold.ts +41 -9
- package/scripts/run/board/run-board-gather-live.ts +2 -0
- package/scripts/run/board/run-board-gather-thread.ts +14 -3
- package/scripts/run/board/run-board-gather-worker.ts +10 -8
- package/scripts/run/board/run-board-gather.ts +10 -3
- package/scripts/run/board/run-board-github.ts +125 -30
- package/scripts/run/board/run-board-header.ts +33 -24
- package/scripts/run/board/run-board-held.ts +53 -0
- package/scripts/run/board/run-board-human-merge.ts +113 -0
- package/scripts/run/board/run-board-human.ts +37 -0
- package/scripts/run/board/run-board-idle.ts +9 -6
- package/scripts/run/board/run-board-issue-count.ts +101 -0
- package/scripts/run/board/run-board-keys.ts +19 -4
- package/scripts/run/board/run-board-labels.ts +20 -4
- package/scripts/run/board/run-board-lane-event.ts +23 -2
- package/scripts/run/board/run-board-lane-result.ts +58 -0
- package/scripts/run/board/run-board-lane-state.ts +52 -7
- package/scripts/run/board/run-board-lane-stop.ts +108 -0
- package/scripts/run/board/run-board-lane-time.ts +1 -0
- package/scripts/run/board/run-board-layout.ts +68 -76
- package/scripts/run/board/run-board-link.ts +44 -2
- package/scripts/run/board/run-board-notes.ts +1 -1
- package/scripts/run/board/run-board-now.ts +1 -1
- package/scripts/run/board/run-board-operation-codex.ts +37 -0
- package/scripts/run/board/run-board-operation-read.ts +2 -2
- package/scripts/run/board/run-board-operation.ts +14 -7
- package/scripts/run/board/run-board-pause-fixture.json +12 -0
- package/scripts/run/board/run-board-pause.ts +87 -0
- package/scripts/run/board/run-board-plan-shared.ts +5 -0
- package/scripts/run/board/run-board-plan.ts +6 -1
- package/scripts/run/board/run-board-process-groups.ts +1 -1
- package/scripts/run/board/run-board-quota-held.ts +319 -0
- package/scripts/run/board/run-board-quota-lane.ts +23 -0
- package/scripts/run/board/run-board-quota-read.ts +422 -0
- package/scripts/run/board/run-board-quota-spent.ts +162 -0
- package/scripts/run/board/run-board-quota-status.ts +67 -0
- package/scripts/run/board/run-board-read.ts +112 -36
- package/scripts/run/board/run-board-reason.ts +40 -20
- package/scripts/run/board/run-board-render-condition.ts +27 -2
- package/scripts/run/board/run-board-render-drawn.ts +5 -1
- package/scripts/run/board/run-board-render-foot.ts +5 -1
- package/scripts/run/board/run-board-render-found.ts +21 -2
- package/scripts/run/board/run-board-render-icon.ts +3 -6
- package/scripts/run/board/run-board-render-lanes.ts +49 -9
- package/scripts/run/board/run-board-render-lead.ts +20 -1
- package/scripts/run/board/run-board-render-legend.ts +4 -0
- package/scripts/run/board/run-board-render-none.ts +35 -0
- package/scripts/run/board/run-board-render-notes.ts +5 -3
- package/scripts/run/board/run-board-render-processes.ts +6 -5
- package/scripts/run/board/run-board-render-quota-cell.ts +81 -0
- package/scripts/run/board/run-board-render-quota-github.ts +112 -0
- package/scripts/run/board/run-board-render-quota.ts +285 -0
- package/scripts/run/board/run-board-render-section.ts +50 -6
- package/scripts/run/board/run-board-render-tail.ts +53 -7
- package/scripts/run/board/run-board-render-throughput.ts +140 -0
- package/scripts/run/board/run-board-render-title.ts +33 -4
- package/scripts/run/board/run-board-render.ts +59 -57
- package/scripts/run/board/run-board-row-yield.ts +1 -0
- package/scripts/run/board/run-board-scope.ts +13 -6
- package/scripts/run/board/run-board-seat.ts +107 -0
- package/scripts/run/board/run-board-settle.ts +47 -0
- package/scripts/run/board/run-board-setup.ts +30 -15
- package/scripts/run/board/run-board-single.ts +123 -0
- package/scripts/run/board/run-board-snapshot.ts +11 -1
- package/scripts/run/board/run-board-span.ts +18 -3
- package/scripts/run/board/run-board-spin.ts +12 -6
- package/scripts/run/board/run-board-standing-waits.ts +52 -0
- package/scripts/run/board/run-board-state.ts +23 -0
- package/scripts/run/board/run-board-status.ts +97 -100
- package/scripts/run/board/run-board-throughput.ts +215 -0
- package/scripts/run/board/run-board-tick.ts +76 -30
- package/scripts/run/board/run-board-usage-read.ts +3 -3
- package/scripts/run/board/run-board-usage-top.ts +12 -35
- package/scripts/run/board/run-board-usual.ts +18 -1
- package/scripts/run/carry/run-carry-added.ts +6 -1
- package/scripts/run/carry/run-carry-args.ts +22 -8
- package/scripts/run/carry/run-carry-cli.ts +31 -1
- package/scripts/run/carry/run-carry-conversation.ts +12 -4
- package/scripts/run/carry/run-carry-ended.ts +3 -0
- package/scripts/run/carry/run-carry-reclaim.ts +2 -1
- package/scripts/run/carry/run-carry.ts +40 -20
- package/scripts/run/cut/run-cut-adoption.ts +67 -0
- package/scripts/run/cut/run-cut-cli.ts +89 -34
- package/scripts/run/cut/run-cut-decline.ts +1 -1
- package/scripts/run/cut/run-cut-handoff.ts +2 -1
- package/scripts/run/cut/run-cut-next.ts +20 -0
- package/scripts/run/cut/run-cut-ready.ts +7 -5
- package/scripts/run/cut/run-cut-report.ts +13 -14
- package/scripts/run/cut/run-cut-resume.ts +1 -1
- package/scripts/run/cut/run-cut.ts +36 -23
- package/scripts/run/detached-launch.ts +12 -7
- package/scripts/run/early-push-record.ts +22 -0
- package/scripts/run/entry/run-entry-children.ts +126 -0
- package/scripts/run/entry/run-entry-cli.ts +126 -82
- package/scripts/run/entry/run-entry-dispatch.ts +20 -0
- package/scripts/run/entry/run-entry-lane-plan.ts +39 -0
- package/scripts/run/entry/run-entry-spill.ts +67 -22
- package/scripts/run/entry/run-entry-stop.ts +9 -8
- package/scripts/run/entry/run-entry-sync.ts +149 -0
- package/scripts/run/entry/run-entry-trust.ts +1 -1
- package/scripts/run/entry/run-entry.ts +9 -0
- package/scripts/run/event/run-event-checks.ts +1 -1
- package/scripts/run/event/run-event-filed.ts +1 -1
- package/scripts/run/event/run-event-follow.ts +9 -5
- package/scripts/run/event/run-event-overrun.ts +7 -7
- package/scripts/run/event/run-event-plan.ts +1 -1
- package/scripts/run/event/run-event-render.ts +5 -0
- package/scripts/run/event/run-event-retry.ts +34 -0
- package/scripts/run/event/run-event-scope.ts +4 -1
- package/scripts/run/event/run-event-setup.ts +55 -5
- package/scripts/run/event/run-event-step.ts +81 -0
- package/scripts/run/event/run-event-stream-emit.ts +63 -23
- package/scripts/run/event/run-event-stream.ts +69 -21
- package/scripts/run/event/run-event-tail.ts +122 -0
- package/scripts/run/event/run-event-watch.ts +12 -7
- package/scripts/run/handoff/run-handoff-args.ts +93 -0
- package/scripts/run/handoff/run-handoff-cli.ts +320 -0
- package/scripts/run/handoff/run-handoff-final.ts +38 -0
- package/scripts/run/handoff/run-handoff-launch.ts +113 -0
- package/scripts/run/handoff/run-handoff-retrospective.ts +48 -0
- package/scripts/run/handoff-lanes/run-handoff-lanes-cli.ts +31 -0
- package/scripts/run/handoff-lanes/run-handoff-lanes.ts +183 -0
- package/scripts/run/hold/run-hold-block.ts +35 -0
- package/scripts/run/hold/run-hold-cli.ts +20 -36
- package/scripts/run/hold/run-hold-main.ts +16 -1
- package/scripts/run/hold/run-hold.ts +12 -8
- package/scripts/run/hold/run-stop-notify.ts +1 -1
- package/scripts/run/launch-priority.ts +4 -7
- package/scripts/run/merge/run-merge-auth.ts +38 -13
- package/scripts/run/merge/run-merge-cap.ts +11 -6
- package/scripts/run/merge/run-merge-cli.ts +55 -58
- package/scripts/run/merge/run-merge-dated.ts +64 -0
- package/scripts/run/merge/run-merge-decision.ts +183 -0
- package/scripts/run/merge/run-merge-driver.ts +2 -0
- package/scripts/run/merge/run-merge-github-limit.ts +98 -0
- package/scripts/run/merge/run-merge-health.ts +137 -0
- package/scripts/run/merge/run-merge-human-review.ts +26 -0
- package/scripts/run/merge/run-merge-restart.ts +10 -3
- package/scripts/run/merge/run-merge-signals.ts +34 -9
- package/scripts/run/merge/run-merge-steps.ts +49 -50
- package/scripts/run/merge/run-merge-token.ts +3 -4
- package/scripts/run/merge/run-merge-usage-limit.ts +22 -9
- package/scripts/run/merge/run-merge-withdrawn.ts +4 -3
- package/scripts/run/merge/run-merge.ts +36 -18
- package/scripts/run/park/run-park-answered.ts +84 -0
- package/scripts/run/park/run-park-body.ts +346 -0
- package/scripts/run/park/run-park-cli.ts +49 -12
- package/scripts/run/park/run-park-escalate.ts +102 -0
- package/scripts/run/park/run-park-lane.ts +41 -0
- package/scripts/run/park/run-park-release.ts +61 -0
- package/scripts/run/park/run-park-write.ts +41 -0
- package/scripts/run/park/run-park.ts +2 -4
- package/scripts/run/park/run-stalled-park.ts +32 -0
- package/scripts/run/park/run-stalled.ts +97 -12
- package/scripts/run/pause/run-pause-cli.ts +4 -3
- package/scripts/run/pause/run-pause-comment.ts +30 -0
- package/scripts/run/pause/run-pause.ts +35 -223
- package/scripts/run/pause/run-set-aside-commit.ts +52 -0
- package/scripts/run/pause/run-set-aside.ts +139 -0
- package/scripts/run/prime/run-prime-cli.ts +105 -0
- package/scripts/run/progress/run-progress-cli.ts +44 -27
- package/scripts/run/progress/run-progress-config.ts +7 -18
- package/scripts/run/progress/run-progress.ts +16 -7
- package/scripts/run/review/run-chain-cli.ts +162 -0
- package/scripts/run/review/run-chain-join.ts +108 -0
- package/scripts/run/review/run-chain-review-fix.ts +70 -0
- package/scripts/run/review/run-chain.ts +167 -0
- package/scripts/run/review/run-review-cli.ts +127 -53
- package/scripts/run/review/run-review-early-push.ts +46 -12
- package/scripts/run/review/run-review-join-ready.ts +88 -0
- package/scripts/run/review/run-review-pinned-accepted.ts +15 -1
- package/scripts/run/review/run-review-pinned-join.ts +8 -4
- package/scripts/run/review/run-review-pinned-steps.ts +12 -7
- package/scripts/run/review/run-review-pinned.ts +8 -3
- package/scripts/run/review/run-review-steps.ts +29 -14
- package/scripts/run/review/run-review-unplanned.ts +75 -0
- package/scripts/run/review/run-review.ts +4 -4
- package/scripts/run/run-halfrun-resume.ts +9 -1
- package/scripts/run/run-headless-keys.ts +23 -0
- package/scripts/run/run-headless.ts +77 -13
- package/scripts/run/run-investigation-record.ts +66 -0
- package/scripts/run/run-label-main.ts +55 -0
- package/scripts/run/run-label.ts +20 -4
- package/scripts/run/run-liveness-cli.ts +1 -1
- package/scripts/run/run-liveness.ts +6 -5
- package/scripts/run/run-maintenance.ts +66 -0
- package/scripts/run/run-open-pr.ts +19 -0
- package/scripts/run/run-parent-cut-hook.ts +17 -9
- package/scripts/run/run-pickup-cli.ts +86 -0
- package/scripts/run/run-pickup-launch.ts +85 -0
- package/scripts/run/run-poll-hook.ts +14 -7
- package/scripts/run/run-pr-return.ts +99 -0
- package/scripts/run/run-prep-cli.ts +54 -7
- package/scripts/run/run-prep-locate.ts +8 -3
- package/scripts/run/run-prep-summary.ts +55 -0
- package/scripts/run/run-prep.ts +37 -1
- package/scripts/run/run-report-cli.ts +13 -2
- package/scripts/run/run-report-end.ts +133 -0
- package/scripts/run/run-report-handoff.ts +1 -1
- package/scripts/run/run-report.ts +7 -1
- package/scripts/run/run-stage-read.ts +38 -4
- package/scripts/run/run-stage.ts +18 -6
- package/scripts/run/run-status.ts +2 -1
- package/scripts/run/run-step-cli.ts +38 -10
- package/scripts/run/run-step-lane-plan.ts +26 -12
- package/scripts/run/run-step-progress.ts +61 -0
- package/scripts/run/run-step-section-driver.ts +27 -0
- package/scripts/run/run-step-section-once.ts +83 -0
- package/scripts/run/run-step-section-table.ts +120 -0
- package/scripts/run/run-step-section.ts +39 -53
- package/scripts/run/run-step.ts +4 -3
- package/scripts/run/run-stop-notify.ts +1 -1
- package/scripts/run/run-tail-cli.ts +14 -6
- package/scripts/run/run-tail.ts +22 -0
- package/scripts/run/run-watcher-guard.ts +15 -5
- package/scripts/run/run-watcher-hook.ts +12 -6
- package/scripts/run/ship/run-ship-args.ts +8 -1
- package/scripts/run/ship/run-ship-cli.ts +68 -65
- package/scripts/run/ship/run-ship-conflict-probe.ts +12 -14
- package/scripts/run/ship/run-ship-detach-wait.ts +25 -0
- package/scripts/run/ship/run-ship-detach.ts +29 -35
- package/scripts/run/ship/run-ship-early-push.ts +34 -0
- package/scripts/run/ship/run-ship-evidence-cli.ts +133 -0
- package/scripts/run/ship/run-ship-evidence.ts +71 -0
- package/scripts/run/ship/run-ship-final-review.ts +28 -0
- package/scripts/run/ship/run-ship-gate-runs.ts +58 -0
- package/scripts/run/ship/run-ship-group.ts +38 -0
- package/scripts/run/ship/run-ship-handover.ts +1 -1
- package/scripts/run/ship/run-ship-lap.ts +100 -12
- package/scripts/run/ship/run-ship-narrowed.ts +104 -0
- package/scripts/run/ship/run-ship-next.ts +3 -3
- package/scripts/run/ship/run-ship-pair-runs.ts +127 -0
- package/scripts/run/ship/run-ship-place.ts +9 -8
- package/scripts/run/ship/run-ship-planned.ts +1 -1
- package/scripts/run/ship/run-ship-pre-detach-pinned.ts +7 -1
- package/scripts/run/ship/run-ship-pre-detach.ts +18 -12
- package/scripts/run/ship/run-ship-preflight-reuse.ts +53 -0
- package/scripts/run/ship/run-ship-preflight.ts +21 -2
- package/scripts/run/ship/run-ship-probe.ts +5 -15
- package/scripts/run/ship/run-ship-record-wait.ts +30 -0
- package/scripts/run/ship/run-ship-relaunch-cap.ts +107 -14
- package/scripts/run/ship/run-ship-relaunch.ts +7 -1
- package/scripts/run/ship/run-ship-removed-rows.ts +34 -10
- package/scripts/run/ship/run-ship-reship.ts +125 -0
- package/scripts/run/ship/run-ship-return.ts +68 -22
- package/scripts/run/ship/run-ship-review-checkpoint.ts +112 -0
- package/scripts/run/ship/run-ship-review-reason.ts +3 -1
- package/scripts/run/ship/run-ship-review-steps.ts +80 -31
- package/scripts/run/ship/run-ship-review.ts +13 -9
- package/scripts/run/ship/run-ship-reviewer.ts +59 -7
- package/scripts/run/ship/run-ship-scoped.ts +232 -21
- package/scripts/run/ship/run-ship-stage.ts +3 -5
- package/scripts/run/ship/run-ship-steps.ts +65 -20
- package/scripts/run/ship/run-ship-stop-cause.ts +64 -2
- package/scripts/run/ship/run-ship-stop-context.ts +5 -5
- package/scripts/run/ship/run-ship-stop-text.ts +1 -1
- package/scripts/run/ship/run-ship-supervised.ts +38 -0
- package/scripts/run/ship/run-ship-sync.ts +114 -19
- package/scripts/run/ship/run-ship-synced-scope.ts +162 -58
- package/scripts/run/ship/run-ship-tree-stamp.ts +35 -0
- package/scripts/run/ship/run-ship-wait-cli.ts +23 -25
- package/scripts/run/ship/run-ship-wait-main.ts +12 -0
- package/scripts/run/ship/run-ship-waiter.ts +8 -6
- package/scripts/run/ship/run-ship.ts +12 -0
- package/scripts/run/split/run-split-cli.ts +134 -0
- package/scripts/run/split/run-split-prerequisite.ts +75 -0
- package/scripts/run/split/run-split.ts +213 -0
- package/scripts/run/stale/run-stale-cli.ts +86 -0
- package/scripts/run/stale/run-stale-main.ts +7 -0
- package/scripts/run/stale/run-stale.ts +117 -0
- package/scripts/run/tidy/run-tidy-cli.ts +24 -2
- package/scripts/run/tree-status-cli.ts +131 -0
- package/scripts/run/tree-status.ts +77 -0
- package/scripts/run/ts-entry-loader.ts +34 -0
- package/scripts/run/wake/run-wake-await.ts +22 -2
- package/scripts/run/wake/run-wake-cli.ts +3 -3
- package/scripts/run/wake/run-wake-describe.ts +1 -1
- package/scripts/run/wake/run-wake-driver.ts +158 -61
- package/scripts/run/wake/run-wake-handoff.ts +65 -14
- package/scripts/run/wake/run-wake-loop.ts +63 -23
- package/scripts/run/wake/run-wake-ports.ts +99 -17
- package/scripts/run/wake/run-wake-resume.ts +98 -0
- package/scripts/run/wake/run-wake-session.ts +16 -14
- package/scripts/run/wake/run-wake-window.ts +15 -0
- package/scripts/run/wake/run-wake.ts +7 -6
- package/scripts/safe-chain/preinstall-command.ts +3 -6
- package/scripts/safe-chain/project-config.ts +2 -2
- package/scripts/security/security-audit-cache.ts +157 -0
- package/scripts/security/security-audit-main.ts +4 -2
- package/scripts/security/security-audit-provision-logic.ts +4 -4
- package/scripts/security/security-audit-provision-main.ts +19 -5
- package/scripts/split/declared-growth.ts +22 -0
- package/scripts/split/split-assess.ts +229 -37
- package/scripts/split/split-child-recover-cli.ts +118 -0
- package/scripts/split/split-direction.ts +172 -0
- package/scripts/split/split-measure.ts +28 -14
- package/scripts/split/split-relocations.ts +108 -0
- package/scripts/split/split-resolution.ts +63 -61
- package/scripts/sync/claude-settings-merge.ts +8 -4
- package/scripts/sync/managed-config-scope.ts +13 -1
- package/scripts/sync/sync-ai-files.ts +2 -2
- package/scripts/sync/sync-configs.ts +3 -5
- package/scripts/test/test-e2e-guard.ts +2 -1
- package/scripts/test/test-inputs.ts +119 -0
- package/scripts/test/test-no-base.ts +35 -16
- package/scripts/test/test-pinned-cache-logic.ts +4 -0
- package/scripts/test/test-pinned-cache.ts +8 -15
- package/scripts/test/test-pinned-carry.ts +93 -0
- package/scripts/test/test-pinned-emit.ts +2 -1
- package/scripts/test/test-pinned-ledger.ts +15 -9
- package/scripts/test/test-pinned-logic.ts +66 -4
- package/scripts/test/test-pinned-main.ts +6 -30
- package/scripts/test/test-pinned-moves.ts +43 -0
- package/scripts/test/test-pinned-probe.ts +61 -17
- package/scripts/test/test-pinned-prune-logic.ts +2 -1
- package/scripts/test/test-pinned-reach.ts +11 -3
- package/scripts/test/test-pinned-record.ts +36 -4
- package/scripts/test/test-pinned-snapshot.ts +110 -0
- package/scripts/test/test-pinned-spawn.ts +32 -7
- package/scripts/test/test-pinned-stage.ts +43 -16
- package/scripts/test/test-pinned-type-check.ts +110 -0
- package/scripts/test/test-pinned.ts +92 -35
- package/scripts/test/test-red-logic.ts +40 -2
- package/scripts/test/test-red.ts +131 -19
- package/scripts/test/test-related-cap.ts +182 -0
- package/scripts/test/test-related-main.ts +2 -4
- package/scripts/test/test-related-pins.ts +33 -0
- package/scripts/test/test-related-record.ts +84 -8
- package/scripts/test/test-related-red.ts +218 -0
- package/scripts/test/test-related-reuse.ts +167 -0
- package/scripts/test/test-related-run.ts +144 -0
- package/scripts/test/test-related-synced.ts +31 -8
- package/scripts/test/test-related-touched.ts +29 -6
- package/scripts/test/test-related-verdict.ts +127 -0
- package/scripts/test/test-related-whole.ts +22 -0
- package/scripts/test/test-related.ts +124 -147
- package/scripts/test/test-type-logic.ts +1 -2
- package/scripts/test/test-unit-guard.ts +12 -3
- package/scripts/test/unit-count-file.ts +25 -1
- package/scripts/test/unit-lane-count.ts +63 -0
- package/scripts/test/unit-run-marker.ts +11 -1
- package/scripts/test/unit-update-arguments.ts +73 -0
- package/scripts/test/unit-worker-share.ts +28 -13
- package/scripts/test/whole-suite-files.ts +2 -0
- package/scripts/time-runtime/guard-rephrase.ts +66 -0
- package/scripts/time-runtime/time-agent-bundles.ts +5 -5
- package/scripts/time-runtime/time-bundle-call.ts +2 -2
- package/scripts/time-runtime/time-bundles.ts +2 -2
- package/scripts/time-runtime/time-command-key.ts +2 -5
- package/scripts/time-runtime/time-density-hook.ts +2 -31
- package/scripts/time-runtime/time-format.ts +4 -4
- package/scripts/time-runtime/time-josh-names.ts +51 -0
- package/scripts/time-runtime/time-markers.ts +4 -4
- package/scripts/time-runtime/time-phase-names.ts +2 -2
- package/scripts/time-runtime/time-shell.ts +28 -17
- package/scripts/time-runtime/time-single-check.ts +4 -4
- package/scripts/time-runtime/time-spans.ts +8 -8
- package/scripts/time-runtime/time-tool-call.ts +4 -3
- package/scripts/time-runtime/time-transcript-block.ts +172 -0
- package/scripts/time-runtime/time-transcript-line.ts +26 -158
- package/scripts/time-runtime/transcript-tail.ts +39 -0
- package/scripts/ui/ui-shot-cli.ts +90 -0
- package/scripts/ui/ui-shot.ts +95 -0
- package/scripts/usage/usage-state-path.ts +22 -0
- package/scripts/usage/usage-tee-cli.ts +5 -0
- package/scripts/usage/usage-tee.ts +48 -0
- package/scripts/version/development-engines-verdict.ts +7 -1
- package/scripts/version/fresh-metadata-cache.ts +4 -3
- package/scripts/version/latest-corepack.ts +3 -3
- package/scripts/version/latest-if-required-cli.ts +32 -4
- package/scripts/version/latest-scope-cli.ts +12 -2
- package/scripts/version/latest-stamp.ts +5 -4
- package/scripts/version/npm-registry.ts +19 -0
- package/scripts/version/playwright-browsers.ts +1 -1
- package/scripts/version/release-hold.ts +2 -2
- package/scripts/version/upgrade-command-guard.ts +1 -1
- package/templates/prettierignore.basic +3 -0
- package/templates/sonar-project.properties +2 -1
- package/templates/workflows/ci.yml +5 -4
- package/tsconfig/base.json +1 -0
- package/dist/hooks/chunk-3GKE653K.js +0 -6204
- package/dist/hooks/chunk-45CJJOO7.js +0 -1243
- package/dist/hooks/chunk-5PM2JRGV.js +0 -7780
- package/dist/hooks/chunk-7SIUNQXK.js +0 -3591
- package/dist/hooks/chunk-Z6DQJKH3.js +0 -2806
- package/prompts/collaboration-workflow.md +0 -28
- package/scripts/epic/epic-bundle-poll.ts +0 -41
- package/scripts/josh/josh-commands-lane.ts +0 -310
- package/scripts/josh/josh-commands-split.ts +0 -28
- package/scripts/review/review-lint-cli.ts +0 -57
- package/scripts/split/split-early-notice.ts +0 -116
|
@@ -0,0 +1,1222 @@
|
|
|
1
|
+
import {
|
|
2
|
+
backlog_triage_decision,
|
|
3
|
+
issue_run_verdict
|
|
4
|
+
} from "./chunk-JV24VP2O.js";
|
|
5
|
+
import {
|
|
6
|
+
run_event_filed
|
|
7
|
+
} from "./chunk-PYOK73QE.js";
|
|
8
|
+
import {
|
|
9
|
+
issue_classification,
|
|
10
|
+
issue_lint_cli
|
|
11
|
+
} from "./chunk-MUGTOJUL.js";
|
|
12
|
+
import {
|
|
13
|
+
issue_auto_ok
|
|
14
|
+
} from "./chunk-QGATHT4S.js";
|
|
15
|
+
import {
|
|
16
|
+
issue_scout_cli,
|
|
17
|
+
measure_twin
|
|
18
|
+
} from "./chunk-LUXWDMKI.js";
|
|
19
|
+
import {
|
|
20
|
+
epic_bundle_cli
|
|
21
|
+
} from "./chunk-7NHZCI5Y.js";
|
|
22
|
+
import {
|
|
23
|
+
issue_fold_cli
|
|
24
|
+
} from "./chunk-352KLSFX.js";
|
|
25
|
+
import {
|
|
26
|
+
epic_blocked_by
|
|
27
|
+
} from "./chunk-KZ7HD37E.js";
|
|
28
|
+
import {
|
|
29
|
+
split_resolution
|
|
30
|
+
} from "./chunk-RUQY5TS3.js";
|
|
31
|
+
import {
|
|
32
|
+
epic_shape
|
|
33
|
+
} from "./chunk-XPBF5DG3.js";
|
|
34
|
+
import {
|
|
35
|
+
epic_relations
|
|
36
|
+
} from "./chunk-FQGWO2ZH.js";
|
|
37
|
+
import {
|
|
38
|
+
epic_validate
|
|
39
|
+
} from "./chunk-OP2RFVLS.js";
|
|
40
|
+
import {
|
|
41
|
+
issue_fold
|
|
42
|
+
} from "./chunk-2XAH3MHV.js";
|
|
43
|
+
import {
|
|
44
|
+
issue_release_cli
|
|
45
|
+
} from "./chunk-NEGJ77RV.js";
|
|
46
|
+
import {
|
|
47
|
+
issue_state_cli
|
|
48
|
+
} from "./chunk-BRHPRDDV.js";
|
|
49
|
+
import {
|
|
50
|
+
repository_labels
|
|
51
|
+
} from "./chunk-FOKCRIAN.js";
|
|
52
|
+
import {
|
|
53
|
+
acceptance_map
|
|
54
|
+
} from "./chunk-5PCK53WP.js";
|
|
55
|
+
import {
|
|
56
|
+
run_hold_session
|
|
57
|
+
} from "./chunk-SASX3W2M.js";
|
|
58
|
+
import {
|
|
59
|
+
issue_cap_files,
|
|
60
|
+
issue_not_before_label
|
|
61
|
+
} from "./chunk-KCFOP5RI.js";
|
|
62
|
+
import {
|
|
63
|
+
lane_net_read
|
|
64
|
+
} from "./chunk-MFBNNTBM.js";
|
|
65
|
+
import {
|
|
66
|
+
epic_triage
|
|
67
|
+
} from "./chunk-VQRT32JB.js";
|
|
68
|
+
import {
|
|
69
|
+
issue_closing_pr
|
|
70
|
+
} from "./chunk-KZSM5M5P.js";
|
|
71
|
+
import {
|
|
72
|
+
issue_sample_gate
|
|
73
|
+
} from "./chunk-CQUZ6TNQ.js";
|
|
74
|
+
import {
|
|
75
|
+
epic_issue
|
|
76
|
+
} from "./chunk-IAD4WLLI.js";
|
|
77
|
+
import {
|
|
78
|
+
measure_declaration
|
|
79
|
+
} from "./chunk-34JJYCIY.js";
|
|
80
|
+
import {
|
|
81
|
+
size_estimate
|
|
82
|
+
} from "./chunk-FDS65XOJ.js";
|
|
83
|
+
import {
|
|
84
|
+
issue_priority
|
|
85
|
+
} from "./chunk-XI2ABCRX.js";
|
|
86
|
+
import {
|
|
87
|
+
epic_parse
|
|
88
|
+
} from "./chunk-VDGNXSP3.js";
|
|
89
|
+
import {
|
|
90
|
+
github_issue_url
|
|
91
|
+
} from "./chunk-S4X5PJV7.js";
|
|
92
|
+
import {
|
|
93
|
+
cli_body
|
|
94
|
+
} from "./chunk-7IZJ5MG2.js";
|
|
95
|
+
import {
|
|
96
|
+
git_gh_command
|
|
97
|
+
} from "./chunk-YGFOGA7C.js";
|
|
98
|
+
import {
|
|
99
|
+
MAX_SCANNED,
|
|
100
|
+
git_gh_issue_list
|
|
101
|
+
} from "./chunk-HXDTA5VU.js";
|
|
102
|
+
import {
|
|
103
|
+
backlog_overlap
|
|
104
|
+
} from "./chunk-B7ZNIEDV.js";
|
|
105
|
+
import {
|
|
106
|
+
test_related_pins
|
|
107
|
+
} from "./chunk-HE5S4XRE.js";
|
|
108
|
+
import {
|
|
109
|
+
markdown_section
|
|
110
|
+
} from "./chunk-JZK33TA5.js";
|
|
111
|
+
import {
|
|
112
|
+
COMMAND_MAP
|
|
113
|
+
} from "./chunk-C54QXJD6.js";
|
|
114
|
+
import {
|
|
115
|
+
git_branch
|
|
116
|
+
} from "./chunk-Q5Q2QYVU.js";
|
|
117
|
+
import {
|
|
118
|
+
issue_body_keys
|
|
119
|
+
} from "./chunk-KXK2A2HB.js";
|
|
120
|
+
import {
|
|
121
|
+
agent_worker_profile
|
|
122
|
+
} from "./chunk-FVDQNMP6.js";
|
|
123
|
+
import {
|
|
124
|
+
git_gh_issue_write
|
|
125
|
+
} from "./chunk-RN2YDNLF.js";
|
|
126
|
+
import {
|
|
127
|
+
git_gh_issue_rest
|
|
128
|
+
} from "./chunk-ENKFCOVY.js";
|
|
129
|
+
import {
|
|
130
|
+
repo_party
|
|
131
|
+
} from "./chunk-6OP63TBT.js";
|
|
132
|
+
import {
|
|
133
|
+
run_hold
|
|
134
|
+
} from "./chunk-X3TNPALI.js";
|
|
135
|
+
import {
|
|
136
|
+
run_event_stream_emit
|
|
137
|
+
} from "./chunk-OKZWEVR4.js";
|
|
138
|
+
import {
|
|
139
|
+
run_event_stream
|
|
140
|
+
} from "./chunk-NSAVEXVR.js";
|
|
141
|
+
import {
|
|
142
|
+
AUTO_OK_LABEL,
|
|
143
|
+
FILING_ROUTE_LABELS,
|
|
144
|
+
INTERRUPT_ROUTE_LABEL,
|
|
145
|
+
NEEDS_DECISION_LABEL,
|
|
146
|
+
RUN_LANE_LABEL,
|
|
147
|
+
RUN_SOLO_LABEL,
|
|
148
|
+
SPLIT_ROUTE_LABEL,
|
|
149
|
+
TIER_A_ROUTE_LABEL,
|
|
150
|
+
has_label_name,
|
|
151
|
+
has_parked_label
|
|
152
|
+
} from "./chunk-QQBMVC5W.js";
|
|
153
|
+
import {
|
|
154
|
+
lane_child_marker
|
|
155
|
+
} from "./chunk-QAHFPCFR.js";
|
|
156
|
+
import {
|
|
157
|
+
shell_quote
|
|
158
|
+
} from "./chunk-W2IA2LV3.js";
|
|
159
|
+
import {
|
|
160
|
+
session_cite
|
|
161
|
+
} from "./chunk-22DVQCP6.js";
|
|
162
|
+
import {
|
|
163
|
+
issue_cite
|
|
164
|
+
} from "./chunk-HQ2HSZBN.js";
|
|
165
|
+
import {
|
|
166
|
+
issue_number_shape
|
|
167
|
+
} from "./chunk-66NX6EXR.js";
|
|
168
|
+
import {
|
|
169
|
+
cli_flags
|
|
170
|
+
} from "./chunk-2FE3C4PH.js";
|
|
171
|
+
import {
|
|
172
|
+
git_gh_api_path
|
|
173
|
+
} from "./chunk-RDRN56E4.js";
|
|
174
|
+
import {
|
|
175
|
+
git_gh_exec
|
|
176
|
+
} from "./chunk-XDF25GSU.js";
|
|
177
|
+
import {
|
|
178
|
+
error_text
|
|
179
|
+
} from "./chunk-CDY4NFQG.js";
|
|
180
|
+
import {
|
|
181
|
+
git_command
|
|
182
|
+
} from "./chunk-AKQYYHP2.js";
|
|
183
|
+
import {
|
|
184
|
+
file_reader
|
|
185
|
+
} from "./chunk-ZNX2LJCQ.js";
|
|
186
|
+
import {
|
|
187
|
+
json_value
|
|
188
|
+
} from "./chunk-HIU2WXB6.js";
|
|
189
|
+
|
|
190
|
+
// scripts/run/hold/run-hold-member.ts
|
|
191
|
+
function is_owned(hold, owner) {
|
|
192
|
+
if (hold.owner_pid === void 0 || owner.owner_pid === void 0) return false;
|
|
193
|
+
return run_hold_session.is_session_hold(hold, owner);
|
|
194
|
+
}
|
|
195
|
+
async function is_hold_owner(owner) {
|
|
196
|
+
const directory = await run_hold.worktree_directory();
|
|
197
|
+
if (directory === void 0) return false;
|
|
198
|
+
const read = run_hold.read_hold(run_hold.hold_path(directory));
|
|
199
|
+
return read.kind === "held" && is_owned(read.hold, owner);
|
|
200
|
+
}
|
|
201
|
+
async function is_run_member(owner = run_hold.session_owner()) {
|
|
202
|
+
if (lane_child_marker.marked_issue() !== void 0) return true;
|
|
203
|
+
return await is_hold_owner(owner);
|
|
204
|
+
}
|
|
205
|
+
var run_hold_member = { is_run_member };
|
|
206
|
+
|
|
207
|
+
// scripts/split/split-direction.ts
|
|
208
|
+
var KEPT_HEADINGS = [issue_body_keys.heading("expected"), issue_body_keys.heading("criteria")];
|
|
209
|
+
var CODE_SPAN = /`([^`]+)`/gu;
|
|
210
|
+
var NOT_A_NAME = /[\s:]/u;
|
|
211
|
+
var LINE_SUFFIX = /:\d+(?:[-:]\d+)?$/u;
|
|
212
|
+
var SEPARATOR = "/";
|
|
213
|
+
var EXTENSION = /\.[^.]*$/u;
|
|
214
|
+
var WORD = /\s+/u;
|
|
215
|
+
var COMMAND_WORD = /[\w:-]+/gu;
|
|
216
|
+
var COMMAND_SEPARATOR = ":";
|
|
217
|
+
var MARKDOWN = /\.mdx?$/iu;
|
|
218
|
+
function normalized(name) {
|
|
219
|
+
return name.replaceAll("_", "-");
|
|
220
|
+
}
|
|
221
|
+
function module_of(path) {
|
|
222
|
+
return normalized(path.slice(path.lastIndexOf(SEPARATOR) + 1).replace(EXTENSION, ""));
|
|
223
|
+
}
|
|
224
|
+
function stem_of(span) {
|
|
225
|
+
const name = span.replace(LINE_SUFFIX, "");
|
|
226
|
+
if (NOT_A_NAME.test(name)) return void 0;
|
|
227
|
+
const stem = name.slice(name.lastIndexOf(SEPARATOR) + 1).split(".", 1)[0] ?? "";
|
|
228
|
+
return stem === "" ? void 0 : normalized(stem);
|
|
229
|
+
}
|
|
230
|
+
function is_command(word) {
|
|
231
|
+
return word.includes(COMMAND_SEPARATOR) && Object.hasOwn(COMMAND_MAP, word);
|
|
232
|
+
}
|
|
233
|
+
function commands_of(span) {
|
|
234
|
+
return span.split(WORD).filter((word) => is_command(word));
|
|
235
|
+
}
|
|
236
|
+
function kept_names(body) {
|
|
237
|
+
const text = KEPT_HEADINGS.flatMap((heading) => markdown_section.section_lines(body, heading));
|
|
238
|
+
const spans = [...text.join("\n").matchAll(CODE_SPAN)].map((match) => match[1] ?? "");
|
|
239
|
+
const stems = spans.map((span) => stem_of(span)).filter((stem) => stem !== void 0);
|
|
240
|
+
return /* @__PURE__ */ new Set([...stems, ...spans.flatMap((span) => commands_of(span))]);
|
|
241
|
+
}
|
|
242
|
+
function commands_for(path) {
|
|
243
|
+
const registered = Object.entries(COMMAND_MAP).filter(([, entry]) => entry.script === path).map(([command]) => command);
|
|
244
|
+
if (MARKDOWN.test(path) || test_related_pins.is_registry_source(path)) return registered;
|
|
245
|
+
const source = file_reader.read_if_readable(path) ?? "";
|
|
246
|
+
const named = [...source.matchAll(COMMAND_WORD)].map((match) => match[0]);
|
|
247
|
+
return [.../* @__PURE__ */ new Set([...registered, ...named.filter((word) => is_command(word))])];
|
|
248
|
+
}
|
|
249
|
+
function names_of(path) {
|
|
250
|
+
return [module_of(path), ...commands_for(path)];
|
|
251
|
+
}
|
|
252
|
+
function references(kept_body, child_body) {
|
|
253
|
+
const kept = kept_names(kept_body);
|
|
254
|
+
const files = [...backlog_overlap.declared_paths(child_body)].filter(
|
|
255
|
+
(path) => !path.endsWith(SEPARATOR)
|
|
256
|
+
);
|
|
257
|
+
return files.map((path) => ({ path, name: names_of(path).find((candidate) => kept.has(candidate)) ?? "" })).filter((reference) => reference.name !== "");
|
|
258
|
+
}
|
|
259
|
+
function format_refusal(kept, found) {
|
|
260
|
+
const named = found.map(({ path, name }) => `\`${name}\` (\`${path}\`)`).join(", ");
|
|
261
|
+
return [
|
|
262
|
+
`\u2716 ${session_cite.issue(kept)}'s expected result or acceptance criteria name what this split takes off: ${named}. The kept Issue depends on the split-off part, so it cannot merge first.`,
|
|
263
|
+
`File the part as a prerequisite instead (\`--route split --label route:tier-a\`), then run \`pnpm josh run:split ${kept} --prerequisite <P>\` \u2014 \`prerequisite.md\`; nothing was filed.`
|
|
264
|
+
].join("\n");
|
|
265
|
+
}
|
|
266
|
+
function kept_issue({ route, found_during }) {
|
|
267
|
+
if (route !== SPLIT_ROUTE_LABEL || found_during === void 0) return void 0;
|
|
268
|
+
return issue_number_shape.is_issue_number(found_during) ? found_during : void 0;
|
|
269
|
+
}
|
|
270
|
+
function is_prerequisite({ labels = [] }) {
|
|
271
|
+
return labels.includes(TIER_A_ROUTE_LABEL);
|
|
272
|
+
}
|
|
273
|
+
async function kept_deliverable_body(issue) {
|
|
274
|
+
const raw = await git_gh_command.issue_get_labels_and_body(issue);
|
|
275
|
+
const subject = epic_validate.parse_epic_subject(raw);
|
|
276
|
+
if (subject === void 0) return void 0;
|
|
277
|
+
const tracked = epic_parse.parse_task_list_issue_numbers(subject.body);
|
|
278
|
+
const shape = { epic_number: subject.number, labels: subject.labels, body: subject.body };
|
|
279
|
+
return epic_shape.find_subject_error(shape, tracked) === void 0 ? void 0 : subject.body;
|
|
280
|
+
}
|
|
281
|
+
async function refusal_of(filing, child_body) {
|
|
282
|
+
if (is_prerequisite(filing)) return void 0;
|
|
283
|
+
const found_during = kept_issue(filing);
|
|
284
|
+
if (found_during === void 0) return void 0;
|
|
285
|
+
const kept_body = await kept_deliverable_body(found_during);
|
|
286
|
+
const found = kept_body === void 0 ? [] : references(kept_body, child_body);
|
|
287
|
+
return found.length === 0 ? void 0 : format_refusal(found_during, found);
|
|
288
|
+
}
|
|
289
|
+
async function is_direction_clear(filing, child_body) {
|
|
290
|
+
const refusal = await refusal_of(filing, child_body);
|
|
291
|
+
if (refusal !== void 0) console.error(refusal);
|
|
292
|
+
return refusal === void 0;
|
|
293
|
+
}
|
|
294
|
+
var split_direction = { is_direction_clear, references, refusal_of };
|
|
295
|
+
|
|
296
|
+
// scripts/issue/issue-backlinks.ts
|
|
297
|
+
var ORIGIN_HEADING = "## Origin";
|
|
298
|
+
var UPSTREAM_ISSUES_HEADING = "## Upstream issues";
|
|
299
|
+
var UPSTREAM_CANDIDATE_HEADING = "## Upstream candidate";
|
|
300
|
+
var CHECKBOX_PATTERN = /^\s*-\s*\[[ xX]\]/u;
|
|
301
|
+
var WRONG_UPSTREAM_HEADING_PATTERN = /^##\s+Upstream\b/iu;
|
|
302
|
+
var BARE_REFERENCE_PATTERN = /^#\d+$/u;
|
|
303
|
+
var REFERENCE_MARK = "#";
|
|
304
|
+
var PATH_SEPARATOR = "/";
|
|
305
|
+
var PATH_SEGMENT_COUNT = 2;
|
|
306
|
+
var OK = "ok";
|
|
307
|
+
var WRONG_HEADING = "wrong-heading";
|
|
308
|
+
var MISSING_UPSTREAM = "missing-upstream";
|
|
309
|
+
function has_heading(body, heading) {
|
|
310
|
+
return markdown_section.has_line(body, heading);
|
|
311
|
+
}
|
|
312
|
+
function upstream_section_lines(body) {
|
|
313
|
+
if (!has_heading(body, UPSTREAM_ISSUES_HEADING)) return void 0;
|
|
314
|
+
return markdown_section.section_lines(body, UPSTREAM_ISSUES_HEADING);
|
|
315
|
+
}
|
|
316
|
+
function has_wrong_upstream_heading(body) {
|
|
317
|
+
return markdown_section.unfenced_lines(body).some((line) => {
|
|
318
|
+
const heading = line.trim();
|
|
319
|
+
if (heading === UPSTREAM_ISSUES_HEADING || heading === UPSTREAM_CANDIDATE_HEADING) return false;
|
|
320
|
+
return WRONG_UPSTREAM_HEADING_PATTERN.test(heading);
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
function tokens_of(section) {
|
|
324
|
+
return section.join(" ").split(/\s+/u).filter((token) => token.length > 0);
|
|
325
|
+
}
|
|
326
|
+
function has_two_segments(path = "") {
|
|
327
|
+
const segments = path.split(PATH_SEPARATOR);
|
|
328
|
+
return segments.length === PATH_SEGMENT_COUNT && segments.every((segment) => segment.length > 0);
|
|
329
|
+
}
|
|
330
|
+
function is_qualified_reference(token) {
|
|
331
|
+
const [path, number, ...rest] = token.split(REFERENCE_MARK);
|
|
332
|
+
if (number === void 0 || rest.length > 0) return false;
|
|
333
|
+
return issue_number_shape.ISSUE_NUMBER_PATTERN.test(number) && has_two_segments(path);
|
|
334
|
+
}
|
|
335
|
+
function has_bare_reference(section) {
|
|
336
|
+
return tokens_of(section).some((token) => BARE_REFERENCE_PATTERN.test(token));
|
|
337
|
+
}
|
|
338
|
+
function has_checkbox_reference(section) {
|
|
339
|
+
return section.some((line) => CHECKBOX_PATTERN.test(line) && line.includes(REFERENCE_MARK));
|
|
340
|
+
}
|
|
341
|
+
function is_malformed_upstream_section(section) {
|
|
342
|
+
return has_bare_reference(section) || has_checkbox_reference(section);
|
|
343
|
+
}
|
|
344
|
+
function every_upstream_cites_origin(upstreams) {
|
|
345
|
+
return upstreams.every((upstream) => has_heading(upstream.body, ORIGIN_HEADING));
|
|
346
|
+
}
|
|
347
|
+
function verdict_without_section(origin_body) {
|
|
348
|
+
return has_heading(origin_body, UPSTREAM_CANDIDATE_HEADING) ? OK : MISSING_UPSTREAM;
|
|
349
|
+
}
|
|
350
|
+
function verdict_with_section(section, upstreams) {
|
|
351
|
+
if (is_malformed_upstream_section(section)) return WRONG_HEADING;
|
|
352
|
+
if (upstreams.length === 0) return MISSING_UPSTREAM;
|
|
353
|
+
return every_upstream_cites_origin(upstreams) ? OK : "missing-origin";
|
|
354
|
+
}
|
|
355
|
+
function classify_backlinks(origin_body, upstreams) {
|
|
356
|
+
if (has_wrong_upstream_heading(origin_body)) return WRONG_HEADING;
|
|
357
|
+
const section = upstream_section_lines(origin_body);
|
|
358
|
+
return section === void 0 ? verdict_without_section(origin_body) : verdict_with_section(section, upstreams);
|
|
359
|
+
}
|
|
360
|
+
function upstream_references(origin_body) {
|
|
361
|
+
const section = upstream_section_lines(origin_body);
|
|
362
|
+
if (section === void 0) return [];
|
|
363
|
+
return tokens_of(section).filter((token) => is_qualified_reference(token));
|
|
364
|
+
}
|
|
365
|
+
function needs_upstreams(origin_body) {
|
|
366
|
+
if (has_wrong_upstream_heading(origin_body)) return false;
|
|
367
|
+
const section = upstream_section_lines(origin_body);
|
|
368
|
+
if (section === void 0) return false;
|
|
369
|
+
return !is_malformed_upstream_section(section);
|
|
370
|
+
}
|
|
371
|
+
var issue_backlinks = {
|
|
372
|
+
classify_backlinks,
|
|
373
|
+
upstream_refs: upstream_references,
|
|
374
|
+
needs_upstreams,
|
|
375
|
+
ORIGIN_HEADING,
|
|
376
|
+
UPSTREAM_ISSUES_HEADING,
|
|
377
|
+
UPSTREAM_CANDIDATE_HEADING
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
// scripts/issue/issue-file.ts
|
|
381
|
+
var ROUTE_PREFIX = "route:";
|
|
382
|
+
var LIST_SEPARATOR = ",";
|
|
383
|
+
var WORD_SEPARATOR = /\s+/u;
|
|
384
|
+
var CODE_SPAN2 = /`/gu;
|
|
385
|
+
var LEADING_NON_WORD = /^[^\w]+/u;
|
|
386
|
+
var DIGIT = /\d/u;
|
|
387
|
+
var OPTIONS = {
|
|
388
|
+
...backlog_triage_decision.OPTIONS,
|
|
389
|
+
"body-file": { type: "string" },
|
|
390
|
+
route: { type: "string" },
|
|
391
|
+
label: { type: "string", multiple: true },
|
|
392
|
+
repo: { type: "string" },
|
|
393
|
+
distinct: { type: "string", multiple: true },
|
|
394
|
+
"found-during": { type: "string" },
|
|
395
|
+
"over-cap": { type: "boolean" },
|
|
396
|
+
"no-auto-ok": { type: "boolean" },
|
|
397
|
+
release: { type: "boolean" },
|
|
398
|
+
"blocks-finder": { type: "boolean" },
|
|
399
|
+
check: { type: "boolean" }
|
|
400
|
+
};
|
|
401
|
+
function label_of(prefix, value, known) {
|
|
402
|
+
if (value === void 0) return void 0;
|
|
403
|
+
const label = value.startsWith(prefix) ? value : `${prefix}${value}`;
|
|
404
|
+
return known.includes(label) ? label : void 0;
|
|
405
|
+
}
|
|
406
|
+
var ROUTE_NAMES = FILING_ROUTE_LABELS.map((label) => label.name);
|
|
407
|
+
function distinct_numbers(values) {
|
|
408
|
+
const numbers = values.flatMap((value) => value.split(LIST_SEPARATOR)).map((raw) => {
|
|
409
|
+
return Number(raw.trim().replace("#", ""));
|
|
410
|
+
});
|
|
411
|
+
return numbers.every((number) => Number.isSafeInteger(number) && number > 0) ? numbers : void 0;
|
|
412
|
+
}
|
|
413
|
+
function route_of(values) {
|
|
414
|
+
if (values.route === void 0) return void 0;
|
|
415
|
+
return label_of(ROUTE_PREFIX, values.route, ROUTE_NAMES) ?? false;
|
|
416
|
+
}
|
|
417
|
+
function has_text(value) {
|
|
418
|
+
return value !== void 0 && value.trim() !== "";
|
|
419
|
+
}
|
|
420
|
+
function found_during_of(value) {
|
|
421
|
+
if (value === void 0) return void 0;
|
|
422
|
+
const numbers = distinct_numbers([value]);
|
|
423
|
+
return numbers?.length === 1 ? String(numbers[0]) : false;
|
|
424
|
+
}
|
|
425
|
+
function labelled_of(values) {
|
|
426
|
+
const route = route_of(values);
|
|
427
|
+
const distinct = distinct_numbers(values.distinct ?? []);
|
|
428
|
+
const found_during = found_during_of(values["found-during"]);
|
|
429
|
+
if (route === false || distinct === void 0 || found_during === false) return void 0;
|
|
430
|
+
return { route, distinct, found_during };
|
|
431
|
+
}
|
|
432
|
+
function arguments_of(values, title) {
|
|
433
|
+
const labelled = labelled_of(values);
|
|
434
|
+
const body_file = values["body-file"];
|
|
435
|
+
if (labelled === void 0 || !has_text(title) || !has_text(body_file)) return void 0;
|
|
436
|
+
return {
|
|
437
|
+
title,
|
|
438
|
+
body_file,
|
|
439
|
+
answers: {
|
|
440
|
+
defect: values.defect,
|
|
441
|
+
verification: values.verification,
|
|
442
|
+
"every-run": values["every-run"]
|
|
443
|
+
},
|
|
444
|
+
...labelled,
|
|
445
|
+
labels: values.label ?? [],
|
|
446
|
+
repo: values.repo,
|
|
447
|
+
is_over_cap: values["over-cap"] === true,
|
|
448
|
+
is_auto_ok_opted_out: values["no-auto-ok"] === true,
|
|
449
|
+
is_release: values.release === true,
|
|
450
|
+
is_blocking_finder: values["blocks-finder"] === true,
|
|
451
|
+
is_check: values.check === true
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
function parse(argv) {
|
|
455
|
+
const parsed = cli_flags.arguments_of(argv, OPTIONS);
|
|
456
|
+
const args = parsed === void 0 ? void 0 : arguments_of(parsed.values, parsed.positionals[0]);
|
|
457
|
+
if (args === void 0 || !has_label_name(args.labels, RUN_SOLO_LABEL)) return args;
|
|
458
|
+
return issue_run_verdict.run_label_of({ ...args.answers, solo: true }) === RUN_SOLO_LABEL ? args : void 0;
|
|
459
|
+
}
|
|
460
|
+
function is_undeclared_classification(label, body) {
|
|
461
|
+
const is_classification = has_label_name(issue_classification.CLASSIFICATION_LABELS, label);
|
|
462
|
+
return is_classification && !has_label_name(issue_classification.required_labels(body), label);
|
|
463
|
+
}
|
|
464
|
+
function labels_of(args, body, is_auto_ok = false) {
|
|
465
|
+
const extra = args.labels.filter((label) => !is_undeclared_classification(label, body));
|
|
466
|
+
const declared = [...args.route === void 0 ? [] : [args.route], ...extra];
|
|
467
|
+
const labels = issue_priority.with_label(
|
|
468
|
+
issue_not_before_label.with_label(issue_classification.labels_for(body, declared), body),
|
|
469
|
+
body
|
|
470
|
+
);
|
|
471
|
+
if (!is_auto_ok || has_label_name(labels, AUTO_OK_LABEL)) return labels;
|
|
472
|
+
return [...labels, AUTO_OK_LABEL];
|
|
473
|
+
}
|
|
474
|
+
function triage_problem(labels) {
|
|
475
|
+
const is_owed = has_label_name(labels, AUTO_OK_LABEL) && !epic_triage.has_triage_label(labels);
|
|
476
|
+
if (!is_owed) return void 0;
|
|
477
|
+
return `an \`${AUTO_OK_LABEL}\` filing needs \`--label ${RUN_LANE_LABEL}\` or \`--label ${RUN_SOLO_LABEL}\` \u2014 \`${RUN_SOLO_LABEL}\` only for a defect in kit's own verification that makes unrelated PRs answer wrongly on main on every run (\`backlogrun-lanes.md\`), else \`${RUN_LANE_LABEL}\` \u2014 a flaky one takes \`${RUN_LANE_LABEL}\` and \`priority:critical\``;
|
|
478
|
+
}
|
|
479
|
+
function is_same_repository(target, current) {
|
|
480
|
+
return target.toLowerCase() === current.toLowerCase();
|
|
481
|
+
}
|
|
482
|
+
function without_trailing_prose(text) {
|
|
483
|
+
let end = text.length;
|
|
484
|
+
while (end > 0 && !DIGIT.test(text.charAt(end - 1))) end -= 1;
|
|
485
|
+
return text.slice(0, end);
|
|
486
|
+
}
|
|
487
|
+
function is_qualified_reference2(word) {
|
|
488
|
+
const bare = without_trailing_prose(word.replaceAll(CODE_SPAN2, "").replace(LEADING_NON_WORD, ""));
|
|
489
|
+
return epic_issue.parse_epic_reference(bare)?.repo !== void 0 || github_issue_url.parse(bare) !== void 0;
|
|
490
|
+
}
|
|
491
|
+
function cites_origin(line) {
|
|
492
|
+
return line.split(WORD_SEPARATOR).some((word) => is_qualified_reference2(word));
|
|
493
|
+
}
|
|
494
|
+
function origin_problem(body, target, current) {
|
|
495
|
+
if (is_same_repository(target, current)) return void 0;
|
|
496
|
+
const lines = markdown_section.section_lines(body, issue_backlinks.ORIGIN_HEADING);
|
|
497
|
+
if (lines.some((line) => cites_origin(line))) return void 0;
|
|
498
|
+
return `filing into ${target} from ${current} needs a \`${issue_backlinks.ORIGIN_HEADING}\` section citing the originating Issue as \`owner/repo#N\` or its URL`;
|
|
499
|
+
}
|
|
500
|
+
function unacknowledged(candidates, distinct) {
|
|
501
|
+
return candidates.filter((candidate) => !distinct.includes(candidate));
|
|
502
|
+
}
|
|
503
|
+
function acknowledged(args, target, current) {
|
|
504
|
+
if (args.found_during === void 0 || !is_same_repository(target, current)) return args.distinct;
|
|
505
|
+
return [...args.distinct, Number(args.found_during)];
|
|
506
|
+
}
|
|
507
|
+
var issue_file = {
|
|
508
|
+
parse,
|
|
509
|
+
labels_of,
|
|
510
|
+
origin_problem,
|
|
511
|
+
triage_problem,
|
|
512
|
+
unacknowledged,
|
|
513
|
+
acknowledged,
|
|
514
|
+
is_same_repository
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
// scripts/issue/issue-file-fold.ts
|
|
518
|
+
var REFERENCE_NUMBER = /#(?<number>\d+)$/u;
|
|
519
|
+
var CLOSED_STATE = "CLOSED";
|
|
520
|
+
function number_of(reference) {
|
|
521
|
+
return Number(REFERENCE_NUMBER.exec(reference)?.groups?.["number"]);
|
|
522
|
+
}
|
|
523
|
+
function reference_prefix(target, current) {
|
|
524
|
+
return issue_file.is_same_repository(target, current) ? "" : target;
|
|
525
|
+
}
|
|
526
|
+
function prefix_of(reference) {
|
|
527
|
+
return reference.slice(0, reference.lastIndexOf("#"));
|
|
528
|
+
}
|
|
529
|
+
async function branch_issue() {
|
|
530
|
+
try {
|
|
531
|
+
return git_branch.issue_from_branch(await git_command.branch());
|
|
532
|
+
} catch {
|
|
533
|
+
return void 0;
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
async function finder(named) {
|
|
537
|
+
if (named !== void 0) return named;
|
|
538
|
+
const marked = lane_child_marker.marked_issue();
|
|
539
|
+
if (marked !== void 0) return marked;
|
|
540
|
+
const issue = await branch_issue();
|
|
541
|
+
return issue === void 0 ? void 0 : String(issue);
|
|
542
|
+
}
|
|
543
|
+
async function events_of(found_during) {
|
|
544
|
+
if (found_during === void 0) return await run_event_stream_emit.current_events();
|
|
545
|
+
return await run_event_stream_emit.all_events();
|
|
546
|
+
}
|
|
547
|
+
function finder_filings(events, found_during) {
|
|
548
|
+
return events.filter((event) => event.kind === run_event_stream.EVENT_KIND.FILED).flatMap((event) => run_event_filed.parse(event.text) ?? []).filter((filed) => filed.found_during === found_during);
|
|
549
|
+
}
|
|
550
|
+
function prior_filings(events, found_during, prefix, distinct) {
|
|
551
|
+
return finder_filings(events, found_during).filter((filed) => prefix_of(filed.reference) === prefix).filter((filed) => !distinct.includes(number_of(filed.reference)));
|
|
552
|
+
}
|
|
553
|
+
async function is_open(filed, prefix) {
|
|
554
|
+
const repo = prefix === "" ? void 0 : prefix;
|
|
555
|
+
const read = await issue_state_cli.read_issue(String(number_of(filed.reference)), repo);
|
|
556
|
+
return read.kind !== "state" || read.state.state !== CLOSED_STATE;
|
|
557
|
+
}
|
|
558
|
+
async function open_filings(priors, prefix) {
|
|
559
|
+
const verdicts = await Promise.all(priors.map(async (filed) => await is_open(filed, prefix)));
|
|
560
|
+
return priors.filter((_filed, index) => verdicts[index]);
|
|
561
|
+
}
|
|
562
|
+
function references_of(priors) {
|
|
563
|
+
return priors.map((filed) => filed.reference).join(", ");
|
|
564
|
+
}
|
|
565
|
+
function line_of(verdict, priors) {
|
|
566
|
+
return `fold: ${issue_fold_cli.REASONS[verdict]} \xB7 filed earlier by this finder: ${references_of(priors)}`;
|
|
567
|
+
}
|
|
568
|
+
function held_message(priors) {
|
|
569
|
+
const listed = priors.map((filed) => String(number_of(filed.reference))).join(",");
|
|
570
|
+
return `\u2716 fold: add this finding to ${references_of(priors)} (its body or a comment) rather than filing it; a finding that is really a separate deliverable reissues with \`--distinct ${listed}\` (\`split-assessment.md\` \u2192 "The question").`;
|
|
571
|
+
}
|
|
572
|
+
async function is_fold_clear(prefix, args) {
|
|
573
|
+
if (args.route === SPLIT_ROUTE_LABEL) return true;
|
|
574
|
+
const found_during = await finder(args.found_during);
|
|
575
|
+
const filings = prior_filings(await events_of(found_during), found_during, prefix, args.distinct);
|
|
576
|
+
const priors = await open_filings(filings, prefix);
|
|
577
|
+
if (priors.length === 0) return true;
|
|
578
|
+
const size = await issue_fold_cli.size_verdict();
|
|
579
|
+
const verdict = issue_fold.fold_verdict(priors.length + 1, true, size);
|
|
580
|
+
console.info(line_of(verdict, priors));
|
|
581
|
+
if (verdict === issue_fold.FOLD) console.error(held_message(priors));
|
|
582
|
+
return verdict !== issue_fold.FOLD;
|
|
583
|
+
}
|
|
584
|
+
var issue_file_fold = {
|
|
585
|
+
events_of,
|
|
586
|
+
finder,
|
|
587
|
+
finder_filings,
|
|
588
|
+
is_fold_clear,
|
|
589
|
+
prior_filings,
|
|
590
|
+
reference_prefix
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
// scripts/issue/issue-file-cap.ts
|
|
594
|
+
var FILING_CAP = 10;
|
|
595
|
+
async function prior_count(origin) {
|
|
596
|
+
const events = await issue_file_fold.events_of(origin);
|
|
597
|
+
return issue_file_fold.finder_filings(events, origin).filter((filed) => filed.is_run === true).length;
|
|
598
|
+
}
|
|
599
|
+
function owner_of(origin) {
|
|
600
|
+
return origin === void 0 ? "this run (no originating Issue)" : session_cite.issue(origin);
|
|
601
|
+
}
|
|
602
|
+
function reason_of(origin) {
|
|
603
|
+
return `\u2716 filing cap: ${owner_of(origin)} has already filed ${String(FILING_CAP)} Issues, the ceiling per originating work item. Stop filing and report; a further Issue is a person's to file from their own session (\`.claude/skills/workflow-commands/prerequisite.md\`).`;
|
|
604
|
+
}
|
|
605
|
+
async function is_cap_clear(named) {
|
|
606
|
+
if (!await run_hold_member.is_run_member()) return true;
|
|
607
|
+
const origin = await issue_file_fold.finder(named);
|
|
608
|
+
if (await prior_count(origin) < FILING_CAP) return true;
|
|
609
|
+
console.error(reason_of(origin));
|
|
610
|
+
return false;
|
|
611
|
+
}
|
|
612
|
+
var issue_file_cap = { FILING_CAP, is_cap_clear, reason_of };
|
|
613
|
+
|
|
614
|
+
// scripts/issue/issue-file-deferral.ts
|
|
615
|
+
var NOTE_PREFIX = "\u5148\u9001\u308A:";
|
|
616
|
+
function note_of(deferral) {
|
|
617
|
+
return `${NOTE_PREFIX} ${deferral.reference} ${deferral.title}`;
|
|
618
|
+
}
|
|
619
|
+
function failure_line(finder2, note) {
|
|
620
|
+
const rerun = `pnpm josh issue:comment ${String(finder2)} --body ${shell_quote.single_quoted(note)}`;
|
|
621
|
+
return `\u26A0 the deferral note did not reach ${session_cite.issue(finder2)} \u2014 run \`${rerun}\`.`;
|
|
622
|
+
}
|
|
623
|
+
async function note_finder(deferral) {
|
|
624
|
+
const finder2 = Number(deferral.found_during);
|
|
625
|
+
if (!Number.isSafeInteger(finder2) || finder2 <= 0) return;
|
|
626
|
+
const note = note_of(deferral);
|
|
627
|
+
const is_noted = await git_gh_issue_write.issue_try_comment(
|
|
628
|
+
String(finder2),
|
|
629
|
+
note,
|
|
630
|
+
deferral.current
|
|
631
|
+
);
|
|
632
|
+
if (!is_noted) console.error(failure_line(finder2, note));
|
|
633
|
+
}
|
|
634
|
+
var issue_file_deferral = { NOTE_PREFIX, note_finder };
|
|
635
|
+
|
|
636
|
+
// scripts/issue/issue-file-interrupt.ts
|
|
637
|
+
var DECISION_PREFIX = "\u6C7A\u5B9A:";
|
|
638
|
+
var CONVERTED_NOTE = "\u306E\u7740\u5730\u5F85\u3061\uFF08\u4F9D\u5B58\u306B\u5909\u63DB\uFF09";
|
|
639
|
+
function is_issue_number(value) {
|
|
640
|
+
return Number.isSafeInteger(value) && value > 0;
|
|
641
|
+
}
|
|
642
|
+
function finder_of(filing) {
|
|
643
|
+
if (filing.route !== INTERRUPT_ROUTE_LABEL || !filing.is_here) return void 0;
|
|
644
|
+
const finder2 = Number(filing.found_during);
|
|
645
|
+
return is_issue_number(finder2) ? finder2 : void 0;
|
|
646
|
+
}
|
|
647
|
+
function ignored_line(filing) {
|
|
648
|
+
const reason = filing.route === INTERRUPT_ROUTE_LABEL ? "no finder and filed Issue pair in this repository was read" : "it applies to `--route interrupt` only";
|
|
649
|
+
return `\u26A0 --blocks-finder recorded nothing: ${reason}.`;
|
|
650
|
+
}
|
|
651
|
+
function failure_line2(blocked, blocker) {
|
|
652
|
+
const path = git_gh_api_path.blocked_by_api_path(String(blocked));
|
|
653
|
+
const id = `$(gh api ${git_gh_api_path.issue_api_path(String(blocker))} --jq .id)`;
|
|
654
|
+
const cited = `${session_cite.issue(blocked)} could not be recorded as blocked by ${session_cite.issue(blocker)}`;
|
|
655
|
+
return `\u26A0 ${cited} \u2014 run \`gh api ${path} -F issue_id=${id}\`.`;
|
|
656
|
+
}
|
|
657
|
+
async function record(pair) {
|
|
658
|
+
const links = [pair];
|
|
659
|
+
const failures = await epic_relations.apply_relations(links, "record");
|
|
660
|
+
if (failures === 0) {
|
|
661
|
+
console.info(epic_relations.format_relation_report({ links, failures, action: "record" }));
|
|
662
|
+
return true;
|
|
663
|
+
}
|
|
664
|
+
console.error(failure_line2(pair.blocked, pair.blocker));
|
|
665
|
+
return false;
|
|
666
|
+
}
|
|
667
|
+
function pair_of(filing) {
|
|
668
|
+
const blocked = finder_of(filing);
|
|
669
|
+
return blocked !== void 0 && is_issue_number(filing.blocker) ? { blocked, blocker: filing.blocker } : void 0;
|
|
670
|
+
}
|
|
671
|
+
async function is_parked(pair) {
|
|
672
|
+
if (pair === void 0) return false;
|
|
673
|
+
const names = await git_gh_issue_write.read_label_names(String(pair.blocked));
|
|
674
|
+
return names?.includes(NEEDS_DECISION_LABEL) === true;
|
|
675
|
+
}
|
|
676
|
+
function kept_line(finder2, decision) {
|
|
677
|
+
return `\u26A0 ${session_cite.issue(finder2)} kept ${NEEDS_DECISION_LABEL} \u2014 post "${decision}" if it is missing, then run \`pnpm josh run:park ${finder2} --clear\`.`;
|
|
678
|
+
}
|
|
679
|
+
async function convert_park(pair) {
|
|
680
|
+
const finder2 = String(pair.blocked);
|
|
681
|
+
const decision = `${DECISION_PREFIX} ${issue_cite.plain_for("github", pair.blocker)} ${CONVERTED_NOTE}`;
|
|
682
|
+
const is_cleared = await git_gh_issue_write.issue_try_comment(finder2, decision) && await git_gh_issue_write.issue_clear_label(finder2, NEEDS_DECISION_LABEL);
|
|
683
|
+
if (!is_cleared) console.error(kept_line(finder2, decision));
|
|
684
|
+
}
|
|
685
|
+
async function block_pair(filing, pair, is_converting) {
|
|
686
|
+
if (pair === void 0) {
|
|
687
|
+
console.warn(ignored_line(filing));
|
|
688
|
+
return;
|
|
689
|
+
}
|
|
690
|
+
const is_recorded = await record(pair);
|
|
691
|
+
if (is_converting && is_recorded) await convert_park(pair);
|
|
692
|
+
}
|
|
693
|
+
async function block_finder(filing) {
|
|
694
|
+
const pair = pair_of(filing);
|
|
695
|
+
const is_converting = await is_parked(pair);
|
|
696
|
+
if (!is_converting && !filing.is_blocking_finder) return;
|
|
697
|
+
await block_pair(filing, pair, is_converting);
|
|
698
|
+
}
|
|
699
|
+
var issue_file_interrupt = { block_finder };
|
|
700
|
+
|
|
701
|
+
// scripts/issue/issue-file-lane-hint.ts
|
|
702
|
+
async function lines_of(found_during, body) {
|
|
703
|
+
if (found_during === void 0 || issue_priority.lane_minutes(body) > 0) return [];
|
|
704
|
+
const minutes = await lane_net_read.net_minutes_of(Number(found_during));
|
|
705
|
+
if (minutes === void 0) return [];
|
|
706
|
+
const line = `${issue_priority.LANE_PREFIX} ${String(minutes)} \u5206\uFF08${issue_cite.plain_for("github", found_during)}\uFF09`;
|
|
707
|
+
return [
|
|
708
|
+
`\u21B3 the causing lane from \`josh lane:net ${found_during}\`, to paste under \`${issue_body_keys.heading("background")}\` when it caused this Issue:`,
|
|
709
|
+
line
|
|
710
|
+
];
|
|
711
|
+
}
|
|
712
|
+
var issue_file_lane_hint = {
|
|
713
|
+
lines_of
|
|
714
|
+
};
|
|
715
|
+
|
|
716
|
+
// scripts/issue/issue-file-worker.ts
|
|
717
|
+
var { LABEL_PREFIX } = agent_worker_profile;
|
|
718
|
+
var LABEL_COLOR = "bfd4f2";
|
|
719
|
+
var LABEL_DESCRIPTION = "Lane worker profile (josh.worker)";
|
|
720
|
+
function settings_of(place2) {
|
|
721
|
+
if (!issue_file.is_same_repository(place2.target, place2.current)) return void 0;
|
|
722
|
+
return agent_worker_profile.read(process.cwd());
|
|
723
|
+
}
|
|
724
|
+
function worker_labels(labels) {
|
|
725
|
+
return [...new Set(labels.filter((label) => label.startsWith(LABEL_PREFIX)))];
|
|
726
|
+
}
|
|
727
|
+
function guide_of(settings) {
|
|
728
|
+
const rows = settings.profiles.map(
|
|
729
|
+
(profile) => ` ${LABEL_PREFIX}${profile.name} \u2014 ${profile.when}`
|
|
730
|
+
);
|
|
731
|
+
return [
|
|
732
|
+
`worker profiles (josh.worker, weakest first) \u2014 choose one with --label ${LABEL_PREFIX}<name>; none \u2192 ${settings.default}:`,
|
|
733
|
+
...rows
|
|
734
|
+
].join("\n");
|
|
735
|
+
}
|
|
736
|
+
function is_unchecked_clear(note, labels) {
|
|
737
|
+
if (worker_labels(labels).length === 0) {
|
|
738
|
+
console.warn(`\u26A0 ${note}`);
|
|
739
|
+
return true;
|
|
740
|
+
}
|
|
741
|
+
console.error(`\u2716 ${note}`);
|
|
742
|
+
return false;
|
|
743
|
+
}
|
|
744
|
+
function is_choice_clear(settings, labels) {
|
|
745
|
+
console.info(guide_of(settings));
|
|
746
|
+
const chosen = agent_worker_profile.for_labels(settings, worker_labels(labels));
|
|
747
|
+
if (chosen.kind === "worker") return true;
|
|
748
|
+
console.error(`\u2716 ${chosen.kind === "rejected" ? chosen.note : chosen.kind}`);
|
|
749
|
+
return false;
|
|
750
|
+
}
|
|
751
|
+
function is_worker_clear(place2, labels) {
|
|
752
|
+
const result = settings_of(place2);
|
|
753
|
+
if (result === void 0 || result.kind === "unset") return true;
|
|
754
|
+
if (result.kind === "rejected") return is_unchecked_clear(result.note, labels);
|
|
755
|
+
return is_choice_clear(result.settings, labels);
|
|
756
|
+
}
|
|
757
|
+
function label_definitions(place2, labels) {
|
|
758
|
+
if (settings_of(place2)?.kind !== "settings") return [];
|
|
759
|
+
return worker_labels(labels).map((name) => ({
|
|
760
|
+
name,
|
|
761
|
+
color: LABEL_COLOR,
|
|
762
|
+
description: LABEL_DESCRIPTION
|
|
763
|
+
}));
|
|
764
|
+
}
|
|
765
|
+
var issue_file_worker = { is_worker_clear, label_definitions };
|
|
766
|
+
|
|
767
|
+
// scripts/issue/issue-sample-required.ts
|
|
768
|
+
var AFTER_CITED_CHANGE = [
|
|
769
|
+
/#[1-9]\d*(?:\s*|[^#\n]{0,16}?(?:の|マージ(?:した|直)?))後(?![述始片続])/u,
|
|
770
|
+
/#[1-9]\d*[^#\n]{0,16}?(?:以降|以後)/u
|
|
771
|
+
];
|
|
772
|
+
var RECORD_READERS = ["lane:stats", "actions/runs", "ship --log"];
|
|
773
|
+
var LEDGER_READ = /lane:breakdown(?:[^`\n]*`)?\s*(?:の(?:出力|結果|表))?で(?![きすは])/u;
|
|
774
|
+
var CLOSING_NOTE = /([^()]*)\s*$/u;
|
|
775
|
+
var TEST_VERIFIED = "\u30C6\u30B9\u30C8";
|
|
776
|
+
var CITATION_PATTERN = /#[1-9]\d*/u;
|
|
777
|
+
var BACKGROUND_HEADING = issue_body_keys.heading("background");
|
|
778
|
+
var MISSING = `measurement follow-up without its start condition: declare \`${issue_sample_gate.DECLARATION}\`, or \`${issue_sample_gate.CLOSING_FORMAT}\` before that pull request exists, under ${BACKGROUND_HEADING} \u2014 prompts/collaboration-workflow/measurement.md \u2192 "\u52B9\u679C\u3092\u6E2C\u308B\u5F8C\u7D9A Issue"`;
|
|
779
|
+
var UNDECLARED = `measurement follow-up without a measure declaration: declare \`${measure_declaration.DECLARATION}\` (any \`lane:stats\` cell: \`pnpm josh lane:value cell\`), or \`${measure_declaration.ABSENT}\` when no one command prints the value, under ${BACKGROUND_HEADING} \u2014 prompts/collaboration-workflow/measurement.md \u2192 "\u52B9\u679C\u3092\u6E2C\u308B\u5F8C\u7D9A Issue"
|
|
780
|
+
${measure_declaration.EXAMPLE}`;
|
|
781
|
+
function measures_a_change(criterion) {
|
|
782
|
+
if (AFTER_CITED_CHANGE.some((pattern) => pattern.test(criterion))) return true;
|
|
783
|
+
return CITATION_PATTERN.test(criterion) && RECORD_READERS.some((reader) => criterion.includes(reader));
|
|
784
|
+
}
|
|
785
|
+
function reads_the_ledger(criterion) {
|
|
786
|
+
const note = CLOSING_NOTE.exec(criterion)?.[0] ?? "";
|
|
787
|
+
return LEDGER_READ.test(criterion) && !note.includes(TEST_VERIFIED);
|
|
788
|
+
}
|
|
789
|
+
function is_measurement(body) {
|
|
790
|
+
if (measure_declaration.parse(body) !== void 0) return true;
|
|
791
|
+
const criteria = acceptance_map.criteria_of(body);
|
|
792
|
+
if (criteria.some((criterion) => reads_the_ledger(criterion.text))) return true;
|
|
793
|
+
if (size_estimate.declared_files(body) !== 0) return false;
|
|
794
|
+
return criteria.some((criterion) => measures_a_change(criterion.text));
|
|
795
|
+
}
|
|
796
|
+
function problem(body) {
|
|
797
|
+
if (issue_sample_gate.cited_number(body) !== void 0) {
|
|
798
|
+
return measure_declaration.is_stated(body) ? void 0 : UNDECLARED;
|
|
799
|
+
}
|
|
800
|
+
return is_measurement(body) ? MISSING : void 0;
|
|
801
|
+
}
|
|
802
|
+
var issue_sample_required = { problem };
|
|
803
|
+
|
|
804
|
+
// scripts/issue/issue-sample-source.ts
|
|
805
|
+
async function read_is_pull(number, repo) {
|
|
806
|
+
try {
|
|
807
|
+
const json = await git_gh_exec.exec_gh_api({
|
|
808
|
+
path: git_gh_api_path.issue_api_path(String(number), repo)
|
|
809
|
+
});
|
|
810
|
+
return git_gh_issue_rest.is_pull_request(git_gh_issue_rest.parse_rest_issue(json));
|
|
811
|
+
} catch {
|
|
812
|
+
return void 0;
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
async function read_closing_number(issue) {
|
|
816
|
+
return await issue_closing_pr.read_closing_number(issue);
|
|
817
|
+
}
|
|
818
|
+
var DEFAULT_PORTS = { is_pull: read_is_pull, closing_pr: read_closing_number };
|
|
819
|
+
async function hint_of(issue, repo, ports) {
|
|
820
|
+
const closing = repo === void 0 ? await ports.closing_pr(issue) : void 0;
|
|
821
|
+
if (closing === void 0) {
|
|
822
|
+
return `cite the pull request whose merge it waits on, or write \`${issue_sample_gate.CLOSING_FORMAT}\` to wait on the one that closes it`;
|
|
823
|
+
}
|
|
824
|
+
return `cite the pull request that closed it: ${session_cite.issue(closing)}`;
|
|
825
|
+
}
|
|
826
|
+
async function problem2(body, repo, ports = DEFAULT_PORTS) {
|
|
827
|
+
const number = issue_sample_gate.cited_via(body, "pull");
|
|
828
|
+
if (number === void 0 || await ports.is_pull(number, repo) !== false) return void 0;
|
|
829
|
+
const cited = session_cite.issue(number, void 0, repo);
|
|
830
|
+
const hint = await hint_of(number, repo, ports);
|
|
831
|
+
return `\`${issue_body_keys.prefix("sample_gate")}\` cites ${cited}, an issue, not a pull request \u2014 ${hint}`;
|
|
832
|
+
}
|
|
833
|
+
var issue_sample_source = { problem: problem2 };
|
|
834
|
+
|
|
835
|
+
// scripts/issue/issue-wip.ts
|
|
836
|
+
var DEFAULT_WIP_CAP = 30;
|
|
837
|
+
var WIP_CAP_KEY = "JOSH_WIP_CAP";
|
|
838
|
+
var CAP_OFF = "off";
|
|
839
|
+
var WITHIN = "within";
|
|
840
|
+
var EXEMPT = "exempt";
|
|
841
|
+
var HELD = "held";
|
|
842
|
+
var EXEMPT_ROUTES = /* @__PURE__ */ new Set([
|
|
843
|
+
TIER_A_ROUTE_LABEL,
|
|
844
|
+
SPLIT_ROUTE_LABEL,
|
|
845
|
+
INTERRUPT_ROUTE_LABEL
|
|
846
|
+
]);
|
|
847
|
+
var HELD_MESSAGE = "\u2716 over the WIP cap: close one first; nothing honestly closable means do not file \u2014 a discretionary filing waits. An interrupt meeting one of three tests (a verification answers wrongly, a documented workflow cannot complete, or data is lost or written outside the repository) files with `--route interrupt`; a filing the run is blocked by reissues with `--over-cap`. Either way, state the overage (`prompts/collaboration-workflow/wip-cap.md`).";
|
|
848
|
+
var UNREAD_MESSAGE = "\u26A0 wip: could not count the open Issues \u2014 the filing goes on unchecked against the cap (`prompts/collaboration-workflow/wip-cap.md`).";
|
|
849
|
+
function read_cap(environment = process.env) {
|
|
850
|
+
const raw = environment[WIP_CAP_KEY];
|
|
851
|
+
if (raw?.trim().toLowerCase() === CAP_OFF) return { kind: "cap", cap: CAP_OFF };
|
|
852
|
+
const setting = cli_flags.read_positive_setting(raw, WIP_CAP_KEY, DEFAULT_WIP_CAP);
|
|
853
|
+
if (setting.kind === "problem") {
|
|
854
|
+
return { kind: "problem", problem: `${setting.problem} (or "${CAP_OFF}" to turn the cap off)` };
|
|
855
|
+
}
|
|
856
|
+
return { kind: "cap", cap: setting.limit };
|
|
857
|
+
}
|
|
858
|
+
function is_exempt(filing) {
|
|
859
|
+
return filing.is_over_cap || filing.route !== void 0 && EXEMPT_ROUTES.has(filing.route);
|
|
860
|
+
}
|
|
861
|
+
function verdict_of(count, filing, cap) {
|
|
862
|
+
if (cap === CAP_OFF || count <= cap) return WITHIN;
|
|
863
|
+
return is_exempt(filing) ? EXEMPT : HELD;
|
|
864
|
+
}
|
|
865
|
+
function count_line(count, repo, verdict, cap) {
|
|
866
|
+
return `wip: ${String(count)} open in ${repo} \xB7 cap ${String(cap)} \xB7 ${verdict}`;
|
|
867
|
+
}
|
|
868
|
+
function count_of(json) {
|
|
869
|
+
return json_value.parse_array(json)?.length;
|
|
870
|
+
}
|
|
871
|
+
var issue_wip = {
|
|
872
|
+
DEFAULT_WIP_CAP,
|
|
873
|
+
WIP_CAP_KEY,
|
|
874
|
+
CAP_OFF,
|
|
875
|
+
HELD,
|
|
876
|
+
HELD_MESSAGE,
|
|
877
|
+
UNREAD_MESSAGE,
|
|
878
|
+
read_cap,
|
|
879
|
+
verdict_of,
|
|
880
|
+
count_line,
|
|
881
|
+
count_of
|
|
882
|
+
};
|
|
883
|
+
|
|
884
|
+
// scripts/issue/issue-file-pass.ts
|
|
885
|
+
var GH_REPO_VARIABLE = "GH_REPO";
|
|
886
|
+
function auto_ok_filing(filing) {
|
|
887
|
+
return {
|
|
888
|
+
is_opted_out: filing.args.is_auto_ok_opted_out,
|
|
889
|
+
is_cross_repository: !issue_file.is_same_repository(filing.target, filing.current),
|
|
890
|
+
labels: issue_file.labels_of(filing.args, filing.body),
|
|
891
|
+
body: filing.body
|
|
892
|
+
};
|
|
893
|
+
}
|
|
894
|
+
function refusals_of(filing, rate, growth) {
|
|
895
|
+
const problems = [
|
|
896
|
+
...issue_lint_cli.problems(filing.body, issue_file.labels_of(filing.args, filing.body)),
|
|
897
|
+
size_estimate.guide_problem(filing.body, filing.args.route, rate, growth),
|
|
898
|
+
issue_sample_required.problem(filing.body),
|
|
899
|
+
issue_auto_ok.declaration_problem(filing.body),
|
|
900
|
+
issue_auto_ok.opt_out_problem(auto_ok_filing(filing)),
|
|
901
|
+
issue_priority.problem(filing.body, filing.args.labels),
|
|
902
|
+
issue_file.origin_problem(filing.body, filing.target, filing.current)
|
|
903
|
+
];
|
|
904
|
+
return problems.filter((problem3) => problem3 !== void 0).map((problem3) => `\u2716 ${problem3}`);
|
|
905
|
+
}
|
|
906
|
+
function unacknowledged_message(open, declared) {
|
|
907
|
+
const listed = open.map(String).join(",");
|
|
908
|
+
const pasted = [.../* @__PURE__ */ new Set([...declared, ...open])].map(String).join(",");
|
|
909
|
+
return `\u2716 duplicate candidate(s) ${listed} not declared separate \u2014 read each (\`issue-fold-existing.md\`); fold into a duplicate, or reissue with \`--distinct ${pasted}\` when each is a separate deliverable.`;
|
|
910
|
+
}
|
|
911
|
+
async function open_count(target) {
|
|
912
|
+
const outcome = await git_gh_issue_list.issue_list({
|
|
913
|
+
json_fields: "number",
|
|
914
|
+
limit: MAX_SCANNED,
|
|
915
|
+
repo: target
|
|
916
|
+
});
|
|
917
|
+
return outcome.json === void 0 ? void 0 : issue_wip.count_of(outcome.json);
|
|
918
|
+
}
|
|
919
|
+
async function is_count_clear(filing, cap) {
|
|
920
|
+
const count = await open_count(filing.target);
|
|
921
|
+
if (count === void 0) {
|
|
922
|
+
console.error(issue_wip.UNREAD_MESSAGE);
|
|
923
|
+
return true;
|
|
924
|
+
}
|
|
925
|
+
const verdict = issue_wip.verdict_of(count, filing.args, cap);
|
|
926
|
+
console.info(issue_wip.count_line(count, filing.target, verdict, cap));
|
|
927
|
+
if (verdict === issue_wip.HELD) console.error(issue_wip.HELD_MESSAGE);
|
|
928
|
+
return verdict !== issue_wip.HELD;
|
|
929
|
+
}
|
|
930
|
+
async function is_wip_clear(filing) {
|
|
931
|
+
const setting = issue_wip.read_cap();
|
|
932
|
+
if (setting.kind === "problem") {
|
|
933
|
+
console.error(`\u2716 ${setting.problem}`);
|
|
934
|
+
return false;
|
|
935
|
+
}
|
|
936
|
+
return await is_count_clear(filing, setting.cap);
|
|
937
|
+
}
|
|
938
|
+
function point_listings_at(filing) {
|
|
939
|
+
if (issue_file.is_same_repository(filing.target, filing.current)) return;
|
|
940
|
+
process.env[GH_REPO_VARIABLE] = filing.target;
|
|
941
|
+
}
|
|
942
|
+
async function scout_filing(filing) {
|
|
943
|
+
point_listings_at(filing);
|
|
944
|
+
return await issue_scout_cli.scout({ title: filing.args.title, body: filing.body }, filing.target);
|
|
945
|
+
}
|
|
946
|
+
function is_measure_clear(outcome) {
|
|
947
|
+
const problem3 = measure_twin.problem(outcome.measure_twins ?? []);
|
|
948
|
+
if (problem3 === void 0) return true;
|
|
949
|
+
console.error(`\u2716 ${problem3}`);
|
|
950
|
+
return false;
|
|
951
|
+
}
|
|
952
|
+
function is_candidate_clear(filing, outcome) {
|
|
953
|
+
const answered = issue_file.acknowledged(filing.args, filing.target, filing.current);
|
|
954
|
+
const open = issue_file.unacknowledged(outcome.candidates, answered);
|
|
955
|
+
if (open.length > 0) console.error(unacknowledged_message(open, filing.args.distinct));
|
|
956
|
+
return open.length === 0;
|
|
957
|
+
}
|
|
958
|
+
async function is_scout_clear(filing) {
|
|
959
|
+
const outcome = filing.scouted ?? await scout_filing(filing);
|
|
960
|
+
if (outcome === void 0) return false;
|
|
961
|
+
if (filing.scouted === void 0) console.info(outcome.report);
|
|
962
|
+
point_listings_at(filing);
|
|
963
|
+
const verdicts = [is_candidate_clear(filing, outcome), is_measure_clear(outcome)];
|
|
964
|
+
return verdicts.every(Boolean);
|
|
965
|
+
}
|
|
966
|
+
function labels_of2(filing) {
|
|
967
|
+
const auto_ok = issue_auto_ok.decide(auto_ok_filing(filing));
|
|
968
|
+
console.info(issue_auto_ok.line_of(auto_ok));
|
|
969
|
+
const labels = issue_file.labels_of(filing.args, filing.body, auto_ok.is_applied);
|
|
970
|
+
const problem3 = issue_file.triage_problem(labels);
|
|
971
|
+
if (problem3 === void 0) return labels;
|
|
972
|
+
console.error(`\u2716 ${problem3}`);
|
|
973
|
+
return void 0;
|
|
974
|
+
}
|
|
975
|
+
async function cap_refusals(filing) {
|
|
976
|
+
if (!issue_file.is_same_repository(filing.target, filing.current)) return [];
|
|
977
|
+
const problem3 = issue_cap_files.problem(
|
|
978
|
+
await issue_cap_files.near_cap(filing.body, process.cwd())
|
|
979
|
+
);
|
|
980
|
+
return problem3 === void 0 ? [] : [`\u2716 ${problem3}`];
|
|
981
|
+
}
|
|
982
|
+
async function is_admitted(filing) {
|
|
983
|
+
const { implement_rate, growth } = await lane_net_read.measurements();
|
|
984
|
+
const capped = await cap_refusals(filing);
|
|
985
|
+
const refusals = [...refusals_of(filing, implement_rate, growth), ...capped];
|
|
986
|
+
issue_lint_cli.warn(filing.body);
|
|
987
|
+
if (refusals.length === 0) return true;
|
|
988
|
+
const hint = await issue_file_lane_hint.lines_of(filing.args.found_during, filing.body);
|
|
989
|
+
console.error([...refusals, ...hint].join("\n"));
|
|
990
|
+
return false;
|
|
991
|
+
}
|
|
992
|
+
async function is_source_clear(filing) {
|
|
993
|
+
const is_here = issue_file.is_same_repository(filing.target, filing.current);
|
|
994
|
+
const problem3 = await issue_sample_source.problem(
|
|
995
|
+
filing.body,
|
|
996
|
+
is_here ? void 0 : filing.target
|
|
997
|
+
);
|
|
998
|
+
if (problem3 === void 0) return true;
|
|
999
|
+
console.error(`\u2716 ${problem3}`);
|
|
1000
|
+
return false;
|
|
1001
|
+
}
|
|
1002
|
+
async function labels_in_one_pass(filing) {
|
|
1003
|
+
const is_body_clear = await is_admitted(filing);
|
|
1004
|
+
const labels = labels_of2(filing);
|
|
1005
|
+
const verdicts = [
|
|
1006
|
+
is_body_clear,
|
|
1007
|
+
labels !== void 0,
|
|
1008
|
+
issue_file_worker.is_worker_clear(filing, labels ?? filing.args.labels),
|
|
1009
|
+
await is_source_clear(filing),
|
|
1010
|
+
await is_wip_clear(filing),
|
|
1011
|
+
await is_scout_clear(filing)
|
|
1012
|
+
];
|
|
1013
|
+
return verdicts.every(Boolean) ? labels : void 0;
|
|
1014
|
+
}
|
|
1015
|
+
var issue_file_pass = {
|
|
1016
|
+
GH_REPO_VARIABLE,
|
|
1017
|
+
labels_in_one_pass,
|
|
1018
|
+
scout_filing
|
|
1019
|
+
};
|
|
1020
|
+
|
|
1021
|
+
// scripts/issue/issue-file-cli.ts
|
|
1022
|
+
var SUCCESS_EXIT_CODE = 0;
|
|
1023
|
+
var FAILURE_EXIT_CODE = 1;
|
|
1024
|
+
var USAGE = 'Usage: josh issue:file "<title>" --body-file <path> [--route <tier-a|split|interrupt|review-cap>] [--label <name>]\u2026 [--defect yes|no|unknown] [--verification yes|no|unknown] [--every-run yes|no|unknown] [--repo <owner/repo>] [--distinct <N,\u2026>] [--found-during <N>] [--over-cap] [--no-auto-ok] [--release] [--blocks-finder] [--check]';
|
|
1025
|
+
var CHECK_CLEAR_MESSAGE = "check: every filing step passed \u2014 nothing filed (`--check`).";
|
|
1026
|
+
var UNKNOWN_REPO_MESSAGE = "Could not read this repository from `git remote`, so the filing has no repository to compare against \u2014 check `gh auth status`.";
|
|
1027
|
+
var THIRD_PARTY_MESSAGE = '\u2716 third-party target: a tracker we do not own is Tier C \u2014 draft the Issue for a person to post instead (`CLAUDE.md` \u2192 "Third-party repositories are Tier C").';
|
|
1028
|
+
var UNKNOWN_PARTY_MESSAGE = "\u2716 unknown party: the owner of this session or of the target could not be read (`git remote` / `--repo`), so the target is not known to be ours \u2014 check `pnpm josh repo:party`.";
|
|
1029
|
+
var { GH_REPO_VARIABLE: GH_REPO_VARIABLE2 } = issue_file_pass;
|
|
1030
|
+
function party_refusal(target) {
|
|
1031
|
+
const party = repo_party.classify(repo_party.current_owner(), repo_party.target_owner(target));
|
|
1032
|
+
if (party === repo_party.FIRST_PARTY) return void 0;
|
|
1033
|
+
return party === repo_party.THIRD_PARTY ? THIRD_PARTY_MESSAGE : UNKNOWN_PARTY_MESSAGE;
|
|
1034
|
+
}
|
|
1035
|
+
async function create(filing, labels) {
|
|
1036
|
+
repository_labels.ensure_labels(
|
|
1037
|
+
filing.target,
|
|
1038
|
+
issue_file_worker.label_definitions(filing, labels)
|
|
1039
|
+
);
|
|
1040
|
+
const request = git_gh_issue_write.issue_create_request({
|
|
1041
|
+
title: filing.args.title,
|
|
1042
|
+
body: filing.body,
|
|
1043
|
+
labels,
|
|
1044
|
+
repo: filing.target
|
|
1045
|
+
});
|
|
1046
|
+
try {
|
|
1047
|
+
return await git_gh_exec.exec_gh_api(request);
|
|
1048
|
+
} catch (error) {
|
|
1049
|
+
const reason = error_text.message_of(error);
|
|
1050
|
+
console.error(`\u2716 the create call failed: ${reason}`);
|
|
1051
|
+
return void 0;
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
function issue_number_of(url) {
|
|
1055
|
+
return Number(github_issue_url.parse(url)?.issue_number);
|
|
1056
|
+
}
|
|
1057
|
+
async function link_release(url, filing) {
|
|
1058
|
+
if (!filing.args.is_release) return;
|
|
1059
|
+
const issue_number = issue_number_of(url);
|
|
1060
|
+
const is_linked = Number.isSafeInteger(issue_number) && await issue_release_cli.link(issue_number, filing.target);
|
|
1061
|
+
if (is_linked) return;
|
|
1062
|
+
console.error(
|
|
1063
|
+
`\u26A0 the release link did not complete for ${url} \u2014 run \`${GH_REPO_VARIABLE2}=${filing.target} pnpm josh issue:release <N>\`.`
|
|
1064
|
+
);
|
|
1065
|
+
}
|
|
1066
|
+
async function place(url, target) {
|
|
1067
|
+
const issue_number = issue_number_of(url);
|
|
1068
|
+
const exit_code = Number.isSafeInteger(issue_number) ? await epic_bundle_cli.report_for(issue_number, target) : FAILURE_EXIT_CODE;
|
|
1069
|
+
if (exit_code !== SUCCESS_EXIT_CODE) {
|
|
1070
|
+
console.error(`\u26A0 epic:bundle did not answer for ${url} \u2014 run \`pnpm josh epic:bundle <N>\`.`);
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
async function emit_filed(reference, filing, labels, found_during) {
|
|
1074
|
+
const kind = run_event_filed.kind_of(labels);
|
|
1075
|
+
const is_run = await run_hold_member.is_run_member();
|
|
1076
|
+
const is_overrun = lane_child_marker.is_overrun();
|
|
1077
|
+
const { title } = filing.args;
|
|
1078
|
+
const text = run_event_filed.text_of({ reference, kind, title, found_during, is_run, is_overrun });
|
|
1079
|
+
await run_event_stream_emit.emit(run_event_stream.EVENT_KIND.FILED, text);
|
|
1080
|
+
}
|
|
1081
|
+
async function record_park(issue, prerequisite) {
|
|
1082
|
+
try {
|
|
1083
|
+
const read = await issue_state_cli.read_issue(issue);
|
|
1084
|
+
if (read.kind !== "state") throw new Error(`could not read park state: ${read.kind}`);
|
|
1085
|
+
if (read.state.state !== "OPEN" || !has_parked_label(read.state.labels)) return;
|
|
1086
|
+
const result = await epic_blocked_by.record({ issue, prerequisite, is_relation_only: true });
|
|
1087
|
+
console.info(
|
|
1088
|
+
`caused park ${session_cite.issue(issue)} blocked by ${session_cite.issue(prerequisite)}: ${result}`
|
|
1089
|
+
);
|
|
1090
|
+
} catch (error) {
|
|
1091
|
+
console.error(
|
|
1092
|
+
`\u26A0 ${session_cite.issue(prerequisite)} is already filed; caused park ${session_cite.issue(issue)} dependency could not be recorded: ${error_text.message_of(error)}`
|
|
1093
|
+
);
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
async function record_parks(url, filing) {
|
|
1097
|
+
if (!issue_file.is_same_repository(filing.target, filing.current)) return;
|
|
1098
|
+
const blocker = issue_number_of(url);
|
|
1099
|
+
if (!Number.isSafeInteger(blocker) || blocker <= 0) return;
|
|
1100
|
+
for (const issue of issue_priority.parked_issues(filing.body)) {
|
|
1101
|
+
await record_park(issue, String(blocker));
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
async function record2(url, filing, labels) {
|
|
1105
|
+
const number = String(issue_number_of(url));
|
|
1106
|
+
const reference = issue_cite.plain_for(
|
|
1107
|
+
"terminal",
|
|
1108
|
+
number,
|
|
1109
|
+
issue_file_fold.reference_prefix(filing.target, filing.current)
|
|
1110
|
+
);
|
|
1111
|
+
const found_during = await issue_file_fold.finder(filing.args.found_during);
|
|
1112
|
+
await emit_filed(reference, filing, labels, found_during);
|
|
1113
|
+
await issue_file_deferral.note_finder({
|
|
1114
|
+
found_during: filing.args.found_during,
|
|
1115
|
+
reference,
|
|
1116
|
+
title: filing.args.title,
|
|
1117
|
+
current: filing.current
|
|
1118
|
+
});
|
|
1119
|
+
await split_resolution.record_child({ route: filing.args.route, found_during, child: url });
|
|
1120
|
+
await issue_file_interrupt.block_finder({
|
|
1121
|
+
route: filing.args.route,
|
|
1122
|
+
is_blocking_finder: filing.args.is_blocking_finder,
|
|
1123
|
+
found_during,
|
|
1124
|
+
blocker: issue_number_of(url),
|
|
1125
|
+
is_here: issue_file.is_same_repository(filing.target, filing.current)
|
|
1126
|
+
});
|
|
1127
|
+
await record_parks(url, filing);
|
|
1128
|
+
}
|
|
1129
|
+
async function record_solo(url, filing, labels) {
|
|
1130
|
+
if (!has_label_name(labels, RUN_SOLO_LABEL)) return;
|
|
1131
|
+
const { answers = {} } = filing.args;
|
|
1132
|
+
const body = issue_run_verdict.comment_with_answers(RUN_SOLO_LABEL, { ...answers, solo: true });
|
|
1133
|
+
try {
|
|
1134
|
+
await git_gh_command.issue_comment(String(issue_number_of(url)), body, filing.target);
|
|
1135
|
+
} catch (error) {
|
|
1136
|
+
console.error(
|
|
1137
|
+
`\u26A0 ${url} is already filed; could not record solo answers: ${error_text.message_of(error)}`
|
|
1138
|
+
);
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
async function send(filing, labels) {
|
|
1142
|
+
const url = await create(filing, labels);
|
|
1143
|
+
if (url === void 0) return void 0;
|
|
1144
|
+
console.info(url);
|
|
1145
|
+
await record_solo(url, filing, labels);
|
|
1146
|
+
await record2(url, filing, labels);
|
|
1147
|
+
await link_release(url, filing);
|
|
1148
|
+
await place(url, filing.target);
|
|
1149
|
+
return url;
|
|
1150
|
+
}
|
|
1151
|
+
async function is_run_clear(filing) {
|
|
1152
|
+
const prefix = issue_file_fold.reference_prefix(filing.target, filing.current);
|
|
1153
|
+
return split_resolution.is_split_clear(filing.args) && await issue_file_cap.is_cap_clear(filing.args.found_during) && await issue_file_fold.is_fold_clear(prefix, filing.args) && await split_direction.is_direction_clear(filing.args, filing.body);
|
|
1154
|
+
}
|
|
1155
|
+
async function admitted_labels(filing) {
|
|
1156
|
+
const party_problem = party_refusal(filing.target);
|
|
1157
|
+
if (party_problem !== void 0) {
|
|
1158
|
+
console.error(party_problem);
|
|
1159
|
+
return void 0;
|
|
1160
|
+
}
|
|
1161
|
+
if (!await is_run_clear(filing)) return void 0;
|
|
1162
|
+
return await issue_file_pass.labels_in_one_pass(filing);
|
|
1163
|
+
}
|
|
1164
|
+
async function file(filing) {
|
|
1165
|
+
const labels = await admitted_labels(filing);
|
|
1166
|
+
if (labels === void 0 || filing.args.is_check) return void 0;
|
|
1167
|
+
return await send(filing, labels);
|
|
1168
|
+
}
|
|
1169
|
+
async function check(filing) {
|
|
1170
|
+
if (await admitted_labels(filing) === void 0) return FAILURE_EXIT_CODE;
|
|
1171
|
+
console.info(CHECK_CLEAR_MESSAGE);
|
|
1172
|
+
return SUCCESS_EXIT_CODE;
|
|
1173
|
+
}
|
|
1174
|
+
async function filing_of(args) {
|
|
1175
|
+
const read = cli_body.read_result(args.body_file);
|
|
1176
|
+
if ("problem" in read) return `Could not read the body file ${args.body_file}: ${read.problem}`;
|
|
1177
|
+
const body = issue_classification.with_release_classification(
|
|
1178
|
+
read.text,
|
|
1179
|
+
issue_file.labels_of(args, read.text)
|
|
1180
|
+
);
|
|
1181
|
+
const current = await git_gh_command.repo_get_name_with_owner();
|
|
1182
|
+
if (current === void 0) return UNKNOWN_REPO_MESSAGE;
|
|
1183
|
+
return { args, body, target: args.repo ?? current, current };
|
|
1184
|
+
}
|
|
1185
|
+
async function parsed_filing(argv) {
|
|
1186
|
+
const args = issue_file.parse(argv);
|
|
1187
|
+
if (args === void 0) {
|
|
1188
|
+
console.error(USAGE);
|
|
1189
|
+
return void 0;
|
|
1190
|
+
}
|
|
1191
|
+
const filing = await filing_of(args);
|
|
1192
|
+
if (typeof filing === "object") return filing;
|
|
1193
|
+
console.error(filing);
|
|
1194
|
+
return void 0;
|
|
1195
|
+
}
|
|
1196
|
+
async function file_issue(argv, scouted) {
|
|
1197
|
+
const filing = await parsed_filing(argv);
|
|
1198
|
+
return filing === void 0 ? void 0 : await file({ ...filing, scouted });
|
|
1199
|
+
}
|
|
1200
|
+
async function scout(argv) {
|
|
1201
|
+
const args = issue_file.parse(argv);
|
|
1202
|
+
const filing = args === void 0 ? void 0 : await filing_of(args);
|
|
1203
|
+
return typeof filing === "object" ? await issue_file_pass.scout_filing(filing) : void 0;
|
|
1204
|
+
}
|
|
1205
|
+
async function run(argv) {
|
|
1206
|
+
const filing = await parsed_filing(argv);
|
|
1207
|
+
if (filing === void 0) return FAILURE_EXIT_CODE;
|
|
1208
|
+
if (filing.args.is_check) return await check(filing);
|
|
1209
|
+
return await file(filing) === void 0 ? FAILURE_EXIT_CODE : SUCCESS_EXIT_CODE;
|
|
1210
|
+
}
|
|
1211
|
+
var issue_file_cli = {
|
|
1212
|
+
THIRD_PARTY_MESSAGE,
|
|
1213
|
+
UNKNOWN_PARTY_MESSAGE,
|
|
1214
|
+
file_issue,
|
|
1215
|
+
record: record2,
|
|
1216
|
+
run,
|
|
1217
|
+
scout
|
|
1218
|
+
};
|
|
1219
|
+
|
|
1220
|
+
export {
|
|
1221
|
+
issue_file_cli
|
|
1222
|
+
};
|