@outerlayer/cli 0.38.0-next.20261111182110 → 0.38.0-next.20261111220050

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/dist/agent-setup-P77VERNT.js +40 -0
  2. package/dist/{agent-subcommand-NZFPV3MV.js → agent-subcommand-MLVQVTVU.js} +5 -5
  3. package/dist/{artifact-link-cmd-L4BXSQQP.js → artifact-link-cmd-A7SROEQS.js} +2 -2
  4. package/dist/{bridge-OBIGQXDH.js → bridge-CVHBKOFU.js} +8 -8
  5. package/dist/{build-4IYEB6OE.js → build-KVJM6PMC.js} +14 -14
  6. package/dist/{build-disk-2MOEPIZF.js → build-disk-H6ZN32KR.js} +12 -12
  7. package/dist/build-info.json +1 -1
  8. package/dist/{builder-SVI2D35R.js → builder-3LUEEVSN.js} +11 -11
  9. package/dist/caller-IMM277FA.js +23 -0
  10. package/dist/{check-XIJ2MOWV.js → check-V2TITR5P.js} +58 -58
  11. package/dist/{chunk-QHYCF36K.js → chunk-26BFN6DH.js} +1 -1
  12. package/dist/{chunk-36XB56GG.js → chunk-33HBGNKZ.js} +5 -5
  13. package/dist/{chunk-LVNMKOWI.js → chunk-34VR5LPD.js} +2 -2
  14. package/dist/{chunk-RHPEAVKR.js → chunk-3FN6JADD.js} +1 -1
  15. package/dist/{chunk-CT4PKI24.js → chunk-3LOW5W6T.js} +274 -99
  16. package/dist/{chunk-QENFVQ7O.js → chunk-3RAAAAPL.js} +7 -7
  17. package/dist/{chunk-KA4BMGBR.js → chunk-3V5B7M5Q.js} +2 -2
  18. package/dist/{chunk-XAVR7JHO.js → chunk-3XZ66FRV.js} +10 -10
  19. package/dist/{chunk-R3S2A7YF.js → chunk-544OP3E4.js} +90 -45
  20. package/dist/{chunk-J345NEVJ.js → chunk-5FTUUXBK.js} +5 -5
  21. package/dist/{chunk-NEXKR5RR.js → chunk-5NVF5TAL.js} +6 -1
  22. package/dist/{chunk-NFPJ2XC2.js → chunk-6AORV65Z.js} +3 -3
  23. package/dist/{chunk-DE3NQAR7.js → chunk-6LYKHTC2.js} +3 -3
  24. package/dist/{chunk-WV4T6ZOQ.js → chunk-6VHBQBHL.js} +2 -2
  25. package/dist/{chunk-6XORUAR7.js → chunk-7GJEQXOH.js} +1 -1
  26. package/dist/{chunk-I45HTSSA.js → chunk-A3NJSQPK.js} +1 -1
  27. package/dist/{chunk-PBHAM73F.js → chunk-AR3SCE7R.js} +3 -3
  28. package/dist/{chunk-6YOXYZC2.js → chunk-AS3DUHKZ.js} +7 -7
  29. package/dist/{chunk-FQPGZOH3.js → chunk-AUBLZPCA.js} +1 -1
  30. package/dist/{chunk-ATEMEVFF.js → chunk-AW3N24L5.js} +1 -1
  31. package/dist/{chunk-ZC2BXXKB.js → chunk-B4HUGT3L.js} +16 -16
  32. package/dist/{chunk-CZDYUKA6.js → chunk-BKAUXDXK.js} +7 -7
  33. package/dist/{chunk-UPUHL3KC.js → chunk-BU4O4T7X.js} +7 -7
  34. package/dist/{chunk-N3KGXHV4.js → chunk-BUT777XB.js} +1 -1
  35. package/dist/{chunk-6XMC6R4W.js → chunk-C6OQ45AS.js} +1 -1
  36. package/dist/{chunk-DKRZZBKI.js → chunk-CAL6L5DK.js} +3 -3
  37. package/dist/{chunk-6BXJESQF.js → chunk-CJEWYQ46.js} +9 -9
  38. package/dist/{chunk-3Z5KBFBB.js → chunk-COTJ2FIL.js} +2 -2
  39. package/dist/{chunk-ZQII2ZRP.js → chunk-CPXQLO4X.js} +1 -1
  40. package/dist/{chunk-6GZL5RIV.js → chunk-CT7X6XGR.js} +14 -11
  41. package/dist/{chunk-JDOEEKPN.js → chunk-DPMUZ2QT.js} +25 -9
  42. package/dist/{chunk-MOA4PGYL.js → chunk-DULA3AYN.js} +1 -1
  43. package/dist/{chunk-3YJJ2JDV.js → chunk-E532PUGI.js} +1 -1
  44. package/dist/{chunk-BIMHESZG.js → chunk-EVME7MT6.js} +1 -1
  45. package/dist/{chunk-OPCFOIZJ.js → chunk-EWKNMUPI.js} +1 -1
  46. package/dist/{chunk-MOFT7QCR.js → chunk-F4Q4Y7ZE.js} +5 -5
  47. package/dist/{chunk-LW5RIKAV.js → chunk-FBLO2U6D.js} +1 -1
  48. package/dist/{chunk-4AEOP5PD.js → chunk-FM4OXL5V.js} +6 -6
  49. package/dist/{chunk-D5GR3U2O.js → chunk-FYIISGXR.js} +10 -10
  50. package/dist/{chunk-IHM7K6RS.js → chunk-GRNA7FHI.js} +4 -4
  51. package/dist/{chunk-BATSP67Z.js → chunk-GXYVZZO7.js} +6 -6
  52. package/dist/{chunk-IN7QCBO5.js → chunk-KGDFBO3G.js} +6 -6
  53. package/dist/{chunk-4G5SYPK2.js → chunk-KUM6RRPC.js} +1 -1
  54. package/dist/{chunk-6FQSV7ZK.js → chunk-KUNRGSPX.js} +3 -3
  55. package/dist/{chunk-LKLP5YMH.js → chunk-LEIO5LD3.js} +7 -7
  56. package/dist/{chunk-KR34GXEH.js → chunk-LF4BHMEG.js} +1 -1
  57. package/dist/{chunk-CAQSGGPJ.js → chunk-LOXR7Q77.js} +6 -6
  58. package/dist/{chunk-ORLJK7UT.js → chunk-MOBYKKTR.js} +7 -7
  59. package/dist/{chunk-NJ6IJFKR.js → chunk-MRZMJPYA.js} +1 -1
  60. package/dist/{chunk-OKAAVLLW.js → chunk-MXEZN6SV.js} +4 -4
  61. package/dist/{chunk-7GUD2FIF.js → chunk-N63KZWYP.js} +1 -1
  62. package/dist/{chunk-UKEJBA5Y.js → chunk-NHYV24WJ.js} +4 -4
  63. package/dist/{chunk-SASWFX22.js → chunk-NTPBHL6U.js} +1 -1
  64. package/dist/{chunk-QMCWSBQO.js → chunk-O4BVDRKJ.js} +2 -2
  65. package/dist/{chunk-QH5NV7EQ.js → chunk-PFSUX4MQ.js} +7 -7
  66. package/dist/{chunk-SIGBRVEF.js → chunk-Q3QA4DTV.js} +18 -5
  67. package/dist/{chunk-DKTXQ7XQ.js → chunk-QPSLXP6A.js} +2 -2
  68. package/dist/{chunk-F3RBGMHL.js → chunk-QR6XP6BJ.js} +1 -1
  69. package/dist/{chunk-USINHGZI.js → chunk-RIYSVN6V.js} +3 -3
  70. package/dist/{chunk-36M66QKN.js → chunk-SBZX6XP6.js} +2 -1
  71. package/dist/{chunk-VQ6ZKSNL.js → chunk-T34WBDIO.js} +1 -1
  72. package/dist/{chunk-ABRGN5OA.js → chunk-TFAAVSYJ.js} +4 -4
  73. package/dist/{chunk-UWLCJZ45.js → chunk-TNUJXYK6.js} +1 -1
  74. package/dist/{chunk-VNHCN75M.js → chunk-TYXZTMZK.js} +1 -1
  75. package/dist/{chunk-3BEMKOFH.js → chunk-U5NUHRGX.js} +1 -1
  76. package/dist/{chunk-AJ3YUM23.js → chunk-UIS6E64L.js} +1 -1
  77. package/dist/{chunk-33XLQIV4.js → chunk-UOCYI5SA.js} +3 -3
  78. package/dist/{chunk-AMFCM4H7.js → chunk-UPIXYW7Y.js} +3 -3
  79. package/dist/{chunk-QBJ7MMOT.js → chunk-V6FY4BRV.js} +16 -5
  80. package/dist/{chunk-3SHX2D37.js → chunk-VZ3T5MPT.js} +5 -5
  81. package/dist/{chunk-TH3K67SR.js → chunk-WJMA4BRG.js} +9 -9
  82. package/dist/{chunk-BECC4325.js → chunk-WR53L7RZ.js} +8 -8
  83. package/dist/{chunk-DULO2L5B.js → chunk-WVTBZX4K.js} +1 -1
  84. package/dist/{chunk-TMROYEP4.js → chunk-YRJI2ZKT.js} +4 -4
  85. package/dist/{chunk-PDPBWX67.js → chunk-ZN4444RL.js} +17 -6
  86. package/dist/{claude-launcher-GIT7VNYK.js → claude-launcher-XHIHOO4U.js} +8 -8
  87. package/dist/{cli-Y5CRBNQQ.js → cli-VZUDY3VM.js} +168 -159
  88. package/dist/{cli-update-notice-OC4SOSZE.js → cli-update-notice-PCJN5ZKP.js} +2 -2
  89. package/dist/{command-2RX7FULE.js → command-TWK2QQ5J.js} +53 -53
  90. package/dist/config-JMTO5H4U.js +22 -0
  91. package/dist/{connect-cmd-DSP6HJRP.js → connect-cmd-JPHOQZBW.js} +15 -15
  92. package/dist/{container-start-DFFZVSGX.js → container-start-IWW2OVWT.js} +51 -51
  93. package/dist/{context-cleanup-FIQMPC6F.js → context-cleanup-CTKOHNCW.js} +5 -5
  94. package/dist/{context-show-cmd-BPZX3OUE.js → context-show-cmd-WO6B7UUZ.js} +16 -16
  95. package/dist/{control-plane-launch-IIHRG233.js → control-plane-launch-OZLAMALE.js} +16 -16
  96. package/dist/{demo-record-cmd-PI7QDFRP.js → demo-record-cmd-47RXW75H.js} +9 -9
  97. package/dist/{demo-voice-cmd-CMCPERTJ.js → demo-voice-cmd-ENFCUFP6.js} +22 -22
  98. package/dist/{dist-JSSJSW2B.js → dist-7JDEWP5U.js} +2 -2
  99. package/dist/docker-KC5ZFIK5.js +20 -0
  100. package/dist/{doctor-ZVHGEA3C.js → doctor-3XXCQPUZ.js} +53 -53
  101. package/dist/emit-artifact-cmd-5YXDBVXP.js +44 -0
  102. package/dist/{emit-cmd-QGVMVSLS.js → emit-cmd-VETPASRD.js} +8 -8
  103. package/dist/emit-criteria-cmd-5GBTQL3J.js +35 -0
  104. package/dist/{emit-demo-cmd-KLYEKCB3.js → emit-demo-cmd-2YTSDKEN.js} +22 -22
  105. package/dist/{emit-finding-cmd-FZWK3Y4Q.js → emit-finding-cmd-RXR5O2RB.js} +18 -18
  106. package/dist/{emit-result-cmd-TODAXDFJ.js → emit-result-cmd-ND72YSHC.js} +20 -20
  107. package/dist/{emit-step-cmd-QI52ZB57.js → emit-step-cmd-NXRZAW3R.js} +18 -18
  108. package/dist/{exec-client-YQCKCZGW.js → exec-client-RQ2WBQYI.js} +9 -9
  109. package/dist/find-unit-6YALHLSE.js +24 -0
  110. package/dist/{findings-cmd-O7I2GKRO.js → findings-cmd-OHZRCVPV.js} +18 -18
  111. package/dist/{fleet-readiness-BY7PY5FF.js → fleet-readiness-QTBZ322P.js} +16 -16
  112. package/dist/governing-source-LOIIVNWG.js +41 -0
  113. package/dist/guest-init-R3Z35NG7.js +20 -0
  114. package/dist/{hook-fast-3BGU6BF2.js → hook-fast-BEFGAPAW.js} +3 -3
  115. package/dist/{hook-install-6H6W4UM2.js → hook-install-Y6ZL3OT2.js} +5 -5
  116. package/dist/host-checks-3OKNIXBF.js +80 -0
  117. package/dist/host-key-JDLHIUNO.js +18 -0
  118. package/dist/{image-tag-IJKYPT6D.js → image-tag-BAA6APVR.js} +9 -9
  119. package/dist/index.js +4 -4
  120. package/dist/{init-65RN5X55.js → init-IE5IGNVE.js} +49 -49
  121. package/dist/init-LGMYM54E.js +80 -0
  122. package/dist/{init-agent-R4ZOEFI3.js → init-agent-YBLFXWPL.js} +49 -49
  123. package/dist/{init-cmd-L4EFMAQ4.js → init-cmd-VKCXBALQ.js} +29 -29
  124. package/dist/{init-update-ACLVXFS7.js → init-update-EJS5G2XZ.js} +26 -26
  125. package/dist/install-cmd-7LUZQZMJ.js +21 -0
  126. package/dist/{layout-MBCG2IHB.js → layout-IZ6XCHGG.js} +5 -5
  127. package/dist/{login-browser-COSWHZEC.js → login-browser-LSZKECIB.js} +2 -2
  128. package/dist/{logs-VX2SXLJH.js → logs-WVO5SCTN.js} +8 -8
  129. package/dist/loop-ZMIBNWIP.js +90 -0
  130. package/dist/machine-WILRS4XJ.js +80 -0
  131. package/dist/{machine-skills-RPKQK52T.js → machine-skills-SDIQFRIX.js} +5 -5
  132. package/dist/{mcp-install-cmd-GN2K2JM3.js → mcp-install-cmd-GF2QAYQE.js} +5 -5
  133. package/dist/{mcp-serve-cmd-P34CQIBX.js → mcp-serve-cmd-RB3NBRP7.js} +11 -11
  134. package/dist/{paths-HV3G2EHE.js → paths-W2U4BYFR.js} +8 -8
  135. package/dist/pending-ZYVVCMCB.js +18 -0
  136. package/dist/{pidfile-4ZG5I7ZR.js → pidfile-ZIDS3G5J.js} +9 -9
  137. package/dist/{record-3XWPD2UP.js → record-I6XI5YWE.js} +9 -9
  138. package/dist/{relay-ZOWT4YLQ.js → relay-MUBJFLEI.js} +6 -6
  139. package/dist/{relay-protocol-FDFEVLQT.js → relay-protocol-UK2KZKGH.js} +6 -6
  140. package/dist/{run-cmd-ZVNOKJB3.js → run-cmd-KPAN5DTB.js} +18 -18
  141. package/dist/{runner-agents-3NUGNJD6.js → runner-agents-3ZKMPZ2D.js} +5 -5
  142. package/dist/runner-env-IKUFXCUV.js +24 -0
  143. package/dist/{runner-identity-F2Z3TXJ7.js → runner-identity-UMODOKXV.js} +11 -11
  144. package/dist/{runner-key-AOK7W733.js → runner-key-4VZCSL73.js} +49 -49
  145. package/dist/{session-sender-V3INPB34.js → session-sender-CCXS5LKC.js} +21 -21
  146. package/dist/{spec-cmd-LYGXRFVY.js → spec-cmd-UX6VYKE6.js} +109 -22
  147. package/dist/{starter-pack-7QA7J5FT.js → starter-pack-EQL24NLF.js} +6 -6
  148. package/dist/state-MD27KY5N.js +18 -0
  149. package/dist/{status-SPPT7WU5.js → status-IRQ5N2CN.js} +49 -49
  150. package/dist/{sync-cmd-EDSOKOXS.js → sync-cmd-OCHEVJDU.js} +20 -20
  151. package/dist/update-steps-PCZORLEO.js +81 -0
  152. package/dist/{watch-GBDNXFAK.js → watch-DDSNYG5M.js} +20 -20
  153. package/dist/{work-claim-cmd-SHKDYS7J.js → work-claim-cmd-2YYRYOPS.js} +27 -27
  154. package/dist/work-cmd-PRMB5ETL.js +33 -0
  155. package/dist/work-comment-cmd-7SOO2JXW.js +39 -0
  156. package/dist/{work-demo-cmd-YJ654BQP.js → work-demo-cmd-P7AXOVMK.js} +18 -18
  157. package/dist/{work-logs-cmd-RUNYYALP.js → work-logs-cmd-PUE23KB5.js} +18 -18
  158. package/dist/{work-needs-attention-cmd-NRDFGJPP.js → work-needs-attention-cmd-SJ6P2V3S.js} +18 -18
  159. package/dist/{work-no-change-cmd-FDA7PYB7.js → work-no-change-cmd-6FLPOK7M.js} +18 -18
  160. package/dist/{work-open-pr-cmd-LEWPNTW5.js → work-open-pr-cmd-FTZSIWOM.js} +19 -19
  161. package/dist/work-pr-cmd-ZOCB54YC.js +34 -0
  162. package/dist/{work-proofs-cmd-QKIEJJRF.js → work-proofs-cmd-7HOVHHCL.js} +20 -20
  163. package/dist/{work-proofs-record-2M4A5OIF.js → work-proofs-record-YWUBA3IS.js} +26 -26
  164. package/dist/{work-stop-cmd-HH2SSJIO.js → work-stop-cmd-LKDWZL24.js} +18 -18
  165. package/package.json +3 -3
  166. package/skill-pack/maintained/outerlayer-amend/references/threads.md +10 -4
  167. package/skill-pack/maintained/outerlayer-build/references/agent-briefs.md +1 -1
  168. package/skill-pack/maintained/outerlayer-build/references/code-review-judge.md +15 -5
  169. package/skill-pack/maintained/outerlayer-revise/SKILL.md +68 -0
  170. package/dist/agent-setup-U4XTZO56.js +0 -40
  171. package/dist/caller-PW7R46M7.js +0 -23
  172. package/dist/config-AOOR5BPQ.js +0 -22
  173. package/dist/docker-6MPPSTR4.js +0 -20
  174. package/dist/emit-artifact-cmd-VJ3C36RU.js +0 -44
  175. package/dist/emit-criteria-cmd-UOHOOSVV.js +0 -35
  176. package/dist/find-unit-YT25OH3F.js +0 -24
  177. package/dist/governing-source-XRLJFSPE.js +0 -41
  178. package/dist/guest-init-X2HLNETS.js +0 -20
  179. package/dist/host-checks-U5JKQQMM.js +0 -80
  180. package/dist/host-key-KQ6JWRB4.js +0 -18
  181. package/dist/init-CYTHJSTQ.js +0 -80
  182. package/dist/install-cmd-DHIVJEBO.js +0 -21
  183. package/dist/loop-4ATDJGQV.js +0 -90
  184. package/dist/machine-UIA7MN3U.js +0 -80
  185. package/dist/pending-I2EJ7TMY.js +0 -18
  186. package/dist/runner-env-JS2WDB5L.js +0 -24
  187. package/dist/state-64OMLIN4.js +0 -18
  188. package/dist/update-steps-XPEATLFQ.js +0 -81
  189. package/dist/work-cmd-QR62TX6Q.js +0 -33
  190. package/dist/work-comment-cmd-DUDVMT6U.js +0 -39
  191. package/dist/work-pr-cmd-Y4O34WDA.js +0 -34
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { WorkCommandError, postJson } from './chunk-6GZL5RIV.js';
4
- import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-36XB56GG.js';
5
- import { buildRefusalReason } from './chunk-RHPEAVKR.js';
6
- import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-WV4T6ZOQ.js';
7
- import { signingFetchFor } from './chunk-DKTXQ7XQ.js';
8
- import { signerFor } from './chunk-ZQII2ZRP.js';
9
- import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-DULO2L5B.js';
3
+ import { WorkCommandError, postJson } from './chunk-CT7X6XGR.js';
4
+ import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-33HBGNKZ.js';
5
+ import { buildRefusalReason } from './chunk-3FN6JADD.js';
6
+ import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-6VHBQBHL.js';
7
+ import { signingFetchFor } from './chunk-QPSLXP6A.js';
8
+ import { signerFor } from './chunk-CPXQLO4X.js';
9
+ import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-WVTBZX4K.js';
10
10
  import { SHIM_SCRIPT, shimScriptFor, GOVERNANCE_VARIABLE } from './chunk-SF2TBJBP.js';
