@joshuafolkken/kit 1.2114.0 → 1.3000.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 +25 -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 +59 -16
- 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 +223 -0
- package/dist/commands/auto-ok-main.js +136 -0
- package/dist/commands/backlog-budget-main.js +146 -0
- package/dist/commands/backlog-drive-cli.js +1935 -0
- package/dist/commands/backlog-next-main.js +186 -0
- package/dist/commands/backlog-offer-main.js +190 -0
- package/dist/commands/backlog-plan-cli.js +329 -0
- package/dist/commands/backlog-triage-cli.js +642 -0
- package/dist/commands/backlogrun-cli.js +829 -0
- package/dist/commands/behavior-cli.js +216 -0
- package/dist/commands/bump-version-main.js +22 -0
- package/dist/commands/bytes-command.js +208 -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 +551 -0
- package/dist/commands/chunk-23GH6B3D.js +333 -0
- package/dist/commands/chunk-2ADQ5XRD.js +36 -0
- package/dist/commands/chunk-2CXAVVST.js +20 -0
- package/dist/commands/chunk-2DJLAUYB.js +109 -0
- package/dist/commands/chunk-2FE3C4PH.js +112 -0
- package/dist/commands/chunk-2FJJYCBD.js +149 -0
- package/dist/commands/chunk-2IESYBZH.js +34 -0
- package/dist/commands/chunk-2MJ4OCDL.js +188 -0
- package/dist/commands/chunk-2NSB5ZYQ.js +26 -0
- package/dist/commands/chunk-2OIX4JLA.js +37 -0
- package/dist/commands/chunk-2TQXCH2K.js +145 -0
- package/dist/commands/chunk-2VLHFILE.js +52 -0
- package/dist/commands/chunk-2VRITY55.js +41 -0
- package/dist/commands/chunk-2YCKPX3A.js +25 -0
- package/dist/commands/chunk-32SNWQJP.js +99 -0
- package/dist/commands/chunk-337QQM4C.js +136 -0
- package/dist/commands/chunk-34DND4BA.js +104 -0
- package/dist/commands/chunk-34LAULSC.js +352 -0
- package/dist/commands/chunk-36LOGVJ7.js +38 -0
- package/dist/commands/chunk-36M2UV6C.js +80 -0
- package/dist/commands/chunk-3BNNMJOT.js +702 -0
- package/dist/commands/chunk-3CCGKX7Y.js +20 -0
- package/dist/commands/chunk-3EO2XN3A.js +124 -0
- package/dist/commands/chunk-3GF52L5F.js +271 -0
- package/dist/commands/chunk-3HU3LPIF.js +113 -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-3UKJFWKS.js +170 -0
- package/dist/commands/chunk-3WRQP3QE.js +47 -0
- package/dist/commands/chunk-3WWQFCGX.js +18 -0
- package/dist/commands/chunk-3ZEO3KOM.js +35 -0
- package/dist/commands/chunk-4BEIYKI2.js +76 -0
- package/dist/commands/chunk-4D5KWMFL.js +461 -0
- package/dist/commands/chunk-4DVM57T7.js +86 -0
- package/dist/commands/chunk-4EADHJVC.js +247 -0
- package/dist/commands/chunk-4G7NKNAZ.js +114 -0
- package/dist/commands/chunk-4HBVHYNL.js +73 -0
- package/dist/commands/chunk-4LWRCPS5.js +114 -0
- package/dist/commands/chunk-4P2LCVGO.js +211 -0
- package/dist/commands/chunk-4PES3BAA.js +263 -0
- package/dist/commands/chunk-4PUKDAXL.js +42 -0
- package/dist/commands/chunk-4Q4FXBUQ.js +99 -0
- package/dist/commands/chunk-4QYW2IL7.js +82 -0
- package/dist/commands/chunk-4YI4SLRJ.js +161 -0
- package/dist/commands/chunk-4Z5723GA.js +350 -0
- package/dist/commands/chunk-4ZHWTTQW.js +99 -0
- package/dist/commands/chunk-55I7OYHI.js +98 -0
- package/dist/commands/chunk-5GBZ43UA.js +58 -0
- package/dist/commands/chunk-5HCPSV45.js +800 -0
- package/dist/{hooks/chunk-OPSRGWFU.js → commands/chunk-5HVYOIIK.js} +1 -1
- package/dist/commands/chunk-5HWZFL4D.js +4175 -0
- package/dist/commands/chunk-5PAEXYIY.js +234 -0
- package/dist/commands/chunk-5SB37YDW.js +321 -0
- package/dist/commands/chunk-5TMAPYQD.js +19 -0
- package/dist/commands/chunk-5WIZR5SC.js +313 -0
- package/dist/commands/chunk-5Y7QQYTU.js +232 -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-6CJXLPRI.js +72 -0
- package/dist/commands/chunk-6EU5ZCDP.js +402 -0
- package/dist/commands/chunk-6FWV56B3.js +40 -0
- package/dist/commands/chunk-6HRRZANN.js +55 -0
- package/dist/commands/chunk-6I2JM5UX.js +134 -0
- package/dist/commands/chunk-6JVNRY5A.js +29 -0
- package/dist/commands/chunk-6NGNMIMT.js +20 -0
- package/dist/commands/chunk-6NRTLH6I.js +51 -0
- package/dist/commands/chunk-6NV2F7QH.js +47 -0
- package/dist/commands/chunk-6OP63TBT.js +78 -0
- package/dist/commands/chunk-6Q3XUCLM.js +204 -0
- package/dist/commands/chunk-6SKMZGER.js +148 -0
- package/dist/commands/chunk-6TESOL3L.js +173 -0
- package/dist/commands/chunk-6UGFS3EU.js +704 -0
- package/dist/commands/chunk-6VTJO5L2.js +38 -0
- package/dist/commands/chunk-6WEVLIZE.js +29 -0
- package/dist/commands/chunk-6WKJ3GDA.js +408 -0
- package/dist/commands/chunk-6WTVAL4D.js +115 -0
- package/dist/commands/chunk-72EW7AVI.js +59 -0
- package/dist/commands/chunk-72J2G2E7.js +1189 -0
- package/dist/commands/chunk-73EBNBUW.js +90 -0
- package/dist/commands/chunk-73JOEKIC.js +169 -0
- package/dist/commands/chunk-73KBUQKI.js +41 -0
- package/dist/commands/chunk-7CHCZBNF.js +555 -0
- package/dist/commands/chunk-7EAMUVIO.js +326 -0
- package/dist/commands/chunk-7GHOFHUS.js +48 -0
- package/dist/commands/chunk-7GMTJDO2.js +469 -0
- package/dist/commands/chunk-7HCPRVMB.js +76 -0
- package/dist/commands/chunk-7IT23HIR.js +306 -0
- package/dist/commands/chunk-7IZJ5MG2.js +72 -0
- package/dist/commands/chunk-7LJQMM2K.js +102 -0
- package/dist/commands/chunk-7MOZEEFJ.js +350 -0
- package/dist/commands/chunk-7P4X4TQL.js +507 -0
- package/dist/commands/chunk-7S6VRZOH.js +223 -0
- package/dist/commands/chunk-7V5UVKFG.js +20 -0
- package/dist/commands/chunk-7W3D3WRW.js +171 -0
- package/dist/commands/chunk-7ZECP3J6.js +212 -0
- package/dist/commands/chunk-A3D2XHOJ.js +387 -0
- package/dist/commands/chunk-A4HOQKOG.js +85 -0
- package/dist/commands/chunk-A5V7EWIX.js +85 -0
- package/dist/commands/chunk-A6T2N7VC.js +159 -0
- package/dist/commands/chunk-AI5K4QJO.js +72 -0
- package/dist/commands/chunk-AJWR7D3H.js +15 -0
- package/dist/commands/chunk-AKK56GNX.js +205 -0
- package/dist/commands/chunk-AKQYYHP2.js +461 -0
- package/dist/commands/chunk-AM44D7NF.js +52 -0
- package/dist/commands/chunk-ANUTT56I.js +85 -0
- package/dist/commands/chunk-AQ3PMSXK.js +76 -0
- package/dist/commands/chunk-AS3GWVAN.js +45 -0
- package/dist/commands/chunk-ATRMETHT.js +23 -0
- package/dist/commands/chunk-AVUGMOHZ.js +210 -0
- package/dist/commands/chunk-AWLYN2SP.js +64 -0
- package/dist/commands/chunk-AZUE65NT.js +77 -0
- package/dist/commands/chunk-B2EA2HCY.js +119 -0
- package/dist/commands/chunk-B33BTNB4.js +87 -0
- package/dist/commands/chunk-B3XFOHDX.js +71 -0
- package/dist/commands/chunk-B5GXZK3E.js +34 -0
- package/dist/commands/chunk-B77ZMVHS.js +80 -0
- package/dist/commands/chunk-BCK5LW4F.js +45 -0
- package/dist/commands/chunk-BEE7OAQ5.js +210 -0
- package/dist/commands/chunk-BF6YX4HE.js +70 -0
- package/dist/commands/chunk-BFLFPKQQ.js +46 -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-BK6Q4VCA.js +128 -0
- package/dist/commands/chunk-BNXE3NVB.js +107 -0
- package/dist/commands/chunk-BPSJSHYD.js +209 -0
- package/dist/commands/chunk-BRFQBJ5Y.js +132 -0
- package/dist/commands/chunk-BY3POLIQ.js +104 -0
- package/dist/commands/chunk-BYSPYVLD.js +130 -0
- package/dist/commands/chunk-C26LKDBE.js +60 -0
- package/dist/commands/chunk-C2SEDMZ3.js +238 -0
- package/dist/commands/chunk-C6QSVO5K.js +56 -0
- package/dist/commands/chunk-CA6F5OXK.js +809 -0
- package/dist/commands/chunk-CADFBQJJ.js +75 -0
- package/dist/commands/chunk-CDY4NFQG.js +15 -0
- package/dist/commands/chunk-CGLLAEKZ.js +110 -0
- package/dist/commands/chunk-CHX4QTP4.js +133 -0
- package/dist/commands/chunk-CJAA5GAF.js +418 -0
- package/dist/commands/chunk-CJKPF5DJ.js +156 -0
- package/dist/commands/chunk-CJSFC5YI.js +158 -0
- package/dist/commands/chunk-CRNPPKP2.js +99 -0
- package/dist/commands/chunk-CUR2WNYB.js +42 -0
- package/dist/commands/chunk-CYQ3ZF7R.js +372 -0
- package/dist/commands/chunk-D3SHCUBC.js +64 -0
- package/dist/commands/chunk-D4HNS43Q.js +208 -0
- package/dist/commands/chunk-D4SZK7H2.js +34 -0
- package/dist/commands/chunk-D5HIP4HT.js +289 -0
- package/dist/commands/chunk-D5TAR6TV.js +71 -0
- package/dist/commands/chunk-DAJCUSPG.js +127 -0
- package/dist/commands/chunk-DBKTFB5V.js +18 -0
- package/dist/commands/chunk-DIB2Z2OS.js +307 -0
- package/dist/commands/chunk-DJVMC3U2.js +131 -0
- package/dist/commands/chunk-DKM4UJQU.js +10 -0
- package/dist/commands/chunk-DMD74E3F.js +39 -0
- package/dist/commands/chunk-DNJC7X73.js +84 -0
- package/dist/commands/chunk-DP7WIGQ4.js +298 -0
- package/dist/commands/chunk-DPJVKTO4.js +41 -0
- package/dist/commands/chunk-DRCTDVI2.js +83 -0
- package/dist/commands/chunk-DSBK66US.js +67 -0
- package/dist/commands/chunk-DXJQHJQ4.js +73 -0
- package/dist/commands/chunk-DXZW4V7J.js +114 -0
- package/dist/commands/chunk-E2ZCUKHT.js +274 -0
- package/dist/commands/chunk-E33LSO2W.js +20 -0
- package/dist/commands/chunk-E3CXOVPQ.js +258 -0
- package/dist/commands/chunk-EBI2BAKQ.js +47 -0
- package/dist/commands/chunk-EBNIX2TC.js +81 -0
- package/dist/commands/chunk-EBVS2LKX.js +60 -0
- package/dist/commands/chunk-EFHSCUFN.js +170 -0
- package/dist/commands/chunk-EH3LVYOX.js +72 -0
- package/dist/commands/chunk-EI6JG5DF.js +92 -0
- package/dist/commands/chunk-EK2Y6B4X.js +140 -0
- package/dist/commands/chunk-EK327QOS.js +260 -0
- package/dist/commands/chunk-EKCKCX5S.js +291 -0
- package/dist/commands/chunk-ELWNRE6E.js +93 -0
- package/dist/commands/chunk-ENFPR7J2.js +53 -0
- package/dist/commands/chunk-ENLWXAHD.js +80 -0
- package/dist/commands/chunk-ERGZPWKP.js +102 -0
- package/dist/commands/chunk-ESQEEL4O.js +58 -0
- package/dist/commands/chunk-EW4NPUMQ.js +363 -0
- package/dist/commands/chunk-EWA72KO7.js +241 -0
- package/dist/commands/chunk-EWVR5AEX.js +140 -0
- package/dist/commands/chunk-EZSO25UZ.js +80 -0
- package/dist/commands/chunk-F22G3VDB.js +183 -0
- package/dist/commands/chunk-F2HFWLQR.js +32 -0
- package/dist/commands/chunk-F2J6DGDM.js +302 -0
- package/dist/commands/chunk-F3WBEEYC.js +68 -0
- package/dist/commands/chunk-F6OWP2AY.js +750 -0
- package/dist/commands/chunk-F7XLEK55.js +62 -0
- package/dist/commands/chunk-FB3D7CX5.js +241 -0
- package/dist/commands/chunk-FC33R5UN.js +516 -0
- package/dist/commands/chunk-FCINBCKB.js +77 -0
- package/dist/commands/chunk-FFHEGWPK.js +91 -0
- package/dist/commands/chunk-FGL6DBZU.js +71 -0
- package/dist/commands/chunk-FGZQSSGH.js +210 -0
- package/dist/{hooks/chunk-VVNYJWEI.js → commands/chunk-FIUCHMCF.js} +4 -2
- package/dist/commands/chunk-FNOSSXLG.js +61 -0
- package/dist/commands/chunk-FNQW6NY7.js +154 -0
- package/dist/commands/chunk-FROACLVU.js +525 -0
- package/dist/commands/chunk-FVVZIJUC.js +425 -0
- package/dist/commands/chunk-G47ZNQVG.js +17 -0
- package/dist/commands/chunk-G6BXCWPH.js +141 -0
- package/dist/commands/chunk-GA4VIFHD.js +224 -0
- package/dist/commands/chunk-GA6E4VGO.js +328 -0
- package/dist/commands/chunk-GDUK5YPO.js +185 -0
- package/dist/commands/chunk-GIGKMIPQ.js +72 -0
- package/dist/commands/chunk-GJYMI2CM.js +48 -0
- package/dist/commands/chunk-GK2KY4MO.js +67 -0
- package/dist/commands/chunk-GM3XLC4W.js +63 -0
- package/dist/commands/chunk-GO3GH7FG.js +75 -0
- package/dist/commands/chunk-GPMSYXYO.js +378 -0
- package/dist/commands/chunk-GPTO6IZG.js +29 -0
- package/dist/commands/chunk-GQHUFNXN.js +54 -0
- package/dist/commands/chunk-GU5ML3Y3.js +263 -0
- package/dist/commands/chunk-GW4UWR3O.js +126 -0
- package/dist/commands/chunk-H4LYG37R.js +716 -0
- package/dist/commands/chunk-HBNB3TLG.js +122 -0
- package/dist/commands/chunk-HCA5QG2U.js +299 -0
- package/dist/commands/chunk-HE5S4XRE.js +21 -0
- package/dist/commands/chunk-HESMKHEB.js +105 -0
- package/dist/commands/chunk-HG2NZQD5.js +135 -0
- package/dist/commands/chunk-HH2KDLTP.js +161 -0
- package/dist/commands/chunk-HHBC6QZE.js +95 -0
- package/dist/commands/chunk-HIB5G2X6.js +426 -0
- package/dist/commands/chunk-HIPO6HUG.js +45 -0
- package/dist/commands/chunk-HIU2WXB6.js +26 -0
- package/dist/commands/chunk-HJKZDDDI.js +62 -0
- package/dist/commands/chunk-HLKAFSN4.js +76 -0
- package/dist/commands/chunk-HLUS2M3D.js +7 -0
- package/dist/commands/chunk-HO52D6JY.js +278 -0
- package/dist/commands/chunk-HOGFJHBT.js +412 -0
- package/dist/commands/chunk-HOSZITJM.js +156 -0
- package/dist/commands/chunk-HPVLI26Z.js +123 -0
- package/dist/commands/chunk-HQ2HSZBN.js +69 -0
- package/dist/commands/chunk-HRLGFRAV.js +21 -0
- package/dist/commands/chunk-HRT4KWP4.js +178 -0
- package/dist/commands/chunk-HTIDHEEN.js +108 -0
- package/dist/commands/chunk-HXCZ3KWS.js +41 -0
- package/dist/commands/chunk-HZBTXKT2.js +61 -0
- package/dist/commands/chunk-HZSQI6TD.js +18 -0
- package/dist/commands/chunk-I63RNFFR.js +213 -0
- package/dist/commands/chunk-IBEKFLWG.js +137 -0
- package/dist/commands/chunk-ICEMFE2V.js +139 -0
- package/dist/commands/chunk-IG22Y5MA.js +56 -0
- package/dist/commands/chunk-IGD6QJPH.js +91 -0
- package/dist/commands/chunk-ILGPZ47M.js +33 -0
- package/dist/commands/chunk-ILQZFUDC.js +65 -0
- package/dist/commands/chunk-ISPBJVXM.js +238 -0
- package/dist/commands/chunk-IW6NWCSN.js +10 -0
- package/dist/commands/chunk-IXX4SXIP.js +53 -0
- package/dist/commands/chunk-IZVM2TTH.js +84 -0
- package/dist/commands/chunk-J3G2R64I.js +88 -0
- package/dist/commands/chunk-J3TKZLHA.js +11 -0
- package/dist/commands/chunk-J6GIVMXI.js +59 -0
- package/dist/commands/chunk-JB7R3A4A.js +204 -0
- package/dist/commands/chunk-JGTLNFFE.js +803 -0
- package/dist/commands/chunk-JHN6RCE6.js +123 -0
- package/dist/commands/chunk-JJRKTWLK.js +64 -0
- package/dist/commands/chunk-JLREFWJ4.js +244 -0
- package/dist/commands/chunk-JLYW7CP6.js +43 -0
- package/dist/commands/chunk-JNWHX25C.js +36 -0
- package/dist/commands/chunk-JOARHU3M.js +137 -0
- package/dist/commands/chunk-JQXPLMCO.js +81 -0
- package/dist/commands/chunk-JTU5A4JI.js +55 -0
- package/dist/commands/chunk-JUJFIATR.js +121 -0
- package/dist/commands/chunk-JUUBDYFZ.js +61 -0
- package/dist/commands/chunk-JZOTCPX2.js +115 -0
- package/dist/commands/chunk-K2WVYHCP.js +18 -0
- package/dist/commands/chunk-K7GL3BGI.js +419 -0
- package/dist/commands/chunk-KB3OQWDT.js +71 -0
- package/dist/commands/chunk-KHWTJ4F7.js +132 -0
- package/dist/commands/chunk-KIILCKQR.js +220 -0
- package/dist/commands/chunk-KIVOZY2J.js +1864 -0
- package/dist/commands/chunk-KQWSENCT.js +94 -0
- package/dist/commands/chunk-KSR23NYN.js +33 -0
- package/dist/commands/chunk-KTLR4Y32.js +21 -0
- package/dist/commands/chunk-KUJQWO6M.js +119 -0
- package/dist/commands/chunk-KVHNQHX3.js +100 -0
- package/dist/commands/chunk-KVJDDECB.js +51 -0
- package/dist/commands/chunk-KVSSLDA3.js +1062 -0
- package/dist/commands/chunk-KVURNO74.js +187 -0
- package/dist/commands/chunk-KXHXMERX.js +214 -0
- package/dist/commands/chunk-KXRFGPZD.js +69 -0
- package/dist/commands/chunk-KZSM5M5P.js +89 -0
- package/dist/commands/chunk-L6LU2633.js +91 -0
- package/dist/commands/chunk-L6TU7FC2.js +103 -0
- package/dist/commands/chunk-L6XN3EXI.js +138 -0
- package/dist/commands/chunk-LA5WTOAM.js +319 -0
- package/dist/commands/chunk-LAKVPOJQ.js +59 -0
- package/dist/commands/chunk-LAYSCY4L.js +6 -0
- package/dist/commands/chunk-LBLII7BS.js +14 -0
- package/dist/commands/chunk-LC7SBONO.js +98 -0
- package/dist/commands/chunk-LCEJXF7A.js +101 -0
- package/dist/commands/chunk-LE2T3FGJ.js +302 -0
- package/dist/commands/chunk-LE7TFPMU.js +88 -0
- package/dist/commands/chunk-LHKXJD6L.js +303 -0
- package/dist/commands/chunk-LMS6N6GE.js +332 -0
- package/dist/commands/chunk-LMSS4ARB.js +32 -0
- package/dist/commands/chunk-LNBUIOK6.js +133 -0
- package/dist/commands/chunk-LOSOLCCW.js +119 -0
- package/dist/commands/chunk-LQXFVZTS.js +13 -0
- package/dist/commands/chunk-LRA3PXHS.js +472 -0
- package/dist/commands/chunk-LRS2OS5J.js +395 -0
- package/dist/commands/chunk-LULJUD6P.js +131 -0
- package/dist/commands/chunk-LUMCYDGE.js +141 -0
- package/dist/commands/chunk-LWAXXZPS.js +118 -0
- package/dist/commands/chunk-LYEKT3IN.js +77 -0
- package/dist/commands/chunk-LZNYHWRO.js +78 -0
- package/dist/commands/chunk-M3ZDYCUF.js +117 -0
- package/dist/commands/chunk-M42SLJCD.js +97 -0
- package/dist/commands/chunk-M4PEC7YW.js +349 -0
- package/dist/commands/chunk-MAGJFH5T.js +77 -0
- package/dist/commands/chunk-MDKDJF2K.js +160 -0
- package/dist/commands/chunk-MDLOETXL.js +211 -0
- package/dist/commands/chunk-MGF64OHV.js +32 -0
- package/dist/commands/chunk-MMTVQOCP.js +211 -0
- package/dist/commands/chunk-MMXZKLDU.js +115 -0
- package/dist/commands/chunk-MPGJ4ONJ.js +634 -0
- package/dist/commands/chunk-MS6Q3Z7V.js +870 -0
- package/dist/commands/chunk-MSPIR3OA.js +32 -0
- package/dist/commands/chunk-MVPUQLN5.js +183 -0
- package/dist/commands/chunk-MXC4IBZ7.js +104 -0
- package/dist/commands/chunk-MY3RSOS5.js +52 -0
- package/dist/commands/chunk-MYNM3YMR.js +347 -0
- package/dist/commands/chunk-MYWRGF5A.js +177 -0
- package/dist/commands/chunk-MZHOPRI6.js +529 -0
- package/dist/commands/chunk-N4O5I55P.js +655 -0
- package/dist/commands/chunk-N6TYL3B2.js +250 -0
- package/dist/commands/chunk-NFEBQED3.js +179 -0
- package/dist/commands/chunk-NFKULY26.js +48 -0
- package/dist/commands/chunk-NGKB632X.js +92 -0
- package/dist/commands/chunk-NJ53AWJU.js +122 -0
- package/dist/commands/chunk-NJT5L6IC.js +126 -0
- package/dist/commands/chunk-NKKH3PBE.js +87 -0
- package/dist/commands/chunk-NKOET4FB.js +44 -0
- package/dist/commands/chunk-NMLCPYBN.js +134 -0
- package/dist/commands/chunk-NOXLKIPR.js +114 -0
- package/dist/commands/chunk-NSAVEXVR.js +353 -0
- package/dist/commands/chunk-NSZTSCBW.js +1263 -0
- package/dist/commands/chunk-NYWGJLBU.js +19 -0
- package/dist/commands/chunk-O26Y2FOJ.js +134 -0
- package/dist/commands/chunk-O27H6NN6.js +163 -0
- package/dist/commands/chunk-O3NDWYNT.js +68 -0
- package/dist/commands/chunk-O4WBADCX.js +88 -0
- package/dist/commands/chunk-O5FVBIRI.js +271 -0
- package/dist/commands/chunk-O5QZ2S6X.js +98 -0
- package/dist/commands/chunk-OGNTJ5JB.js +47 -0
- package/dist/commands/chunk-OHNP3QL2.js +186 -0
- package/dist/commands/chunk-OHVAEJSM.js +184 -0
- package/dist/commands/chunk-OI7KM4K3.js +43 -0
- package/dist/commands/chunk-OIDMJASD.js +62 -0
- package/dist/commands/chunk-OJ4LGBVD.js +126 -0
- package/dist/commands/chunk-OKKQI4ZG.js +49 -0
- package/dist/commands/chunk-OKYFQJW3.js +22 -0
- package/dist/commands/chunk-ORSI7Y55.js +133 -0
- package/dist/commands/chunk-OT3UMEWK.js +47 -0
- package/dist/commands/chunk-OTZJXU2R.js +170 -0
- package/dist/commands/chunk-OVA7STGP.js +578 -0
- package/dist/commands/chunk-OWR2TCOY.js +269 -0
- package/dist/commands/chunk-OZZWRJQI.js +246 -0
- package/dist/commands/chunk-P4CWLRT2.js +213 -0
- package/dist/commands/chunk-P4D5RESF.js +88 -0
- package/dist/commands/chunk-P4KIQRSL.js +119 -0
- package/dist/commands/chunk-P4O67FP5.js +488 -0
- package/dist/commands/chunk-P6RGQXHI.js +391 -0
- package/dist/commands/chunk-P7FPXAHP.js +29 -0
- package/dist/commands/chunk-PBOS7MTW.js +6 -0
- package/dist/commands/chunk-PDAY76AN.js +47 -0
- package/dist/commands/chunk-PDDKRHHS.js +128 -0
- package/dist/commands/chunk-PE7B7242.js +84 -0
- package/dist/commands/chunk-PF22VUWB.js +723 -0
- package/dist/commands/chunk-PFO7EYAP.js +45 -0
- package/dist/commands/chunk-PR3JCPP7.js +126 -0
- package/dist/commands/chunk-PWYXY46Y.js +1150 -0
- package/dist/commands/chunk-PYOK73QE.js +44 -0
- package/dist/commands/chunk-PZ4ITSLG.js +80 -0
- package/dist/commands/chunk-PZ6VWHOO.js +144 -0
- package/dist/commands/chunk-PZTWQYRI.js +44 -0
- package/dist/commands/chunk-PZU6FZO6.js +17 -0
- package/dist/commands/chunk-Q3463XNL.js +198 -0
- package/dist/commands/chunk-Q5N2J2UF.js +78 -0
- package/dist/commands/chunk-Q5Q2QYVU.js +112 -0
- package/dist/commands/chunk-Q6SKKQVJ.js +34 -0
- package/dist/commands/chunk-Q7TV3OV6.js +218 -0
- package/dist/commands/chunk-QA22PBCJ.js +165 -0
- package/dist/commands/chunk-QAHFPCFR.js +50 -0
- package/dist/commands/chunk-QDFDB4CF.js +478 -0
- package/dist/commands/chunk-QEIO2ZNQ.js +324 -0
- package/dist/commands/chunk-QF4WC2AE.js +10 -0
- package/dist/commands/chunk-QGAERR7D.js +99 -0
- package/dist/commands/chunk-QHWJJ6X5.js +53 -0
- package/dist/commands/chunk-QQ4CIYMF.js +132 -0
- package/dist/commands/chunk-QQBMVC5W.js +227 -0
- package/dist/commands/chunk-QQZOQ7AM.js +32 -0
- package/dist/commands/chunk-QS5USD4T.js +540 -0
- package/dist/commands/chunk-QVOFWFWC.js +134 -0
- package/dist/commands/chunk-QWWTC3XR.js +109 -0
- package/dist/commands/chunk-QWX7EBC6.js +112 -0
- package/dist/commands/chunk-QX2R6UJG.js +15 -0
- package/dist/commands/chunk-QXQ56E56.js +27 -0
- package/dist/commands/chunk-R2CF6VZE.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-REMKUFAC.js +304 -0
- package/dist/commands/chunk-REPANBLS.js +168 -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-RHII5XI6.js +492 -0
- package/dist/commands/chunk-RI7EQYKL.js +60 -0
- package/dist/commands/chunk-RINVPTA2.js +1310 -0
- package/dist/commands/chunk-RIQ75QWR.js +233 -0
- package/dist/commands/chunk-RIUPRMLW.js +63 -0
- package/dist/commands/chunk-RK4HE5NW.js +172 -0
- package/dist/commands/chunk-ROJXMBXP.js +85 -0
- package/dist/commands/chunk-RPDWFUQO.js +239 -0
- package/dist/commands/chunk-RQRLW4XK.js +20 -0
- package/dist/commands/chunk-RRQFITJE.js +40 -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-RUWV4INF.js +245 -0
- package/dist/commands/chunk-RVHBWSIG.js +114 -0
- package/dist/commands/chunk-RVUJ6F5L.js +181 -0
- package/dist/commands/chunk-RX5JSPPH.js +1153 -0
- package/dist/commands/chunk-RXAZJMSZ.js +18 -0
- package/dist/commands/chunk-RY6ZDHKB.js +1218 -0
- package/dist/commands/chunk-RYZ3RQRH.js +16 -0
- package/dist/commands/chunk-RZ4OKKPM.js +1722 -0
- package/dist/commands/chunk-RZJAUVMI.js +69 -0
- package/dist/commands/chunk-S4X5PJV7.js +40 -0
- package/dist/commands/chunk-S6SXMBF2.js +66 -0
- package/dist/commands/chunk-S7XWXG4M.js +3893 -0
- package/dist/commands/chunk-SADJPNDB.js +67 -0
- package/dist/commands/chunk-SBGTCT2C.js +89 -0
- package/dist/commands/chunk-SFNBUB6D.js +110 -0
- package/dist/commands/chunk-SK2LJBFS.js +168 -0
- package/dist/commands/chunk-SNFLV7VV.js +45 -0
- package/dist/commands/chunk-SNO7CY2B.js +69 -0
- package/dist/commands/chunk-ST32OGPY.js +82 -0
- package/dist/commands/chunk-SV4FHQE7.js +995 -0
- package/dist/commands/chunk-SVAKCXZ7.js +44 -0
- package/dist/commands/chunk-SXULS6DX.js +112 -0
- package/dist/commands/chunk-T25S4QHL.js +52 -0
- package/dist/commands/chunk-T2E724HN.js +117 -0
- package/dist/commands/chunk-T2IO4LEB.js +285 -0
- package/dist/commands/chunk-T33QDAWD.js +16 -0
- package/dist/commands/chunk-T3FD3Q73.js +49 -0
- package/dist/commands/chunk-T4UYEHWG.js +50 -0
- package/dist/commands/chunk-T57W3UWK.js +88 -0
- package/dist/commands/chunk-TAPDXK34.js +48 -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-TIXJY22D.js +90 -0
- package/dist/commands/chunk-TKGBF75Y.js +88 -0
- package/dist/commands/chunk-TMLNI3YW.js +95 -0
- package/dist/commands/chunk-TPKFVVJQ.js +125 -0
- package/dist/commands/chunk-TS4ZK46L.js +116 -0
- package/dist/commands/chunk-TUIFS5E7.js +72 -0
- package/dist/commands/chunk-TVJE67O2.js +179 -0
- package/dist/commands/chunk-TVZXG4Y4.js +197 -0
- package/dist/commands/chunk-TXXYC7EV.js +74 -0
- package/dist/commands/chunk-U2UH4VM4.js +229 -0
- package/dist/commands/chunk-U3IVVR4W.js +33 -0
- package/dist/commands/chunk-U5HQQWRE.js +20 -0
- package/dist/commands/chunk-U7XU5RG3.js +86 -0
- package/dist/commands/chunk-UCI4AL3Q.js +35 -0
- package/dist/commands/chunk-UCQJDYE3.js +21 -0
- package/dist/commands/chunk-UCUSCLEK.js +90 -0
- package/dist/commands/chunk-UEURNXE5.js +280 -0
- package/dist/commands/chunk-UGCUSRZF.js +17 -0
- package/dist/commands/chunk-UIWAMLQH.js +49 -0
- package/dist/commands/chunk-UJOZ2MGX.js +705 -0
- package/dist/commands/chunk-ULVVGGTY.js +64 -0
- package/dist/commands/chunk-UOAG2XQT.js +37 -0
- package/dist/commands/chunk-US6X7JXC.js +120 -0
- package/dist/commands/chunk-UTBVTCQN.js +7401 -0
- package/dist/commands/chunk-UU6GCJGM.js +56 -0
- package/dist/commands/chunk-UWLLZQJB.js +110 -0
- package/dist/commands/chunk-UZAU6UI6.js +33 -0
- package/dist/commands/chunk-V4Z7G4UH.js +73 -0
- package/dist/commands/chunk-V5FD7DVV.js +48 -0
- package/dist/commands/chunk-V5OIPYA6.js +109 -0
- package/dist/commands/chunk-VCR77BHO.js +8 -0
- package/dist/commands/chunk-VD5674LW.js +127 -0
- package/dist/commands/chunk-VD72V5VX.js +230 -0
- package/dist/commands/chunk-VDGNXSP3.js +174 -0
- package/dist/commands/chunk-VFJYOAOQ.js +339 -0
- package/dist/commands/chunk-VGHSZLYQ.js +85 -0
- package/dist/commands/chunk-VHRNXWVP.js +28 -0
- package/dist/commands/chunk-VJE3RJAX.js +23 -0
- package/dist/commands/chunk-VJLZ3IQQ.js +151 -0
- package/dist/commands/chunk-VTLL6CKO.js +269 -0
- package/dist/commands/chunk-VW5SGE7A.js +18 -0
- package/dist/commands/chunk-VZCQZFPH.js +378 -0
- package/dist/commands/chunk-VZHC2I3T.js +1208 -0
- package/dist/commands/chunk-VZSJCFRT.js +44 -0
- package/dist/commands/chunk-W2IA2LV3.js +15 -0
- package/dist/commands/chunk-W32DIQEP.js +43 -0
- package/dist/commands/chunk-W3FX7FYN.js +84 -0
- package/dist/commands/chunk-W47I2KDY.js +47 -0
- package/dist/commands/chunk-W4J6YTFE.js +74 -0
- package/dist/commands/chunk-W4YH2DF3.js +58 -0
- package/dist/commands/chunk-W6MVQEMO.js +109 -0
- package/dist/commands/chunk-W6V4DWC5.js +70 -0
- package/dist/commands/chunk-WG6GYBRJ.js +271 -0
- package/dist/commands/chunk-WGULS5DA.js +129 -0
- package/dist/commands/chunk-WIE7VUBE.js +122 -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-WN7NK3NY.js +24 -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-WQJ7O3C3.js +229 -0
- package/dist/commands/chunk-WRX3MINT.js +60 -0
- package/dist/commands/chunk-WSOF74K4.js +30 -0
- package/dist/commands/chunk-WTRDWEUQ.js +533 -0
- package/dist/commands/chunk-WVR4RUFP.js +327 -0
- package/dist/commands/chunk-WW3TX742.js +122 -0
- package/dist/commands/chunk-WWC5L3AO.js +177 -0
- package/dist/commands/chunk-X5XYKDOD.js +7 -0
- package/dist/commands/chunk-X7PN54LZ.js +143 -0
- package/dist/commands/chunk-XBRD2BDL.js +74 -0
- package/dist/commands/chunk-XDF25GSU.js +536 -0
- package/dist/commands/chunk-XDQOWUVT.js +51 -0
- package/dist/commands/chunk-XFPEUYDV.js +67 -0
- package/dist/commands/chunk-XGMRAKSL.js +85 -0
- package/dist/commands/chunk-XH6BGVVP.js +1639 -0
- package/dist/commands/chunk-XMBRXCIE.js +89 -0
- package/dist/commands/chunk-XSKB6ZUA.js +123 -0
- package/dist/commands/chunk-XXNEY4B3.js +110 -0
- package/dist/commands/chunk-XYAK53TK.js +443 -0
- package/dist/commands/chunk-Y2RNUX4W.js +8 -0
- package/dist/commands/chunk-Y5ZW3KN5.js +58 -0
- package/dist/commands/chunk-YGDNUTTI.js +120 -0
- package/dist/commands/chunk-YIA6FC3K.js +78 -0
- package/dist/commands/chunk-YPNTORQD.js +121 -0
- package/dist/commands/chunk-YT342DRV.js +143 -0
- package/dist/commands/chunk-YVH2OLDS.js +104 -0
- package/dist/commands/chunk-Z4HYBFZD.js +1160 -0
- package/dist/commands/chunk-ZA3W73PF.js +192 -0
- package/dist/commands/chunk-ZAAHZY2A.js +19 -0
- package/dist/commands/chunk-ZAJD6T6E.js +38 -0
- package/dist/commands/chunk-ZBFNQUY7.js +12 -0
- package/dist/commands/chunk-ZDSDPKCD.js +88 -0
- package/dist/commands/chunk-ZECFKW7D.js +60 -0
- package/dist/commands/chunk-ZHZSZNE2.js +173 -0
- package/dist/commands/chunk-ZNX2LJCQ.js +29 -0
- package/dist/commands/chunk-ZQ3CKRMP.js +99 -0
- package/dist/commands/chunk-ZVAIIHBE.js +63 -0
- package/dist/commands/chunk-ZYGOZT4J.js +39 -0
- package/dist/commands/chunk-ZYIMQHCB.js +81 -0
- package/dist/commands/chunk-ZZAH3YQP.js +170 -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 +357 -0
- package/dist/commands/command-derive.js +802 -0
- package/dist/commands/cost-audit-main.js +207 -0
- package/dist/commands/cost-main.js +28 -0
- package/dist/commands/cspell-cached.js +158 -0
- package/dist/commands/defect-origin-main.js +221 -0
- package/dist/commands/defect-report-main.js +288 -0
- package/dist/commands/delegation-cli.js +65 -0
- package/dist/commands/diff-summary-cli.js +147 -0
- package/dist/commands/disposition-cli.js +408 -0
- package/dist/commands/doctor.js +267 -0
- package/dist/commands/document-read-cli.js +39 -844
- package/dist/commands/document-section-main.js +26 -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 +319 -0
- package/dist/commands/epic-audit-main.js +158 -0
- package/dist/commands/epic-bundle-main.js +199 -0
- package/dist/commands/epic-check.js +90 -0
- package/dist/commands/epic-main.js +222 -0
- package/dist/commands/epic-next-main.js +157 -0
- package/dist/commands/eval-run.js +838 -0
- package/dist/commands/fanout-cli.js +86 -0
- package/dist/commands/format-edited-cli.js +120 -0
- package/dist/commands/format.js +139 -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 +2012 -0
- package/dist/commands/git-gh-checks-failed-main.js +156 -0
- package/dist/commands/git-workflow.js +602 -0
- package/dist/commands/github-release-cli.js +253 -0
- package/dist/commands/hook-ledger-cli.js +416 -0
- package/dist/commands/init-main.js +98 -0
- package/dist/commands/inputs.json +2764 -0
- package/dist/commands/issue-ack-cli.js +106 -0
- package/dist/commands/issue-already-done-cli.js +305 -0
- package/dist/commands/issue-body-cli.js +184 -0
- package/dist/commands/issue-cite-main.js +162 -0
- package/dist/commands/issue-comment-main.js +72 -0
- package/dist/commands/issue-consolidate-cli.js +329 -0
- package/dist/commands/issue-file-main.js +419 -0
- package/dist/commands/issue-fold-existing-cli.js +506 -0
- package/dist/commands/issue-fold-main.js +113 -0
- package/dist/commands/issue-lint-main.js +126 -0
- package/dist/commands/issue-measured-cli.js +205 -0
- package/dist/commands/issue-plan-cli.js +352 -0
- package/dist/commands/issue-premise-unmet-cli.js +268 -0
- package/dist/commands/issue-priority-cli.js +184 -0
- package/dist/commands/issue-read-main.js +79 -0
- package/dist/commands/issue-release-class-cli.js +119 -0
- package/dist/commands/issue-release-main.js +71 -0
- package/dist/commands/issue-scout-main.js +203 -0
- package/dist/commands/issue-spill-main.js +564 -0
- package/dist/commands/issue-state-main.js +76 -0
- package/dist/commands/issue-tick-cli.js +112 -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 +703 -0
- package/dist/commands/lane-cli.js +863 -0
- package/dist/commands/lane-launch-main.js +103 -0
- package/dist/commands/lane-limit-cli.js +286 -0
- package/dist/commands/lane-measure-cli.js +1797 -0
- package/dist/commands/lane-pause-cli.js +255 -0
- package/dist/commands/lane-plan-cli.js +322 -0
- package/dist/commands/lane-resolve-cli.js +300 -0
- package/dist/commands/lane-restart-cli.js +387 -0
- package/dist/commands/lane-why-cli.js +307 -0
- package/dist/commands/lane-withdraw-cli.js +191 -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 +134 -0
- package/dist/commands/lint-related.js +565 -0
- package/dist/commands/lint-rule.js +305 -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 +859 -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 +115 -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 +496 -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 +367 -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 +163 -0
- package/dist/commands/pre-commit-type-check.js +210 -0
- package/dist/commands/pre-push-unit.js +271 -0
- package/dist/commands/pretool-guard-cli.js +205 -0
- package/dist/commands/prevent-main-commit.js +42 -0
- package/dist/commands/project-profile-cli.js +58 -0
- package/dist/commands/propagate.js +368 -0
- package/dist/commands/prose-stale-cli.js +128 -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 +121 -1745
- package/dist/commands/reconcile-templates.js +135 -0
- package/dist/commands/refactor-scan-cli.js +175 -0
- package/dist/commands/release-cli.js +724 -0
- package/dist/commands/release-scope-main.js +81 -0
- package/dist/commands/rename-cli.js +432 -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 +555 -0
- package/dist/commands/review-attest-cli.js +118 -0
- package/dist/commands/review-brief-main.js +247 -0
- package/dist/commands/review-findings-cli.js +114 -0
- package/dist/commands/review-pair-cli.js +366 -0
- package/dist/commands/review-record-main.js +222 -0
- package/dist/commands/review-round2-cli.js +349 -0
- package/dist/commands/review-stops-cli.js +149 -0
- package/dist/commands/review-submit-cli.js +610 -0
- package/dist/commands/rule-list.js +184 -0
- package/dist/commands/rule-value-cli.js +908 -0
- package/dist/commands/ruleset-check-cli.js +67 -0
- package/dist/commands/run-add-cli.js +273 -0
- package/dist/commands/run-board-main.js +272 -0
- package/dist/commands/run-carry-cli.js +641 -0
- package/dist/commands/run-chain-cli.js +537 -0
- package/dist/commands/run-cut-cli.js +709 -0
- package/dist/commands/run-ending-cli.js +169 -0
- package/dist/commands/run-entry-cli.js +1060 -0
- package/dist/commands/run-event-cli.js +298 -0
- package/dist/commands/run-handoff-cli.js +344 -0
- package/dist/commands/run-handoff-lanes-cli.js +233 -0
- package/dist/commands/run-hold-main.js +203 -0
- package/dist/commands/run-liveness-cli.js +190 -0
- package/dist/commands/run-merge-main.js +246 -0
- package/dist/commands/run-next-cli.js +240 -0
- package/dist/commands/run-park-cli.js +393 -0
- package/dist/commands/run-pause-cli.js +334 -0
- package/dist/commands/run-pickup-cli.js +196 -0
- package/dist/commands/run-prep-main.js +209 -21168
- package/dist/commands/run-prime-cli.js +281 -0
- package/dist/commands/run-progress-main.js +655 -0
- package/dist/commands/run-report-cli.js +376 -0
- package/dist/commands/run-review-cli.js +777 -0
- package/dist/commands/run-ship-cli.js +2615 -0
- package/dist/commands/run-ship-evidence-cli.js +288 -0
- package/dist/commands/run-ship-lap-W5T2VHFC.js +30 -0
- package/dist/commands/run-ship-wait-main.js +145 -0
- package/dist/commands/run-split-cli.js +525 -0
- package/dist/commands/run-stale-main.js +254 -0
- package/dist/commands/run-status-cli.js +216 -0
- package/dist/commands/run-step-cli.js +419 -27653
- package/dist/commands/run-tail-cli.js +119 -0
- package/dist/commands/run-tidy-main.js +402 -0
- package/dist/commands/run-wake-main.js +272 -0
- package/dist/commands/run-watcher-guard-cli.js +128 -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 +409 -0
- package/dist/commands/session-language-main.js +120 -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 +138 -0
- package/dist/commands/split-child-recover-cli.js +168 -0
- package/dist/commands/start.js +707 -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 +567 -0
- package/dist/commands/sync-main.js +57 -0
- package/dist/commands/telegram-test-main.js +64 -0
- package/dist/commands/test-declared.js +255 -0
- package/dist/commands/test-e2e-guard.js +200 -0
- package/dist/commands/test-pinned-main.js +189 -0
- package/dist/commands/test-reach-cli.js +111 -0
- package/dist/commands/test-red-main.js +46 -0
- package/dist/commands/test-related-ZT2AO62I.js +113 -0
- package/dist/commands/test-related-main.js +223 -0
- package/dist/commands/test-unit-guard-main.js +87 -0
- package/dist/commands/time-cli.js +356 -0
- package/dist/commands/time-density-cli.js +183 -0
- package/dist/commands/tree-status-cli.js +172 -0
- package/dist/commands/type-check-command.js +74 -0
- package/dist/commands/ui-routes-cli.js +135 -0
- package/dist/commands/ui-shot-cli.js +131 -0
- package/dist/commands/uninstall.js +424 -0
- package/dist/commands/unused-members-STULPRBU.js +331 -0
- package/dist/commands/unused-members-cli.js +54 -0
- package/dist/commands/upstream-interrupt-main.js +449 -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-UJ3FPMMM.js → chunk-4YXV2REH.js} +444 -141
- package/dist/hooks/chunk-6RR6JZSB.js +12367 -0
- package/dist/hooks/chunk-6YGMIODI.js +86 -0
- package/dist/hooks/chunk-CICKRHTB.js +7586 -0
- package/dist/hooks/chunk-CY3ADSDR.js +28580 -0
- package/dist/hooks/chunk-FOW4B7OQ.js +1795 -0
- package/dist/hooks/chunk-LKQBEKBI.js +232 -0
- package/dist/hooks/chunk-LRD2ERRI.js +299 -0
- package/dist/hooks/chunk-LWD43Z3C.js +6793 -0
- package/dist/hooks/chunk-NUPVO7RI.js +3054 -0
- package/dist/hooks/chunk-P7BPAU26.js +1082 -0
- package/dist/hooks/chunk-RQXECHAS.js +309 -0
- package/dist/hooks/chunk-SAAPRHTK.js +43 -0
- package/dist/hooks/chunk-U3ON2GBN.js +12 -0
- package/dist/hooks/{chunk-CQD4LJE6.js → chunk-UU4PTPEZ.js} +3143 -1257
- package/dist/hooks/chunk-YEURBB4L.js +32 -0
- package/dist/hooks/codex-hook-adapter.js +61 -25
- package/dist/hooks/daemon.js +67304 -0
- package/dist/hooks/format-edited.js +15 -5
- package/dist/hooks/inputs.json +555 -372
- 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 +226 -121
- package/dist/hooks/stop-guard.js +9188 -4508
- package/dist/inputs.json +169 -0
- package/dist/josh.js +9617 -6711
- package/dist/self-sync-guard/index.js +68 -14
- package/dist/version/index.js +642 -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 +16 -14
- package/pnpm-workspace.yaml +15 -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 +125 -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 +11 -4
- 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-profile-schema.ts +98 -0
- package/scripts/agent/agent-role-profile.ts +105 -82
- package/scripts/agent/agent-safe-text.ts +2 -2
- package/scripts/agent/agent-session-role.ts +25 -3
- package/scripts/agent/answer-judge.ts +174 -0
- package/scripts/agent/answer-verdict.ts +122 -0
- package/scripts/agent/claude-agent-argv.ts +12 -6
- 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 +4 -1
- 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 +7 -14
- package/scripts/auto-ok/auto-ok-judge-read.ts +3 -3
- package/scripts/auto-ok/auto-ok-judge-write.ts +18 -16
- 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-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 +194 -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 +2 -5
- 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-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.ts +344 -0
- package/scripts/hooks/implementation-shell-nested.ts +148 -0
- package/scripts/hooks/implementation-shell.ts +253 -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 +52 -14
- package/scripts/hooks/stop-actions.ts +10 -3
- 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 +23 -6
- package/scripts/issue/issue-body-cli.ts +75 -0
- package/scripts/issue/issue-body-keys.ts +223 -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-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 +6 -3
- 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 +147 -208
- 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 +242 -0
- package/scripts/issue/issue-file.ts +24 -5
- 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-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 +20 -5
- 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 +22 -7
- 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 +25 -8
- 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 +190 -18
- 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 +8 -5
- package/scripts/josh/josh-commands-review.ts +83 -5
- package/scripts/josh/josh-commands-run.ts +20 -31
- 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 +41 -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 +77 -9
- 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 +129 -15
- package/scripts/lane/lane-breakdown.ts +194 -30
- 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.ts +25 -20
- package/scripts/lane/lane-early-push-stats.ts +25 -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 +70 -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 +103 -18
- 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 +37 -10
- 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 +389 -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 +113 -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 +32 -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 +27 -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 +44 -3
- package/scripts/lane/lane-stats.ts +9 -2
- package/scripts/lane/lane-stop-stats.ts +3 -2
- 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 +102 -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 +19 -3
- package/scripts/lane/openai-lane-supervisor.ts +26 -4
- 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/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 +54 -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-home.ts +14 -7
- package/scripts/observations/observations-flush-landing.ts +1 -1
- 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 +125 -0
- package/scripts/plan/plan-scaffold.ts +112 -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.ts +10 -10
- package/scripts/release/publish-tag-cli.ts +13 -3
- package/scripts/release/release-cli.ts +2 -0
- package/scripts/release/release-progress.ts +44 -36
- 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/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-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/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 +9 -1
- 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 +9 -0
- 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/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/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 +62 -54
- package/scripts/rules/rule-value-prose.ts +186 -0
- package/scripts/rules/rule-value-runs.ts +171 -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 +54 -0
- package/scripts/rules/shell-segments.ts +3 -2
- package/scripts/rules/stop-decision.ts +7 -1
- package/scripts/rules/stop-rules.ts +1 -1
- package/scripts/rules/unasked-filing.ts +158 -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 +68 -10
- package/scripts/run/board/run-board-decision-graphql.ts +136 -0
- package/scripts/run/board/run-board-decision-read.ts +195 -0
- package/scripts/run/board/run-board-decision.ts +92 -0
- package/scripts/run/board/run-board-earlier.ts +27 -3
- package/scripts/run/board/run-board-ending-reason.ts +98 -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 +117 -29
- 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 +64 -74
- package/scripts/run/board/run-board-link.ts +42 -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 +8 -5
- package/scripts/run/board/run-board-plan-shared.ts +3 -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 +18 -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 +26 -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 +33 -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 +7 -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 +86 -99
- 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 +88 -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 +37 -12
- 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 +75 -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 +41 -7
- 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 +52 -1
- 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 +220 -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 +10 -5
- package/scripts/test/test-related-verdict.ts +127 -0
- package/scripts/test/test-related-whole.ts +22 -0
- package/scripts/test/test-related.ts +123 -146
- 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
package/dist/version/index.js
CHANGED
|
@@ -85,6 +85,7 @@ var ancestor_directories = { list, nearest };
|
|
|
85
85
|
// scripts/lib/package-manifest.ts
|
|
86
86
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
87
87
|
import path2 from "node:path";
|
|
88
|
+
import { z } from "zod";
|
|
88
89
|
|
|
89
90
|
// scripts/lib/json-value.ts
|
|
90
91
|
function parse_or_undefined(text) {
|
|
@@ -137,6 +138,28 @@ var file_reader = { is_absent, read_optional, read_file_or_empty, read_if_readab
|
|
|
137
138
|
|
|
138
139
|
// scripts/lib/package-manifest.ts
|
|
139
140
|
var PACKAGE_JSON = "package.json";
|
|
141
|
+
var REVIEW_GATE_SCHEMA = z.enum(["ci", "local"]);
|
|
142
|
+
var FORMAT_SCHEMA = z.enum(["auto", "all"]);
|
|
143
|
+
var LANE_SCHEMA = z.object({ setup: z.string().min(1) });
|
|
144
|
+
var GATE_STEP_SCHEMA = z.strictObject({
|
|
145
|
+
name: z.string().min(1),
|
|
146
|
+
command: z.string().min(1),
|
|
147
|
+
paths: z.array(z.string().min(1)).min(1).optional(),
|
|
148
|
+
cores: z.int().positive().optional()
|
|
149
|
+
});
|
|
150
|
+
var GATE_STEPS_SCHEMA = z.array(GATE_STEP_SCHEMA).refine((steps) => new Set(steps.map((step) => step.name)).size === steps.length, {
|
|
151
|
+
message: "step names must be unique"
|
|
152
|
+
});
|
|
153
|
+
var GATE_SCHEMA = z.object({ steps: GATE_STEPS_SCHEMA.optional() });
|
|
154
|
+
var josh_schemas = {
|
|
155
|
+
format: z.object({ josh: z.object({ format: FORMAT_SCHEMA.optional() }).optional() }),
|
|
156
|
+
gate_steps: z.object({ josh: z.object({ gate: GATE_SCHEMA.optional() }).optional() }),
|
|
157
|
+
lane_setup: z.object({ josh: z.object({ lane: LANE_SCHEMA.optional() }).optional() }),
|
|
158
|
+
progress_interval_minutes: z.object({
|
|
159
|
+
josh: z.object({ progress_interval_minutes: z.number().positive() }).optional()
|
|
160
|
+
}),
|
|
161
|
+
review_gate: z.object({ josh: z.object({ review_gate: REVIEW_GATE_SCHEMA }).optional() })
|
|
162
|
+
};
|
|
140
163
|
function manifest_path(directory) {
|
|
141
164
|
return path2.join(directory, PACKAGE_JSON);
|
|
142
165
|
}
|
|
@@ -149,39 +172,53 @@ function read_manifest_if_valid(directory, schema) {
|
|
|
149
172
|
if (text === void 0) return void 0;
|
|
150
173
|
return json_value.parse_with(text, schema);
|
|
151
174
|
}
|
|
152
|
-
|
|
175
|
+
function read_nearest_value(start, schema, select) {
|
|
176
|
+
const value_schema = schema.transform(select);
|
|
177
|
+
for (const directory of ancestor_directories.list(start)) {
|
|
178
|
+
const value = read_manifest_if_valid(directory, value_schema);
|
|
179
|
+
if (value !== void 0) return value;
|
|
180
|
+
}
|
|
181
|
+
return void 0;
|
|
182
|
+
}
|
|
183
|
+
var package_manifest = {
|
|
184
|
+
josh_schemas,
|
|
185
|
+
manifest_path,
|
|
186
|
+
read_manifest,
|
|
187
|
+
read_manifest_if_valid,
|
|
188
|
+
read_nearest_value
|
|
189
|
+
};
|
|
153
190
|
|
|
154
191
|
// scripts/lib/schemas.ts
|
|
155
|
-
import { z } from "zod";
|
|
156
|
-
var overrides_snapshot_schema =
|
|
157
|
-
var package_version_schema =
|
|
158
|
-
var package_named_version_schema =
|
|
159
|
-
var package_with_version_schema =
|
|
160
|
-
var ls_global_dependency_schema =
|
|
161
|
-
var ls_global_dependencies_schema =
|
|
162
|
-
var pnpm_ls_global_schema =
|
|
163
|
-
|
|
192
|
+
import { z as z2 } from "zod";
|
|
193
|
+
var overrides_snapshot_schema = z2.record(z2.string(), z2.string());
|
|
194
|
+
var package_version_schema = z2.object({ version: z2.string() });
|
|
195
|
+
var package_named_version_schema = z2.looseObject({ name: z2.string(), version: z2.string() });
|
|
196
|
+
var package_with_version_schema = z2.looseObject({ version: z2.string() });
|
|
197
|
+
var ls_global_dependency_schema = z2.looseObject({ version: z2.string() });
|
|
198
|
+
var ls_global_dependencies_schema = z2.record(z2.string(), ls_global_dependency_schema).optional();
|
|
199
|
+
var pnpm_ls_global_schema = z2.array(
|
|
200
|
+
z2.looseObject({
|
|
164
201
|
dependencies: ls_global_dependencies_schema
|
|
165
202
|
})
|
|
166
203
|
);
|
|
167
|
-
var vscode_settings_schema =
|
|
168
|
-
var with_scripts_schema =
|
|
169
|
-
scripts:
|
|
204
|
+
var vscode_settings_schema = z2.record(z2.string(), z2.unknown());
|
|
205
|
+
var with_scripts_schema = z2.looseObject({
|
|
206
|
+
scripts: z2.record(z2.string(), z2.string()).optional()
|
|
170
207
|
});
|
|
171
|
-
var with_development_deps_schema =
|
|
172
|
-
devDependencies:
|
|
208
|
+
var with_development_deps_schema = z2.looseObject({
|
|
209
|
+
devDependencies: z2.record(z2.string(), z2.string()).optional()
|
|
173
210
|
});
|
|
174
|
-
var with_package_manager_schema =
|
|
175
|
-
packageManager:
|
|
211
|
+
var with_package_manager_schema = z2.looseObject({
|
|
212
|
+
packageManager: z2.string().optional()
|
|
176
213
|
});
|
|
177
|
-
var with_development_engine_schema =
|
|
178
|
-
devEngines:
|
|
214
|
+
var with_development_engine_schema = z2.looseObject({
|
|
215
|
+
devEngines: z2.record(z2.string(), z2.unknown()).optional()
|
|
179
216
|
});
|
|
180
|
-
var bin_entry_schema =
|
|
181
|
-
var package_bin_schema =
|
|
182
|
-
var json_object_schema =
|
|
183
|
-
var string_array_schema =
|
|
184
|
-
var string_record_schema =
|
|
217
|
+
var bin_entry_schema = z2.union([z2.string(), z2.record(z2.string(), z2.string())]).optional();
|
|
218
|
+
var package_bin_schema = z2.looseObject({ bin: bin_entry_schema });
|
|
219
|
+
var json_object_schema = z2.record(z2.string(), z2.unknown());
|
|
220
|
+
var string_array_schema = z2.array(z2.string());
|
|
221
|
+
var string_record_schema = z2.record(z2.string(), z2.string());
|
|
185
222
|
|
|
186
223
|
// scripts/version/effective-upstream.ts
|
|
187
224
|
function read_matching_version(directory, package_name) {
|
|
@@ -251,11 +288,11 @@ var yaml_document = { is_mapping_document, parse_yaml, parse_yaml_documents };
|
|
|
251
288
|
|
|
252
289
|
// scripts/version/release-age.ts
|
|
253
290
|
import semver from "semver";
|
|
254
|
-
import { z as
|
|
291
|
+
import { z as z3 } from "zod";
|
|
255
292
|
var NO_QUARANTINE_MINUTES = 0;
|
|
256
293
|
var WORKSPACE_PATH = "pnpm-workspace.yaml";
|
|
257
|
-
var workspace_age_schema =
|
|
258
|
-
var release_times_schema =
|
|
294
|
+
var workspace_age_schema = z3.object({ minimumReleaseAge: z3.number().int().nonnegative() });
|
|
295
|
+
var release_times_schema = z3.record(z3.string(), z3.string());
|
|
259
296
|
function parse_workspace(workspace_content) {
|
|
260
297
|
try {
|
|
261
298
|
return yaml_document.parse_yaml(workspace_content);
|
|
@@ -531,8 +568,8 @@ function build_upstream_upgrade_commands(reports) {
|
|
|
531
568
|
...build_project_upgrade_commands(report)
|
|
532
569
|
]);
|
|
533
570
|
}
|
|
534
|
-
function build_dual_upgrade_commands(
|
|
535
|
-
const { global_version, project_version, latest } =
|
|
571
|
+
function build_dual_upgrade_commands(snapshot2, config) {
|
|
572
|
+
const { global_version, project_version, latest } = snapshot2;
|
|
536
573
|
const commands = [];
|
|
537
574
|
if (is_target_stale(global_version, latest)) {
|
|
538
575
|
commands.push(build_upgrade_command(latest, false, config));
|
|
@@ -542,23 +579,23 @@ function build_dual_upgrade_commands(snapshot, config) {
|
|
|
542
579
|
}
|
|
543
580
|
return commands;
|
|
544
581
|
}
|
|
545
|
-
function format_target_lines(
|
|
546
|
-
const { global_version, project_version, latest } =
|
|
582
|
+
function format_target_lines(snapshot2) {
|
|
583
|
+
const { global_version, project_version, latest } = snapshot2;
|
|
547
584
|
return [
|
|
548
585
|
format_target_line(GLOBAL_LABEL, global_version, latest),
|
|
549
586
|
format_target_line(PROJECT_LABEL, project_version, latest),
|
|
550
587
|
` ${LATEST_LABEL} ${latest}`
|
|
551
588
|
];
|
|
552
589
|
}
|
|
553
|
-
function format_dual_version_output(
|
|
590
|
+
function format_dual_version_output(snapshot2, config, extras = {}, upstreams = []) {
|
|
554
591
|
const lines = [
|
|
555
592
|
config.package_name,
|
|
556
|
-
...format_target_lines(
|
|
593
|
+
...format_target_lines(snapshot2),
|
|
557
594
|
...format_running_line(extras.running),
|
|
558
595
|
...upstreams.flatMap((report) => format_upstream_lines(report))
|
|
559
596
|
];
|
|
560
597
|
const hints = unique_upgrade_commands([
|
|
561
|
-
...build_dual_upgrade_commands(
|
|
598
|
+
...build_dual_upgrade_commands(snapshot2, config),
|
|
562
599
|
...build_upstream_upgrade_commands(upstreams)
|
|
563
600
|
]).map((command) => `Run: ${command.text}`);
|
|
564
601
|
if (hints.length > 0) lines.push("", ...hints);
|
|
@@ -594,6 +631,13 @@ function has_timed_out(error) {
|
|
|
594
631
|
// scripts/josh/agent-session-environment.ts
|
|
595
632
|
var SESSION_ID_KEY = "CLAUDE_CODE_SESSION_ID";
|
|
596
633
|
var AGENT_PID_KEY = "CLAUDE_PID";
|
|
634
|
+
function session_pid(environment = process.env) {
|
|
635
|
+
const pid = Number(environment[AGENT_PID_KEY]);
|
|
636
|
+
return Number.isSafeInteger(pid) && pid > 0 ? pid : void 0;
|
|
637
|
+
}
|
|
638
|
+
function own_session_pid(environment = process.env) {
|
|
639
|
+
return environment[SESSION_ID_KEY] === void 0 ? void 0 : session_pid(environment);
|
|
640
|
+
}
|
|
597
641
|
var PARENT_SESSION_KEYS = [
|
|
598
642
|
"CLAUDE_CODE_MESSAGING_SOCKET",
|
|
599
643
|
"CLAUDE_CODE_MESSAGING_TOKEN",
|
|
@@ -670,10 +714,69 @@ var agent_session_environment = {
|
|
|
670
714
|
PROXY_CERTIFICATE_KEY,
|
|
671
715
|
PROXY_KEYS,
|
|
672
716
|
SESSION_ID_KEY,
|
|
717
|
+
own_session_pid,
|
|
673
718
|
removed_environment,
|
|
674
|
-
removed_proxy_environment
|
|
719
|
+
removed_proxy_environment,
|
|
720
|
+
session_pid
|
|
675
721
|
};
|
|
676
722
|
|
|
723
|
+
// scripts/lib/bounded-pool.ts
|
|
724
|
+
function pool_width(limit, total) {
|
|
725
|
+
if (!Number.isFinite(limit)) return 1;
|
|
726
|
+
return Math.max(1, Math.min(Math.floor(limit), total));
|
|
727
|
+
}
|
|
728
|
+
function throw_first_failure(failures) {
|
|
729
|
+
if (failures.length === 0) return;
|
|
730
|
+
const [first] = failures;
|
|
731
|
+
throw first;
|
|
732
|
+
}
|
|
733
|
+
async function drain(pool, worker) {
|
|
734
|
+
for (let entry = pool.queue.shift(); entry !== void 0 && pool.failures.length === 0; entry = pool.queue.shift()) {
|
|
735
|
+
const [index, item] = entry;
|
|
736
|
+
try {
|
|
737
|
+
pool.results.push({ index, value: await worker(item, index) });
|
|
738
|
+
} catch (error) {
|
|
739
|
+
pool.failures.push(error);
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
async function bounded_map(items, limit, worker) {
|
|
744
|
+
const pool = {
|
|
745
|
+
failures: [],
|
|
746
|
+
queue: items.map((item, index) => [index, item]),
|
|
747
|
+
results: []
|
|
748
|
+
};
|
|
749
|
+
const consumers = Array.from({ length: pool_width(limit, items.length) }, async () => {
|
|
750
|
+
await drain(pool, worker);
|
|
751
|
+
});
|
|
752
|
+
await Promise.all(consumers);
|
|
753
|
+
throw_first_failure(pool.failures);
|
|
754
|
+
return pool.results.toSorted((left, right) => left.index - right.index).map((result) => result.value);
|
|
755
|
+
}
|
|
756
|
+
function limiter(limit) {
|
|
757
|
+
const width = pool_width(limit, Infinity);
|
|
758
|
+
const waiting = [];
|
|
759
|
+
let active = 0;
|
|
760
|
+
return {
|
|
761
|
+
async run(task) {
|
|
762
|
+
if (active < width) active += 1;
|
|
763
|
+
else {
|
|
764
|
+
await new Promise((resolve) => {
|
|
765
|
+
waiting.push(resolve);
|
|
766
|
+
});
|
|
767
|
+
}
|
|
768
|
+
try {
|
|
769
|
+
return await task();
|
|
770
|
+
} finally {
|
|
771
|
+
const next = waiting.shift();
|
|
772
|
+
if (next === void 0) active -= 1;
|
|
773
|
+
else next();
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
};
|
|
777
|
+
}
|
|
778
|
+
var bounded_pool = { bounded_map, limiter, pool_width };
|
|
779
|
+
|
|
677
780
|
// scripts/lib/error-message.ts
|
|
678
781
|
function message_of(error) {
|
|
679
782
|
return error instanceof Error ? error.message : String(error);
|
|
@@ -758,6 +861,400 @@ var token_shape = {
|
|
|
758
861
|
// scripts/gh/git-gh-exec.ts
|
|
759
862
|
import { execa as execa2, execaSync } from "execa";
|
|
760
863
|
|
|
864
|
+
// scripts/rules/git-argv.ts
|
|
865
|
+
var ENV_ASSIGNMENT = /^[A-Za-z_]\w*=/u;
|
|
866
|
+
var WORD_QUOTING = /["'\\]/gu;
|
|
867
|
+
var WRAPPER_WORDS = /* @__PURE__ */ new Set([
|
|
868
|
+
"pnpm",
|
|
869
|
+
"npx",
|
|
870
|
+
"exec",
|
|
871
|
+
"run",
|
|
872
|
+
"sudo",
|
|
873
|
+
"command",
|
|
874
|
+
"env",
|
|
875
|
+
"time"
|
|
876
|
+
]);
|
|
877
|
+
var FLAGGED_WRAPPERS = /* @__PURE__ */ new Set(["time", "pnpm", "env"]);
|
|
878
|
+
var WRAPPER_VALUE_FLAGS = /* @__PURE__ */ new Set([
|
|
879
|
+
"-o",
|
|
880
|
+
"-f",
|
|
881
|
+
"--output",
|
|
882
|
+
"--format",
|
|
883
|
+
"-C",
|
|
884
|
+
"--dir",
|
|
885
|
+
"--filter",
|
|
886
|
+
"-u",
|
|
887
|
+
"--unset"
|
|
888
|
+
]);
|
|
889
|
+
var SUBSHELL_OPEN = "(";
|
|
890
|
+
var CONFIG_ENV = "--config-env";
|
|
891
|
+
var ATTACHED_CONFIG = /^(?:-c|--config-env=)(.+)$/u;
|
|
892
|
+
var VALUE_TAKING_GLOBALS = /* @__PURE__ */ new Set([
|
|
893
|
+
"-C",
|
|
894
|
+
"-c",
|
|
895
|
+
"--git-dir",
|
|
896
|
+
"--work-tree",
|
|
897
|
+
"--namespace",
|
|
898
|
+
"--exec-path",
|
|
899
|
+
"--super-prefix",
|
|
900
|
+
CONFIG_ENV
|
|
901
|
+
]);
|
|
902
|
+
var FLAG_PREFIX = "-";
|
|
903
|
+
var GIT_COMMAND = "git";
|
|
904
|
+
var NEXT = 1;
|
|
905
|
+
var AFTER_VALUE = 2;
|
|
906
|
+
var WORD = /(?:\\.|'[^']*'|"(?:\\.|[^"\\])*"|\S)+/gsu;
|
|
907
|
+
function words_of(segment) {
|
|
908
|
+
return segment.match(WORD) ?? [];
|
|
909
|
+
}
|
|
910
|
+
var PATH_SEPARATOR2 = "/";
|
|
911
|
+
function program_name(word) {
|
|
912
|
+
return word.slice(word.lastIndexOf(PATH_SEPARATOR2) + NEXT);
|
|
913
|
+
}
|
|
914
|
+
function is_wrapper_token(word) {
|
|
915
|
+
return word === SUBSHELL_OPEN || ENV_ASSIGNMENT.test(word.replaceAll(WORD_QUOTING, "")) || WRAPPER_WORDS.has(program_name(word));
|
|
916
|
+
}
|
|
917
|
+
function wrapper_flag_width(word = "") {
|
|
918
|
+
if (!word.startsWith(FLAG_PREFIX)) return 0;
|
|
919
|
+
return WRAPPER_VALUE_FLAGS.has(word) ? AFTER_VALUE : NEXT;
|
|
920
|
+
}
|
|
921
|
+
function after_wrapper_word(words, index) {
|
|
922
|
+
let next = index + NEXT;
|
|
923
|
+
if (!FLAGGED_WRAPPERS.has(program_name(words[index] ?? ""))) return next;
|
|
924
|
+
let width = wrapper_flag_width(words[next]);
|
|
925
|
+
while (width > 0) {
|
|
926
|
+
next += width;
|
|
927
|
+
width = wrapper_flag_width(words[next]);
|
|
928
|
+
}
|
|
929
|
+
return next;
|
|
930
|
+
}
|
|
931
|
+
function after_wrapper(words) {
|
|
932
|
+
let index = 0;
|
|
933
|
+
while (index < words.length && is_wrapper_token(words[index] ?? "")) {
|
|
934
|
+
index = after_wrapper_word(words, index);
|
|
935
|
+
}
|
|
936
|
+
return index;
|
|
937
|
+
}
|
|
938
|
+
function global_step(flag) {
|
|
939
|
+
return VALUE_TAKING_GLOBALS.has(flag) ? AFTER_VALUE : NEXT;
|
|
940
|
+
}
|
|
941
|
+
function after_globals(words) {
|
|
942
|
+
let index = 0;
|
|
943
|
+
while (index < words.length) {
|
|
944
|
+
const flag = words[index] ?? "";
|
|
945
|
+
if (!flag.startsWith(FLAG_PREFIX)) return index;
|
|
946
|
+
index += global_step(flag);
|
|
947
|
+
}
|
|
948
|
+
return index;
|
|
949
|
+
}
|
|
950
|
+
function program_of(segment) {
|
|
951
|
+
const words = words_of(segment);
|
|
952
|
+
const command_index = after_wrapper(words);
|
|
953
|
+
const word = words[command_index];
|
|
954
|
+
if (word === void 0) return void 0;
|
|
955
|
+
return { name: program_name(word), args: words.slice(command_index + NEXT) };
|
|
956
|
+
}
|
|
957
|
+
function arguments_of(segment, command) {
|
|
958
|
+
const call = program_of(segment);
|
|
959
|
+
return call?.name === command ? call.args : void 0;
|
|
960
|
+
}
|
|
961
|
+
function parse(segment) {
|
|
962
|
+
const words = arguments_of(segment, GIT_COMMAND);
|
|
963
|
+
if (words === void 0) return void 0;
|
|
964
|
+
const subcommand_index = after_globals(words);
|
|
965
|
+
return { subcommand: words[subcommand_index], args: words.slice(subcommand_index + NEXT) };
|
|
966
|
+
}
|
|
967
|
+
function config_value(flag, next) {
|
|
968
|
+
if (flag === "-c" || flag === CONFIG_ENV) return next;
|
|
969
|
+
return ATTACHED_CONFIG.exec(flag)?.[1];
|
|
970
|
+
}
|
|
971
|
+
function config_arguments_of(segment) {
|
|
972
|
+
const words = arguments_of(segment, GIT_COMMAND) ?? [];
|
|
973
|
+
const values = [];
|
|
974
|
+
const end = after_globals(words);
|
|
975
|
+
let index = 0;
|
|
976
|
+
while (index < end) {
|
|
977
|
+
const flag = words[index] ?? "";
|
|
978
|
+
const value = config_value(flag, words[index + NEXT]);
|
|
979
|
+
if (value !== void 0) values.push(value);
|
|
980
|
+
index += global_step(flag);
|
|
981
|
+
}
|
|
982
|
+
return values;
|
|
983
|
+
}
|
|
984
|
+
var SHORT_CLUSTER = /^-[A-Za-z]+$/u;
|
|
985
|
+
function short_cluster_has(token, letters) {
|
|
986
|
+
if (!SHORT_CLUSTER.test(token)) return false;
|
|
987
|
+
const cluster = token.slice(FLAG_PREFIX.length);
|
|
988
|
+
for (let index = 0; index < letters.length; index += 1) {
|
|
989
|
+
if (cluster.includes(letters.charAt(index))) return true;
|
|
990
|
+
}
|
|
991
|
+
return false;
|
|
992
|
+
}
|
|
993
|
+
var git_argv = {
|
|
994
|
+
arguments_of,
|
|
995
|
+
config_arguments_of,
|
|
996
|
+
parse,
|
|
997
|
+
program_of,
|
|
998
|
+
short_cluster_has,
|
|
999
|
+
words_of
|
|
1000
|
+
};
|
|
1001
|
+
|
|
1002
|
+
// scripts/rules/gh-api.ts
|
|
1003
|
+
var GH_FLAGS = String.raw`(?:-{1,2}[\w-]+(?:[= ][^\s]+)?\s+)*`;
|
|
1004
|
+
var GH_API_COMMAND = new RegExp(String.raw`^gh\s+${GH_FLAGS}api\s`, "u");
|
|
1005
|
+
var GH_COMMAND = "gh";
|
|
1006
|
+
var METHOD_FLAGS = /* @__PURE__ */ new Set(["-X", "--method"]);
|
|
1007
|
+
var ATTACHED_METHOD = /^(?:-X=?|--method=)([A-Za-z]+)$/u;
|
|
1008
|
+
var FIELD_FLAGS = /* @__PURE__ */ new Set(["-f", "-F", "--field", "--raw-field", "--input"]);
|
|
1009
|
+
var ATTACHED_FIELD = /^(?:-[fF].|--(?:raw-field|field|input)=)/u;
|
|
1010
|
+
var QUOTES = /['"]/gu;
|
|
1011
|
+
var FLAG_PREFIX2 = "-";
|
|
1012
|
+
var NEXT2 = 1;
|
|
1013
|
+
var READ_METHOD = "GET";
|
|
1014
|
+
var API_VALUE_TAKING_FLAGS = /* @__PURE__ */ new Set([
|
|
1015
|
+
"-R",
|
|
1016
|
+
"--repo",
|
|
1017
|
+
...METHOD_FLAGS,
|
|
1018
|
+
...FIELD_FLAGS,
|
|
1019
|
+
"-H",
|
|
1020
|
+
"--header",
|
|
1021
|
+
"-q",
|
|
1022
|
+
"--jq",
|
|
1023
|
+
"-t",
|
|
1024
|
+
"--template",
|
|
1025
|
+
"--hostname",
|
|
1026
|
+
"-p",
|
|
1027
|
+
"--preview",
|
|
1028
|
+
"--cache"
|
|
1029
|
+
]);
|
|
1030
|
+
var INCLUDE_CLUSTER = /^-i+(?=[A-Za-z])/u;
|
|
1031
|
+
var REPO_PATH = /repos\/([^/\s'"?]+)\/([^/\s'"?]+)/u;
|
|
1032
|
+
var OWNER_GROUP = 1;
|
|
1033
|
+
var REPO_GROUP = 2;
|
|
1034
|
+
var OWNER_PLACEHOLDERS = /* @__PURE__ */ new Set(["{owner}", ":owner"]);
|
|
1035
|
+
function is_gh_api(segment) {
|
|
1036
|
+
return GH_API_COMMAND.test(segment);
|
|
1037
|
+
}
|
|
1038
|
+
function flags_of(segment) {
|
|
1039
|
+
const words = (git_argv.arguments_of(segment, GH_COMMAND) ?? []).map(
|
|
1040
|
+
(word) => word.replace(INCLUDE_CLUSTER, "-")
|
|
1041
|
+
);
|
|
1042
|
+
let has_value_pending = false;
|
|
1043
|
+
return words.map((word, index) => [word, words[index + NEXT2] ?? ""]).filter(([word]) => {
|
|
1044
|
+
if (has_value_pending) {
|
|
1045
|
+
has_value_pending = false;
|
|
1046
|
+
return false;
|
|
1047
|
+
}
|
|
1048
|
+
has_value_pending = API_VALUE_TAKING_FLAGS.has(word);
|
|
1049
|
+
return word.startsWith(FLAG_PREFIX2);
|
|
1050
|
+
});
|
|
1051
|
+
}
|
|
1052
|
+
function method_value(flag, next) {
|
|
1053
|
+
if (METHOD_FLAGS.has(flag)) return next.replaceAll(QUOTES, "");
|
|
1054
|
+
return ATTACHED_METHOD.exec(flag)?.[1];
|
|
1055
|
+
}
|
|
1056
|
+
function method_of(segment) {
|
|
1057
|
+
const methods = flags_of(segment).map(([flag, next]) => method_value(flag, next));
|
|
1058
|
+
return methods.findLast((method) => method !== void 0)?.toUpperCase();
|
|
1059
|
+
}
|
|
1060
|
+
function is_field_flag(flag) {
|
|
1061
|
+
return FIELD_FLAGS.has(flag) || ATTACHED_FIELD.test(flag);
|
|
1062
|
+
}
|
|
1063
|
+
function is_read(segment) {
|
|
1064
|
+
const method = method_of(segment);
|
|
1065
|
+
if (method !== void 0) return method === READ_METHOD;
|
|
1066
|
+
return flags_of(segment).every(([flag]) => !is_field_flag(flag));
|
|
1067
|
+
}
|
|
1068
|
+
function is_write(segment) {
|
|
1069
|
+
return !is_read(segment);
|
|
1070
|
+
}
|
|
1071
|
+
var INPUT_FLAG = "--input";
|
|
1072
|
+
var READS_FILE_FLAGS = /* @__PURE__ */ new Set(["-F", "--field"]);
|
|
1073
|
+
var ATTACHED_PARTS = /^(-[fF]|--(?:raw-field|field|input))=?(.+)$/u;
|
|
1074
|
+
var ATTACHED_FLAG_GROUP = 1;
|
|
1075
|
+
var ATTACHED_VALUE_GROUP = 2;
|
|
1076
|
+
var FILE_PREFIX = "@";
|
|
1077
|
+
var STANDARD_INPUT = "-";
|
|
1078
|
+
var FIELD_KEY_END = "=";
|
|
1079
|
+
function field_parts(flag, next) {
|
|
1080
|
+
if (FIELD_FLAGS.has(flag)) return [flag, next];
|
|
1081
|
+
const match = ATTACHED_PARTS.exec(flag);
|
|
1082
|
+
if (match === null) return void 0;
|
|
1083
|
+
return [String(match[ATTACHED_FLAG_GROUP]), String(match[ATTACHED_VALUE_GROUP])];
|
|
1084
|
+
}
|
|
1085
|
+
function field_value(value) {
|
|
1086
|
+
return value.slice(value.indexOf(FIELD_KEY_END) + NEXT2);
|
|
1087
|
+
}
|
|
1088
|
+
function file_path(flag, value) {
|
|
1089
|
+
if (flag === INPUT_FLAG) return value;
|
|
1090
|
+
const sent = field_value(value);
|
|
1091
|
+
if (!READS_FILE_FLAGS.has(flag) || !sent.startsWith(FILE_PREFIX)) return void 0;
|
|
1092
|
+
return sent.slice(FILE_PREFIX.length);
|
|
1093
|
+
}
|
|
1094
|
+
function field_source(flag, raw) {
|
|
1095
|
+
const value = raw.replaceAll(QUOTES, "");
|
|
1096
|
+
const path7 = file_path(flag, value);
|
|
1097
|
+
if (path7 === void 0) return { kind: "text", value: field_value(value) };
|
|
1098
|
+
return path7 === STANDARD_INPUT ? void 0 : { kind: "file", value: path7 };
|
|
1099
|
+
}
|
|
1100
|
+
function field_sources(segment) {
|
|
1101
|
+
return flags_of(segment).flatMap(([flag, next]) => {
|
|
1102
|
+
const parts = field_parts(flag, next);
|
|
1103
|
+
const source = parts === void 0 ? void 0 : field_source(...parts);
|
|
1104
|
+
return source === void 0 ? [] : [source];
|
|
1105
|
+
});
|
|
1106
|
+
}
|
|
1107
|
+
function repo_target(segment) {
|
|
1108
|
+
const match = REPO_PATH.exec(segment);
|
|
1109
|
+
if (match === null) return void 0;
|
|
1110
|
+
return { owner: match[OWNER_GROUP] ?? "", repo: match[REPO_GROUP] ?? "" };
|
|
1111
|
+
}
|
|
1112
|
+
function is_owner_placeholder(owner) {
|
|
1113
|
+
return OWNER_PLACEHOLDERS.has(owner);
|
|
1114
|
+
}
|
|
1115
|
+
var gh_api = {
|
|
1116
|
+
API_VALUE_TAKING_FLAGS,
|
|
1117
|
+
FIELD_FLAGS,
|
|
1118
|
+
GH_FLAGS,
|
|
1119
|
+
METHOD_FLAGS,
|
|
1120
|
+
field_sources,
|
|
1121
|
+
is_gh_api,
|
|
1122
|
+
is_owner_placeholder,
|
|
1123
|
+
is_read,
|
|
1124
|
+
is_write,
|
|
1125
|
+
method_of,
|
|
1126
|
+
repo_target
|
|
1127
|
+
};
|
|
1128
|
+
|
|
1129
|
+
// scripts/gh/gh-call-kind.ts
|
|
1130
|
+
var API = "api";
|
|
1131
|
+
var GRAPHQL = "graphql";
|
|
1132
|
+
var RATE_LIMIT = "GET rate_limit";
|
|
1133
|
+
var GH_PREFIX = "gh ";
|
|
1134
|
+
var DEFAULT_METHOD = "GET";
|
|
1135
|
+
var BODY_METHOD = "POST";
|
|
1136
|
+
var OWNER_REPO = ["repos", "{o}", "{r}"];
|
|
1137
|
+
var NUMBER = /^\d+$/u;
|
|
1138
|
+
var SHA = /^[\da-f]{7,40}$/u;
|
|
1139
|
+
var { METHOD_FLAGS: METHOD_FLAGS2, FIELD_FLAGS: BODY_FLAGS, API_VALUE_TAKING_FLAGS: VALUE_FLAGS } = gh_api;
|
|
1140
|
+
var NAME_AFTER = /* @__PURE__ */ new Map([
|
|
1141
|
+
["commits", "{ref}"],
|
|
1142
|
+
["branches", "{branch}"],
|
|
1143
|
+
["heads", "{branch}"],
|
|
1144
|
+
["labels", "{label}"],
|
|
1145
|
+
["compare", "{range}"]
|
|
1146
|
+
]);
|
|
1147
|
+
function placeholder_of(segment, previous = "") {
|
|
1148
|
+
const named = NAME_AFTER.get(previous);
|
|
1149
|
+
if (named !== void 0) return named;
|
|
1150
|
+
if (NUMBER.test(segment)) return "{n}";
|
|
1151
|
+
return SHA.test(segment) ? "{sha}" : segment;
|
|
1152
|
+
}
|
|
1153
|
+
function normalized(path7) {
|
|
1154
|
+
const [bare = ""] = path7.replace(/^\//u, "").split("?", 1);
|
|
1155
|
+
const segments = bare.split("/");
|
|
1156
|
+
const is_repo = segments[0] === OWNER_REPO[0];
|
|
1157
|
+
return segments.map(
|
|
1158
|
+
(segment, index) => is_repo && index < OWNER_REPO.length ? OWNER_REPO[index] : placeholder_of(segment, segments[index - 1])
|
|
1159
|
+
).join("/");
|
|
1160
|
+
}
|
|
1161
|
+
function of_api(path7, method = DEFAULT_METHOD) {
|
|
1162
|
+
const bare = normalized(path7);
|
|
1163
|
+
return bare === GRAPHQL ? GRAPHQL : `${method.toUpperCase()} ${bare}`;
|
|
1164
|
+
}
|
|
1165
|
+
function path_of(arguments_) {
|
|
1166
|
+
const rest = arguments_.slice(1);
|
|
1167
|
+
return rest.find(
|
|
1168
|
+
(argument, index) => !argument.startsWith("-") && !VALUE_FLAGS.has(rest[index - 1] ?? "")
|
|
1169
|
+
) ?? "";
|
|
1170
|
+
}
|
|
1171
|
+
function method_of2(arguments_) {
|
|
1172
|
+
const flag = arguments_.findIndex((argument) => METHOD_FLAGS2.has(argument));
|
|
1173
|
+
if (flag !== -1) return arguments_[flag + 1] ?? DEFAULT_METHOD;
|
|
1174
|
+
return arguments_.some((argument) => BODY_FLAGS.has(argument)) ? BODY_METHOD : DEFAULT_METHOD;
|
|
1175
|
+
}
|
|
1176
|
+
function of(arguments_) {
|
|
1177
|
+
const [subcommand = "", action = ""] = arguments_;
|
|
1178
|
+
if (subcommand === API) return of_api(path_of(arguments_), method_of2(arguments_));
|
|
1179
|
+
const named = action.startsWith("-") ? [subcommand] : [subcommand, action];
|
|
1180
|
+
return `${GH_PREFIX}${named.join(" ")}`.trimEnd();
|
|
1181
|
+
}
|
|
1182
|
+
function class_of(kind) {
|
|
1183
|
+
if (kind === GRAPHQL) return "graphql";
|
|
1184
|
+
if (kind === RATE_LIMIT) return "free";
|
|
1185
|
+
return kind.startsWith(GH_PREFIX) ? "gh" : "rest";
|
|
1186
|
+
}
|
|
1187
|
+
var gh_call_kind = { of, of_api, class_of };
|
|
1188
|
+
|
|
1189
|
+
// scripts/gh/gh-request-tally.ts
|
|
1190
|
+
var STATE_KEY = /* @__PURE__ */ Symbol.for("josh.gh-request-tally");
|
|
1191
|
+
function is_state(value) {
|
|
1192
|
+
return typeof value === "object" && value !== null && Reflect.has(value, "endpoints");
|
|
1193
|
+
}
|
|
1194
|
+
function shared_state() {
|
|
1195
|
+
const existing = Reflect.get(globalThis, STATE_KEY);
|
|
1196
|
+
if (is_state(existing)) return existing;
|
|
1197
|
+
const state = {
|
|
1198
|
+
tally: { calls: 0, not_modified: 0 },
|
|
1199
|
+
endpoints: /* @__PURE__ */ new Map(),
|
|
1200
|
+
core: { read: void 0, start: void 0 }
|
|
1201
|
+
};
|
|
1202
|
+
Reflect.set(globalThis, STATE_KEY, state);
|
|
1203
|
+
return state;
|
|
1204
|
+
}
|
|
1205
|
+
var { tally, endpoints, core } = shared_state();
|
|
1206
|
+
function watch_core(read) {
|
|
1207
|
+
core.read = async () => {
|
|
1208
|
+
try {
|
|
1209
|
+
return await read();
|
|
1210
|
+
} catch {
|
|
1211
|
+
return void 0;
|
|
1212
|
+
}
|
|
1213
|
+
};
|
|
1214
|
+
}
|
|
1215
|
+
function endpoint_of(kind) {
|
|
1216
|
+
const count = endpoints.get(kind) ?? { calls: 0, not_modified: 0 };
|
|
1217
|
+
endpoints.set(kind, count);
|
|
1218
|
+
return count;
|
|
1219
|
+
}
|
|
1220
|
+
function snapshot() {
|
|
1221
|
+
const entries = [...endpoints].map(([kind, count]) => [kind, { ...count }]);
|
|
1222
|
+
return { ...tally, endpoints: Object.fromEntries(entries) };
|
|
1223
|
+
}
|
|
1224
|
+
function count_call(kind) {
|
|
1225
|
+
if (core.read !== void 0) core.start ??= core.read();
|
|
1226
|
+
tally.calls += 1;
|
|
1227
|
+
endpoint_of(kind).calls += 1;
|
|
1228
|
+
}
|
|
1229
|
+
function count_not_modified(kind) {
|
|
1230
|
+
tally.not_modified += 1;
|
|
1231
|
+
endpoint_of(kind).not_modified += 1;
|
|
1232
|
+
}
|
|
1233
|
+
function to_delta(start, end) {
|
|
1234
|
+
if (start === void 0 || start.reset_ms !== end?.reset_ms) return void 0;
|
|
1235
|
+
return end.used - start.used;
|
|
1236
|
+
}
|
|
1237
|
+
async function core_delta() {
|
|
1238
|
+
if (core.read === void 0 || core.start === void 0) return void 0;
|
|
1239
|
+
const [start, end] = await Promise.all([core.start, core.read()]);
|
|
1240
|
+
return to_delta(start, end);
|
|
1241
|
+
}
|
|
1242
|
+
function reset() {
|
|
1243
|
+
tally.calls = 0;
|
|
1244
|
+
tally.not_modified = 0;
|
|
1245
|
+
endpoints.clear();
|
|
1246
|
+
core.read = void 0;
|
|
1247
|
+
core.start = void 0;
|
|
1248
|
+
}
|
|
1249
|
+
var gh_request_tally = {
|
|
1250
|
+
watch_core,
|
|
1251
|
+
count_call,
|
|
1252
|
+
count_not_modified,
|
|
1253
|
+
snapshot,
|
|
1254
|
+
core_delta,
|
|
1255
|
+
reset
|
|
1256
|
+
};
|
|
1257
|
+
|
|
761
1258
|
// scripts/gh/git-gh-check.ts
|
|
762
1259
|
import { execa } from "execa";
|
|
763
1260
|
var GH_NOT_INSTALLED_MSG = "gh CLI is not installed. Install it from https://cli.github.com/";
|
|
@@ -789,9 +1286,12 @@ var parse_json = {
|
|
|
789
1286
|
};
|
|
790
1287
|
|
|
791
1288
|
// scripts/gh/git-gh-failure.ts
|
|
792
|
-
import { z as
|
|
793
|
-
var error_document_schema =
|
|
1289
|
+
import { z as z4 } from "zod";
|
|
1290
|
+
var error_document_schema = z4.object({ status: z4.union([z4.string(), z4.number()]).optional() }).catch({});
|
|
794
1291
|
var GH_FAILURE_FIELD = "gh_failure";
|
|
1292
|
+
function has_stdout_field(error) {
|
|
1293
|
+
return error instanceof Error && "stdout" in error && typeof error.stdout === "string";
|
|
1294
|
+
}
|
|
795
1295
|
function has_gh_failure(error) {
|
|
796
1296
|
return error instanceof Error && Object.hasOwn(error, GH_FAILURE_FIELD);
|
|
797
1297
|
}
|
|
@@ -815,7 +1315,11 @@ function attach(error, failure) {
|
|
|
815
1315
|
function failure_of(error) {
|
|
816
1316
|
return has_gh_failure(error) ? error.gh_failure : void 0;
|
|
817
1317
|
}
|
|
818
|
-
|
|
1318
|
+
function body_of(error) {
|
|
1319
|
+
const cause = error instanceof Error ? error.cause : void 0;
|
|
1320
|
+
return has_stdout_field(cause) ? cause.stdout : void 0;
|
|
1321
|
+
}
|
|
1322
|
+
var gh_failure = { attach, body_of, classify_stdout, failure_of, parse_response_status };
|
|
819
1323
|
|
|
820
1324
|
// scripts/gh/git-gh-retry.ts
|
|
821
1325
|
import { setTimeout as delay } from "node:timers/promises";
|
|
@@ -844,18 +1348,22 @@ function has_answer(spawn_error) {
|
|
|
844
1348
|
if (!(spawn_error instanceof Error) || !("stdout" in spawn_error)) return false;
|
|
845
1349
|
return typeof spawn_error.stdout === "string" && spawn_error.stdout.trim().length > 0;
|
|
846
1350
|
}
|
|
847
|
-
function is_transient_status(status, spawn_error) {
|
|
1351
|
+
function is_transient_status(status, spawn_error, is_read2) {
|
|
1352
|
+
if (is_read2 && has_timed_out(spawn_error)) return true;
|
|
848
1353
|
if (status === void 0) return !has_answer(spawn_error);
|
|
849
1354
|
return status >= SERVER_ERROR_FLOOR;
|
|
850
1355
|
}
|
|
851
|
-
function is_final_spawn(spawn_error) {
|
|
852
|
-
return has_timed_out(spawn_error) || get_exit_code(spawn_error) === GH_AUTH_REQUIRED_EXIT_CODE;
|
|
1356
|
+
function is_final_spawn(spawn_error, is_read2) {
|
|
1357
|
+
return !is_read2 && has_timed_out(spawn_error) || get_exit_code(spawn_error) === GH_AUTH_REQUIRED_EXIT_CODE;
|
|
853
1358
|
}
|
|
854
|
-
function
|
|
1359
|
+
function is_transient_request(error, is_read2) {
|
|
855
1360
|
const failure = gh_failure.failure_of(error);
|
|
856
1361
|
if (failure === void 0 || !(error instanceof Error)) return false;
|
|
857
1362
|
const status = failure.status ?? summary_status(error);
|
|
858
|
-
return !is_final_spawn(error.cause) && is_transient_status(status, error.cause);
|
|
1363
|
+
return !is_final_spawn(error.cause, is_read2) && is_transient_status(status, error.cause, is_read2);
|
|
1364
|
+
}
|
|
1365
|
+
function is_transient(error) {
|
|
1366
|
+
return is_transient_request(error, false);
|
|
859
1367
|
}
|
|
860
1368
|
function first_line(error) {
|
|
861
1369
|
return error_text.message_of(error).split("\n", 1)[0] ?? "";
|
|
@@ -864,30 +1372,48 @@ function retry_note(error, attempt, wait_ms) {
|
|
|
864
1372
|
const ordinal = `${String(attempt)}/${String(MAX_ATTEMPTS)}`;
|
|
865
1373
|
return `gh: request failed transiently (attempt ${ordinal}: ${first_line(error)}) \u2014 retrying in ${String(wait_ms)} ms`;
|
|
866
1374
|
}
|
|
867
|
-
function retry_delay(error, attempt) {
|
|
868
|
-
return
|
|
1375
|
+
function retry_delay(error, attempt, is_read2) {
|
|
1376
|
+
return is_transient_request(error, is_read2) ? RETRY_DELAYS_MS[attempt - 1] : void 0;
|
|
869
1377
|
}
|
|
870
1378
|
function spent_note(message) {
|
|
871
1379
|
return `${SPENT_NOTE} (${message})`;
|
|
872
1380
|
}
|
|
873
|
-
function note_spent(error, attempt, hooks) {
|
|
874
|
-
if (attempt === MAX_ATTEMPTS &&
|
|
1381
|
+
function note_spent(error, attempt, hooks, is_read2) {
|
|
1382
|
+
if (attempt === MAX_ATTEMPTS && is_transient_request(error, is_read2)) {
|
|
1383
|
+
hooks.note(spent_note(first_line(error)));
|
|
1384
|
+
}
|
|
875
1385
|
}
|
|
876
|
-
async function
|
|
1386
|
+
async function retry_request(request, hooks, attempt, is_read2) {
|
|
877
1387
|
try {
|
|
878
1388
|
return await request();
|
|
879
1389
|
} catch (error) {
|
|
880
|
-
const wait_ms = retry_delay(error, attempt);
|
|
1390
|
+
const wait_ms = retry_delay(error, attempt, is_read2);
|
|
881
1391
|
if (wait_ms === void 0) {
|
|
882
|
-
note_spent(error, attempt, hooks);
|
|
1392
|
+
note_spent(error, attempt, hooks, is_read2);
|
|
883
1393
|
throw error;
|
|
884
1394
|
}
|
|
885
1395
|
hooks.note(retry_note(error, attempt, wait_ms));
|
|
886
1396
|
await hooks.wait(wait_ms);
|
|
887
|
-
return await
|
|
1397
|
+
return await retry_request(request, hooks, attempt + 1, is_read2);
|
|
888
1398
|
}
|
|
889
1399
|
}
|
|
890
|
-
|
|
1400
|
+
async function with_retry(request, hooks = DEFAULT_HOOKS, attempt = 1) {
|
|
1401
|
+
return await retry_request(request, hooks, attempt, false);
|
|
1402
|
+
}
|
|
1403
|
+
async function with_read_retry(request, hooks = DEFAULT_HOOKS) {
|
|
1404
|
+
return await retry_request(request, hooks, 1, true);
|
|
1405
|
+
}
|
|
1406
|
+
var gh_retry = {
|
|
1407
|
+
MAX_ATTEMPTS,
|
|
1408
|
+
RETRY_DELAYS_MS,
|
|
1409
|
+
is_transient,
|
|
1410
|
+
spent_note,
|
|
1411
|
+
with_retry,
|
|
1412
|
+
with_read_retry
|
|
1413
|
+
};
|
|
1414
|
+
|
|
1415
|
+
// scripts/gh/git-gh-spawn-width.ts
|
|
1416
|
+
var GH_SPAWN_CONCURRENCY = 8;
|
|
891
1417
|
|
|
892
1418
|
// scripts/gh/git-gh-exec.ts
|
|
893
1419
|
var BODY_FROM_STDIN = "-";
|
|
@@ -910,9 +1436,6 @@ var GH_REQUEST_TIMEOUT_MESSAGE = "gh request timed out";
|
|
|
910
1436
|
function has_stderr_field(error) {
|
|
911
1437
|
return error instanceof Error && "stderr" in error && typeof error.stderr === "string";
|
|
912
1438
|
}
|
|
913
|
-
function has_stdout_field(error) {
|
|
914
|
-
return error instanceof Error && "stdout" in error && typeof error.stdout === "string";
|
|
915
|
-
}
|
|
916
1439
|
function to_timeout_prefix(error) {
|
|
917
1440
|
return has_timed_out(error) ? `${GH_REQUEST_TIMEOUT_MESSAGE}: ` : "";
|
|
918
1441
|
}
|
|
@@ -927,9 +1450,11 @@ ${stdout}` : summary;
|
|
|
927
1450
|
gh_failure.classify_stdout(stdout)
|
|
928
1451
|
);
|
|
929
1452
|
}
|
|
930
|
-
|
|
1453
|
+
var gh_slots = bounded_pool.limiter(GH_SPAWN_CONCURRENCY);
|
|
1454
|
+
async function spawn_gh_command(arguments_, timeout_ms, cwd) {
|
|
931
1455
|
await check_gh_installed();
|
|
932
1456
|
const options = to_spawn_options(timeout_ms, cwd);
|
|
1457
|
+
gh_request_tally.count_call(gh_call_kind.of(arguments_));
|
|
933
1458
|
try {
|
|
934
1459
|
const { stdout } = await execa2("gh", arguments_, options);
|
|
935
1460
|
return stdout.trimEnd();
|
|
@@ -937,9 +1462,13 @@ async function exec_gh_command(arguments_, timeout_ms, cwd) {
|
|
|
937
1462
|
throw to_gh_error(error);
|
|
938
1463
|
}
|
|
939
1464
|
}
|
|
940
|
-
async function
|
|
1465
|
+
async function exec_gh_command(arguments_, timeout_ms, cwd) {
|
|
1466
|
+
return await gh_slots.run(async () => await spawn_gh_command(arguments_, timeout_ms, cwd));
|
|
1467
|
+
}
|
|
1468
|
+
async function spawn_gh_command_with_stdin(input) {
|
|
941
1469
|
await check_gh_installed();
|
|
942
1470
|
const options = { input: input.stdin_body, ...to_spawn_options(input.timeout_ms, input.cwd) };
|
|
1471
|
+
gh_request_tally.count_call(gh_call_kind.of(input.args));
|
|
943
1472
|
try {
|
|
944
1473
|
const { stdout } = await execa2("gh", input.args, options);
|
|
945
1474
|
return stdout.trimEnd();
|
|
@@ -947,6 +1476,9 @@ async function exec_gh_command_with_stdin(input) {
|
|
|
947
1476
|
throw to_gh_error(error);
|
|
948
1477
|
}
|
|
949
1478
|
}
|
|
1479
|
+
async function exec_gh_command_with_stdin(input) {
|
|
1480
|
+
return await gh_slots.run(async () => await spawn_gh_command_with_stdin(input));
|
|
1481
|
+
}
|
|
950
1482
|
var STATUS_LINE_PATTERN = /^HTTP\/[\d.]+ (?<status>\d{3})\b/u;
|
|
951
1483
|
function parse_status_line(output) {
|
|
952
1484
|
const { status } = STATUS_LINE_PATTERN.exec(output)?.groups ?? {};
|
|
@@ -955,18 +1487,23 @@ function parse_status_line(output) {
|
|
|
955
1487
|
function status_of_failure(error) {
|
|
956
1488
|
return has_stdout_field(error) ? parse_status_line(error.stdout) : void 0;
|
|
957
1489
|
}
|
|
958
|
-
async function
|
|
1490
|
+
async function spawn_gh_api_status(path7, timeout_ms) {
|
|
959
1491
|
const options = to_spawn_options(timeout_ms);
|
|
960
1492
|
try {
|
|
961
1493
|
await check_gh_installed();
|
|
1494
|
+
gh_request_tally.count_call(gh_call_kind.of_api(path7));
|
|
962
1495
|
const { stdout } = await execa2("gh", ["api", "--include", "--silent", path7], options);
|
|
963
1496
|
return parse_status_line(stdout);
|
|
964
1497
|
} catch (error) {
|
|
965
1498
|
return status_of_failure(error);
|
|
966
1499
|
}
|
|
967
1500
|
}
|
|
1501
|
+
async function exec_gh_api_status(path7, timeout_ms) {
|
|
1502
|
+
return await gh_slots.run(async () => await spawn_gh_api_status(path7, timeout_ms));
|
|
1503
|
+
}
|
|
968
1504
|
function exec_gh_api_status_sync(path7, timeout_ms) {
|
|
969
1505
|
const options = to_spawn_options(timeout_ms);
|
|
1506
|
+
gh_request_tally.count_call(gh_call_kind.of_api(path7));
|
|
970
1507
|
try {
|
|
971
1508
|
const { stdout } = execaSync("gh", ["api", "--include", "--silent", path7], options);
|
|
972
1509
|
return parse_status_line(stdout);
|
|
@@ -975,7 +1512,7 @@ function exec_gh_api_status_sync(path7, timeout_ms) {
|
|
|
975
1512
|
}
|
|
976
1513
|
}
|
|
977
1514
|
var METHOD_FLAG = "--method";
|
|
978
|
-
var
|
|
1515
|
+
var INPUT_FLAG2 = "--input";
|
|
979
1516
|
var PAGINATE_FLAG = "--paginate";
|
|
980
1517
|
var SLURP_FLAG = "--slurp";
|
|
981
1518
|
var JQ_FLAG = "--jq";
|
|
@@ -989,7 +1526,7 @@ function refuse_credential_body(request) {
|
|
|
989
1526
|
}
|
|
990
1527
|
}
|
|
991
1528
|
function to_gh_api_args(request) {
|
|
992
|
-
const body_args = request.body === void 0 ? [] : [
|
|
1529
|
+
const body_args = request.body === void 0 ? [] : [INPUT_FLAG2, BODY_FROM_STDIN];
|
|
993
1530
|
const paginate_args = request.should_paginate === true ? [PAGINATE_FLAG] : [];
|
|
994
1531
|
const slurp_args = request.should_slurp === true ? [SLURP_FLAG] : [];
|
|
995
1532
|
const escape_args = request.should_allow_escapes === true ? [ALLOW_ESCAPES_FLAG] : [];
|
|
@@ -1021,12 +1558,23 @@ async function exec_gh_api(request) {
|
|
|
1021
1558
|
if (request.should_retry === false) return await send_gh_api(request);
|
|
1022
1559
|
return await gh_retry.with_retry(async () => await send_gh_api(request));
|
|
1023
1560
|
}
|
|
1561
|
+
async function exec_gh_api_uncounted(request) {
|
|
1562
|
+
const options = to_spawn_options(request.timeout_ms, request.cwd);
|
|
1563
|
+
try {
|
|
1564
|
+
const { stdout } = await execa2("gh", to_gh_api_args(request), options);
|
|
1565
|
+
return stdout.trimEnd();
|
|
1566
|
+
} catch (error) {
|
|
1567
|
+
throw to_gh_error(error);
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1024
1570
|
function exec_gh_api_sync(request) {
|
|
1025
1571
|
refuse_credential_body(request);
|
|
1026
1572
|
const body_option = request.body === void 0 ? {} : { input: request.body };
|
|
1027
1573
|
const options = { ...body_option, ...to_spawn_options(request.timeout_ms, request.cwd) };
|
|
1574
|
+
const gh_arguments = to_gh_api_args(request);
|
|
1575
|
+
gh_request_tally.count_call(gh_call_kind.of(gh_arguments));
|
|
1028
1576
|
try {
|
|
1029
|
-
const { stdout } = execaSync("gh",
|
|
1577
|
+
const { stdout } = execaSync("gh", gh_arguments, options);
|
|
1030
1578
|
return stdout.trimEnd();
|
|
1031
1579
|
} catch (error) {
|
|
1032
1580
|
throw to_gh_error(error);
|
|
@@ -1044,6 +1592,7 @@ var git_gh_exec = {
|
|
|
1044
1592
|
exec_gh_command,
|
|
1045
1593
|
exec_gh_command_with_stdin,
|
|
1046
1594
|
exec_gh_api,
|
|
1595
|
+
exec_gh_api_uncounted,
|
|
1047
1596
|
exec_gh_api_sync,
|
|
1048
1597
|
read_gh_api_sync,
|
|
1049
1598
|
exec_gh_api_status,
|
|
@@ -1054,7 +1603,7 @@ var git_gh_exec = {
|
|
|
1054
1603
|
// scripts/version/npm-registry.ts
|
|
1055
1604
|
import { execaSync as execaSync2 } from "execa";
|
|
1056
1605
|
import semver3 from "semver";
|
|
1057
|
-
import { z as
|
|
1606
|
+
import { z as z5 } from "zod";
|
|
1058
1607
|
var PUBLIC_REGISTRY = "https://registry.npmjs.org";
|
|
1059
1608
|
var ABBREVIATED_ACCEPT = "application/vnd.npm.install-v1+json";
|
|
1060
1609
|
var FULL_ACCEPT = "application/json";
|
|
@@ -1073,9 +1622,11 @@ var FETCH_SCRIPT = [
|
|
|
1073
1622
|
"if (!response.ok) process.exit(1)",
|
|
1074
1623
|
"process.stdout.write(await response.text())"
|
|
1075
1624
|
].join("\n");
|
|
1076
|
-
var version_schema =
|
|
1077
|
-
var latest_schema =
|
|
1078
|
-
var times_schema =
|
|
1625
|
+
var version_schema = z5.string().refine((value) => semver3.valid(value) === value);
|
|
1626
|
+
var latest_schema = z5.looseObject({ "dist-tags": z5.looseObject({ latest: version_schema }) });
|
|
1627
|
+
var times_schema = z5.looseObject({ time: release_age.release_times_schema });
|
|
1628
|
+
var name_schema = z5.looseObject({ name: z5.string().optional() });
|
|
1629
|
+
var PUBLISHING_SCOPE = "@joshuafolkken/";
|
|
1079
1630
|
function packument_url(package_name) {
|
|
1080
1631
|
return `${PUBLIC_REGISTRY}/${package_name.replace(SCOPE_SEPARATOR, () => ENCODED_SCOPE_SEPARATOR)}`;
|
|
1081
1632
|
}
|
|
@@ -1125,6 +1676,11 @@ function has_public_version(package_name, version) {
|
|
|
1125
1676
|
const parsed = times_schema.safeParse(read_packument(package_name, FULL_ACCEPT));
|
|
1126
1677
|
return parsed.success && parsed.data.time[version] !== void 0;
|
|
1127
1678
|
}
|
|
1679
|
+
function published_package_name(cwd) {
|
|
1680
|
+
const name = package_manifest.read_manifest_if_valid(cwd, name_schema)?.name;
|
|
1681
|
+
if (name?.startsWith(PUBLISHING_SCOPE) !== true) return void 0;
|
|
1682
|
+
return latest_schema.safeParse(read_packument(name, ABBREVIATED_ACCEPT)).success ? name : void 0;
|
|
1683
|
+
}
|
|
1128
1684
|
function view(spec, field, format = "text") {
|
|
1129
1685
|
const format_arguments = format === "json" ? [JSON_FLAG] : [];
|
|
1130
1686
|
const result = execaSync2(PNPM, ["view", spec, field, ...format_arguments], {
|
|
@@ -1139,6 +1695,7 @@ function valid_version(value) {
|
|
|
1139
1695
|
var npm_registry = {
|
|
1140
1696
|
has_public_version,
|
|
1141
1697
|
packument_url,
|
|
1698
|
+
published_package_name,
|
|
1142
1699
|
read_latest,
|
|
1143
1700
|
read_release_times,
|
|
1144
1701
|
valid_version,
|
|
@@ -1277,40 +1834,40 @@ function build_upstream_effective(upstream, context) {
|
|
|
1277
1834
|
upgrade_command: resolve_global_upgrade_command(context)
|
|
1278
1835
|
};
|
|
1279
1836
|
}
|
|
1280
|
-
function build_installed_versions(report, config,
|
|
1837
|
+
function build_installed_versions(report, config, snapshot2) {
|
|
1281
1838
|
return /* @__PURE__ */ new Map([
|
|
1282
|
-
[config.package_name,
|
|
1839
|
+
[config.package_name, snapshot2.global_version],
|
|
1283
1840
|
[report.config.package_name, report.effective?.version]
|
|
1284
1841
|
]);
|
|
1285
1842
|
}
|
|
1286
|
-
function attach_upstream_effective(report, config,
|
|
1287
|
-
const context = { latest:
|
|
1843
|
+
function attach_upstream_effective(report, config, snapshot2, upstream) {
|
|
1844
|
+
const context = { latest: snapshot2.latest, upstream_latest: report.latest };
|
|
1288
1845
|
const effective = build_upstream_effective(upstream, context);
|
|
1289
1846
|
if (effective === void 0) return;
|
|
1290
1847
|
report.effective = effective;
|
|
1291
1848
|
if (upstream.is_global_upgrade_command_pinned !== true) return;
|
|
1292
|
-
report.installed_versions = build_installed_versions(report, config,
|
|
1849
|
+
report.installed_versions = build_installed_versions(report, config, snapshot2);
|
|
1293
1850
|
}
|
|
1294
|
-
function read_upstream_report(upstream, config,
|
|
1851
|
+
function read_upstream_report(upstream, config, snapshot2, is_hold_wanted) {
|
|
1295
1852
|
const latest = fetch_latest_version(upstream.versions_endpoint, upstream.package_name);
|
|
1296
1853
|
const project_version = version_targets.read_project_version(process.cwd(), upstream.package_name);
|
|
1297
1854
|
const report = { config: upstream, project_version, latest };
|
|
1298
|
-
attach_upstream_effective(report, config,
|
|
1855
|
+
attach_upstream_effective(report, config, snapshot2, upstream);
|
|
1299
1856
|
const hold = is_hold_wanted ? read_release_hold(upstream, latest, [report.effective?.version]) : void 0;
|
|
1300
1857
|
if (hold !== void 0) report.hold = hold;
|
|
1301
1858
|
return report;
|
|
1302
1859
|
}
|
|
1303
|
-
function read_upstream_reports(config,
|
|
1860
|
+
function read_upstream_reports(config, snapshot2, is_hold_wanted = false) {
|
|
1304
1861
|
return config.upstreams.map(
|
|
1305
|
-
(upstream) => read_upstream_report(upstream, config,
|
|
1862
|
+
(upstream) => read_upstream_report(upstream, config, snapshot2, is_hold_wanted)
|
|
1306
1863
|
);
|
|
1307
1864
|
}
|
|
1308
1865
|
function run_check(config) {
|
|
1309
|
-
const
|
|
1310
|
-
const upstream_reports = read_upstream_reports(config,
|
|
1866
|
+
const snapshot2 = read_snapshot(config);
|
|
1867
|
+
const upstream_reports = read_upstream_reports(config, snapshot2, true);
|
|
1311
1868
|
console.info(
|
|
1312
1869
|
version_check_logic.format_dual_version_output(
|
|
1313
|
-
|
|
1870
|
+
snapshot2,
|
|
1314
1871
|
config,
|
|
1315
1872
|
build_extras(config),
|
|
1316
1873
|
upstream_reports
|
|
@@ -1354,29 +1911,29 @@ function build_idle_message(reports) {
|
|
|
1354
1911
|
if (notes.length === 0) return ALREADY_UP_TO_DATE;
|
|
1355
1912
|
return notes.join("\n");
|
|
1356
1913
|
}
|
|
1357
|
-
function describe_effective_outcome(upstream, report,
|
|
1914
|
+
function describe_effective_outcome(upstream, report, snapshot2) {
|
|
1358
1915
|
const { resolve_effective_version } = upstream;
|
|
1359
1916
|
if (resolve_effective_version === void 0 || report === void 0 || version_check_logic.build_effective_upgrade_commands(report).length === 0) {
|
|
1360
1917
|
return [];
|
|
1361
1918
|
}
|
|
1362
1919
|
const after = resolve_effective_version({
|
|
1363
|
-
latest:
|
|
1920
|
+
latest: snapshot2.latest,
|
|
1364
1921
|
upstream_latest: report.latest
|
|
1365
1922
|
});
|
|
1366
1923
|
if (after === report.latest) return [];
|
|
1367
1924
|
return [version_check_logic.format_effective_outcome(report, after)];
|
|
1368
1925
|
}
|
|
1369
|
-
function report_effective_outcomes(config,
|
|
1926
|
+
function report_effective_outcomes(config, snapshot2, reports) {
|
|
1370
1927
|
const lines = config.upstreams.flatMap(
|
|
1371
|
-
(upstream, index) => describe_effective_outcome(upstream, reports[index],
|
|
1928
|
+
(upstream, index) => describe_effective_outcome(upstream, reports[index], snapshot2)
|
|
1372
1929
|
);
|
|
1373
1930
|
if (lines.length > 0) console.info(lines.join("\n"));
|
|
1374
1931
|
}
|
|
1375
1932
|
function run_upgrade(config) {
|
|
1376
|
-
const
|
|
1377
|
-
const reports = read_upstream_reports(config,
|
|
1933
|
+
const snapshot2 = read_snapshot(config);
|
|
1934
|
+
const reports = read_upstream_reports(config, snapshot2);
|
|
1378
1935
|
const commands = version_check_logic.unique_upgrade_commands([
|
|
1379
|
-
...version_check_logic.build_dual_upgrade_commands(
|
|
1936
|
+
...version_check_logic.build_dual_upgrade_commands(snapshot2, config),
|
|
1380
1937
|
...version_check_logic.build_upstream_upgrade_commands(reports)
|
|
1381
1938
|
]);
|
|
1382
1939
|
if (commands.length === 0) {
|
|
@@ -1384,7 +1941,7 @@ function run_upgrade(config) {
|
|
|
1384
1941
|
return 0;
|
|
1385
1942
|
}
|
|
1386
1943
|
const exit_code = run_all_upgrade_commands(commands);
|
|
1387
|
-
report_effective_outcomes(config,
|
|
1944
|
+
report_effective_outcomes(config, snapshot2, reports);
|
|
1388
1945
|
return exit_code;
|
|
1389
1946
|
}
|
|
1390
1947
|
var version_commands = {
|