@outerlayer/cli 0.41.0-next.20261118043303 → 0.41.0-next.20261118130049

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 (213) hide show
  1. package/README.md +5 -6
  2. package/dist/{agent-credential-HRNW646E.js → agent-credential-A3NYNRQZ.js} +7 -7
  3. package/dist/agent-setup-7LD2SPXX.js +43 -0
  4. package/dist/{agent-subcommand-ZILR4JWP.js → agent-subcommand-JBWCF6DW.js} +6 -6
  5. package/dist/{artifact-link-cmd-B6QPCFUL.js → artifact-link-cmd-BCGCPV4E.js} +2 -2
  6. package/dist/{bridge-HQDMB2OV.js → bridge-4UMTIJEF.js} +10 -10
  7. package/dist/build-5OOYQ3X6.js +28 -0
  8. package/dist/build-disk-K3A5TSZL.js +23 -0
  9. package/dist/build-info.json +1 -1
  10. package/dist/builder-XQVN4S2C.js +22 -0
  11. package/dist/caller-HIDRWXGV.js +25 -0
  12. package/dist/{check-UP3YYRBH.js → check-75PJJJEF.js} +59 -59
  13. package/dist/{chunk-HQYVI5T3.js → chunk-22UMHY5K.js} +100 -188
  14. package/dist/{chunk-EEPVNSQ7.js → chunk-2BLKGA6O.js} +2 -2
  15. package/dist/{chunk-UG4AUZCR.js → chunk-2IDR4YTQ.js} +950 -10
  16. package/dist/{chunk-OOW3QG7F.js → chunk-2S3Q4MKT.js} +48 -49
  17. package/dist/{chunk-4SHMBQWH.js → chunk-3HWIA4F7.js} +9 -9
  18. package/dist/{chunk-Q7S5EVU7.js → chunk-3UBNHWYC.js} +5 -5
  19. package/dist/{chunk-OOM4TEG5.js → chunk-3WCVUS2Z.js} +1 -1
  20. package/dist/{chunk-NILMZJ6I.js → chunk-3WDQFXSS.js} +11 -11
  21. package/dist/{chunk-GBP3QSDO.js → chunk-3XPNEYTJ.js} +9 -9
  22. package/dist/{chunk-QW43URTD.js → chunk-4DTWHAXO.js} +4 -4
  23. package/dist/{chunk-VNVX7KRW.js → chunk-4GLGLMDX.js} +4 -4
  24. package/dist/{chunk-TLCTOEU5.js → chunk-6ARIDREF.js} +1 -1
  25. package/dist/{chunk-INTR7TML.js → chunk-6LJ6HOMB.js} +2 -2
  26. package/dist/{chunk-NBXNBAAG.js → chunk-6NPBCLAT.js} +1 -1
  27. package/dist/{chunk-Q7Z6ELTL.js → chunk-7FAKHR6W.js} +9 -1
  28. package/dist/{chunk-HUX4NILD.js → chunk-A5YNDECV.js} +3 -3
  29. package/dist/{chunk-Y2HG7SGT.js → chunk-AEIG6IIV.js} +1 -1
  30. package/dist/{chunk-6LKTKDMY.js → chunk-ATGEXIO3.js} +2 -2
  31. package/dist/{chunk-TN3NJYI6.js → chunk-AUONCCF6.js} +4 -4
  32. package/dist/{chunk-WGR5CYGQ.js → chunk-BXJBS7DU.js} +1 -1
  33. package/dist/{chunk-WSHHRIGI.js → chunk-BYYJOL4H.js} +4 -4
  34. package/dist/{chunk-L2D3VD2K.js → chunk-C3OJZODB.js} +1 -1
  35. package/dist/{chunk-HK6555J6.js → chunk-C73EUOPF.js} +9 -9
  36. package/dist/{chunk-NFGW3C2L.js → chunk-CRFMJVYJ.js} +11 -11
  37. package/dist/{chunk-NJKM5XGH.js → chunk-CXCUBYZB.js} +5 -5
  38. package/dist/{chunk-WLWVMXM4.js → chunk-DDWQGIHZ.js} +7 -7
  39. package/dist/{chunk-B3MRE2XC.js → chunk-DRC76AT6.js} +2 -2
  40. package/dist/{chunk-4U3SWN5G.js → chunk-DUXSUYCU.js} +6 -6
  41. package/dist/{chunk-B6W2LW7E.js → chunk-DYKRQC4O.js} +1 -1
  42. package/dist/{chunk-IMWZXJ7S.js → chunk-EACOTFE4.js} +31 -31
  43. package/dist/{chunk-ZH6AN3UH.js → chunk-EHBF3L3N.js} +2 -2
  44. package/dist/{chunk-BQQ7AXXW.js → chunk-EK2WT3GB.js} +1 -1
  45. package/dist/{chunk-FGVKSK2P.js → chunk-F4EWIL7N.js} +1 -1
  46. package/dist/{chunk-ZBQDEROG.js → chunk-FJPKQVTX.js} +5 -5
  47. package/dist/{chunk-PDFCYYCC.js → chunk-GBQRVYYE.js} +3 -3
  48. package/dist/{chunk-7SLZKQBB.js → chunk-GCT2J4Y7.js} +3 -3
  49. package/dist/{chunk-XEETBQKD.js → chunk-GQADCHPA.js} +1 -1
  50. package/dist/{chunk-IL7GVNVQ.js → chunk-GRMD6ODN.js} +1 -1
  51. package/dist/{chunk-XX7LTNEB.js → chunk-H2U3YTON.js} +6 -6
  52. package/dist/{chunk-VYFML7GX.js → chunk-I3NK6WNF.js} +5 -5
  53. package/dist/{chunk-ZJL6MDF7.js → chunk-IJCG3R2B.js} +10 -10
  54. package/dist/{chunk-ZGQQ2WPG.js → chunk-J6ZWZDL4.js} +6 -6
  55. package/dist/{chunk-Z7BIDBWN.js → chunk-JB6WBOTZ.js} +7 -7
  56. package/dist/{chunk-GJC42QWN.js → chunk-JMWZJ34F.js} +8 -8
  57. package/dist/{chunk-HG3GUG5G.js → chunk-JSJRXFAF.js} +1 -1
  58. package/dist/{chunk-IL3IZXH4.js → chunk-JVKBRZFL.js} +11 -11
  59. package/dist/{chunk-PQWTPA6Z.js → chunk-KLDWF2YG.js} +20 -61
  60. package/dist/{chunk-SO7JMTVX.js → chunk-KMUKDHAY.js} +1 -1
  61. package/dist/{chunk-DJK3IK6K.js → chunk-LIPSGE6C.js} +1 -1
  62. package/dist/{chunk-QXC5QWPU.js → chunk-LWOMQZNJ.js} +7 -7
  63. package/dist/{chunk-U2AAZY5W.js → chunk-MLLR4T7L.js} +1 -1
  64. package/dist/{chunk-AXDQ3OD6.js → chunk-MLMHMLJU.js} +8 -8
  65. package/dist/{chunk-BUSPSV2F.js → chunk-MQQDEBRD.js} +9 -9
  66. package/dist/{chunk-IQTWJYFV.js → chunk-MV4VDZH5.js} +1 -1
  67. package/dist/{chunk-LI4NF5TS.js → chunk-NB34A4QI.js} +3 -3
  68. package/dist/{chunk-QYNH6MBI.js → chunk-NB52SVJ4.js} +3 -3
  69. package/dist/{chunk-36QFNTJY.js → chunk-OKYZSH7K.js} +3 -3
  70. package/dist/{chunk-OCDZ7MBX.js → chunk-P5IFJ6LR.js} +3 -3
  71. package/dist/{chunk-7FD3UTHI.js → chunk-PQA5L35J.js} +3 -3
  72. package/dist/{chunk-NH4GSJZN.js → chunk-QA3CINFO.js} +3 -3
  73. package/dist/{chunk-ILHFH56O.js → chunk-QLOJITTG.js} +1 -1
  74. package/dist/{chunk-NWQYWF6N.js → chunk-QTH3ZPB7.js} +4 -4
  75. package/dist/{chunk-X24VL3Q6.js → chunk-QYLY3Z6R.js} +1 -1
  76. package/dist/{chunk-K6LFU64M.js → chunk-RCDTKXXI.js} +4 -4
  77. package/dist/{chunk-YTEK3QUQ.js → chunk-SPWA3JVM.js} +4 -4
  78. package/dist/{chunk-QEJKRR2Q.js → chunk-SUOL5WGL.js} +6 -6
  79. package/dist/{chunk-XLZY7V3X.js → chunk-TZHVJ5WH.js} +1 -1
  80. package/dist/{chunk-IEPYESAY.js → chunk-UFCGX2Y5.js} +1 -1
  81. package/dist/{chunk-EKBY375P.js → chunk-UQHML2OB.js} +1 -1
  82. package/dist/{chunk-EMDZUXJX.js → chunk-UVEF3NPK.js} +2 -2
  83. package/dist/{chunk-23YVVYQC.js → chunk-UWRXRSCE.js} +1 -1
  84. package/dist/{chunk-QW6TKDBL.js → chunk-V3NMSDOC.js} +1 -1
  85. package/dist/{chunk-KSSIFZDR.js → chunk-VDEC6G2D.js} +5 -5
  86. package/dist/{chunk-ZMYVA3YA.js → chunk-VPPCTN32.js} +4 -4
  87. package/dist/{chunk-3HL5DUKO.js → chunk-VYET47NT.js} +7 -7
  88. package/dist/{chunk-ZDK4XRBT.js → chunk-XJ5MAYUA.js} +5 -5
  89. package/dist/{chunk-2DJBYNDC.js → chunk-YNK4J3E5.js} +1 -1
  90. package/dist/{chunk-KKIANRHM.js → chunk-YNPPXB57.js} +1 -1
  91. package/dist/{chunk-B3ZKYFBI.js → chunk-YWLRN4XV.js} +1 -1
  92. package/dist/{chunk-TXAXSZ7A.js → chunk-Z63PASAI.js} +3 -3
  93. package/dist/{chunk-TMUHUTA2.js → chunk-ZKL4BQAP.js} +1 -1
  94. package/dist/{claude-launcher-JTXL22XE.js → claude-launcher-O6LAYM6F.js} +10 -10
  95. package/dist/{cli-KVL7IJMJ.js → cli-GPY5WHYF.js} +176 -176
  96. package/dist/{command-ATRHODTN.js → command-PQIDL34C.js} +56 -56
  97. package/dist/{config-EFPTYQ4N.js → config-2ODEMRET.js} +15 -15
  98. package/dist/{connect-cmd-VL7KFY66.js → connect-cmd-3PCES6JG.js} +16 -16
  99. package/dist/{container-start-ST5I64MY.js → container-start-F75ZOLOI.js} +53 -53
  100. package/dist/{context-cleanup-AQQC4EZ6.js → context-cleanup-HMJJVD3R.js} +6 -6
  101. package/dist/{context-show-cmd-YODJEXKE.js → context-show-cmd-EFEVWXG3.js} +17 -17
  102. package/dist/{control-plane-launch-LUSKGM3T.js → control-plane-launch-JSV336S6.js} +18 -18
  103. package/dist/{demo-record-cmd-OT5X5QRX.js → demo-record-cmd-T3MRNY4F.js} +11 -11
  104. package/dist/{demo-voice-cmd-GXV57LO3.js → demo-voice-cmd-QN3F6IVB.js} +25 -25
  105. package/dist/{dist-ITIDOS3E.js → dist-WEDCUAFS.js} +2 -2
  106. package/dist/docker-U6TIZF6L.js +22 -0
  107. package/dist/{doctor-SYESAA2Y.js → doctor-RRGWO4OB.js} +55 -55
  108. package/dist/emit-artifact-cmd-DMCQEDPP.js +46 -0
  109. package/dist/{emit-cmd-IPPDMPP6.js → emit-cmd-KOG752D3.js} +9 -9
  110. package/dist/emit-criteria-cmd-6MBR43QB.js +37 -0
  111. package/dist/{emit-demo-cmd-S2RPE5TI.js → emit-demo-cmd-R7K4R7H3.js} +25 -25
  112. package/dist/{emit-finding-cmd-I3UZ6A26.js → emit-finding-cmd-U5YXGUP5.js} +19 -19
  113. package/dist/{emit-step-cmd-WRWIKVHO.js → emit-step-cmd-SRUU33RB.js} +19 -19
  114. package/dist/{exec-client-L32MBS5M.js → exec-client-Y6AAFVTZ.js} +11 -11
  115. package/dist/{find-unit-4OYP7R3I.js → find-unit-7DECI3VM.js} +16 -16
  116. package/dist/{findings-cmd-BI3PMYEP.js → findings-cmd-T2TOB6KO.js} +19 -19
  117. package/dist/fleet-readiness-KQ5V6IG3.js +33 -0
  118. package/dist/governing-source-TM2PTQ3U.js +45 -0
  119. package/dist/guest-init-WU4ZAAV5.js +22 -0
  120. package/dist/{hook-fast-LJQP5DE3.js → hook-fast-2HV5SDMH.js} +4 -4
  121. package/dist/{hook-install-33FYUDIE.js → hook-install-J6O7OY65.js} +6 -6
  122. package/dist/{hook-wrap-fast-7E5LAYEU.js → hook-wrap-fast-PILF2WIO.js} +3 -3
  123. package/dist/host-checks-NAGX2VDD.js +83 -0
  124. package/dist/host-key-7FQTMPTR.js +20 -0
  125. package/dist/{image-tag-BI6C4CKO.js → image-tag-CNURVQ6A.js} +11 -11
  126. package/dist/index.js +6 -6
  127. package/dist/{init-MB2POSL3.js → init-DUDTTY3W.js} +51 -51
  128. package/dist/init-FIB75BJT.js +83 -0
  129. package/dist/{init-agent-7EIXAFDY.js → init-agent-A63WZ3UR.js} +51 -51
  130. package/dist/init-cmd-VM2K5K33.js +55 -0
  131. package/dist/{init-update-EC4G5Q26.js → init-update-CWP654DO.js} +29 -29
  132. package/dist/install-cmd-KNSCKS5G.js +28 -0
  133. package/dist/launch-agent-G23B3AZY.js +28 -0
  134. package/dist/{layout-JQCHHAB7.js → layout-EASZTHPX.js} +6 -6
  135. package/dist/{login-browser-J5BFWBCZ.js → login-browser-FGB3SPPL.js} +2 -2
  136. package/dist/{logs-S2E32DDI.js → logs-FYUUZGVY.js} +10 -10
  137. package/dist/loop-JVCXNJII.js +93 -0
  138. package/dist/machine-4TGRLFX6.js +83 -0
  139. package/dist/{machine-skills-XOZYRCQU.js → machine-skills-YJTIV4CG.js} +6 -6
  140. package/dist/{mcp-install-cmd-2OYL5QG2.js → mcp-install-cmd-FMIWTXSN.js} +6 -6
  141. package/dist/{mcp-serve-cmd-BGUFN5HD.js → mcp-serve-cmd-XSC6JKPN.js} +12 -12
  142. package/dist/{paths-7GRBF4FR.js → paths-2NKGJEOH.js} +10 -10
  143. package/dist/pending-IPTBJ23E.js +20 -0
  144. package/dist/pidfile-JYF2IO24.js +21 -0
  145. package/dist/record-6CSKET4N.js +20 -0
  146. package/dist/{relay-LPJV7OVV.js → relay-DURC5GWY.js} +8 -8
  147. package/dist/{relay-protocol-3BVU2NN5.js → relay-protocol-Y35SJFEB.js} +8 -8
  148. package/dist/{run-cmd-VX3W4XRS.js → run-cmd-T7GT6KM7.js} +19 -19
  149. package/dist/{runner-agents-VTEO2GEK.js → runner-agents-JFQQ7IB4.js} +6 -6
  150. package/dist/runner-env-AODHERZK.js +26 -0
  151. package/dist/runner-identity-ZHHB66RZ.js +22 -0
  152. package/dist/{runner-key-4E3N523Z.js → runner-key-TN5JBLEJ.js} +51 -51
  153. package/dist/session-sender-SAS3TI3A.js +46 -0
  154. package/dist/{setup-cmd-YYICF6KV.js → setup-cmd-WBFRSOMO.js} +38 -22
  155. package/dist/{setup-wiring-MBAPYPIM.js → setup-wiring-FFAB5KTV.js} +100 -66
  156. package/dist/{shell-function-6ZFAVOSM.js → shell-function-JWLJSRIM.js} +2 -2
  157. package/dist/{spec-cmd-IOOIZLHA.js → spec-cmd-PBGFGAXJ.js} +20 -20
  158. package/dist/{starter-pack-VJ6M5POI.js → starter-pack-DQV55I24.js} +7 -7
  159. package/dist/state-LU4QEDY2.js +20 -0
  160. package/dist/{status-JMMO2LES.js → status-2NQ4ECP3.js} +51 -51
  161. package/dist/{statusline-fast-VVJF5W7X.js → statusline-fast-WRBKP3AS.js} +3 -3
  162. package/dist/{sync-cmd-MIY3CSOE.js → sync-cmd-4JT3G5OV.js} +23 -23
  163. package/dist/update-steps-HF7QE6DP.js +84 -0
  164. package/dist/{watch-3V2OVFAZ.js → watch-QHYJED4N.js} +23 -23
  165. package/dist/{work-claim-cmd-7PYXYZZJ.js → work-claim-cmd-DX5GOTQH.js} +25 -25
  166. package/dist/{work-cmd-2I7L7227.js → work-cmd-EU4NBOLZ.js} +19 -19
  167. package/dist/work-comment-cmd-T755RNST.js +41 -0
  168. package/dist/{work-demo-cmd-2I6VOWH5.js → work-demo-cmd-T5GOAB6O.js} +19 -19
  169. package/dist/{work-logs-cmd-AQBA46OJ.js → work-logs-cmd-T63RWLKG.js} +19 -19
  170. package/dist/{work-mock-cmd-AQPCQ4KI.js → work-mock-cmd-KSN7PZGO.js} +19 -19
  171. package/dist/{work-needs-attention-cmd-LW7VQFA6.js → work-needs-attention-cmd-NGKNSYT2.js} +19 -19
  172. package/dist/{work-no-change-cmd-ECYFFJFN.js → work-no-change-cmd-74TGMQHY.js} +19 -19
  173. package/dist/{work-open-pr-cmd-O4OVHG27.js → work-open-pr-cmd-D2EBUVDO.js} +20 -20
  174. package/dist/work-pr-cmd-2NZUROBY.js +36 -0
  175. package/dist/{work-proofs-cmd-C3C634CO.js → work-proofs-cmd-M56HY7FO.js} +21 -21
  176. package/dist/{work-proofs-record-S7SF4425.js → work-proofs-record-LRZ4KDWU.js} +29 -29
  177. package/dist/{work-stop-cmd-IQYI7NCK.js → work-stop-cmd-IZPPBGGN.js} +19 -19
  178. package/package.json +1 -1
  179. package/skill-pack/maintained/outerlayer-amend/SKILL.md +5 -5
  180. package/skill-pack/maintained/outerlayer-amend/references/check-items.md +16 -16
  181. package/skill-pack/maintained/outerlayer-amend/references/failed-checks.md +2 -2
  182. package/skill-pack/maintained/outerlayer-build/SKILL.md +2 -2
  183. package/skill-pack/maintained/outerlayer-build/references/release.md +1 -1
  184. package/skill-pack/maintained/outerlayer-cli/references/find-out-why-a-build-ended.md +2 -2
  185. package/dist/agent-setup-K5FWHJWR.js +0 -43
  186. package/dist/build-3HTOQKNF.js +0 -28
  187. package/dist/build-disk-SK2UT2DT.js +0 -23
  188. package/dist/builder-WCXNOGKF.js +0 -22
  189. package/dist/caller-VUQN24KZ.js +0 -25
  190. package/dist/docker-2EAXH2W2.js +0 -22
  191. package/dist/emit-artifact-cmd-FMYIDU4K.js +0 -46
  192. package/dist/emit-criteria-cmd-QXBQAOPQ.js +0 -37
  193. package/dist/fleet-readiness-7IXZYEIJ.js +0 -33
  194. package/dist/governing-source-FAXSIJ4Q.js +0 -45
  195. package/dist/guest-init-7JHRMG5K.js +0 -22
  196. package/dist/host-checks-US7MSJVQ.js +0 -83
  197. package/dist/host-key-BOUX75EI.js +0 -20
  198. package/dist/init-W46LLTR3.js +0 -83
  199. package/dist/init-cmd-VTNMWE6X.js +0 -55
  200. package/dist/install-cmd-WTKSXRM7.js +0 -28
  201. package/dist/launch-agent-JXPYZ3BW.js +0 -28
  202. package/dist/loop-HQREFLQ2.js +0 -93
  203. package/dist/machine-4K3EUQNF.js +0 -83
  204. package/dist/pending-4LIHL6P7.js +0 -20
  205. package/dist/pidfile-WYTFOPLR.js +0 -21
  206. package/dist/record-VCLLNGFQ.js +0 -20
  207. package/dist/runner-env-XHPLX7Q2.js +0 -26
  208. package/dist/runner-identity-WYXCLNP5.js +0 -22
  209. package/dist/session-sender-I4L22CLF.js +0 -46
  210. package/dist/state-TPL7K4S3.js +0 -20
  211. package/dist/update-steps-WXP7ANHM.js +0 -84
  212. package/dist/work-comment-cmd-UOT7NIQP.js +0 -41
  213. package/dist/work-pr-cmd-YKDXW5RP.js +0 -36
