@outerlayer/cli 0.38.0-next.20261110133110 → 0.38.0-next.20261111004457

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 (181) hide show
  1. package/dist/agent-setup-OU7CGYSN.js +40 -0
  2. package/dist/{agent-subcommand-5PNHUNZZ.js → agent-subcommand-GG4PSHYT.js} +4 -4
  3. package/dist/{artifact-link-cmd-XOFZP7U5.js → artifact-link-cmd-L4BXSQQP.js} +2 -2
  4. package/dist/{bridge-RNM7OWRW.js → bridge-MVW5RNQD.js} +7 -7
  5. package/dist/{build-VKO7IVOQ.js → build-D4Y3LBPO.js} +13 -13
  6. package/dist/{build-disk-M2JYJF6R.js → build-disk-VDMWH3C3.js} +11 -11
  7. package/dist/build-info.json +1 -1
  8. package/dist/{builder-HMHJ6U7C.js → builder-6L5ZMXBE.js} +10 -10
  9. package/dist/caller-FFSXVMLB.js +23 -0
  10. package/dist/{check-3XHEVEXS.js → check-U5DOQU64.js} +55 -55
  11. package/dist/{chunk-SBPMDO47.js → chunk-2HLMGVK6.js} +1 -1
  12. package/dist/{chunk-TW2V2IQ4.js → chunk-2KUFDLLY.js} +1 -1
  13. package/dist/{chunk-XCTE5S2C.js → chunk-2PYQ6BZJ.js} +1 -1
  14. package/dist/{chunk-HMDEF3UT.js → chunk-2ZPXDOCU.js} +16 -16
  15. package/dist/{chunk-ALCZ2SEW.js → chunk-3AHABZMA.js} +5 -5
  16. package/dist/{chunk-5QFFQCSY.js → chunk-3IL6H7A4.js} +1 -1
  17. package/dist/{chunk-5QDHJT73.js → chunk-4JKCTCCC.js} +6 -5
  18. package/dist/{chunk-NE7EG3SN.js → chunk-4S6ML2YX.js} +4 -4
  19. package/dist/{chunk-ATQHPT3B.js → chunk-5TODASD5.js} +1 -1
  20. package/dist/{chunk-C574RHGN.js → chunk-5U4IKVF5.js} +3 -3
  21. package/dist/{chunk-AC6DM3S3.js → chunk-6Z5AC4ZK.js} +1 -1
  22. package/dist/{chunk-IGO766M6.js → chunk-7GYY7RHR.js} +4 -4
  23. package/dist/{chunk-OI4ZV7MJ.js → chunk-7ILAGC3U.js} +1 -1
  24. package/dist/{chunk-YOAJLD2D.js → chunk-7NRULS6C.js} +7 -7
  25. package/dist/{chunk-VU5PPWIQ.js → chunk-A6CCWLUP.js} +7 -7
  26. package/dist/{chunk-YZQYTOCR.js → chunk-BYWVHMBR.js} +1 -1
  27. package/dist/{chunk-QNHBJU74.js → chunk-BZSGU2WC.js} +9 -9
  28. package/dist/{chunk-UCUBQWJC.js → chunk-CKA4JQKR.js} +1 -1
  29. package/dist/{chunk-ITOIM3WV.js → chunk-CSFMIUYS.js} +1 -1
  30. package/dist/{chunk-QGUCHNSQ.js → chunk-D7OVS2LL.js} +3 -3
  31. package/dist/{chunk-PA6FKP5B.js → chunk-DDEJP7YT.js} +6 -6
  32. package/dist/{chunk-72LXVD4O.js → chunk-DNCF3XOC.js} +4 -4
  33. package/dist/{chunk-MBPBYMHU.js → chunk-E5G6K7C4.js} +1 -1
  34. package/dist/{chunk-L32O52SH.js → chunk-EKV7QATX.js} +1 -1
  35. package/dist/{chunk-F2ADK2KB.js → chunk-EN3OWMED.js} +5 -5
  36. package/dist/{chunk-VNHDMOZW.js → chunk-F5ONFHHU.js} +52 -31
  37. package/dist/{chunk-MT4XF5OL.js → chunk-G2CRPYFO.js} +2 -2
  38. package/dist/{chunk-3HJK7WTM.js → chunk-GELUV567.js} +137 -14
  39. package/dist/{chunk-TUSIYONR.js → chunk-HWXBOHEA.js} +1 -1
  40. package/dist/{chunk-2TXYQANG.js → chunk-IWJFARST.js} +1 -1
  41. package/dist/{chunk-DKDBMMX7.js → chunk-IZHI643L.js} +6 -6
  42. package/dist/{chunk-I2N427GS.js → chunk-J3KW7GPE.js} +8 -8
  43. package/dist/{chunk-47JRSV6Y.js → chunk-J4DTF5MN.js} +1 -1
  44. package/dist/{chunk-QFQ2UNZU.js → chunk-JASHMKDN.js} +6 -6
  45. package/dist/{chunk-25G5KXBE.js → chunk-JDXYBQBZ.js} +7 -7
  46. package/dist/{chunk-I64CTY4U.js → chunk-JNEK36QK.js} +113 -63
  47. package/dist/{chunk-E27XMQKR.js → chunk-JP5D37RZ.js} +3 -3
  48. package/dist/{chunk-EHPKACA7.js → chunk-JPO6RJEW.js} +1 -1
  49. package/dist/{chunk-IVB6A3I7.js → chunk-JRM35NTG.js} +7 -7
  50. package/dist/{chunk-735C5J6Q.js → chunk-LNTNFSRI.js} +5 -5
  51. package/dist/{chunk-L6CZTRNW.js → chunk-MRSN67FY.js} +1 -1
  52. package/dist/{chunk-RBLXGO5K.js → chunk-MV5WJEIB.js} +2 -2
  53. package/dist/{chunk-WH2QUYXH.js → chunk-MX5XVAOI.js} +2 -2
  54. package/dist/{chunk-OK4RSIB2.js → chunk-N3KGXHV4.js} +1 -1
  55. package/dist/{chunk-7E55P2NR.js → chunk-NAKFPE2V.js} +1 -1
  56. package/dist/{chunk-2KGYMIVS.js → chunk-NBJPY3OC.js} +14 -14
  57. package/dist/{chunk-XAR2CJFV.js → chunk-NCPZP6PQ.js} +7 -7
  58. package/dist/{chunk-FXVHF6RX.js → chunk-NEXKR5RR.js} +64 -13
  59. package/dist/{chunk-VRWZNI6U.js → chunk-NIQXLC6A.js} +1 -1
  60. package/dist/{chunk-3DY4DQOC.js → chunk-ONZNFKCH.js} +4 -4
  61. package/dist/{chunk-BTH6HTE5.js → chunk-OUKSF3LK.js} +5 -5
  62. package/dist/{chunk-6RQP5GP5.js → chunk-OVJSVC5U.js} +2 -2
  63. package/dist/{chunk-ENHD5PNW.js → chunk-OWBNADRQ.js} +1 -1
  64. package/dist/{chunk-MSARYPFD.js → chunk-OZDUVL5L.js} +2 -2
  65. package/dist/{chunk-FGBBGUM4.js → chunk-P5XX7VZ6.js} +4 -4
  66. package/dist/{chunk-YO2NPS66.js → chunk-PG33WPRF.js} +1 -1
  67. package/dist/{chunk-OEWSICWM.js → chunk-QB5MU2WS.js} +8 -8
  68. package/dist/{chunk-B5Z4VA4Q.js → chunk-QHYCF36K.js} +1 -1
  69. package/dist/{chunk-2WNJ2MHD.js → chunk-R6UNNKV3.js} +1 -1
  70. package/dist/{chunk-TD6DN5LU.js → chunk-RI37FFPL.js} +3 -3
  71. package/dist/{chunk-GJMLLXZJ.js → chunk-RWXLTF3K.js} +1 -1
  72. package/dist/{chunk-XFU37HIM.js → chunk-U43K2JS5.js} +3 -3
  73. package/dist/{chunk-6XROZIV6.js → chunk-UF3X5ECJ.js} +6 -6
  74. package/dist/{chunk-VQQF6MDT.js → chunk-W5OAKC2W.js} +10 -10
  75. package/dist/{chunk-BCQFMAGM.js → chunk-WPGGRTF4.js} +3 -3
  76. package/dist/{chunk-67BVM7JK.js → chunk-WVJDXOIG.js} +3 -3
  77. package/dist/{chunk-CXXQQST7.js → chunk-WWGXWKLT.js} +9 -9
  78. package/dist/{chunk-UUSSRXUJ.js → chunk-X7BVDOS2.js} +3 -3
  79. package/dist/{chunk-OWEJP5HJ.js → chunk-YB3M2TM3.js} +1 -1
  80. package/dist/{chunk-HDEYRLWK.js → chunk-YE3KPAT5.js} +1 -1
  81. package/dist/{chunk-3GTAPQBG.js → chunk-YWQ3S3F5.js} +2 -2
  82. package/dist/{chunk-B4U5XI4F.js → chunk-ZNQRFRBW.js} +8 -8
  83. package/dist/{claude-launcher-WMIUTAXY.js → claude-launcher-GNRTFQMI.js} +7 -7
  84. package/dist/{cli-VQNE6M77.js → cli-SNHD2D6X.js} +170 -160
  85. package/dist/{command-XQPL75PX.js → command-NTKAT7KB.js} +50 -50
  86. package/dist/{config-ZRGYLVDX.js → config-LUIWZESD.js} +12 -12
  87. package/dist/{connect-cmd-MZXTWM4R.js → connect-cmd-4M4DN6GO.js} +13 -13
  88. package/dist/{container-start-M7SFF62T.js → container-start-BVEDUA7N.js} +48 -48
  89. package/dist/{context-cleanup-Z3HZZZXW.js → context-cleanup-JPPSK7DE.js} +4 -4
  90. package/dist/{context-show-cmd-SCOVPVDM.js → context-show-cmd-DAMQJOAL.js} +14 -14
  91. package/dist/{control-plane-launch-MWZHJ4G5.js → control-plane-launch-SD45JYKF.js} +14 -14
  92. package/dist/{demo-record-cmd-4RVSWVMK.js → demo-record-cmd-CFOXCR42.js} +8 -8
  93. package/dist/{demo-voice-cmd-PGM5JPCQ.js → demo-voice-cmd-4YZJPUIP.js} +20 -20
  94. package/dist/{dist-XEPPXF4M.js → dist-5VKIP767.js} +2 -2
  95. package/dist/{docker-25F2KOBJ.js → docker-2DLKQOK3.js} +10 -10
  96. package/dist/{doctor-Z3U3ICVR.js → doctor-VFCDAKM4.js} +50 -50
  97. package/dist/{emit-artifact-cmd-Z4SHPKFT.js → emit-artifact-cmd-IWZDXJBY.js} +19 -19
  98. package/dist/{emit-cmd-NHMZ4M5S.js → emit-cmd-AIAY4WTW.js} +7 -7
  99. package/dist/{emit-criteria-cmd-HCN3DOJM.js → emit-criteria-cmd-UVCLLYEZ.js} +16 -16
  100. package/dist/{emit-demo-cmd-NOSQTOES.js → emit-demo-cmd-BHKNT36Y.js} +20 -20
  101. package/dist/{emit-finding-cmd-YXR3ZVCJ.js → emit-finding-cmd-Y3XX26B4.js} +16 -16
  102. package/dist/{emit-result-cmd-Z7MBE37R.js → emit-result-cmd-TTQ3MLY4.js} +18 -18
  103. package/dist/{emit-step-cmd-JOSYDSEO.js → emit-step-cmd-EASDIM5Q.js} +16 -16
  104. package/dist/{exec-client-SZRXXKJ5.js → exec-client-MEIRWXLR.js} +8 -8
  105. package/dist/find-unit-2RZ4NCXQ.js +24 -0
  106. package/dist/{findings-cmd-NGFY25WZ.js → findings-cmd-KQOL6NJG.js} +16 -16
  107. package/dist/{fleet-readiness-NWIVQQ4P.js → fleet-readiness-R2BMWLXQ.js} +14 -14
  108. package/dist/governing-source-ARSS7R7L.js +41 -0
  109. package/dist/{guest-init-T7QJW2AJ.js → guest-init-UGBFOWNC.js} +9 -9
  110. package/dist/{hook-fast-ECQBMESE.js → hook-fast-DC556GE2.js} +1 -1
  111. package/dist/{hook-install-MBMG3G6B.js → hook-install-QQXREIMI.js} +4 -4
  112. package/dist/host-checks-UTZBDSWV.js +80 -0
  113. package/dist/host-key-CTRFLP2W.js +18 -0
  114. package/dist/{image-tag-OCVY4W5D.js → image-tag-RU4RHPIT.js} +8 -8
  115. package/dist/index.js +4 -4
  116. package/dist/init-I5HVGOQC.js +80 -0
  117. package/dist/{init-NRN2DQC3.js → init-QFTRSBBT.js} +46 -46
  118. package/dist/{init-agent-GDOZHPQH.js → init-agent-TKQ67BS4.js} +46 -46
  119. package/dist/{init-cmd-QJYX47LS.js → init-cmd-I36LJ6YC.js} +27 -27
  120. package/dist/{init-update-EUJ4264S.js → init-update-KG7V3VJF.js} +24 -24
  121. package/dist/{install-cmd-HWG6LJX5.js → install-cmd-66Z7TY52.js} +10 -10
  122. package/dist/{layout-CGE4KWGO.js → layout-CE6QLPNH.js} +4 -4
  123. package/dist/{login-browser-G7WNR74C.js → login-browser-COSWHZEC.js} +2 -2
  124. package/dist/{logs-TKWJ4S4W.js → logs-XWMVEAUP.js} +7 -7
  125. package/dist/loop-YCOSJRLW.js +90 -0
  126. package/dist/machine-BJEAYCHT.js +80 -0
  127. package/dist/{machine-skills-CXA57QHE.js → machine-skills-YJLPUAYZ.js} +4 -4
  128. package/dist/{mcp-install-cmd-6IGK65DV.js → mcp-install-cmd-VSWX5BSZ.js} +4 -4
  129. package/dist/{mcp-serve-cmd-DVE5XP2U.js → mcp-serve-cmd-M7CX4RO3.js} +9 -9
  130. package/dist/{paths-VOWYUJLZ.js → paths-GQ66KHNT.js} +7 -7
  131. package/dist/pending-COVCIH4Q.js +18 -0
  132. package/dist/{pidfile-MFP6B2KV.js → pidfile-RBG6FQ7K.js} +8 -8
  133. package/dist/{record-AWCJ3LTG.js → record-6IAZ26H3.js} +8 -8
  134. package/dist/{relay-YVZM5M6B.js → relay-VEBGGPYV.js} +5 -5
  135. package/dist/{relay-protocol-MNWITORT.js → relay-protocol-2AJCUAMJ.js} +5 -5
  136. package/dist/{run-cmd-MBH5Z2UL.js → run-cmd-EJPHCENL.js} +16 -16
  137. package/dist/{runner-agents-L3PLYFWJ.js → runner-agents-P562WZJB.js} +4 -4
  138. package/dist/runner-env-XPZ3FPQL.js +24 -0
  139. package/dist/{runner-identity-E2XKIJNB.js → runner-identity-TAJAY5M5.js} +10 -10
  140. package/dist/{runner-key-W5M6AYY5.js → runner-key-I3M7GEJE.js} +46 -46
  141. package/dist/{session-sender-IS6S7PBC.js → session-sender-OIOE4QR2.js} +19 -19
  142. package/dist/{spec-cmd-ZLDYL4N5.js → spec-cmd-2J43XP3L.js} +17 -17
  143. package/dist/{starter-pack-XINCCMDN.js → starter-pack-IT2KYFWU.js} +5 -5
  144. package/dist/state-NAZKB77R.js +18 -0
  145. package/dist/{status-L7R6FKWD.js → status-BFRDAZQP.js} +46 -46
  146. package/dist/{sync-cmd-3YZ4IB3T.js → sync-cmd-KWTFVQCR.js} +18 -18
  147. package/dist/update-steps-LINCNPGV.js +81 -0
  148. package/dist/{watch-LIIODJ5U.js → watch-3IBFF2SQ.js} +18 -18
  149. package/dist/{work-claim-cmd-GWBWIZ43.js → work-claim-cmd-C2WFSOKE.js} +22 -22
  150. package/dist/{work-cmd-CJWTGOU5.js → work-cmd-DO2QNBKA.js} +16 -16
  151. package/dist/{work-comment-cmd-RFVCNEET.js → work-comment-cmd-P5VJHCX7.js} +18 -18
  152. package/dist/{work-demo-cmd-Q2GKJCVL.js → work-demo-cmd-UJBZLOMQ.js} +16 -16
  153. package/dist/{work-logs-cmd-KZQBPU2J.js → work-logs-cmd-OVE5JUMH.js} +16 -16
  154. package/dist/{work-needs-attention-cmd-L3DOYAMK.js → work-needs-attention-cmd-QNCOUXMT.js} +16 -16
  155. package/dist/{work-no-change-cmd-SHP25CJB.js → work-no-change-cmd-KQSONMJX.js} +16 -16
  156. package/dist/{work-open-pr-cmd-VATPLVSL.js → work-open-pr-cmd-HBE74CZU.js} +17 -17
  157. package/dist/{work-pr-cmd-XBLNONT3.js → work-pr-cmd-62BGKUJM.js} +16 -16
  158. package/dist/work-proofs-cmd-SLUFPOEN.js +37 -0
  159. package/dist/{work-proofs-record-2RDDJ6CK.js → work-proofs-record-6KGPMUHD.js} +117 -37
  160. package/dist/{work-stop-cmd-BLOSL24H.js → work-stop-cmd-7WEHA365.js} +16 -16
  161. package/package.json +1 -1
  162. package/skill-pack/maintained/outerlayer-build/SKILL.md +13 -4
  163. package/skill-pack/maintained/outerlayer-build/references/agent-briefs.md +10 -8
  164. package/skill-pack/maintained/outerlayer-build/references/evidence.md +33 -23
  165. package/skill-pack/maintained/outerlayer-build/references/release.md +2 -2
  166. package/skill-pack/maintained/outerlayer-findings/SKILL.md +46 -41
  167. package/skill-pack/maintained/outerlayer-findings/references/examples.md +23 -0
  168. package/dist/agent-setup-GZBGCV3K.js +0 -40
  169. package/dist/caller-U26SATTV.js +0 -23
  170. package/dist/find-unit-3RHC4375.js +0 -24
  171. package/dist/governing-source-DNWVPRXP.js +0 -41
  172. package/dist/host-checks-QLGWXKOC.js +0 -80
  173. package/dist/host-key-6SMJUTJ2.js +0 -18
  174. package/dist/init-JY3XYZI6.js +0 -80
  175. package/dist/loop-HWYHQ374.js +0 -90
  176. package/dist/machine-NVXRV4BO.js +0 -80
  177. package/dist/pending-35ML3JE5.js +0 -18
  178. package/dist/runner-env-IHWYZ3B6.js +0 -24
  179. package/dist/state-NIA6XT7D.js +0 -18
  180. package/dist/update-steps-6SPAPBAB.js +0 -81
  181. package/dist/work-proofs-cmd-27IPS3EY.js +0 -37