11
11
  import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
12
12
  import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-6GZL5RIV.js';
4
- import { detectActiveSession } from './chunk-MOA4PGYL.js';
5
- import { sanitizeTerminal } from './chunk-QHYCF36K.js';
3
+ import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-CT7X6XGR.js';
4
+ import { detectActiveSession } from './chunk-DULA3AYN.js';
5
+ import { sanitizeTerminal } from './chunk-26BFN6DH.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { defaultFetch } from './chunk-DKTXQ7XQ.js';
8
- import { logHookError } from './chunk-UKEJBA5Y.js';
7
+ import { defaultFetch } from './chunk-QPSLXP6A.js';
8
+ import { logHookError } from './chunk-NHYV24WJ.js';
9
9
  import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
10
10
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
11
11
  import { homeFromEnv } from './chunk-352DHUTP.js';
12
- import { resolveRepoIdentity } from './chunk-6XORUAR7.js';
13
- import { ATTACHMENT_CLIENT_ID_HEADER, ATTACHMENT_SHA256_HEADER, ATTACHMENT_FILENAME_HEADER, cleanAttachmentFilename, WORK_ITEM_ATTACHMENTS_MAX_PER_COMMENT, attachmentKind, WORK_ITEM_ATTACHMENT_MAX_BYTES, WORK_ITEM_ATTACHMENTS_MAX_TOTAL_BYTES } from './chunk-NEXKR5RR.js';
12
+ import { resolveRepoIdentity } from './chunk-7GJEQXOH.js';
13
+ import { ATTACHMENT_CLIENT_ID_HEADER, ATTACHMENT_SHA256_HEADER, ATTACHMENT_FILENAME_HEADER, cleanAttachmentFilename, WORK_ITEM_ATTACHMENTS_MAX_PER_COMMENT, attachmentKind, WORK_ITEM_ATTACHMENT_MAX_BYTES, WORK_ITEM_ATTACHMENTS_MAX_TOTAL_BYTES } from './chunk-5NVF5TAL.js';
14
14
  import { randomUUID, createHash } from 'crypto';