@@ -1,47 +1,47 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { RUNNER_PROTOCOL } from './chunk-PDZEPH24.js';
4
- import { MAX_TEST_FILE_BYTES, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, itemsSentence, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems, hostCheckOf } from './chunk-7SLZKQBB.js';
4
+ import { MAX_TEST_FILE_BYTES, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, itemsSentence, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems, hostCheckOf } from './chunk-GCT2J4Y7.js';
5
5
  import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
6
- import { upgradedStarterText } from './chunk-NJKM5XGH.js';
7
- import { runnerImageVersion } from './chunk-L2D3VD2K.js';
8
- import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, replaceFile, isAgentName, credentialFromStdin } from './chunk-VYFML7GX.js';
9
- import { describeCallFailure, shortClaim, retrySend, formatDuration, commandWithShim, logStamp, createRunnerLog, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-4SHMBQWH.js';
10
- import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-36QFNTJY.js';
11
- import { writeDockerClientConfig } from './chunk-KKIANRHM.js';
12
- import { senderPidfile } from './chunk-NWQYWF6N.js';
13
- import { installScrubContext } from './chunk-NFGW3C2L.js';
6
+ import { upgradedStarterText } from './chunk-CXCUBYZB.js';
7
+ import { runnerImageVersion } from './chunk-C3OJZODB.js';
8
+ import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, replaceFile, isAgentName, credentialFromStdin } from './chunk-I3NK6WNF.js';
9
+ import { describeCallFailure, shortClaim, retrySend, formatDuration, commandWithShim, logStamp, createRunnerLog, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-3HWIA4F7.js';
10
+ import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-OKYZSH7K.js';
11
+ import { writeDockerClientConfig } from './chunk-YNPPXB57.js';
12
+ import { senderPidfile } from './chunk-QTH3ZPB7.js';
13
+ import { installScrubContext } from './chunk-CRFMJVYJ.js';
14
14
  import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-B4XB5QFD.js';
15
- import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-B3MRE2XC.js';
15
+ import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-DRC76AT6.js';
16
16
  import { receiveFiles } from './chunk-NN33FYXG.js';
17
- import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, prepareImageBuild, readBranchHead, diffBetween, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-QXC5QWPU.js';
18
- import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-ZMYVA3YA.js';
17
+ import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, prepareImageBuild, readBranchHead, diffBetween, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-LWOMQZNJ.js';
18
+ import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-VPPCTN32.js';
19
19
  import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
20
20
  import { currentCliBuild } from './chunk-OGFGZQA3.js';
21
- import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-OOM4TEG5.js';
22
- import { linkVsockSockets, GUEST_CID, socketPathProblem, vsockLinks, LEASE_LINK } from './chunk-VNVX7KRW.js';
23
- import { getJson, postJson, WorkCommandError, isSignatureRefusal } from './chunk-IL3IZXH4.js';
24
- import { sanitizeTerminal, planArtifactUpload } from './chunk-QW6TKDBL.js';
25
- import { keyRunnerFactory, DEFAULT_WORKSPACE_KEEP_DAYS, optionalEgress, runnerCredentialProblem, builtinKind, readOnlyOption, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, allowHostProblem, systemClock, emptyEgressCounts, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, hostAllowed, sandboxTimeLimitMinutes, networkOf, DEFAULT_SETUP_MINUTES, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-WSHHRIGI.js';
26
- import { volumeBytes, formatBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-INTR7TML.js';
27
- import { spawnRun, RUNNER_LABEL, BUILD_LABEL, said, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, readDu, firstLine, JUDGE_MAX_TURNS, writeJobFile, readJobFile, readJobFileChecked, NETWORK_READY_FILE, containerExecArgs, childEnvironment, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, judgeProgram, withAnswerProtocol, JUDGE_TREE, MAX_REPORT_BYTES, runnerLabelValue, parseSize, NODE, JUDGE_HOME, JUDGE_REPORT, judgeCommand, WORKSPACE_LABEL, COMMAND_DIR, prepareRunArgs, networkHelperName, containerRunArgs, judgeProgramRecord, mountableHome, homeCopyRunArgs, MAX_ITEMS_BYTES, identityRunArgs, parseIdentity, networkHelperRunArgs, identityScript, identityArgs, homeCopyScript, homeCopyArgs, SAVED_STATE_LABEL } from './chunk-GBP3QSDO.js';
28
- import { universalImagePending, writeSanitizedRecipe, classifyProperties, RecipeError, DOCKER_FEATURE } from './chunk-HG3GUG5G.js';
29
- import { sharedSkillNames, skillConflictMessage } from './chunk-OCDZ7MBX.js';
21
+ import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-3WCVUS2Z.js';
22
+ import { linkVsockSockets, GUEST_CID, socketPathProblem, vsockLinks, LEASE_LINK } from './chunk-4GLGLMDX.js';
23
+ import { getJson, postJson, WorkCommandError, isSignatureRefusal } from './chunk-JVKBRZFL.js';
24
+ import { sanitizeTerminal, planArtifactUpload } from './chunk-V3NMSDOC.js';
25
+ import { keyRunnerFactory, DEFAULT_WORKSPACE_KEEP_DAYS, optionalEgress, runnerCredentialProblem, builtinKind, readOnlyOption, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, allowHostProblem, systemClock, emptyEgressCounts, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, hostAllowed, sandboxTimeLimitMinutes, networkOf, DEFAULT_SETUP_MINUTES, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-BYYJOL4H.js';
26
+ import { volumeBytes, formatBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-6LJ6HOMB.js';
27
+ import { spawnRun, RUNNER_LABEL, BUILD_LABEL, said, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, readDu, firstLine, JUDGE_MAX_TURNS, writeJobFile, readJobFile, readJobFileChecked, NETWORK_READY_FILE, containerExecArgs, childEnvironment, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, judgeProgram, withAnswerProtocol, JUDGE_TREE, MAX_REPORT_BYTES, runnerLabelValue, parseSize, NODE, JUDGE_HOME, JUDGE_REPORT, judgeCommand, WORKSPACE_LABEL, COMMAND_DIR, prepareRunArgs, networkHelperName, containerRunArgs, judgeProgramRecord, mountableHome, homeCopyRunArgs, MAX_ITEMS_BYTES, identityRunArgs, parseIdentity, networkHelperRunArgs, identityScript, identityArgs, homeCopyScript, homeCopyArgs, SAVED_STATE_LABEL } from './chunk-3XPNEYTJ.js';
28
+ import { universalImagePending, writeSanitizedRecipe, classifyProperties, RecipeError, DOCKER_FEATURE } from './chunk-JSJRXFAF.js';
29
+ import { sharedSkillNames, skillConflictMessage } from './chunk-P5IFJ6LR.js';
30
30
  import { readCloudConfig } from './chunk-HWVMRETT.js';
31
- import { signerFor } from './chunk-FGVKSK2P.js';
32
- import { RUNNER_FILE_MODE, sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, workspacesDir, runnerDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, vsockPath, builderConsolePath, diskTemplatesDir, jobConsolePath, deliveryDir, rootfsPathFor, SHIM_DIR } from './chunk-TMUHUTA2.js';
33
- import { dataPlaneOf, sandboxCallOf, SandboxError, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, buildEnvironment, CHECKOUT_DIR, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, trustEnvironment, checkoutPath, UsageLedger, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, parseProxied, retryAfterMsOf, proxyEnvironment, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, readBundleScript, applyTrust, describeSandboxError, dropBuildAuthority, BUILD_HOME, RELAY_PORT, variablesFor, carried6to4, classifyAddress, primaryOf, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, withheldCredentialLine, providerMayAnswerLater, repositoryPath, lifecycleWorkdir, toolProxyEnvironment, withMiseVariables, isMiseVariableAllowed } from './chunk-ZDK4XRBT.js';
34
- import { agentCredential, UNKNOWN_TRANSPORT_REASON, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, RELAY_USER, builtInNames, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, DOCKER_DESKTOP_REASON, RELAY_ID } from './chunk-QW43URTD.js';
35
- import { jobCredentialProblem, parseRunnerEnv, findAgentCredential, rejectedCredentialText, realFdStorePort, reportedAgents, removedAgentCredentialValues, currentAgentCredential, fdName } from './chunk-6LKTKDMY.js';
36
- import { versionAtLeast } from './chunk-DJK3IK6K.js';
37
- import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, commandAgentId, defaultCommandFor, defaultCommandLine, runnerAgents, credentialAgent, stallReason, judgeAgent, agentErrorReason, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, defaultAgentId, strippedVariables, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf, agentMissingFromImage } from './chunk-EEPVNSQ7.js';
38
- import { defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, resolvePackRoot } from './chunk-HQYVI5T3.js';
39
- import { PROVIDERS } from './chunk-Q7Z6ELTL.js';
31
+ import { signerFor } from './chunk-F4EWIL7N.js';
32
+ import { RUNNER_FILE_MODE, sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, workspacesDir, runnerDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, vsockPath, builderConsolePath, diskTemplatesDir, jobConsolePath, deliveryDir, rootfsPathFor, SHIM_DIR } from './chunk-ZKL4BQAP.js';
33
+ import { dataPlaneOf, sandboxCallOf, SandboxError, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, buildEnvironment, CHECKOUT_DIR, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, trustEnvironment, checkoutPath, UsageLedger, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, parseProxied, retryAfterMsOf, proxyEnvironment, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, readBundleScript, applyTrust, describeSandboxError, dropBuildAuthority, BUILD_HOME, RELAY_PORT, variablesFor, carried6to4, classifyAddress, primaryOf, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, withheldCredentialLine, providerMayAnswerLater, repositoryPath, lifecycleWorkdir, toolProxyEnvironment, withMiseVariables, isMiseVariableAllowed } from './chunk-XJ5MAYUA.js';
34
+ import { agentCredential, UNKNOWN_TRANSPORT_REASON, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, RELAY_USER, builtInNames, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, DOCKER_DESKTOP_REASON, RELAY_ID } from './chunk-4DTWHAXO.js';
35
+ import { jobCredentialProblem, parseRunnerEnv, findAgentCredential, rejectedCredentialText, realFdStorePort, reportedAgents, removedAgentCredentialValues, currentAgentCredential, fdName } from './chunk-ATGEXIO3.js';
36
+ import { versionAtLeast } from './chunk-LIPSGE6C.js';
37
+ import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, commandAgentId, defaultCommandFor, defaultCommandLine, runnerAgents, credentialAgent, stallReason, judgeAgent, agentErrorReason, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, defaultAgentId, strippedVariables, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf, agentMissingFromImage } from './chunk-2BLKGA6O.js';
38
+ import { defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, resolvePackRoot } from './chunk-22UMHY5K.js';
39
+ import { PROVIDERS } from './chunk-7FAKHR6W.js';
40
40
  import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
41
41
  import { resolveVersion } from './chunk-RA3O54FC.js';
42
42
  import { homeFromEnv } from './chunk-352DHUTP.js';
43
- import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot } from './chunk-UG4AUZCR.js';
44
- import { UNREVIEWED_FILES_ITEM_ID, CODE_REVIEW_NAME, CRITERIA_JUDGE_NAME, CHECK_ITEM_REASON_MAX_LENGTH, CheckItemsSchema, JUDGE_NOT_RUN_ITEM_ID, CHECK_ITEM_HREF_MAX_LENGTH } from './chunk-PDFCYYCC.js';
43
+ import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot } from './chunk-2IDR4YTQ.js';
44
+ import { UNREVIEWED_FILES_ITEM_ID, CHECK_ITEM_REASON_MAX_LENGTH, CRITERIA_JUDGE_NAME, CheckItemsSchema, CODE_REVIEW_NAME, JUDGE_NOT_RUN_ITEM_ID, CHECK_ITEM_HREF_MAX_LENGTH } from './chunk-GBQRVYYE.js';
45
45
  import { randomUUID, createHash, randomBytes } from 'crypto';
46
46
  import { existsSync, statSync, appendFileSync, rmSync, mkdirSync, readFileSync, mkdtempSync, readdirSync, accessSync, constants, writeFileSync, openSync, closeSync, lstatSync, renameSync, rmdirSync, unlinkSync, chmodSync, createReadStream, readSync, realpathSync, truncateSync, cpSync, writeSync, createWriteStream, copyFileSync, fstatSync, linkSync } from 'fs';
47
47
  import { join, isAbsolute, dirname, delimiter, basename, sep, relative, resolve } from 'path';
@@ -160,13 +160,13 @@ function decideFromEvaluation(read) {
160
160
  const evaluation = read.evaluation;
161
161
  if (evaluation === void 0) return { outcome: "ok" };
162
162
  if (evaluation === null) return { outcome: "incomplete", reason: "the item has no evidence evaluation yet" };
163
- if (evaluation.open.length > 0) return { outcome: "incomplete", reason: fit("checks not passing: ", evaluation.open.map(rowText)) };
163
+ if (evaluation.open.length > 0) return { outcome: "incomplete", reason: fit("not passing: ", evaluation.open.map(rowText)) };
164
164
  if (evaluation.verdict === "pass") return { outcome: "ok" };
165
165
  if (evaluation.verdict === "waiting" && evaluation.waitingOn === "links") {
166
166
  return { outcome: "incomplete", reason: "the item's evidence was still waiting on session links to be confirmed" };
167
167
  }
168
168
  if (evaluation.verdict === "waiting" && evaluation.waitingOn === "claim") {
169
- return { outcome: "incomplete", reason: "the item's required checks had no result when the build ended" };
169
+ return { outcome: "incomplete", reason: "the item's judges had no result when the build ended" };
170
170
  }
171
171
  return { outcome: "incomplete", reason: fit("the item's verdict is not passing: ", [evaluation.sentence || evaluation.verdict]) };
172
172
  }
@@ -12963,7 +12963,7 @@ async function runJudge(input) {
12963
12963
  const where = { repository: at.repository, head: at.head, branch: at.branch };
12964
12964
  if (at.answer?.ok === true) {
12965
12965
  const answered = at.items ?? [];
12966
- const failing = itemsSentence(answered, { one: "check item", many: "check items" });
12966
+ const failing = itemsSentence(answered, { one: "judge item", many: "judge items" });
12967
12967
  const said2 = at.answer.answer.result ?? (at.reply.kind === "answered" ? at.reply.verdict : void 0);
12968
12968
  const result = said2 === "pass" && failing === void 0 ? "pass" : "fail";
12969
12969
  const reason = failing ?? (said2 === "fail" ? "the judge failed the change" : said2 === void 0 ? at.reply.kind === "none" ? at.reply.reason : "the judge gave no result" : void 0);
@@ -12988,7 +12988,7 @@ async function runJudge(input) {
12988
12988
  if (items === void 0) return void 0;
12989
12989
  const parsed = CheckItemsSchema.safeParse(items);
12990
12990
  if (parsed.success) return parsed.data;
12991
- log.error(`${tag} the judge's check items were left off the result: ${parsed.error.issues.map((issue) => issue.message).join("; ")}`);
12991
+ log.error(`${tag} the judge items were left off the result: ${parsed.error.issues.map((issue) => issue.message).join("; ")}`);
12992
12992
  return void 0;
12993
12993
  }
12994
12994
  async function uploadReport(check, report, at) {
@@ -14162,8 +14162,8 @@ async function recoverLostJobs(jobsDirPath, config, deps) {
14162
14162
  }
14163
14163
 
14164
14164
  // src/runner/host-checks.ts
14165
- var MAX_VALIDATOR_FILES = 20;
14166
- var VALIDATORS_DIR = ".outerlayer/validators";
14165
+ var MAX_JUDGE_FILES = 20;
14166
+ var JUDGES_DIR = ".outerlayer/judges";
14167
14167
  var POLICY_FILE = ".outerlayer/policy.yaml";
14168
14168
  function readInside(root, rel) {
14169
14169
  const path = join(root, rel);
@@ -14198,8 +14198,8 @@ function readBrief(root, brief, log, tag = "") {
14198
14198
  }
14199
14199
  return own;
14200
14200
  }
14201
- function validatorFilesIn(root) {
14202
- const dir = join(root, VALIDATORS_DIR);
14201
+ function judgeFilesIn(root) {
14202
+ const dir = join(root, JUDGES_DIR);
14203
14203
  let names;
14204
14204
  try {
14205
14205
  if (!lstatSync(dir).isDirectory()) return [];
@@ -14208,8 +14208,8 @@ function validatorFilesIn(root) {
14208
14208
  return [];
14209
14209
  }
14210
14210
  const files = [];
14211
- for (const name of names.filter((entry) => /\.ya?ml$/.test(entry)).sort().slice(0, MAX_VALIDATOR_FILES)) {
14212
- const path = `${VALIDATORS_DIR}/${name}`;
14211
+ for (const name of names.filter((entry) => entry.endsWith(".md")).sort().slice(0, MAX_JUDGE_FILES)) {
14212
+ const path = `${JUDGES_DIR}/${name}`;
14213
14213
  const content = readInside(root, path);
14214
14214
  if (content !== void 0) files.push({ path, content });
14215
14215
  }
@@ -14241,11 +14241,10 @@ function checksIn(root, log, tag) {
14241
14241
  const base = existsSync(join(root, AGENTS_SKILLS_BASE)) ? AGENTS_SKILLS_BASE : OUTERLAYER_SKILLS_BASE;
14242
14242
  const policyText = readInside(root, POLICY_FILE);
14243
14243
  const policy = policyText === void 0 ? null : asHostReads({ path: POLICY_FILE, content: policyText }, base, log, tag);
14244
- const loaded = parsePolicy(policy, validatorFilesIn(root));
14244
+ const loaded = parsePolicy(policy, judgeFilesIn(root));
14245
14245
  for (const problem of loaded.problems) log.error(`${tag} ${problem.file}: ${problem.problem}`);
14246
- const declared = loaded.customs.filter((def) => def.level !== "off" && def.declaresEmit !== CODE_REVIEW_NAME && def.declaresEmit !== CRITERIA_JUDGE_NAME);
14247
14246
  const checks = loaded.criteriaJudge === "off" ? [] : [criteriaJudgeCheck(root, loaded.criteriaJudgeBrief, log, tag)];
14248
- for (const def of declared) checks.push({ name: def.declaresEmit, judge: { brief: def.judge.brief, text: readBrief(root, def.judge.brief, log, tag), subjects: def.judge.subjects } });
14247
+ for (const def of loaded.customs) checks.push({ name: def.id, judge: { brief: `${JUDGES_DIR}/${def.id}.md`, text: def.judge.instructions, subjects: def.judge.subjects } });
14249
14248
  return { checks };
14250
14249
  }
14251
14250
  function builtOf(job) {
@@ -14287,7 +14286,7 @@ async function readDefinitions(input, repository, scratch, token, tokens) {
14287
14286
  if (commit === void 0) return { ok: false, reason: "the repository's default branch could not be read" };
14288
14287
  const fetched = await (deps.fetchCommit ?? fetchCommit)({ remote, dir: repo, commit, token });
14289
14288
  if (!fetched.ok) return { ok: false, reason: fetched.reason };
14290
- deps.log.line(`${tag} check definitions read at ${commit.slice(0, 12)}`);
14289
+ deps.log.line(`${tag} judges read at ${commit.slice(0, 12)}`);
14291
14290
  return { ok: true, ...checksIn(repo, deps.log, tag) };
14292
14291
  }
14293
14292
  function timeoutAfter(ms, sleep) {
@@ -14308,7 +14307,7 @@ function makeRecorder(input) {
14308
14307
  return async (name, result, sentence, opts = {}) => {
14309
14308
  signer ??= await signerFor(config.configPath);
14310
14309
  const keyTail = opts.keyTail ?? "";
14311
- const body = sentence === void 0 ? void 0 : cutReasonLine(`${scrubReason(sentence, config, void 0, jobDir) ?? "check failed"}${keyTail}`);
14310
+ const body = sentence === void 0 ? void 0 : cutReasonLine(`${scrubReason(sentence, config, void 0, jobDir) ?? "failed with no reason"}${keyTail}`);
14312
14311
  const clientEmitId = `host-${createHash("sha256").update(`${job.claimId}:${job.startedAt}:${name}${opts.idTag === void 0 ? "" : `:${opts.idTag}`}`).digest("hex").slice(0, 40)}`;
14313
14312
  const sent = await retrySend(
14314
14313
  () => postJson(
@@ -14327,8 +14326,8 @@ function makeRecorder(input) {
14327
14326
  ),
14328
14327
  { now: deps.now }
14329
14328
  );
14330
- if (sent.ok) deps.log.line(`${tag} check ${name} ${result}${body === void 0 ? "" : `: ${body}`}`);
14331
- else deps.log.error(`${tag} check ${name} ${result} could not be recorded: ${sent.reason}`);
14329
+ if (sent.ok) deps.log.line(`${tag} result ${name} ${result}${body === void 0 ? "" : `: ${body}`}`);
14330
+ else deps.log.error(`${tag} result ${name} ${result} could not be recorded: ${sent.reason}`);
14332
14331
  };
14333
14332
  }
14334
14333
 
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { newTokenRetry } from './chunk-FJGYU2EK.js';
4
- import { WorkCommandError, postJson } from './chunk-IL3IZXH4.js';
5
- import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-Q7S5EVU7.js';
6
- import { buildRefusalReason } from './chunk-EMDZUXJX.js';
7
- import { signingFetchFor } from './chunk-SO7JMTVX.js';
8
- import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-OCDZ7MBX.js';
9
- import { signerFor } from './chunk-FGVKSK2P.js';
10
- import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-TMUHUTA2.js';
11
- import { SandboxError, describeSandboxError } from './chunk-ZDK4XRBT.js';
12
- import { SHIM_SCRIPT, shimScriptFor, GOVERNANCE_VARIABLE } from './chunk-DJK3IK6K.js';
4
+ import { WorkCommandError, postJson } from './chunk-JVKBRZFL.js';
5
+ import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-3UBNHWYC.js';
6
+ import { buildRefusalReason } from './chunk-UVEF3NPK.js';
7
+ import { signingFetchFor } from './chunk-KMUKDHAY.js';
8
+ import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-P5IFJ6LR.js';
9
+ import { signerFor } from './chunk-F4EWIL7N.js';
10
+ import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-ZKL4BQAP.js';
11
+ import { SandboxError, describeSandboxError } from './chunk-XJ5MAYUA.js';
12
+ import { SHIM_SCRIPT, shimScriptFor, GOVERNANCE_VARIABLE } from './chunk-LIPSGE6C.js';
13
13
  import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
14
14
  import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
15
15
  import { relative, join, dirname } from 'path';
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RemovedTargetError, removedTargetError } from './chunk-EMDZUXJX.js';
4
- import { removeRetiredSkills } from './chunk-ILHFH56O.js';
3
+ import { RemovedTargetError, removedTargetError } from './chunk-UVEF3NPK.js';
4
+ import { removeRetiredSkills } from './chunk-QLOJITTG.js';
5
5
  import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
6
- import { defaultFetch, resolveGatewayCredentials } from './chunk-SO7JMTVX.js';
7
- import { withTokenHeader } from './chunk-ZDK4XRBT.js';
6
+ import { defaultFetch, resolveGatewayCredentials } from './chunk-KMUKDHAY.js';
7
+ import { withTokenHeader } from './chunk-XJ5MAYUA.js';
8
8
  import { appendContextProvenance } from './chunk-545P7JY7.js';
9
9
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
10
10
  import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
11
- import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-HQYVI5T3.js';
11
+ import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-22UMHY5K.js';
12
12
  import { homeFromEnv } from './chunk-352DHUTP.js';
13
13
  import { execFileSync } from 'child_process';
14
14
  import { existsSync, mkdirSync, writeFileSync, chmodSync, lstatSync, readFileSync, copyFileSync } from 'fs';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { EXEC_PORT } from './chunk-VNVX7KRW.js';
3
+ import { EXEC_PORT } from './chunk-4GLGLMDX.js';
4
4
  import { createConnection } from 'net';
5
5
 
6
6
  createRequire(import.meta.url);
@@ -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-7SLZKQBB.js';
4
- import { WorkCommandError, resolveCredentials, getJson } from './chunk-IL3IZXH4.js';
5
- import { sanitizeTerminal } from './chunk-QW6TKDBL.js';
3
+ import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-GCT2J4Y7.js';
4
+ import { WorkCommandError, resolveCredentials, getJson } from './chunk-JVKBRZFL.js';
5
+ import { sanitizeTerminal } from './chunk-V3NMSDOC.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { defaultFetch } from './chunk-SO7JMTVX.js';
7
+ import { defaultFetch } from './chunk-KMUKDHAY.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-HQYVI5T3.js';
12
- import { resolveRepoIdentity } from './chunk-UG4AUZCR.js';
13
- import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-PDFCYYCC.js';
11
+ import { parseProofsConfig } from './chunk-22UMHY5K.js';
12
+ import { resolveRepoIdentity } from './chunk-2IDR4YTQ.js';
13
+ import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-GBQRVYYE.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-US7MSJVQ.js');
132
+ const { testProofIn } = await import('./host-checks-NAGX2VDD.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 } = await import('./host-checks-US7MSJVQ.js');
139
+ const { checksIn } = await import('./host-checks-NAGX2VDD.js');
140
140
  const quiet = { line: () => void 0, error: () => void 0 };
141
141
  const check = checksIn(dir, quiet, "").checks.find((c) => c.judge.subjects === "criteria");
142
142
  return check === void 0 ? {} : { name: check.name };
@@ -156,7 +156,7 @@ async function findUnproven(input) {
156
156
  const items = hostItemsOf(input.item, found.name);
157
157
  const result = unprovenCriteria({ criteria, items, changedTestsSince: (commit) => changedTestsBetween(input.cwd, commit, input.head, { at }) });
158
158
  const check = Object(input.item).checks?.find((c) => Object(c).name === found.name);
159
- if (check?.source === "host" && check.result === "fail" && items.length === 0) result.notes.unshift("the gateway returned no check items for the judge's result");
159
+ if (check?.source === "host" && check.result === "fail" && items.length === 0) result.notes.unshift("the gateway returned no judge items for the judge's result");
160
160
  return result;
161
161
  } catch (err) {
162
162
  return { entries: [], notes: [err instanceof Error ? err.message : String(err)] };
@@ -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-S7SF4425.js');
375
+ const { runWorkProofsRecord } = await import('./work-proofs-record-LRZ4KDWU.js');
376
376
  const result2 = await runWorkProofsRecord(opts);
377
377
  process.exitCode = result2.exitCode;
378
378
  return;
@@ -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-HG3GUG5G.js';
4
- import { ensureHostKey } from './chunk-FGVKSK2P.js';
5
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-TMUHUTA2.js';
6
- import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-ZDK4XRBT.js';
7
- import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-QW43URTD.js';
8
- import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-EEPVNSQ7.js';
9
- import { defaultAgents } from './chunk-HQYVI5T3.js';
10
- import { PROVIDERS } from './chunk-Q7Z6ELTL.js';
11
- import { compareVersions } from './chunk-UG4AUZCR.js';
3
+ import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-JSJRXFAF.js';
4
+ import { ensureHostKey } from './chunk-F4EWIL7N.js';
5
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-ZKL4BQAP.js';
6
+ import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-XJ5MAYUA.js';
7
+ import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-4DTWHAXO.js';
8
+ import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-2BLKGA6O.js';
9
+ import { defaultAgents } from './chunk-22UMHY5K.js';
10
+ import { PROVIDERS } from './chunk-7FAKHR6W.js';
11
+ import { compareVersions } from './chunk-2IDR4YTQ.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';
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { readAgentCredential, credentialForAgent } from './chunk-6LKTKDMY.js';
4
- import { providersOf, credentialAgent, jobAgent, runnerAgents, MANAGED_KIND, judgeAgent } from './chunk-EEPVNSQ7.js';
5
- import { defaultAgents } from './chunk-HQYVI5T3.js';
6
- import { PROVIDERS } from './chunk-Q7Z6ELTL.js';
3
+ import { readAgentCredential, credentialForAgent } from './chunk-ATGEXIO3.js';
4
+ import { providersOf, credentialAgent, jobAgent, runnerAgents, MANAGED_KIND, judgeAgent } from './chunk-2BLKGA6O.js';
5
+ import { defaultAgents } from './chunk-22UMHY5K.js';
6
+ import { PROVIDERS } from './chunk-7FAKHR6W.js';
7
7
 
8
8
  createRequire(import.meta.url);
9
9
 
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-ZDK4XRBT.js';
4
- import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-QW43URTD.js';
5
- import { defaultAgents } from './chunk-HQYVI5T3.js';
6
- import { PROVIDERS } from './chunk-Q7Z6ELTL.js';
3
+ import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-XJ5MAYUA.js';
4
+ import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-4DTWHAXO.js';
5
+ import { defaultAgents } from './chunk-22UMHY5K.js';
6
+ import { PROVIDERS } from './chunk-7FAKHR6W.js';
7
7
  import { symlinkSync, unlinkSync } from 'fs';
8
8
  import { join } from 'path';
9
9
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { decodeWrappedCommand } from './chunk-ZHQC43NH.js';
4
- import { hookCodec } from './chunk-B6W2LW7E.js';
4
+ import { hookCodec } from './chunk-DYKRQC4O.js';
5
5
  import { homeFromEnv } from './chunk-352DHUTP.js';
6
6
  import { readFileSync, mkdirSync, appendFileSync, writeFileSync } from 'fs';
7
7
  import { spawn } from 'child_process';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-GBP3QSDO.js';
4
- import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-TMUHUTA2.js';
3
+ import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-3XPNEYTJ.js';
4
+ import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-ZKL4BQAP.js';
5
5
  import { spawnSync } from 'child_process';
6
6
  import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
7
7
  import { dirname, join } from 'path';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { currentLink } from './chunk-U2AAZY5W.js';
3
+ import { currentLink } from './chunk-MLLR4T7L.js';
4
4
  import { readFileSync, statSync, chmodSync, mkdirSync, writeFileSync, renameSync, rmSync, existsSync, lstatSync, accessSync, constants, realpathSync } from 'fs';
5
5
  import { randomBytes } from 'crypto';
6
6
  import { join, dirname, delimiter, resolve } from 'path';
@@ -178,6 +178,14 @@ var NATIVE_AGENTS = {
178
178
  };
179
179
  var LEGACY_AGENT = "claude-code";
180
180
 
181
+ // ../agents/src/model-key-need.ts
182
+ function modelKeysReady(keys) {
183
+ return keys.every((key) => !key.needed || key.set);
184
+ }
185
+ function missingModelKeys(keys) {
186
+ return keys.filter((key) => key.needed && !key.set);
187
+ }
188
+
181
189
  // ../agents/src/providers/index.ts
182
190
  var PROVIDERS = {
183
191
  anthropic: {
@@ -222,4 +230,4 @@ function isModelId(value) {
222
230
  return typeof value === "string" && MODEL_ID_PATTERN.test(value);
223
231
  }
224
232
 
225
- export { CLAUDE_CODE, CODEX, LEGACY_AGENT, MODEL_ID_RULE, NATIVE_AGENTS, OPENCODE, PROVIDERS, agentLabel, homeRelative, isModelId, isRunnerAgent, runnerAgentIds };
233
+ export { CLAUDE_CODE, CODEX, LEGACY_AGENT, MODEL_ID_RULE, NATIVE_AGENTS, OPENCODE, PROVIDERS, agentLabel, homeRelative, isModelId, isRunnerAgent, missingModelKeys, modelKeysReady, runnerAgentIds };
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { LAUNCH_AGENT_ENV } from './chunk-TXKHD4Q6.js';
4
- import { execStartArgv } from './chunk-U2AAZY5W.js';
5
- import { DEFAULT_UNIT_NAME } from './chunk-XX7LTNEB.js';
6
- import { runnerDir } from './chunk-TMUHUTA2.js';
4
+ import { execStartArgv } from './chunk-MLLR4T7L.js';
5
+ import { DEFAULT_UNIT_NAME } from './chunk-H2U3YTON.js';
6
+ import { runnerDir } from './chunk-ZKL4BQAP.js';
7
7
  import { join, dirname } from 'path';
8
8
 
9
9
  createRequire(import.meta.url);
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { defaultAgents } from './chunk-HQYVI5T3.js';
3
+ import { defaultAgents } from './chunk-22UMHY5K.js';
4
4
  import { openSync, fstatSync, readSync, closeSync } from 'fs';
5
5
  import { join } from 'path';
6
6
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { credentialEnvPath, runnerAgents, credentialNames, credentialForms, credentialAgent, strippedVariables, orList, credentialShapes, managedOfferedAgents, listedAgents, agentsNeedingCredential, judgeAgent, forwardedVariables } from './chunk-EEPVNSQ7.js';
4
- import { defaultAgents } from './chunk-HQYVI5T3.js';
3
+ import { credentialEnvPath, runnerAgents, credentialNames, credentialForms, credentialAgent, strippedVariables, orList, credentialShapes, managedOfferedAgents, listedAgents, agentsNeedingCredential, judgeAgent, forwardedVariables } from './chunk-2BLKGA6O.js';
4
+ import { defaultAgents } from './chunk-22UMHY5K.js';
5
5
  import { statSync, readFileSync } from 'fs';
6
6
  import { join, basename } from 'path';
7
7
  import { spawn, spawnSync } from 'child_process';
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-NBXNBAAG.js';
4
- import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-U2AAZY5W.js';
3
+ import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-6NPBCLAT.js';
4
+ import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-MLLR4T7L.js';
5
5
  import { compareVersions } from './chunk-TQMI335S.js';
6
- import { defaultRunnerConfigPath } from './chunk-WSHHRIGI.js';
7
- import { runnerDir, RUNNER_DIR_MODE } from './chunk-TMUHUTA2.js';
6
+ import { defaultRunnerConfigPath } from './chunk-BYYJOL4H.js';
7
+ import { runnerDir, RUNNER_DIR_MODE } from './chunk-ZKL4BQAP.js';
8
8
  import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
9
9
  import { dirname, sep, join, resolve } from 'path';
10
10
  import { spawnSync } from 'child_process';
@@ -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-HQYVI5T3.js';
6
+ import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-22UMHY5K.js';
7
7
  import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
8
8
  import { join, dirname } from 'path';
9
9
 
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-INTR7TML.js';
4
- import { parseSize } from './chunk-GBP3QSDO.js';
5
- import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-ZDK4XRBT.js';
6
- import { builderDiskPinned, agentIdOfCommand, defaultCommandFor, headlessAgentIds } from './chunk-EEPVNSQ7.js';
3
+ import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-6LJ6HOMB.js';
4
+ import { parseSize } from './chunk-3XPNEYTJ.js';
5
+ import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-XJ5MAYUA.js';
6
+ import { builderDiskPinned, agentIdOfCommand, defaultCommandFor, headlessAgentIds } from './chunk-2BLKGA6O.js';
7
7
  import { homeFromEnv } from './chunk-352DHUTP.js';
8
8
  import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
9
9
  import { hostname } from 'os';
@@ -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-TMUHUTA2.js';
4
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-ZKL4BQAP.js';
5
5
  import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
6
6
  import { join } from 'path';
7
7
 
@@ -1,17 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { runEmit } from './chunk-ZBQDEROG.js';
4
- import { listWithAnd } from './chunk-BUSPSV2F.js';
5
- import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-WGR5CYGQ.js';
6
- import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-ZH6AN3UH.js';
7
- import { installStarterPack } from './chunk-LI4NF5TS.js';
3
+ import { runEmit } from './chunk-FJPKQVTX.js';
4
+ import { listWithAnd } from './chunk-MQQDEBRD.js';
5
+ import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-BXJBS7DU.js';
6
+ import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-EHBF3L3N.js';
7
+ import { installStarterPack } from './chunk-NB34A4QI.js';
8
8
  import { C } from './chunk-2AM6Z5BP.js';
9
- import { resolveGitCommonDir, defaultGitRunner } from './chunk-Q7S5EVU7.js';
9
+ import { resolveGitCommonDir, defaultGitRunner } from './chunk-3UBNHWYC.js';
10
10
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
11
- import { linkedAgentsPath } from './chunk-X24VL3Q6.js';
11
+ import { linkedAgentsPath } from './chunk-QYLY3Z6R.js';
12
12
  import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
13
- import { generatedHeaderSource, defaultAgents, loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE, legacyAgent, laptopAgents } from './chunk-HQYVI5T3.js';
14
- import { LEGACY_AGENT } from './chunk-Q7Z6ELTL.js';
13
+ import { generatedHeaderSource, defaultAgents, loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE, legacyAgent, laptopAgents } from './chunk-22UMHY5K.js';
14
+ import { LEGACY_AGENT } from './chunk-7FAKHR6W.js';
15
15
  import { execFileSync } from 'child_process';
16
16
  import { existsSync, mkdirSync, writeFileSync } from 'fs';
17
17
  import { join, dirname } from 'path';
@@ -1,26 +1,26 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { uploadSpooledSteps } from './chunk-4U3SWN5G.js';
3
+ import { uploadSpooledSteps } from './chunk-DUXSUYCU.js';
4
4
  import { LaunchFilter } from './chunk-C2PZOLN7.js';
5
- import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-QW6TKDBL.js';
5
+ import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-V3NMSDOC.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-SO7JMTVX.js';
7
+ import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-KMUKDHAY.js';
8
8
  import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
9
- import { signerFor, signRunnerRequest } from './chunk-FGVKSK2P.js';
10
- import { SCRUB_ENV_VARIABLE } from './chunk-ZDK4XRBT.js';
11
- import { writeSyncStatus, logHookError, spoolDir } from './chunk-QEJKRR2Q.js';
9
+ import { signerFor, signRunnerRequest } from './chunk-F4EWIL7N.js';
10
+ import { SCRUB_ENV_VARIABLE } from './chunk-XJ5MAYUA.js';
11
+ import { writeSyncStatus, logHookError, spoolDir } from './chunk-SUOL5WGL.js';
12
12
  import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
13
13
  import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
14
- import { hookExecSpoolPath } from './chunk-TLCTOEU5.js';
14
+ import { hookExecSpoolPath } from './chunk-6ARIDREF.js';
15
15
  import { applyReportedCost } from './chunk-BKO6JEZI.js';
16
16
  import { readLaunchSpoolState, launchStatusIsDecisive, parseRunEnv, launchedItemsBySession, launchesPath } from './chunk-LGJ56FCM.js';
17
17
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
18
18
  import { removeJournalHooks } from './chunk-CJPTUU2E.js';
19
- import { legacyAgent, captureAgents, captureAdapters } from './chunk-HQYVI5T3.js';
20
- import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-Q7Z6ELTL.js';
19
+ import { legacyAgent, captureAgents, captureAdapters } from './chunk-22UMHY5K.js';
20
+ import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7FAKHR6W.js';
21
21
  import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
22
- import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, WARNING_CODES, ZSTD_UNSUPPORTED_MESSAGE, scrubDeep } from './chunk-UG4AUZCR.js';
23
- import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-PDFCYYCC.js';
22
+ import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, WARNING_CODES, ZSTD_UNSUPPORTED_MESSAGE, scrubDeep } from './chunk-2IDR4YTQ.js';
23
+ import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-GBQRVYYE.js';
24
24
  import { dirname, basename, join, sep } from 'path';
25
25
  import { statSync, readFileSync, readdirSync, mkdirSync, writeFileSync, renameSync, existsSync, rmSync } from 'fs';
26
26
  import { execFileSync } from 'child_process';