@@ -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-BCQFMAGM.js';
4
- import { WorkCommandError, resolveCredentials, getJson } from './chunk-B4U5XI4F.js';
5
- import { sanitizeTerminal } from './chunk-B5Z4VA4Q.js';
3
+ import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-WPGGRTF4.js';
4
+ import { WorkCommandError, resolveCredentials, getJson } from './chunk-ZNQRFRBW.js';
5
+ import { sanitizeTerminal } from './chunk-QHYCF36K.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { defaultFetch } from './chunk-VRWZNI6U.js';
7
+ import { defaultFetch } from './chunk-NIQXLC6A.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-MT4XF5OL.js';
12
- import { resolveRepoIdentity } from './chunk-MBPBYMHU.js';
13
- import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-FXVHF6RX.js';
11
+ import { parseProofsConfig } from './chunk-G2CRPYFO.js';
12
+ import { resolveRepoIdentity } from './chunk-E5G6K7C4.js';
13
+ import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-NEXKR5RR.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-QLGWXKOC.js');
132
+ const { testProofIn } = await import('./host-checks-UTZBDSWV.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-QLGWXKOC.js');
139
+ const { checksIn, isJudgeCheck } = await import('./host-checks-UTZBDSWV.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 };
@@ -301,7 +301,7 @@ function classifyProofsAt(data, heads, listing = {}) {
301
301
  return entries;
302
302
  }
303
303
  var STATE_LABEL = { current: "current", "out-of-date": "out of date", missing: "missing" };
304
- function renderEntry(e) {
304
+ function renderProofRow(e) {
305
305
  const id = sanitizeTerminal(e.id);
306
306
  if (e.state === "failed") {
307
307
  return `${id} none failed ${sanitizeTerminal(e.commit)} The judge failed it: ${sanitizeTerminal(e.reason)} No test file has changed since. Add or change a test that proves ${id}.`;
@@ -314,7 +314,7 @@ function renderEntry(e) {
314
314
  function render(entries, notes, json, tests) {
315
315
  if (json) return JSON.stringify(entries);
316
316
  const none = tests ? "No criterion declares a proof." : "No criterion declares a proof other than test.";
317
- const lines = entries.length === 0 ? [none] : entries.map(renderEntry);
317
+ const lines = entries.length === 0 ? [none] : entries.map(renderProofRow);
318
318
  if (notes.length > 0) lines.push(`The command could not check the judge's results: ${notes.map(sanitizeTerminal).join("; ")}.`);
319
319
  return lines.join("\n");
320
320
  }
@@ -371,8 +371,8 @@ async function runWorkProofs(opts) {
371
371
  }
372
372
  async function runWorkProofsCommand(opts) {
373
373
  try {
374
- if (opts.record) {
375
- const { runWorkProofsRecord } = await import('./work-proofs-record-2RDDJ6CK.js');
374
+ if (opts.record || opts.check) {
375
+ const { runWorkProofsRecord } = await import('./work-proofs-record-6KGPMUHD.js');
376
376
  const result2 = await runWorkProofsRecord(opts);
377
377
  process.exitCode = result2.exitCode;
378
378
  return;
@@ -390,4 +390,4 @@ async function runWorkProofsCommand(opts) {
390
390
  }
391
391
  }
392
392
 
393
- export { classifyProofs, classifyProofsAt, freshXmlFiles, joinResults, kindProblem, otherPullRequestHeads, ownPullRequest, proofsCommentBody, proofsCommentId, resolveProofsItem, runWorkProofs, runWorkProofsCommand, testFilesOf, testProofMode, testSelectors };
393
+ export { classifyProofs, classifyProofsAt, freshXmlFiles, joinResults, kindProblem, otherPullRequestHeads, ownPullRequest, proofsCommentBody, proofsCommentId, renderProofRow, resolveProofsItem, runWorkProofs, runWorkProofsCommand, testFilesOf, testProofMode, testSelectors };
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { toolsDockerfile } from './chunk-72LXVD4O.js';
4
- import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-OI4ZV7MJ.js';
3
+ import { toolsDockerfile } from './chunk-DNCF3XOC.js';
4
+ import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-7ILAGC3U.js';
5
5
  import { startTimeOf } from './chunk-JBJTC3UU.js';
6
- import { runnerLabelValue } from './chunk-I2N427GS.js';
7
- import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-2TXYQANG.js';
8
- import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-AC6DM3S3.js';
9
- import { withGitConfig, tokenHeader } from './chunk-NE7EG3SN.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-UCUBQWJC.js';
6
+ import { runnerLabelValue } from './chunk-J3KW7GPE.js';
7
+ import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-IWJFARST.js';
8
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-6Z5AC4ZK.js';
9
+ import { withGitConfig, tokenHeader } from './chunk-4S6ML2YX.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-CKA4JQKR.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';
@@ -5516,8 +5516,8 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
5516
5516
  const _normalized = cached(() => normalizeDef(def));
5517
5517
  const memo2 = globalConfig.memoizer;
5518
5518
  const generateFastpass = (shape) => {
5519
- const normalized = _normalized.value;
5520
- const syms = normalized.symbolKeys;
5519
+ const normalized2 = _normalized.value;
5520
+ const syms = normalized2.symbolKeys;
5521
5521
  const doc = new Doc(["payload", "ctx"], { shape, inst, memo: memo2, syms });
5522
5522
  const parseStr = (k) => `shape[${k}]._zod.run({ value: input[${k}], issues: [] }, ctx)`;
5523
5523
  const prefixStr = (id, k) => `
@@ -5535,11 +5535,11 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
5535
5535
  doc.write(`const input = payload.value;`);
5536
5536
  const ids = /* @__PURE__ */ Object.create(null);
5537
5537
  let counter = 0;
5538
- for (const key of normalized.allKeys) {
5538
+ for (const key of normalized2.allKeys) {
5539
5539
  ids[key] = `key_${counter++}`;
5540
5540
  }
5541
5541
  doc.write(memo2 ? `const newResult = memo.alloc(inst, payload, {}, ctx);` : `const newResult = {};`);
5542
- for (const key of normalized.allKeys) {
5542
+ for (const key of normalized2.allKeys) {
5543
5543
  if (key === "__proto__")
5544
5544
  continue;
5545
5545
  const id = ids[key];
@@ -21368,23 +21368,23 @@ function fromJSONSchema(schema, params) {
21368
21368
  if (typeof schema === "boolean") {
21369
21369
  return schema ? z.any() : z.never();
21370
21370
  }
21371
- let normalized;
21371
+ let normalized2;
21372
21372
  try {
21373
- normalized = JSON.parse(JSON.stringify(schema));
21373
+ normalized2 = JSON.parse(JSON.stringify(schema));
21374
21374
  } catch {
21375
21375
  throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas");
21376
21376
  }
21377
- const version2 = detectVersion(normalized, params?.defaultTarget);
21378
- const defs = normalized.$defs || normalized.definitions || {};
21377
+ const version2 = detectVersion(normalized2, params?.defaultTarget);
21378
+ const defs = normalized2.$defs || normalized2.definitions || {};
21379
21379
  const ctx = {
21380
21380
  version: version2,
21381
21381
  defs,
21382
21382
  refs: /* @__PURE__ */ new Map(),
21383
21383
  processing: /* @__PURE__ */ new Set(),
21384
- rootSchema: normalized,
21384
+ rootSchema: normalized2,
21385
21385
  registry: params?.registry ?? globalRegistry
21386
21386
  };
21387
- return convertSchema(normalized, ctx);
21387
+ return convertSchema(normalized2, ctx);
21388
21388
  }
21389
21389
 
21390
21390
  // ../../node_modules/zod/v4/core/visit.js
@@ -22299,8 +22299,8 @@ var KIND_BY_MEDIA_TYPE = {
22299
22299
  };
22300
22300
  function inferArtifactKind(mediaType) {
22301
22301
  var _a3, _b, _c;
22302
- const normalized = (_b = (_a3 = mediaType.split(";")[0]) == null ? void 0 : _a3.trim().toLowerCase()) != null ? _b : "";
22303
- return (_c = KIND_BY_MEDIA_TYPE[normalized]) != null ? _c : "file";
22302
+ const normalized2 = (_b = (_a3 = mediaType.split(";")[0]) == null ? void 0 : _a3.trim().toLowerCase()) != null ? _b : "";
22303
+ return (_c = KIND_BY_MEDIA_TYPE[normalized2]) != null ? _c : "file";
22304
22304
  }
22305
22305
  var MEDIA_TYPE_BY_EXTENSION = {
22306
22306
  webm: "video/webm",
@@ -22518,6 +22518,8 @@ var FINDING_COMMAND_MAX_LENGTH = 500;
22518
22518
  var FINDING_ERROR_MAX_LENGTH = 1e3;
22519
22519
  var FINDING_TEST_MAX_LENGTH = 500;
22520
22520
  var FINDING_SYMBOL_MAX_LENGTH = 300;
22521
+ var FINDING_CODE_EXCERPT_MAX_LENGTH = 2e3;
22522
+ var FINDING_TRANSCRIPT_EXCERPT_MAX_LENGTH = 4e3;
22521
22523
  var FINDING_EVENT_ID_MAX_LENGTH = 64;
22522
22524
  var FINDING_PROBLEMS_MAX = 5;
22523
22525
  var FINDING_LINK_REASON_MAX_LENGTH = 1e3;
@@ -22531,6 +22533,12 @@ var FindingRuleSchema = external_exports.strictObject({
22531
22533
  quote: external_exports.string().min(1).max(FINDING_RULE_QUOTE_MAX_LENGTH).optional(),
22532
22534
  relation: external_exports.enum(FINDING_RULE_RELATIONS)
22533
22535
  });
22536
+ var FindingCodeExcerptSchema = external_exports.strictObject({
22537
+ path: external_exports.string().min(1).max(FINDING_FILE_MAX_LENGTH),
22538
+ startLine: external_exports.number().int().min(1).max(FINDING_LINE_MAX),
22539
+ text: external_exports.string().min(1).max(FINDING_CODE_EXCERPT_MAX_LENGTH),
22540
+ sha: external_exports.string().min(1).max(64).optional()
22541
+ });
22534
22542
  var FindingWhereSchema = external_exports.object({
22535
22543
  label: external_exports.string().min(1).max(FINDING_WHERE_LABEL_MAX_LENGTH),
22536
22544
  traceId: external_exports.string().min(1).max(FINDING_TRACE_ID_MAX_LENGTH).optional(),
@@ -22552,6 +22560,11 @@ var FindingRecordSchema = external_exports.strictObject({
22552
22560
  error: external_exports.string().min(1).max(FINDING_ERROR_MAX_LENGTH).optional(),
22553
22561
  test: external_exports.string().min(1).max(FINDING_TEST_MAX_LENGTH).optional(),
22554
22562
  symbol: external_exports.string().min(1).max(FINDING_SYMBOL_MAX_LENGTH).optional(),
22563
+ /** Captured by the CLI, never typed by the agent: the code at `line`,
22564
+ * and the session's own record of where the problem began. Optional on
22565
+ * the wire, so a finding from an older CLI is still stored. */
22566
+ codeExcerpt: FindingCodeExcerptSchema.optional(),
22567
+ transcriptExcerpt: external_exports.string().min(1).max(FINDING_TRANSCRIPT_EXCERPT_MAX_LENGTH).optional(),
22555
22568
  /** Where the problem began and where the agent got past it: two events of
22556
22569
  * the recording session. Both or neither. */
22557
22570
  startedAt: FindingEventSchema.optional(),
@@ -22649,6 +22662,44 @@ var FindingsResponseSchema = external_exports.object({
22649
22662
  count: external_exports.number().int(),
22650
22663
  results: external_exports.array(FindingResultSchema)
22651
22664
  });
22665
+ function blank(value) {
22666
+ return value === void 0 || value.trim() === "";
22667
+ }
22668
+ function normalized(text) {
22669
+ return text.toLowerCase().replace(/[^a-z0-9]+/g, " ").trim();
22670
+ }
22671
+ function findingGaps(record2) {
22672
+ const gaps = [];
22673
+ if (blank(record2.detail)) {
22674
+ gaps.push({ field: "detail", reason: "say what happened: what you ran, what you expected, and what you saw" });
22675
+ } else if (normalized(record2.detail) === normalized(record2.title)) {
22676
+ gaps.push({ field: "detail", reason: "the detail repeats the title; say what happened, not what the problem is" });
22677
+ }
22678
+ if (blank(record2.cause)) {
22679
+ gaps.push({ field: "cause", reason: "say what is actually wrong, or write unknown" });
22680
+ }
22681
+ switch (record2.category) {
22682
+ case "context":
22683
+ if (record2.rule && record2.rule.relation !== "missing" && (record2.rule.line === void 0 || record2.rule.line === null)) {
22684
+ gaps.push({ field: "rule.line", reason: "name the line of the rule you quote" });
22685
+ }
22686
+ break;
22687
+ case "flaky-test":
22688
+ if (blank(record2.test)) gaps.push({ field: "test", reason: "name the test that failed and then passed" });
22689
+ if (blank(record2.command)) gaps.push({ field: "command", reason: "give the command that failed" });
22690
+ break;
22691
+ case "tooling":
22692
+ case "environment":
22693
+ if (blank(record2.command)) gaps.push({ field: "command", reason: "give the command that misbehaved" });
22694
+ if (blank(record2.error)) gaps.push({ field: "error", reason: "copy the first error line exactly as the output printed it" });
22695
+ break;
22696
+ case "defect":
22697
+ if (record2.line === void 0 || record2.line === null) gaps.push({ field: "line", reason: "name the line the bug is on" });
22698
+ if (blank(record2.symbol)) gaps.push({ field: "symbol", reason: "name the function the bug is in" });
22699
+ break;
22700
+ }
22701
+ return gaps;
22702
+ }
22652
22703
  var SAME_PROBLEM_RULES = [
22653
22704
  "1. Same problem means one fix resolves both. The same error or symptom is not enough.",
22654
22705
  "2. A gap in the instructions is its own problem, separate from the thing it fails to mention. They are fixed in different places.",
@@ -23000,4 +23051,4 @@ xmlchars/xmlns/1.0/ed3.js:
23000
23051
  *)
23001
23052
  */
23002
23053
 
23003
- export { ARTIFACT_KINDS, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, ARTIFACT_MAX_FILENAME_LENGTH, ARTIFACT_MAX_REPLACES_TARGETS, ATTACHMENT_CLIENT_ID_HEADER, ATTACHMENT_FILENAME_HEADER, ATTACHMENT_SHA256_HEADER, ArtifactCriterionIdSchema, ArtifactSpoolRecordSchema, ArtifactTombstoneRecordSchema, BUCKET_MODEL_MAX_LENGTH, CAPTURE_TIERS, CHECK_ITEMS_MAX, CHECK_ITEM_HREF_MAX_LENGTH, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEM_REFS_MAX, CHECK_ITEM_REF_PATH_MAX_LENGTH, CLI_LOGIN_KIND, CLI_LOGIN_MACHINE_NAME_MAX, CODE_REVIEW_NAME, CheckItemsSchema, CliLoginPollResponseSchema, CliLoginRefusalSchema, CliLoginStartedSchema, CriteriaListSchema, DEMO_MANIFEST_LATEST_VERSION, DEMO_RECORD_MEDIA_TYPE, DemoManifestSchema, EMITTED_RESULTS, EMITTED_RESULT_MAX_BODY_LENGTH, EMITTED_RESULT_MAX_LINK_LENGTH, EVENT_TYPES, EmittedNameSchema, FindingBatchSchema, FindingsResponseSchema, INPUT_BAND_BOUNDARIES, JUDGE_NOT_RUN_ITEM_ID, RESERVED_EMIT_NAMES, REVIEWED_COMMIT_ITEM_ID, SAME_PROBLEM_RULES, SCHEMA_VERSION, SPEED_MAX_LENGTH, StepBodySchema, StepNameSchema, UNREVIEWED_FILES_ITEM_ID, WORK_ITEM_ATTACHMENTS_MAX_PER_COMMENT, WORK_ITEM_ATTACHMENTS_MAX_TOTAL_BYTES, WORK_ITEM_ATTACHMENT_MAX_BYTES, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, attachmentKind, bannedPathsForTier, bindTests, cleanAttachmentFilename, downconvertSession, inferArtifactKind, inputBandOf, isHumanUserTurn, isTestSourcePath, itemsAllowResult, mediaTypeForArtifactPath, parseAgentSession, parseJunit, parseTestSelector, turnCountBound };
23054
+ export { ARTIFACT_KINDS, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, ARTIFACT_MAX_FILENAME_LENGTH, ARTIFACT_MAX_REPLACES_TARGETS, ATTACHMENT_CLIENT_ID_HEADER, ATTACHMENT_FILENAME_HEADER, ATTACHMENT_SHA256_HEADER, ArtifactCriterionIdSchema, ArtifactSpoolRecordSchema, ArtifactTombstoneRecordSchema, BUCKET_MODEL_MAX_LENGTH, CAPTURE_TIERS, CHECK_ITEMS_MAX, CHECK_ITEM_HREF_MAX_LENGTH, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEM_REFS_MAX, CHECK_ITEM_REF_PATH_MAX_LENGTH, CLI_LOGIN_KIND, CLI_LOGIN_MACHINE_NAME_MAX, CODE_REVIEW_NAME, CheckItemsSchema, CliLoginPollResponseSchema, CliLoginRefusalSchema, CliLoginStartedSchema, CriteriaListSchema, DEMO_MANIFEST_LATEST_VERSION, DEMO_RECORD_MEDIA_TYPE, DemoManifestSchema, EMITTED_RESULTS, EMITTED_RESULT_MAX_BODY_LENGTH, EMITTED_RESULT_MAX_LINK_LENGTH, EVENT_TYPES, EmittedNameSchema, FINDING_CODE_EXCERPT_MAX_LENGTH, FINDING_TRANSCRIPT_EXCERPT_MAX_LENGTH, FindingBatchSchema, FindingsResponseSchema, INPUT_BAND_BOUNDARIES, JUDGE_NOT_RUN_ITEM_ID, RESERVED_EMIT_NAMES, REVIEWED_COMMIT_ITEM_ID, SAME_PROBLEM_RULES, SCHEMA_VERSION, SPEED_MAX_LENGTH, StepBodySchema, StepNameSchema, UNREVIEWED_FILES_ITEM_ID, WORK_ITEM_ATTACHMENTS_MAX_PER_COMMENT, WORK_ITEM_ATTACHMENTS_MAX_TOTAL_BYTES, WORK_ITEM_ATTACHMENT_MAX_BYTES, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, attachmentKind, bannedPathsForTier, bindTests, cleanAttachmentFilename, downconvertSession, findingGaps, inferArtifactKind, inputBandOf, isHumanUserTurn, isTestSourcePath, itemsAllowResult, mediaTypeForArtifactPath, parseAgentSession, parseJunit, parseTestSelector, turnCountBound };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
4
- import { signRunnerRequest, signerFor } from './chunk-ENHD5PNW.js';
4
+ import { signRunnerRequest, signerFor } from './chunk-OWBNADRQ.js';
5
5
  import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
6
6
  import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-I45HTSSA.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { detectActiveSession } from './chunk-SBPMDO47.js';
4
- import { autoConnect } from './chunk-XFU37HIM.js';
3
+ import { detectActiveSession } from './chunk-2HLMGVK6.js';
4
+ import { autoConnect } from './chunk-U43K2JS5.js';
5
5
  import { C } from './chunk-2AM6Z5BP.js';
6
- import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-VRWZNI6U.js';
6
+ import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-NIQXLC6A.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-MBPBYMHU.js';
10
+ import { resolveRepoIdentity } from './chunk-E5G6K7C4.js';
11
11
 
12
12
  createRequire(import.meta.url);
13
13
 
@@ -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-TUSIYONR.js';
4
- import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-6RQP5GP5.js';
5
- import { skillsBaseFor } from './chunk-YO2NPS66.js';
3
+ import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-HWXBOHEA.js';
4
+ import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-OVJSVC5U.js';
5
+ import { skillsBaseFor } from './chunk-PG33WPRF.js';
6
6
  import { findGitDirs } from './chunk-BJ3KTMDH.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
8
- import { hasSymlinkComponent } from './chunk-ITOIM3WV.js';
8
+ import { hasSymlinkComponent } from './chunk-CSFMIUYS.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-MT4XF5OL.js';
10
+ import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-G2CRPYFO.js';
11
11
  import { createHash } from 'crypto';
12
12
  import { existsSync, readFileSync } from 'fs';
13
13
  import { join } from 'path';
@@ -2,8 +2,8 @@
2
2
  import { createRequire } from 'node:module';
3
3
  import { C } from './chunk-2AM6Z5BP.js';
4
4
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
5
- import { linkedAgentsPath } from './chunk-ITOIM3WV.js';
6
- import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-MT4XF5OL.js';
5
+ import { linkedAgentsPath } from './chunk-CSFMIUYS.js';
6
+ import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-G2CRPYFO.js';
7
7
  import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
8
8
  import { MAINTAINED_SKILLS } from './chunk-ATEMEVFF.js';
9
9
  import { resolvePackageVersion } from './chunk-RA3O54FC.js';
@@ -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-AC6DM3S3.js';
3
+ import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-6Z5AC4ZK.js';
4
4
  import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
5
5
  import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
6
6
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { keyRunnerFactory, RunnerConfigError } from './chunk-5QDHJT73.js';
4
- import { orgHomeDir } from './chunk-AC6DM3S3.js';
3
+ import { keyRunnerFactory, RunnerConfigError } from './chunk-4JKCTCCC.js';
4
+ import { orgHomeDir } from './chunk-6Z5AC4ZK.js';
5
5
 
6
6
  createRequire(import.meta.url);
7
7
 
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { LiveUploader } from './chunk-CXXQQST7.js';
4
- import { spoolDir } from './chunk-QGUCHNSQ.js';
3
+ import { LiveUploader } from './chunk-WWGXWKLT.js';
4
+ import { spoolDir } from './chunk-D7OVS2LL.js';
5
5
  import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
6
- import { sessionFolderIn, legacyAgent } from './chunk-MT4XF5OL.js';
6
+ import { sessionFolderIn, legacyAgent } from './chunk-G2CRPYFO.js';
7
7
  import { homeFromEnv } from './chunk-352DHUTP.js';
8
- import { CaptureDaemon } from './chunk-MBPBYMHU.js';
8
+ import { CaptureDaemon } from './chunk-E5G6K7C4.js';
9
9
  import { mkdirSync, writeFileSync, rmSync } from 'fs';
10
10
  import { join } from 'path';
11
11
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-MT4XF5OL.js';
3
+ import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-G2CRPYFO.js';
4
4
  import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
5
5
  import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
6
6
  import { relative, sep, join, posix } from 'path';
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { runEmit } from './chunk-IGO766M6.js';
4
- import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-TUSIYONR.js';
5
- import { installStarterPack } from './chunk-6RQP5GP5.js';
6
- import { listWithAnd } from './chunk-QFQ2UNZU.js';
7
- import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-YO2NPS66.js';
3
+ import { runEmit } from './chunk-7GYY7RHR.js';
4
+ import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-HWXBOHEA.js';
5
+ import { installStarterPack } from './chunk-OVJSVC5U.js';
6
+ import { listWithAnd } from './chunk-JASHMKDN.js';
7
+ import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-PG33WPRF.js';
8
8
  import { C } from './chunk-2AM6Z5BP.js';
9
- import { resolveGitCommonDir, defaultGitRunner } from './chunk-ALCZ2SEW.js';
9
+ import { resolveGitCommonDir, defaultGitRunner } from './chunk-3AHABZMA.js';
10
10
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
11
- import { linkedAgentsPath } from './chunk-ITOIM3WV.js';
11
+ import { linkedAgentsPath } from './chunk-CSFMIUYS.js';
12
12
  import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
13
- import { generatedHeaderSource, defaultAgents, loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE, legacyAgent, laptopAgents } from './chunk-MT4XF5OL.js';
13
+ import { generatedHeaderSource, defaultAgents, loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE, legacyAgent, laptopAgents } from './chunk-G2CRPYFO.js';
14
14
  import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
15
15
  import { execFileSync } from 'child_process';
16
16
  import { existsSync, mkdirSync, writeFileSync } from 'fs';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
3
  import { homeFromEnv } from './chunk-352DHUTP.js';
4
- import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-FXVHF6RX.js';
4
+ import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-NEXKR5RR.js';
5
5
  import { mkdirSync, appendFileSync, writeFileSync, renameSync, unlinkSync, existsSync, readdirSync, readFileSync, statSync } from 'fs';
6
6
  import { join, dirname } from 'path';
7
7
 
@@ -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-AC6DM3S3.js';
4
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-6Z5AC4ZK.js';
5
5
  import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
6
6
  import { join } from 'path';
7
7
 
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-NE7EG3SN.js';
4
- import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-WH2QUYXH.js';
5
- import { defaultAgents } from './chunk-MT4XF5OL.js';
3
+ import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-4S6ML2YX.js';
4
+ import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-MX5XVAOI.js';
5
+ import { defaultAgents } from './chunk-G2CRPYFO.js';
6
6
  import { PROVIDERS } from './chunk-7PZDPISM.js';
7
7
  import { symlinkSync, unlinkSync } from 'fs';
8
8
  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-MT4XF5OL.js';
4
+ import { legacyAgent, defaultAgents, HookTextError } from './chunk-G2CRPYFO.js';
5
5
 
6
6
  createRequire(import.meta.url);
7
7
 
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-QFQ2UNZU.js';
4
- import { resolveGatewayCredentials } from './chunk-VRWZNI6U.js';
3
+ import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-JASHMKDN.js';
4
+ import { resolveGatewayCredentials } from './chunk-NIQXLC6A.js';
5
5
  import { readCloudConfig } from './chunk-HWVMRETT.js';
6
6
  import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
7
7
  import { cliInvocation } from './chunk-FZKNTIOJ.js';
8
8
  import { homeFromEnv } from './chunk-352DHUTP.js';
9
- import { resolveRepoIdentity } from './chunk-MBPBYMHU.js';
9
+ import { resolveRepoIdentity } from './chunk-E5G6K7C4.js';
10
10
 
11
11
  createRequire(import.meta.url);
12
12
 
@@ -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-SBPMDO47.js';
5
- import { autoConnect } from './chunk-XFU37HIM.js';
6
- import { acquireSpoolLockAt } from './chunk-B5Z4VA4Q.js';
4
+ import { detectActiveSession } from './chunk-2HLMGVK6.js';
5
+ import { autoConnect } from './chunk-U43K2JS5.js';
6
+ import { acquireSpoolLockAt } from './chunk-QHYCF36K.js';
7
7
  import { C } from './chunk-2AM6Z5BP.js';
8
- import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-VRWZNI6U.js';
8
+ import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-NIQXLC6A.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-MBPBYMHU.js';
13
- import { StepNameSchema, StepBodySchema } from './chunk-FXVHF6RX.js';
12
+ import { resolveRepoIdentity } from './chunk-E5G6K7C4.js';
13
+ import { StepNameSchema, StepBodySchema } from './chunk-NEXKR5RR.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,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { placeholderQueues, placeholderProblem } from './chunk-I64CTY4U.js';
4
- import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-DKDBMMX7.js';
5
- import { getJson, WorkCommandError } from './chunk-B4U5XI4F.js';
6
- import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-5QDHJT73.js';
7
- import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-RBLXGO5K.js';
8
- import { ensureHostKey } from './chunk-ENHD5PNW.js';
9
- import { sandboxSettingsFrom } from './chunk-NE7EG3SN.js';
10
- import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-WH2QUYXH.js';
11
- import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-UCUBQWJC.js';
12
- import { defaultAgents } from './chunk-MT4XF5OL.js';
3
+ import { placeholderQueues, placeholderProblem } from './chunk-JNEK36QK.js';
4
+ import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-IZHI643L.js';
5
+ import { getJson, WorkCommandError } from './chunk-ZNQRFRBW.js';
6
+ import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-4JKCTCCC.js';
7
+ import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-MV5WJEIB.js';
8
+ import { ensureHostKey } from './chunk-OWBNADRQ.js';
9
+ import { sandboxSettingsFrom } from './chunk-4S6ML2YX.js';
10
+ import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-MX5XVAOI.js';
11
+ import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-CKA4JQKR.js';
12
+ import { defaultAgents } from './chunk-G2CRPYFO.js';
13
13
  import { closeSync, openSync, constants, readFileSync } from 'fs';
14
14
  import { join, dirname } from 'path';
15
15
  import { totalmem } from 'os';
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { sanitizeTerminal } from './chunk-B5Z4VA4Q.js';
4
- import { resolvePackRoot, parseProofsConfig } from './chunk-MT4XF5OL.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-FXVHF6RX.js';
3
+ import { sanitizeTerminal } from './chunk-QHYCF36K.js';
4
+ import { resolvePackRoot, parseProofsConfig } from './chunk-G2CRPYFO.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';
6
6
  import { createHash } from 'crypto';
7
7
  import { join } from 'path';
8
8
  import { pathToFileURL } from 'url';
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { stripTerminalControls } from './chunk-I64CTY4U.js';
4
- import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-2WNJ2MHD.js';
3
+ import { stripTerminalControls } from './chunk-JNEK36QK.js';
4
+ import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-R6UNNKV3.js';
5
5
  import { readFileSync } from 'fs';
6
6
 
7
7
  createRequire(import.meta.url);
@@ -55,7 +55,7 @@ function envNamesOf(row, imageEnv) {
55
55
  return [...new Set(names)].sort();
56
56
  }
57
57
  async function readOwnContainer(deps = {}) {
58
- const run = deps.run ?? (await import('./docker-25F2KOBJ.js')).spawnRun;
58
+ const run = deps.run ?? (await import('./docker-2DLKQOK3.js')).spawnRun;
59
59
  const ids = candidateIds(deps.env ?? process.env, deps.readFile ?? ((path) => readFileSync(path, "utf8")));
60
60
  if (ids.length === 0) return { ok: false, reason: "the runner cannot tell which container it runs in: HOSTNAME is empty and /proc/self/mountinfo names none" };
61
61
  let problem = "";
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { uploadSpooledSteps } from './chunk-6XROZIV6.js';
3
+ import { uploadSpooledSteps } from './chunk-UF3X5ECJ.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-B5Z4VA4Q.js';
5
+ import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-QHYCF36K.js';
6
6
  import { C } from './chunk-2AM6Z5BP.js';
7
- import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-VRWZNI6U.js';
7
+ import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-NIQXLC6A.js';
8
8
  import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
9
- import { signerFor, signRunnerRequest } from './chunk-ENHD5PNW.js';
10
- import { SCRUB_ENV_VARIABLE } from './chunk-NE7EG3SN.js';
11
- import { writeSyncStatus, logHookError, spoolDir } from './chunk-QGUCHNSQ.js';
9
+ import { signerFor, signRunnerRequest } from './chunk-OWBNADRQ.js';
10
+ import { SCRUB_ENV_VARIABLE } from './chunk-4S6ML2YX.js';
11
+ import { writeSyncStatus, logHookError, spoolDir } from './chunk-D7OVS2LL.js';
12
12
  import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
13
13
  import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
14
14
  import { hookExecSpoolPath } from './chunk-RNCCRUT5.js';
@@ -16,11 +16,11 @@ 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-MT4XF5OL.js';
19
+ import { legacyAgent, captureAgents, captureAdapters } from './chunk-G2CRPYFO.js';
20
20
  import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
21
21
  import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
22
- import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-MBPBYMHU.js';
23
- import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-FXVHF6RX.js';
22
+ import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-E5G6K7C4.js';
23
+ import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-NEXKR5RR.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';
@@ -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-L32O52SH.js';
3
+ import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-EKV7QATX.js';
4
4
  import { startTimeOf } from './chunk-JBJTC3UU.js';
5
- import { EXEC_PORT } from './chunk-TD6DN5LU.js';
6
- import { RELAY_PORT } from './chunk-NE7EG3SN.js';
5
+ import { EXEC_PORT } from './chunk-RI37FFPL.js';
6
+ import { RELAY_PORT } from './chunk-4S6ML2YX.js';
7
7
  import { spawn, spawnSync } from 'child_process';
8
8
  import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
9
9
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-MT4XF5OL.js';
3
+ import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-G2CRPYFO.js';
4
4
  import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
5
5
  import { readFileSync } from 'fs';
6
6
  import { join } from 'path';
@@ -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-AC6DM3S3.js';
3
+ import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-6Z5AC4ZK.js';
4
4
  import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } 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 { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-DKDBMMX7.js';
4
- import { inspectService, realInspectProbes } from './chunk-WH2QUYXH.js';
3
+ import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-IZHI643L.js';
4
+ import { inspectService, realInspectProbes } from './chunk-MX5XVAOI.js';
5
5
  import { realpathSync, readFileSync, readdirSync } from 'fs';
6
6
  import { resolve, dirname, join } from 'path';
7
7