15
15
  import { mkdirSync, statSync, readFileSync, writeFileSync } from 'fs';
16
16
  import { resolve, extname, basename, join } from 'path';
@@ -6,7 +6,7 @@ import { readCloudConfigStrict, CloudConfigError, readCloudConfig, writeCloudCon
6
6
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
8
8
  import { homeFromEnv } from './chunk-352DHUTP.js';
9
- import { CLI_LOGIN_MACHINE_NAME_MAX, CliLoginPollResponseSchema, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema } from './chunk-NEXKR5RR.js';
9
+ import { CLI_LOGIN_MACHINE_NAME_MAX, CliLoginPollResponseSchema, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema } from './chunk-5NVF5TAL.js';
10
10
  import { generateKeyPairSync, privateDecrypt, constants, createPrivateKey } from 'crypto';
11
11
  import { spawn } from 'child_process';
12
12
  import { fstatSync, existsSync, readdirSync, readFileSync, rmSync, mkdirSync, chmodSync, writeFileSync } from 'fs';
@@ -4,6 +4,6 @@ import { createRequire } from 'node:module';
4
4
  createRequire(import.meta.url);
5
5
 
6
6
  // src/runner/protocol.ts
7
- var RUNNER_PROTOCOL = 49;
7
+ var RUNNER_PROTOCOL = 52;
8
8
 
9
9
  export { RUNNER_PROTOCOL };
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-BIMHESZG.js';
3
+ import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-EVME7MT6.js';
4
4
  import { startTimeOf } from './chunk-JBJTC3UU.js';
5
- import { EXEC_PORT } from './chunk-33XLQIV4.js';
6
- import { RELAY_PORT } from './chunk-SIGBRVEF.js';
5
+ import { EXEC_PORT } from './chunk-UOCYI5SA.js';
6
+ import { RELAY_PORT } from './chunk-Q3QA4DTV.js';
7
7
  import { spawn, spawnSync } from 'child_process';
8
8
  import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
9
9
 
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-FQPGZOH3.js';
4
- import { ensureHostKey } from './chunk-ZQII2ZRP.js';
5
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-DULO2L5B.js';
6
- import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-SIGBRVEF.js';
7
- import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-NFPJ2XC2.js';
8
- import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-36M66QKN.js';
9
- import { defaultAgents } from './chunk-PDPBWX67.js';
3
+ import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-AUBLZPCA.js';
4
+ import { ensureHostKey } from './chunk-CPXQLO4X.js';
5
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-WVTBZX4K.js';
6
+ import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-Q3QA4DTV.js';
7
+ import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-6AORV65Z.js';
8
+ import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-SBZX6XP6.js';
9
+ import { defaultAgents } from './chunk-ZN4444RL.js';
10
10
  import { PROVIDERS } from './chunk-7PZDPISM.js';
11
- import { compareVersions } from './chunk-6XORUAR7.js';
11
+ import { compareVersions } from './chunk-7GJEQXOH.js';
12
12
  import { createHash } from 'crypto';
13
13
  import { mkdirSync, createWriteStream, rmSync, existsSync, readFileSync, chmodSync, writeFileSync, realpathSync, readdirSync, renameSync } from 'fs';
14
14
  import { dirname, join, posix, resolve } from 'path';
@@ -452,7 +452,7 @@ function judgeCommand(input, agents = defaultAgents()) {
452
452
  }
453
453
  function withAnswerProtocol(brief, subjects, options = {}) {
454
454
  const inputs = subjects === "criteria" ? `\`${JUDGE_DIR}/criteria.json\` lists the criteria to judge, \`${JUDGE_DIR}/diff.patch\` the change and \`${JUDGE_TREE}/\` the files of the pushed commit. Nothing tells you which tests prove a criterion: find them in \`${JUDGE_TREE}/\` yourself. No list of citing tests exists, so where the brief above reads one, or fails a criterion that no test cites, search for the criterion's tests instead.` : `\`${JUDGE_DIR}/diff.patch\` holds the change and \`${JUDGE_TREE}/\` the files of the pushed commit.`;
455
- const items = subjects === "criteria" ? `one entry per criterion in criteria.json, with its id and the tests your result rests on: \`{"items":[{"id":"<criterion id>","result":"pass"|"fail","reason":"<one to three sentences>","tests":[{"path":"<path relative to ${JUDGE_TREE}/>","line":<the line the test starts on>}]}]}\`. A criterion you do not list fails. A pass must name at least one test file of the tree that proves it, or it fails.` : `your overall result and, when you judged separate parts, one entry per part with an id you choose (a file path or a short name), unique in the answer: \`{"result":"pass"|"fail",${options.reviewed === true ? '"reviewed":["<changed file path>"],' : ""}"items":[{"id":"<part>","result":"pass"|"fail","reason":"<one to three sentences>","refs":[{"path":"<path relative to ${JUDGE_TREE}/>","line":<the line in the pushed commit>}]}]}\`. A failing part fails the whole. A failing part names in \`refs\` the file and line it is about.${options.reviewed === true ? " `reviewed` lists each changed file you read in full, by its path in the repository." : ""}`;
455
+ const items = subjects === "criteria" ? `one entry per criterion in criteria.json, with its id and the tests your result rests on: \`{"items":[{"id":"<criterion id>","result":"pass"|"fail","reason":"<one to three sentences>","tests":[{"path":"<path relative to ${JUDGE_TREE}/>","line":<the line the test starts on>}]}]}\`. A criterion you do not list fails. A pass must name at least one test file of the tree that proves it, or it fails.` : `your overall result and, when you judged separate parts, one entry per part with an id you choose (a file path or a short name), unique in the answer: \`{"result":"pass"|"fail",${options.reviewed === true ? '"reviewed":["<changed file path>"],"previous":[{"id":"<id in previous.json>","verdict":"fixed"|"open"}],' : ""}"items":[{"id":"<part>",${options.reviewed === true ? '"kind":"bug"|"security"|"data"|"test"|"docs"|"comment","title":"<a short name>",' : ""}"result":"pass"|"fail","reason":"<one to three sentences>","refs":[{"path":"<path relative to ${JUDGE_TREE}/>","line":<the line in the pushed commit>}]}]}\`. A failing part fails the whole. A failing part names in \`refs\` the file and line it is about.${options.reviewed === true ? " `reviewed` lists each changed file you read in full, by its path in the repository. `previous` gives a verdict on each defect in `previous.json`, when the file exists. `kind` is what the problem is about, and `bug` when none fits." : ""}`;
456
456
  return `${brief.trimEnd()}
457
457
 
458
458
  ## How to answer
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { keyRunnerFactory, RunnerConfigError } from './chunk-QBJ7MMOT.js';
4
- import { orgHomeDir } from './chunk-DULO2L5B.js';
3
+ import { keyRunnerFactory, RunnerConfigError } from './chunk-V6FY4BRV.js';
4
+ import { orgHomeDir } from './chunk-WVTBZX4K.js';
5
5
 
6
6
  createRequire(import.meta.url);
7
7
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-DULO2L5B.js';
3
+ import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-WVTBZX4K.js';
4
4
  import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
5
5
  import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
6
6
 
@@ -1,17 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { detectActiveSession } from './chunk-MOA4PGYL.js';
4
- import { autoConnect } from './chunk-PBHAM73F.js';
5
- import { workPageUrl } from './chunk-CAQSGGPJ.js';
6
- import { sanitizeTerminal } from './chunk-QHYCF36K.js';
3
+ import { detectActiveSession } from './chunk-DULA3AYN.js';
4
+ import { autoConnect } from './chunk-AR3SCE7R.js';
5
+ import { workPageUrl } from './chunk-LOXR7Q77.js';
6
+ import { sanitizeTerminal } from './chunk-26BFN6DH.js';
7
7
  import { C } from './chunk-2AM6Z5BP.js';
8
- import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-DKTXQ7XQ.js';
9
- import { signRunnerRequest } from './chunk-ZQII2ZRP.js';
8
+ import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-QPSLXP6A.js';
9
+ import { signRunnerRequest } from './chunk-CPXQLO4X.js';
10
10
  import { readRepoConnection } from './chunk-BJ3KTMDH.js';
11
11
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
12
12
  import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
13
13
  import { homeFromEnv } from './chunk-352DHUTP.js';
14
- import { resolveRepoIdentity } from './chunk-6XORUAR7.js';
14
+ import { resolveRepoIdentity } from './chunk-7GJEQXOH.js';
15
15
 
16
16
  createRequire(import.meta.url);
17
17
 
@@ -184,6 +184,9 @@ async function postJson(url, path, apiKey, appId, body, fetchImpl, timeoutMs, si
184
184
  function patchJson(url, path, apiKey, appId, body, fetchImpl) {
185
185
  return sendJsonBefore("PATCH", url, path, apiKey, appId, body, fetchImpl, void 0, void 0);
186
186
  }
187
+ function putJson(url, path, apiKey, appId, body, fetchImpl) {
188
+ return sendJsonBefore("PUT", url, path, apiKey, appId, body, fetchImpl, void 0, void 0);
189
+ }
187
190
  function startDeadline(ms) {
188
191
  const controller = new AbortController();
189
192
  const timer = setTimeout(() => controller.abort(), ms);
@@ -546,7 +549,7 @@ async function runWorkLinkSession(opts) {
546
549
  return await linkSession(opts);
547
550
  } catch (err) {
548
551
  if (opts.logFailures) {
549
- const { logHookError } = await import('./hook-fast-3BGU6BF2.js');
552
+ const { logHookError } = await import('./hook-fast-BEFGAPAW.js');
550
553
  const reason = err instanceof Error ? err.message : String(err);
551
554
  logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
552
555
  }
@@ -722,8 +725,8 @@ async function runWorkList(opts) {
722
725
  const { url, apiKey, appId } = resolveCredentials(opts);
723
726
  const fetchImpl = opts.fetchImpl ?? defaultFetch;
724
727
  const repository = opts.repo ?? resolveRepoIdentity(cwd).gitRepo;
725
- if (opts.needs !== void 0 && opts.needs !== "amend") {
726
- throw new WorkCommandError('--needs only accepts "amend"');
728
+ if (opts.needs !== void 0 && opts.needs !== "amend" && opts.needs !== "revise") {
729
+ throw new WorkCommandError('--needs only accepts "amend" or "revise"');
727
730
  }
728
731
  const query = new URLSearchParams();
729
732
  if (repository) query.set("repository", repository);
@@ -754,4 +757,4 @@ async function runWorkList(opts) {
754
757
  return { data, output };
755
758
  }
756
759
 
757
- export { RateLimitedError, TRACKERS, WorkCommandError, environmentFacts, findLiveItemForIssue, getBytes, getJson, isSignatureRefusal, parsePositiveInt, patchJson, postBytes, postJson, resolveCredentials, runWorkBuild, runWorkLinkSession, runWorkList, runWorkRemove, runWorkStatus, signatureRefusalMessage, verifiedTrackerNames };
760
+ export { RateLimitedError, TRACKERS, WorkCommandError, environmentFacts, findLiveItemForIssue, getBytes, getJson, isSignatureRefusal, parsePositiveInt, patchJson, postBytes, postJson, putJson, resolveCredentials, runWorkBuild, runWorkLinkSession, runWorkList, runWorkRemove, runWorkStatus, signatureRefusalMessage, verifiedTrackerNames };
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { sanitizeTerminal } from './chunk-QHYCF36K.js';
4
- import { resolvePackRoot, parseProofsConfig } from './chunk-PDPBWX67.js';
5
- import { CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REF_PATH_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID } from './chunk-NEXKR5RR.js';
3
+ import { sanitizeTerminal } from './chunk-26BFN6DH.js';
4
+ import { resolvePackRoot, parseProofsConfig } from './chunk-ZN4444RL.js';
5
+ import { CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, problemKind, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REF_PATH_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID } from './chunk-5NVF5TAL.js';
6
6
  import { createHash } from 'crypto';
7
7
  import { join } from 'path';
8
8
  import { pathToFileURL } from 'url';
@@ -2487,23 +2487,36 @@ function readPlaces(raw) {
2487
2487
  }
2488
2488
  function readAnswer(raw) {
2489
2489
  if (typeof raw !== "object" || raw === null || Array.isArray(raw)) return { ok: false, problem: "expected an object" };
2490
- const { result, items, reviewed } = raw;
2490
+ const { result, items, reviewed, previous } = raw;
2491
2491
  if (result !== void 0 && result !== "pass" && result !== "fail") return { ok: false, problem: 'result: must be "pass" or "fail"' };
2492
2492
  const read = Array.isArray(reviewed) ? reviewed.filter((path2) => typeof path2 === "string" && path2 !== "" && path2.length <= 500).slice(0, MAX_ANSWER_ENTRIES) : void 0;
2493
+ const verdicts = Array.isArray(previous) ? previous.slice(0, MAX_ANSWER_ENTRIES).flatMap((entry) => {
2494
+ const { id, verdict } = typeof entry === "object" && entry !== null ? entry : {};
2495
+ return typeof id === "string" && id !== "" && id.length <= 200 && (verdict === "fixed" || verdict === "open") ? [{ id, verdict }] : [];
2496
+ }) : void 0;
2493
2497
  if (items !== void 0 && !Array.isArray(items)) return { ok: false, problem: "items: must be an array" };
2494
2498
  const entries = items ?? [];
2495
2499
  if (entries.length > MAX_ANSWER_ENTRIES) return { ok: false, problem: `items: at most ${MAX_ANSWER_ENTRIES} entries` };
2496
2500
  const answered = [];
2497
2501
  for (const [index, entry] of entries.entries()) {
2498
- const { id, result: itemResult, reason, tests, refs } = typeof entry === "object" && entry !== null ? entry : {};
2502
+ const { id, result: itemResult, reason, tests, refs, kind, title } = typeof entry === "object" && entry !== null ? entry : {};
2499
2503
  if (typeof id !== "string" || id === "" || id.length > 200) return { ok: false, problem: `items.${index}.id: must be text of 1 to 200 characters` };
2500
2504
  if (itemResult !== "pass" && itemResult !== "fail") return { ok: false, problem: `items.${index}.result: must be "pass" or "fail"` };
2501
2505
  if (reason !== void 0 && typeof reason !== "string") return { ok: false, problem: `items.${index}.reason: must be text` };
2502
2506
  const named = readPlaces(tests);
2503
2507
  const places = readPlaces(refs);
2504
- answered.push({ id, result: itemResult, ...reason === void 0 ? {} : { reason }, ...named === void 0 ? {} : { tests: named }, ...places === void 0 ? {} : { refs: places } });
2508
+ const name = typeof title === "string" && title.trim() !== "" ? title : void 0;
2509
+ answered.push({
2510
+ id,
2511
+ result: itemResult,
2512
+ kind: problemKind(kind),
2513
+ ...name === void 0 ? {} : { title: name },
2514
+ ...reason === void 0 ? {} : { reason },
2515
+ ...named === void 0 ? {} : { tests: named },
2516
+ ...places === void 0 ? {} : { refs: places }
2517
+ });
2505
2518
  }
2506
- return { ok: true, answer: { ...result === void 0 ? {} : { result }, items: answered, ...read === void 0 ? {} : { reviewed: read } } };
2519
+ return { ok: true, answer: { ...result === void 0 ? {} : { result }, items: answered, ...read === void 0 ? {} : { reviewed: read }, ...verdicts === void 0 ? {} : { previous: verdicts } } };
2507
2520
  }
2508
2521
  function parseJudgeAnswer(text) {
2509
2522
  if (text === void 0 || text.trim() === "") return void 0;
@@ -2568,9 +2581,12 @@ function itemIds(ids, clean) {
2568
2581
  return unique;
2569
2582
  });
2570
2583
  }
2584
+ function wholeEntries(answer) {
2585
+ return [...answer.items.filter((entry) => entry.result === "fail"), ...answer.items.filter((entry) => entry.result !== "fail")].slice(0, CHECK_ITEMS_MAX - 1);
2586
+ }
2571
2587
  function wholeItems(input) {
2572
2588
  const lines = diffLines(input.patch);
2573
- const entries = [...input.answer.items.filter((entry) => entry.result === "fail"), ...input.answer.items.filter((entry) => entry.result !== "fail")].slice(0, CHECK_ITEMS_MAX - 1);
2589
+ const entries = wholeEntries(input.answer);
2574
2590
  const ids = itemIds(entries.map((entry) => entry.id), input.clean);
2575
2591
  return entries.map((entry, index) => {
2576
2592
  const reason = oneLineReason(entry.reason === void 0 ? void 0 : input.clean(entry.reason));
@@ -2639,4 +2655,4 @@ function hostItemsOf(workItem, name) {
2639
2655
  return parsed.success ? parsed.data : [];
2640
2656
  }
2641
2657
 
2642
- export { MAX_TEST_FILE_BYTES, NO_VERDICT_REASON, criteriaOf, criterionInputs, failedItems, hostItemsOf, inCriteriaOrder, itemsSentence, judgeGroups, judgedItems, loadCitationFinder, oneLineReason, openPullRequests, parseJudgeAnswer, planCriteria, runnerMatcher, testFileMatcher, testsByCriterion, wholeItems };
2658
+ export { MAX_TEST_FILE_BYTES, NO_VERDICT_REASON, criteriaOf, criterionInputs, failedItems, hostItemsOf, inCriteriaOrder, itemsSentence, judgeGroups, judgedItems, loadCitationFinder, oneLineReason, openPullRequests, parseJudgeAnswer, planCriteria, runnerMatcher, testFileMatcher, testsByCriterion, wholeEntries, wholeItems };
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { defaultAgents } from './chunk-PDPBWX67.js';
3
+ import { defaultAgents } from './chunk-ZN4444RL.js';
4
4
  import { openSync, fstatSync, readSync, closeSync } from 'fs';
5
5
  import { join } from 'path';
6
6
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-DULO2L5B.js';
3
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-WVTBZX4K.js';
4
4
  import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
5
5
  import { join } from 'path';
6
6
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RELAY_PORT, BUILD_HOME } from './chunk-SIGBRVEF.js';
3
+ import { RELAY_PORT, BUILD_HOME } from './chunk-Q3QA4DTV.js';
4
4
  import { createServer, connect } from 'net';
5
5
 
6
6
  createRequire(import.meta.url);
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-DULO2L5B.js';
3
+ import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-WVTBZX4K.js';
4
4
  import { readlinkSync, realpathSync, mkdirSync, unlinkSync, symlinkSync, renameSync, readFileSync, writeFileSync, rmSync, existsSync, readdirSync } from 'fs';
5
5
  import { join, basename, sep, resolve } from 'path';
6
6
 
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-NJ6IJFKR.js';
4
- import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-USINHGZI.js';
5
- import { skillsBaseFor } from './chunk-3BEMKOFH.js';
3
+ import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-MRZMJPYA.js';
4
+ import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-RIYSVN6V.js';
5
+ import { skillsBaseFor } from './chunk-U5NUHRGX.js';
6
6
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
8
- import { hasSymlinkComponent } from './chunk-LW5RIKAV.js';
8
+ import { hasSymlinkComponent } from './chunk-FBLO2U6D.js';
9
9
  import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
10
- import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-PDPBWX67.js';
10
+ import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-ZN4444RL.js';
11
11
  import { createHash } from 'crypto';
12
12
  import { existsSync, readFileSync } from 'fs';
13
13
  import { join } from 'path';
@@ -2,7 +2,7 @@
2
2
  import { createRequire } from 'node:module';
3
3
  import { readContextManifest, removeContextManifest } from './chunk-YQR6E6OV.js';
4
4
  import { removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
5
- import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-PDPBWX67.js';
5
+ import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-ZN4444RL.js';
6
6
  import { execFileSync } from 'child_process';
7
7
  import { lstatSync, existsSync, unlinkSync, readdirSync, rmdirSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
8
8
  import { join, dirname, isAbsolute } from 'path';
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { builtinKind, keepsHostBuilder } from './chunk-QBJ7MMOT.js';
4
- import { parseSize } from './chunk-6BXJESQF.js';
5
- import { runnerDir } from './chunk-DULO2L5B.js';
6
- import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-NFPJ2XC2.js';
7
- import { credentialAgent, credentialNames, credentialForms } from './chunk-36M66QKN.js';
8
- import { defaultAgents } from './chunk-PDPBWX67.js';
3
+ import { builtinKind, keepsHostBuilder } from './chunk-V6FY4BRV.js';
4
+ import { parseSize } from './chunk-CJEWYQ46.js';
5
+ import { runnerDir } from './chunk-WVTBZX4K.js';
6
+ import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-6AORV65Z.js';
7
+ import { credentialAgent, credentialNames, credentialForms } from './chunk-SBZX6XP6.js';
8
+ import { defaultAgents } from './chunk-ZN4444RL.js';
9
9
  import { existsSync, readFileSync, writeFileSync, chmodSync, renameSync } from 'fs';
10
10
  import { dirname, join } from 'path';
11
11
  import { spawnSync } from 'child_process';
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-JDOEEKPN.js';
4
- import { WorkCommandError, resolveCredentials, getJson } from './chunk-6GZL5RIV.js';
5
- import { sanitizeTerminal } from './chunk-QHYCF36K.js';
3
+ import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-DPMUZ2QT.js';
4
+ import { WorkCommandError, resolveCredentials, getJson } from './chunk-CT7X6XGR.js';
5
+ import { sanitizeTerminal } from './chunk-26BFN6DH.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { defaultFetch } from './chunk-DKTXQ7XQ.js';
7
+ import { defaultFetch } from './chunk-QPSLXP6A.js';
8
8
  import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
9
9
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
10
10
  import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
11
- import { parseProofsConfig } from './chunk-PDPBWX67.js';
12
- import { resolveRepoIdentity } from './chunk-6XORUAR7.js';
13
- import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-NEXKR5RR.js';
11
+ import { parseProofsConfig } from './chunk-ZN4444RL.js';
12
+ import { resolveRepoIdentity } from './chunk-7GJEQXOH.js';
13
+ import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-5NVF5TAL.js';
14
14
  import { spawnSync } from 'child_process';
15
15
  import { createHash } from 'crypto';
16
16
  import { readFileSync, readdirSync, lstatSync, statSync, existsSync } from 'fs';
@@ -129,14 +129,14 @@ function governingDir(cwd) {
129
129
  async function testProofMode(cwd) {
130
130
  const dir = governingDir(cwd);
131
131
  if (dir === void 0) return "any";
132
- const { testProofIn } = await import('./host-checks-U5JKQQMM.js');
132
+ const { testProofIn } = await import('./host-checks-3OKNIXBF.js');
133
133
  return testProofIn(dir);
134
134
  }
135
135
  async function judgeCheckName(cwd) {
136
136
  const dir = governingDir(cwd);
137
137
  if (dir === void 0) return {};
138
138
  if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
139
- const { checksIn, isJudgeCheck } = await import('./host-checks-U5JKQQMM.js');
139
+ const { checksIn, isJudgeCheck } = await import('./host-checks-3OKNIXBF.js');
140
140
  const quiet = { line: () => void 0, error: () => void 0 };
141
141
  const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
142
142
  return check === void 0 ? {} : { name: check.name };
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
372
372
  async function runWorkProofsCommand(opts) {
373
373
  try {
374
374
  if (opts.record || opts.check) {
375
- const { runWorkProofsRecord } = await import('./work-proofs-record-2M4A5OIF.js');
375
+ const { runWorkProofsRecord } = await import('./work-proofs-record-YWUBA3IS.js');
376
376
  const result2 = await runWorkProofsRecord(opts);
377
377
  process.exitCode = result2.exitCode;
378
378
  return;
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { detectActiveSession } from './chunk-MOA4PGYL.js';
4
- import { autoConnect } from './chunk-PBHAM73F.js';
3
+ import { detectActiveSession } from './chunk-DULA3AYN.js';
4
+ import { autoConnect } from './chunk-AR3SCE7R.js';
5
5
  import { C } from './chunk-2AM6Z5BP.js';
6
- import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-DKTXQ7XQ.js';
6
+ import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-QPSLXP6A.js';
7
7
  import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
8
8
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
9
9
  import { homeFromEnv } from './chunk-352DHUTP.js';
10
- import { resolveRepoIdentity } from './chunk-6XORUAR7.js';
10
+ import { resolveRepoIdentity } from './chunk-7GJEQXOH.js';
11
11
 
12
12
  createRequire(import.meta.url);
13
13
 
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
4
- import { detectActiveSession } from './chunk-MOA4PGYL.js';
5
- import { autoConnect } from './chunk-PBHAM73F.js';
6
- import { acquireSpoolLockAt } from './chunk-QHYCF36K.js';
4
+ import { detectActiveSession } from './chunk-DULA3AYN.js';
5
+ import { autoConnect } from './chunk-AR3SCE7R.js';
6
+ import { acquireSpoolLockAt } from './chunk-26BFN6DH.js';
7
7
  import { C } from './chunk-2AM6Z5BP.js';
8
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DKTXQ7XQ.js';
8
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-QPSLXP6A.js';
9
9
  import { launchedItemForSession } from './chunk-LGJ56FCM.js';
10
10
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
11
11
  import { homeFromEnv } from './chunk-352DHUTP.js';
12
- import { resolveRepoIdentity } from './chunk-6XORUAR7.js';
13
- import { StepNameSchema, StepBodySchema } from './chunk-NEXKR5RR.js';
12
+ import { resolveRepoIdentity } from './chunk-7GJEQXOH.js';
13
+ import { StepNameSchema, StepBodySchema } from './chunk-5NVF5TAL.js';
14
14
  import { randomUUID } from 'crypto';
15
15
  import { readFileSync, existsSync, mkdirSync, writeFileSync, renameSync, appendFileSync } from 'fs';
16
16
  import { join, dirname } from 'path';
@@ -1,18 +1,18 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
4
- import { detectActiveSession, transcriptPathForSession } from './chunk-MOA4PGYL.js';
5
- import { autoConnect } from './chunk-PBHAM73F.js';
4
+ import { detectActiveSession, transcriptPathForSession } from './chunk-DULA3AYN.js';
5
+ import { autoConnect } from './chunk-AR3SCE7R.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DKTXQ7XQ.js';
7
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-QPSLXP6A.js';
8
8
  import { readLatestProvenanceForSession } from './chunk-545P7JY7.js';
9
9
  import { launchedItemForSession } from './chunk-LGJ56FCM.js';
10
10
  import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
11
11
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
12
- import { legacyAgent, captureAgents, sessionFolderIn } from './chunk-PDPBWX67.js';
12
+ import { legacyAgent, captureAgents, sessionFolderIn } from './chunk-ZN4444RL.js';
13
13
  import { homeFromEnv } from './chunk-352DHUTP.js';
14
- import { resolveRepoIdentity, scrubText } from './chunk-6XORUAR7.js';
15
- import { FindingBatchSchema, findingGaps, FindingsResponseSchema, FINDING_CODE_EXCERPT_MAX_LENGTH, SAME_PROBLEM_RULES, FINDING_TRANSCRIPT_EXCERPT_MAX_LENGTH } from './chunk-NEXKR5RR.js';
14
+ import { resolveRepoIdentity, scrubText } from './chunk-7GJEQXOH.js';
15
+ import { FindingBatchSchema, findingGaps, FindingsResponseSchema, FINDING_CODE_EXCERPT_MAX_LENGTH, SAME_PROBLEM_RULES, FINDING_TRANSCRIPT_EXCERPT_MAX_LENGTH } from './chunk-5NVF5TAL.js';
16
16
  import { readFileSync, existsSync } from 'fs';
17
17
  import { homedir } from 'os';
18
18
  import { resolve, relative, isAbsolute, join, dirname } from 'path';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { isVersion, compareVersions } from './chunk-TQMI335S.js';
4
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-DULO2L5B.js';
4
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-WVTBZX4K.js';
5
5
  import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
6
6
  import { join } from 'path';
7
7
 
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-VQ6ZKSNL.js';
4
- import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-OPCFOIZJ.js';
3
+ import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-T34WBDIO.js';
4
+ import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-EWKNMUPI.js';
5
5
  import { compareVersions } from './chunk-TQMI335S.js';
6
- import { runnerDir, RUNNER_DIR_MODE } from './chunk-DULO2L5B.js';
6
+ import { runnerDir, RUNNER_DIR_MODE } from './chunk-WVTBZX4K.js';
7
7
  import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
8
8
  import { dirname, sep, join } from 'path';
9
9
  import { spawnSync } from 'child_process';
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { toolsDockerfile } from './chunk-ABRGN5OA.js';
4
- import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-AJ3YUM23.js';
3
+ import { toolsDockerfile } from './chunk-TFAAVSYJ.js';
4
+ import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-UIS6E64L.js';
5
5
  import { startTimeOf } from './chunk-JBJTC3UU.js';
6
- import { runnerLabelValue } from './chunk-6BXJESQF.js';
7
- import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-FQPGZOH3.js';
8
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-DULO2L5B.js';
9
- import { withGitConfig, tokenHeader } from './chunk-SIGBRVEF.js';
10
- import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-36M66QKN.js';
6
+ import { runnerLabelValue } from './chunk-CJEWYQ46.js';
7
+ import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-AUBLZPCA.js';
8
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-WVTBZX4K.js';
9
+ import { withGitConfig, tokenHeader } from './chunk-Q3QA4DTV.js';
10
+ import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-SBZX6XP6.js';
11
11
  import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
12
12
  import { tmpdir } from 'os';
13
13
  import { join } from 'path';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { readSettingsText, SettingsParseError, cliForInstall } from './chunk-ZHQC43NH.js';
4
- import { legacyAgent, defaultAgents, HookTextError } from './chunk-PDPBWX67.js';
4
+ import { legacyAgent, defaultAgents, HookTextError } from './chunk-ZN4444RL.js';
5
5
 
6
6
  createRequire(import.meta.url);
7
7
 
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { sanitizeTerminal } from './chunk-QHYCF36K.js';
4
- import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-3BEMKOFH.js';
5
- import { DEFAULT_DASHBOARD } from './chunk-N3KGXHV4.js';
6
- import { cliFetch, resolveGatewayCredentials } from './chunk-DKTXQ7XQ.js';
3
+ import { sanitizeTerminal } from './chunk-26BFN6DH.js';
4
+ import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-U5NUHRGX.js';
5
+ import { DEFAULT_DASHBOARD } from './chunk-BUT777XB.js';
6
+ import { cliFetch, resolveGatewayCredentials } from './chunk-QPSLXP6A.js';
7
7
  import { readCloudConfig } from './chunk-HWVMRETT.js';
8
8
  import { findGitDirs, writeRepoConnection, readRepoConnection } from './chunk-BJ3KTMDH.js';
9
9
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
10
- import { defaultAgents } from './chunk-PDPBWX67.js';
11
- import { remoteLookupFailed } from './chunk-6XORUAR7.js';
10
+ import { defaultAgents } from './chunk-ZN4444RL.js';
11
+ import { remoteLookupFailed } from './chunk-7GJEQXOH.js';
12
12
  import { execFileSync } from 'child_process';
13
13
  import { lstatSync } from 'fs';
14
14
  import { join, relative } from 'path';
@@ -1,17 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { readNewestDemo } from './chunk-ER6KQCVJ.js';
4
- import { runEmitArtifact } from './chunk-6YOXYZC2.js';
4
+ import { runEmitArtifact } from './chunk-AS3DUHKZ.js';
5
5
  import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
6
- import { detectActiveSession } from './chunk-MOA4PGYL.js';
7
- import { autoConnect } from './chunk-PBHAM73F.js';
6
+ import { detectActiveSession } from './chunk-DULA3AYN.js';
7
+ import { autoConnect } from './chunk-AR3SCE7R.js';
8
8
  import { C } from './chunk-2AM6Z5BP.js';
9
- import { defaultFetch, resolveGatewayCredentials } from './chunk-DKTXQ7XQ.js';
9
+ import { defaultFetch, resolveGatewayCredentials } from './chunk-QPSLXP6A.js';
10
10
  import { launchedItemForSession } from './chunk-LGJ56FCM.js';
11
- import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-36M66QKN.js';
11
+ import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-SBZX6XP6.js';
12
12
  import { homeFromEnv } from './chunk-352DHUTP.js';
13
- import { resolveRepoIdentity } from './chunk-6XORUAR7.js';
14
- import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-NEXKR5RR.js';
13
+ import { resolveRepoIdentity } from './chunk-7GJEQXOH.js';
14
+ import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-5NVF5TAL.js';
15
15
  import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
16
16
  import { createHash } from 'crypto';
17
17
  import { readFileSync, mkdtempSync, writeFileSync, statSync, rmSync, mkdirSync, existsSync, copyFileSync, accessSync, constants, realpathSync, createReadStream, createWriteStream } from 'fs';
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
3
3
  import { C } from './chunk-2AM6Z5BP.js';
4
4
  import { readCloudConfig } from './chunk-HWVMRETT.js';
5
5
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
6
- import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-PDPBWX67.js';
6
+ import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-ZN4444RL.js';
7
7
  import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
8
8
  import { join, dirname } from 'path';
9
9