@askexenow/exe-os 0.9.415 → 0.9.416

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 (401) hide show
  1. package/dist/.dist-verified.json +3 -3
  2. package/dist/{active-agent-NUV4ZSZV.js → active-agent-JWICRWAA.js} +4 -4
  3. package/dist/{active-agent-LB7T3TLZ.js → active-agent-RPMMKZIG.js} +4 -4
  4. package/dist/{agent-defs-generator-GMN7JLNZ.js → agent-defs-generator-2Y5YFAS2.js} +4 -4
  5. package/dist/{agentic-ontology-ARQVAAYP.js → agentic-ontology-C7G2MB5M.js} +1 -1
  6. package/dist/{artifact-backup-C6CYTX4E.js → artifact-backup-EQVE4ROK.js} +3 -3
  7. package/dist/{backfill-metadata-OLMSQBJF.js → backfill-metadata-RC2WERVZ.js} +7 -7
  8. package/dist/{backup-verify-TPKH64MK.js → backup-verify-LPCD7ETV.js} +2 -2
  9. package/dist/{behavior-injection-UJ6CW5K7.js → behavior-injection-LXWODFAO.js} +10 -10
  10. package/dist/{behavior-promotion-QSVT4WGD.js → behavior-promotion-2NNDBZE7.js} +9 -9
  11. package/dist/{behaviors-6HWTCOTR.js → behaviors-Q7SJG54Y.js} +8 -8
  12. package/dist/bin/agentic-ontology-backfill.js +8 -8
  13. package/dist/bin/agentic-reflection-backfill.js +9 -9
  14. package/dist/bin/agentic-semantic-label.js +8 -8
  15. package/dist/bin/backfill-conversations.js +7 -7
  16. package/dist/bin/backfill-responses.js +7 -7
  17. package/dist/bin/backfill-vectors.js +7 -7
  18. package/dist/bin/bulk-sync-postgres.js +16 -16
  19. package/dist/bin/cc-doctor.js +8 -8
  20. package/dist/bin/cleanup-stale-review-tasks.js +13 -13
  21. package/dist/bin/cli.js +24 -24
  22. package/dist/bin/deferred-daemon-restart.js +93 -93
  23. package/dist/bin/exe-actions.js +1 -1
  24. package/dist/bin/exe-agent-config.js +3 -3
  25. package/dist/bin/exe-agent.js +8 -8
  26. package/dist/bin/exe-assign.js +8 -8
  27. package/dist/bin/exe-boot.js +33 -33
  28. package/dist/bin/exe-call.js +8 -8
  29. package/dist/bin/exe-cloud.js +17 -17
  30. package/dist/bin/exe-config-dump.js +3 -3
  31. package/dist/bin/exe-dispatch.js +14 -14
  32. package/dist/bin/exe-doctor.js +5 -5
  33. package/dist/bin/exe-export-behaviors.js +12 -12
  34. package/dist/bin/exe-forget.js +10 -10
  35. package/dist/bin/exe-gateway.js +9 -9
  36. package/dist/bin/exe-grant.js +6 -6
  37. package/dist/bin/exe-healthcheck.js +8 -8
  38. package/dist/bin/exe-heartbeat.js +19 -19
  39. package/dist/bin/exe-kill.js +18 -18
  40. package/dist/bin/exe-launch-agent.js +29 -29
  41. package/dist/bin/exe-mcp.js +5 -5
  42. package/dist/bin/exe-memory-reads.js +7 -7
  43. package/dist/bin/exe-new-employee.js +10 -10
  44. package/dist/bin/exe-os-mcp-proxy.js +5 -5
  45. package/dist/bin/exe-pending-messages.js +14 -14
  46. package/dist/bin/exe-pending-notifications.js +13 -13
  47. package/dist/bin/exe-pending-reviews.js +14 -14
  48. package/dist/bin/exe-rename.js +6 -6
  49. package/dist/bin/exe-review.js +17 -17
  50. package/dist/bin/exe-search.js +9 -9
  51. package/dist/bin/exe-session-cleanup.js +18 -18
  52. package/dist/bin/exe-settings.js +16 -16
  53. package/dist/bin/exe-start-codex.js +19 -19
  54. package/dist/bin/exe-start-opencode.js +17 -17
  55. package/dist/bin/exe-status.js +15 -15
  56. package/dist/bin/exe-support.js +3 -3
  57. package/dist/bin/exe-team.js +5 -5
  58. package/dist/bin/exe-telemetry.js +7 -7
  59. package/dist/bin/exe-watchdog.js +62 -23
  60. package/dist/bin/git-sweep.js +15 -15
  61. package/dist/bin/graph-backfill.js +8 -8
  62. package/dist/bin/graph-export.js +8 -8
  63. package/dist/bin/hooks-cli.js +1 -1
  64. package/dist/bin/import-history.js +11 -11
  65. package/dist/bin/install.js +95 -95
  66. package/dist/bin/intercom-check.js +5 -5
  67. package/dist/bin/mcp-sessions.js +2 -2
  68. package/dist/bin/orchestration-metrics.js +5 -5
  69. package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
  70. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  71. package/dist/bin/reconcile-backlog.js +2 -2
  72. package/dist/bin/registry-proxy.js +1 -1
  73. package/dist/bin/repair-document-chunks.js +7 -7
  74. package/dist/bin/scan-tasks.js +14 -14
  75. package/dist/bin/setup.js +2 -2
  76. package/dist/bin/shard-migrate.js +8 -8
  77. package/dist/bin/stack-update.js +4 -4
  78. package/dist/bin/vps-health-gate.js +1 -1
  79. package/dist/{boot-generation-UGKTVJQW.js → boot-generation-TT4BOFXY.js} +4 -4
  80. package/dist/{boot-review-sections-EW5FJU3N.js → boot-review-sections-SSWOKMOO.js} +12 -12
  81. package/dist/{bug-landed-reconciler-7DLU65MM.js → bug-landed-reconciler-NEL6KXHE.js} +6 -6
  82. package/dist/build-info.json +3 -3
  83. package/dist/build-manifest.json +917 -917
  84. package/dist/{capability-cards-EC7FLCFF.js → capability-cards-MKCOJ5S6.js} +3 -3
  85. package/dist/{capacity-monitor-2TQMIGQV.js → capacity-monitor-5KMDVKVR.js} +14 -14
  86. package/dist/{catchup-brief-Q2CEZ5LV.js → catchup-brief-POOPRVFD.js} +19 -19
  87. package/dist/{chunk-U34HVNLK.js → chunk-2NGXGHPI.js} +3 -3
  88. package/dist/{chunk-FNRVCDFM.js → chunk-2WUBVHON.js} +1 -1
  89. package/dist/{chunk-CTZTOAHJ.js → chunk-34GBZEGQ.js} +1 -1
  90. package/dist/{chunk-IVPVCTXX.js → chunk-3IHWQZYF.js} +1 -1
  91. package/dist/{chunk-7BMIJMFY.js → chunk-3NMNSVTE.js} +1 -1
  92. package/dist/{chunk-VPXSW6MC.js → chunk-43J5Z6IO.js} +3 -3
  93. package/dist/{chunk-BSSVSBHE.js → chunk-45JIJNHH.js} +1 -1
  94. package/dist/{chunk-I4N7F54M.js → chunk-4LCZYKVK.js} +8 -4
  95. package/dist/{chunk-745M4HPM.js → chunk-4W7PBI5U.js} +1 -1
  96. package/dist/{chunk-YXGSP2MH.js → chunk-552CGKS7.js} +5 -5
  97. package/dist/{chunk-OSAIUYF5.js → chunk-56T2OSOE.js} +1 -1
  98. package/dist/{chunk-UOPCGIEE.js → chunk-62KEZOFN.js} +1 -1
  99. package/dist/{chunk-JKDYZZGD.js → chunk-6A74345E.js} +2 -2
  100. package/dist/{chunk-IM2KTXBB.js → chunk-6CJYOPQW.js} +2 -2
  101. package/dist/{chunk-REMAJEVA.js → chunk-6ZBOARHX.js} +1 -1
  102. package/dist/{chunk-PMGEC42V.js → chunk-7TWRCBEN.js} +1 -1
  103. package/dist/{chunk-GDZJL5GQ.js → chunk-7VQ2OCZG.js} +57 -5
  104. package/dist/{chunk-JOOWL33C.js → chunk-AH7TTPES.js} +1 -1
  105. package/dist/{chunk-SOKGCUCF.js → chunk-AJTNEIFI.js} +6 -6
  106. package/dist/{chunk-SWU43K5E.js → chunk-ALTBD27V.js} +12 -12
  107. package/dist/{chunk-LCGQGYY6.js → chunk-AROCCYCK.js} +3 -3
  108. package/dist/{chunk-ZJQ56DZZ.js → chunk-B3W5R5OE.js} +18 -0
  109. package/dist/{chunk-UWIL3LFL.js → chunk-B4YW6GSE.js} +1 -1
  110. package/dist/{chunk-ZDD6IQGV.js → chunk-BKCQR55G.js} +1 -1
  111. package/dist/{chunk-EXKT3GID.js → chunk-BXLNHKVK.js} +2 -2
  112. package/dist/{chunk-RJ7RN5GE.js → chunk-C5FURQRA.js} +1 -1
  113. package/dist/{chunk-X6UH3DQE.js → chunk-CBNU7ZIP.js} +1 -1
  114. package/dist/{chunk-2S3H4TRY.js → chunk-COJHDMQ4.js} +2 -2
  115. package/dist/{chunk-UJRBX44K.js → chunk-CRRZAIBC.js} +10 -10
  116. package/dist/{chunk-SBHJ6YVB.js → chunk-D3IKDHK6.js} +4 -4
  117. package/dist/{chunk-7D6432GR.js → chunk-DJCUZ65C.js} +1 -1
  118. package/dist/{chunk-5GUSZMFP.js → chunk-DQSLSKF7.js} +11 -11
  119. package/dist/{chunk-OEJZFRT4.js → chunk-E3NN4TGB.js} +1 -1
  120. package/dist/{chunk-R32D6TBB.js → chunk-EKZ5MGJK.js} +2 -2
  121. package/dist/{chunk-J56UXB2X.js → chunk-EWKNMFS6.js} +1 -1
  122. package/dist/{chunk-NXVVJE6C.js → chunk-FRNG2SFK.js} +7 -7
  123. package/dist/{chunk-LFIDYVYE.js → chunk-G6E4NA6V.js} +2 -2
  124. package/dist/{chunk-RMXIDLAZ.js → chunk-GRA3UHGQ.js} +3 -3
  125. package/dist/{chunk-KBJHOC6E.js → chunk-GYRAI7PP.js} +2 -2
  126. package/dist/{chunk-WEG7URND.js → chunk-H372DQD2.js} +18 -18
  127. package/dist/{chunk-AAVLHB5A.js → chunk-HETFNI2L.js} +4 -4
  128. package/dist/{chunk-DJZ4EAZ7.js → chunk-HJLYDWEM.js} +1 -1
  129. package/dist/{chunk-TDPDKE4M.js → chunk-HPB5Y6FZ.js} +1 -1
  130. package/dist/{chunk-TSZ3JCQB.js → chunk-HPCCYWDP.js} +1 -1
  131. package/dist/{chunk-DNWWDHJM.js → chunk-HPUTFKC6.js} +6 -6
  132. package/dist/{chunk-KKJ3BLYL.js → chunk-HVTLHDGA.js} +2 -2
  133. package/dist/{chunk-MXY47DBC.js → chunk-I2T3ZOFM.js} +5 -5
  134. package/dist/{chunk-6DFP2ZMF.js → chunk-IH6YW55P.js} +4 -4
  135. package/dist/{chunk-KAJC6L7D.js → chunk-IJRHWGOI.js} +3 -3
  136. package/dist/{chunk-MSOPRLKE.js → chunk-IT4AGRFX.js} +4 -4
  137. package/dist/{chunk-X537FLO2.js → chunk-IXWH4TKR.js} +3 -3
  138. package/dist/{chunk-OVN35JFJ.js → chunk-IZYGY3ZV.js} +10 -10
  139. package/dist/{chunk-MLVDB65S.js → chunk-J43YFUSQ.js} +3 -3
  140. package/dist/{chunk-4FURM6R5.js → chunk-JB5CIPO4.js} +1 -1
  141. package/dist/{chunk-EVSJUMO3.js → chunk-JF36BVSK.js} +1 -1
  142. package/dist/{chunk-XGQCOI3X.js → chunk-JTANX2NA.js} +2 -2
  143. package/dist/{chunk-RYJTPWKV.js → chunk-JVFXB46L.js} +1 -1
  144. package/dist/{chunk-ZO5S6T64.js → chunk-JYTB2RS4.js} +1 -1
  145. package/dist/{chunk-V4Q5FU7M.js → chunk-KDAUJDHM.js} +1 -1
  146. package/dist/{chunk-UC45TUAV.js → chunk-KKABI3X6.js} +1 -1
  147. package/dist/{chunk-H3MFCDKR.js → chunk-KPWQQVKA.js} +1 -1
  148. package/dist/{chunk-UOLIA6N6.js → chunk-KRGHRFGA.js} +1 -1
  149. package/dist/{chunk-GDUQ3UQR.js → chunk-KXGAS45V.js} +1 -1
  150. package/dist/{chunk-RNFYJ7EQ.js → chunk-LHMBUQX2.js} +3 -3
  151. package/dist/{chunk-BHIMHRRI.js → chunk-LXDNPWX7.js} +5 -5
  152. package/dist/{chunk-I2IG5GKQ.js → chunk-M46ZFCQT.js} +5 -5
  153. package/dist/{chunk-T4X35SUY.js → chunk-M4AS43GS.js} +3 -3
  154. package/dist/{chunk-2PNEZSFH.js → chunk-MHUPOTUV.js} +2 -2
  155. package/dist/{chunk-OL7KB6AV.js → chunk-MIXW35ES.js} +5 -5
  156. package/dist/{chunk-N7PW2MXQ.js → chunk-MJOWO352.js} +1 -1
  157. package/dist/{chunk-NPA3GSDP.js → chunk-MQEV5FL6.js} +3 -3
  158. package/dist/{chunk-OJMM2CBY.js → chunk-NAWW4EKM.js} +1 -1
  159. package/dist/{chunk-D6D7LCMR.js → chunk-NFTTBVL2.js} +1 -1
  160. package/dist/{chunk-L2IJM337.js → chunk-NM4MWWA4.js} +1 -1
  161. package/dist/{chunk-H3ORS4N7.js → chunk-NSVBDUZK.js} +3 -3
  162. package/dist/{chunk-YAV55Y4U.js → chunk-NTKZ47FA.js} +1 -1
  163. package/dist/{chunk-YBVSVB6C.js → chunk-OFC5SIIT.js} +1 -1
  164. package/dist/{chunk-WECEOYOY.js → chunk-OGWQMQOM.js} +1 -1
  165. package/dist/{chunk-PV5OGJYV.js → chunk-OI4DPXBK.js} +1 -1
  166. package/dist/{chunk-3PMAZKLF.js → chunk-OVEID5F6.js} +3 -3
  167. package/dist/{chunk-5X5BOCLS.js → chunk-OZ6E4FKM.js} +4 -4
  168. package/dist/{chunk-6QVWL7ZX.js → chunk-PGVFGFK7.js} +151 -151
  169. package/dist/{chunk-5HCHK52F.js → chunk-PKEZ3JG4.js} +1 -1
  170. package/dist/{chunk-E3TNFXWQ.js → chunk-PWJLLXGK.js} +1 -1
  171. package/dist/{chunk-5PNYCWYF.js → chunk-PY2E5ZL6.js} +4 -4
  172. package/dist/{chunk-FIAMVZ5I.js → chunk-QEJ2ZX2O.js} +4 -4
  173. package/dist/{chunk-UCXX7XZS.js → chunk-QXKE7T3L.js} +9 -9
  174. package/dist/{chunk-GCMKH2PM.js → chunk-R6Q3MB2F.js} +1 -1
  175. package/dist/{chunk-TRH4DPXR.js → chunk-RZUXD47X.js} +1 -1
  176. package/dist/{chunk-A75TAU2I.js → chunk-SL3T3LY3.js} +141 -17
  177. package/dist/{chunk-H7ZVQUU2.js → chunk-SW26QLZQ.js} +2 -2
  178. package/dist/{chunk-CL7P4RW3.js → chunk-TPYGTRYK.js} +1 -1
  179. package/dist/{chunk-G32NPOUR.js → chunk-TXWIBXPR.js} +2 -2
  180. package/dist/{chunk-43BBN2ZV.js → chunk-U6BHVMOM.js} +3 -3
  181. package/dist/{chunk-Z46GUZSY.js → chunk-U74M7XSZ.js} +3 -3
  182. package/dist/{chunk-FDMZOLB3.js → chunk-UFZIURF6.js} +2 -2
  183. package/dist/{chunk-TH3P7D7J.js → chunk-UO5U5AOS.js} +4 -4
  184. package/dist/{chunk-7ZEIFHRE.js → chunk-UXBGEKL6.js} +1 -1
  185. package/dist/{chunk-O3HLDFKY.js → chunk-V3RGMCCP.js} +1 -1
  186. package/dist/{chunk-2UAILEAO.js → chunk-V3Y45JIY.js} +2 -2
  187. package/dist/{chunk-GELNQI77.js → chunk-W375ZRNM.js} +1 -1
  188. package/dist/{chunk-NLFYDDFL.js → chunk-WTNIAVVK.js} +4 -4
  189. package/dist/{chunk-HMEXSII5.js → chunk-WZNW66XJ.js} +3 -3
  190. package/dist/{chunk-YV3AVQJW.js → chunk-XDLC3NRR.js} +1 -1
  191. package/dist/{chunk-UYOWEAZB.js → chunk-XJVKDVQN.js} +2 -2
  192. package/dist/{chunk-LUB5P63H.js → chunk-XKTCQTDP.js} +2 -2
  193. package/dist/{chunk-UMBKEPUP.js → chunk-XL7OO7MD.js} +1 -1
  194. package/dist/{chunk-RV4DRCSF.js → chunk-XUX3EJ3U.js} +4 -4
  195. package/dist/{chunk-XLUEY3SP.js → chunk-XWDI6NVG.js} +3 -3
  196. package/dist/{chunk-JHVRXXEB.js → chunk-XZRCLK2N.js} +6 -6
  197. package/dist/{chunk-CRO66YJ2.js → chunk-Y5GPRRW2.js} +3 -3
  198. package/dist/{chunk-CYUUNIEL.js → chunk-Y6LOT7GS.js} +1 -1
  199. package/dist/{chunk-OEH4DGFQ.js → chunk-YQT3JC27.js} +1 -1
  200. package/dist/{chunk-KYQ623IB.js → chunk-YX7QSOBB.js} +1 -1
  201. package/dist/{chunk-QNFR7ZKH.js → chunk-Z7T7JMBU.js} +2 -2
  202. package/dist/{chunk-UYK7NOJD.js → chunk-ZDPOCUBX.js} +3 -3
  203. package/dist/{chunk-D6ORFO5E.js → chunk-ZHT3SXBU.js} +2 -2
  204. package/dist/{chunk-HPCISMTN.js → chunk-ZQSQJ53P.js} +1 -1
  205. package/dist/{chunk-D4RU4Y57.js → chunk-ZUE3ADBF.js} +16 -16
  206. package/dist/{cleanup-graph-garbage-CNUIX5CD.js → cleanup-graph-garbage-X4XP3E5O.js} +8 -8
  207. package/dist/{cli-shutdown-5PBVKPZJ.js → cli-shutdown-E2YG5CSE.js} +1 -1
  208. package/dist/{cloud-sync-command-3E4HKL3N.js → cloud-sync-command-AKTDHKCI.js} +2 -2
  209. package/dist/{cloud-sync-db-init-ASBDBYCS.js → cloud-sync-db-init-U6IL6YAP.js} +1 -1
  210. package/dist/{cloud-sync-shutdown-P6ZT3O6P.js → cloud-sync-shutdown-BCIU6U3A.js} +3 -3
  211. package/dist/{co-activation-7ZJFM3YK.js → co-activation-HIOU7VAV.js} +3 -3
  212. package/dist/{co-occurrence-O7ON7AP3.js → co-occurrence-GW6Z6WAJ.js} +6 -6
  213. package/dist/{consent-passphrase-ITU47UWT.js → consent-passphrase-EARJEBUA.js} +2 -2
  214. package/dist/{conversation-entity-extractor-JZNP4UGE.js → conversation-entity-extractor-VPOH26FG.js} +3 -3
  215. package/dist/{crdt-sync-B2E3G5YE.js → crdt-sync-5ASUMUPX.js} +4 -4
  216. package/dist/{crm-webhook-P543266X.js → crm-webhook-7PYD36EA.js} +2 -2
  217. package/dist/{cto-delegation-gate-ASFPC6L4.js → cto-delegation-gate-5RABUXBR.js} +12 -12
  218. package/dist/{daemon-orchestration-ZPUEHXRM.js → daemon-orchestration-2SROQ2N4.js} +19 -19
  219. package/dist/{doc-graph-extractor-IADQDUXA.js → doc-graph-extractor-XWLDPVO4.js} +6 -6
  220. package/dist/{documents-MZ5N44EK.js → documents-SKJ6XYMW.js} +8 -8
  221. package/dist/{dreaming-OXHEGMGQ.js → dreaming-7DTEPB4M.js} +17 -17
  222. package/dist/{employee-boot-brief-PMN4STQZ.js → employee-boot-brief-VJD3F4OB.js} +21 -21
  223. package/dist/{entity-boost-5J6OOB4P.js → entity-boost-4M7BE7C7.js} +1 -1
  224. package/dist/{exe-drift-JPD3DP7R.js → exe-drift-7A3GZEUE.js} +4 -4
  225. package/dist/{exe-export-TWJ2E235.js → exe-export-3JVH5YIV.js} +9 -9
  226. package/dist/{exe-import-JTFPCMXG.js → exe-import-DQ6UEYHN.js} +9 -9
  227. package/dist/{exe-key-47FOEEFU.js → exe-key-G5V3HUTJ.js} +93 -93
  228. package/dist/{exe-org-SDLU427Y.js → exe-org-NG3ZYJXK.js} +32 -32
  229. package/dist/{exe-snapshot-G6JSOA3W.js → exe-snapshot-IKYR55CZ.js} +20 -20
  230. package/dist/{fast-db-init-BWZOVVBH.js → fast-db-init-QYF42NZP.js} +1 -1
  231. package/dist/{founder-context-UMNCOSKR.js → founder-context-XJ6O43OF.js} +2 -2
  232. package/dist/{founder-monitor-envelope-I4535R5I.js → founder-monitor-envelope-XT6U5L6M.js} +4 -4
  233. package/dist/gateway/index.js +11 -11
  234. package/dist/{gateway-client-YD24RN7P.js → gateway-client-ARBQBLRK.js} +1 -1
  235. package/dist/{git-staleness-B4H3EE72.js → git-staleness-2C2XYDLJ.js} +3 -3
  236. package/dist/{global-procedures-TTBNXTRS.js → global-procedures-DI4KFCVA.js} +5 -5
  237. package/dist/{graph-auto-extract-E4RSCUEO.js → graph-auto-extract-F6OKIHQQ.js} +6 -6
  238. package/dist/{graph-query-U4WIQNFV.js → graph-query-IY7QR2UR.js} +1 -1
  239. package/dist/{graph-rag-WPSWFLOX.js → graph-rag-HB5X6YAF.js} +3 -3
  240. package/dist/{hook-integrity-G6L3XFGO.js → hook-integrity-T3DIELFF.js} +1 -1
  241. package/dist/{hook-prefetch-5AOLNRCY.js → hook-prefetch-SNDJ2G7Q.js} +13 -13
  242. package/dist/hooks/bug-report-worker.js +17 -17
  243. package/dist/hooks/codex-stop-task-finalizer.js +19 -19
  244. package/dist/hooks/commit-complete.js +16 -16
  245. package/dist/hooks/error-recall.js +11 -11
  246. package/dist/hooks/exe-heartbeat-hook.js +5 -5
  247. package/dist/hooks/ingest-worker.js +15 -15
  248. package/dist/hooks/ingest.js +13 -13
  249. package/dist/hooks/instructions-loaded.js +7 -7
  250. package/dist/hooks/manifest.json +20 -20
  251. package/dist/hooks/notification.js +6 -6
  252. package/dist/hooks/post-compact.js +5 -5
  253. package/dist/hooks/post-tool-combined.js +13 -13
  254. package/dist/hooks/pre-compact.js +16 -16
  255. package/dist/hooks/pre-tool-use.js +2 -2
  256. package/dist/hooks/prompt-submit.js +34 -34
  257. package/dist/hooks/session-end.js +21 -21
  258. package/dist/hooks/session-start.js +18 -18
  259. package/dist/hooks/stop.js +19 -19
  260. package/dist/hooks/subagent-stop.js +18 -18
  261. package/dist/hooks/summary-worker.js +20 -20
  262. package/dist/index.js +24 -24
  263. package/dist/{installer-SQXH44SB.js → installer-7QUGM3RZ.js} +6 -6
  264. package/dist/{installer-NDH3XNBJ.js → installer-CCINS5Z7.js} +6 -6
  265. package/dist/{installer-KQPRRYWJ.js → installer-Z7ZF2UZL.js} +6 -6
  266. package/dist/{intercom-queue-NKPPTIL4.js → intercom-queue-A24ARSCV.js} +12 -12
  267. package/dist/lib/backup-verify-worker.js +2 -2
  268. package/dist/lib/cloud-sync.js +16 -16
  269. package/dist/lib/consolidation.js +9 -9
  270. package/dist/lib/crypto.js +3 -3
  271. package/dist/lib/database.js +7 -3
  272. package/dist/lib/db-backup.js +1 -1
  273. package/dist/lib/db-write-worker.js +3 -3
  274. package/dist/lib/db.js +7 -3
  275. package/dist/lib/device-registry.js +1 -1
  276. package/dist/lib/employee-templates.js +6 -6
  277. package/dist/lib/employees.js +3 -3
  278. package/dist/lib/exe-daemon.js +121 -91
  279. package/dist/lib/hybrid-search.js +9 -9
  280. package/dist/lib/identity.js +3 -3
  281. package/dist/lib/keychain.js +1 -1
  282. package/dist/lib/license.js +2 -2
  283. package/dist/lib/messaging.js +13 -13
  284. package/dist/lib/post-tool-memory.js +13 -13
  285. package/dist/lib/registry-proxy.js +1 -1
  286. package/dist/lib/reminders.js +4 -4
  287. package/dist/lib/schedules.js +8 -8
  288. package/dist/lib/session-registry.js +5 -5
  289. package/dist/lib/skill-learning.js +9 -9
  290. package/dist/lib/store.js +7 -7
  291. package/dist/lib/task-router.js +4 -4
  292. package/dist/lib/tasks.js +14 -14
  293. package/dist/lib/tmux-routing.js +12 -12
  294. package/dist/lib/token-spend.js +4 -4
  295. package/dist/lib/ws-client.js +1 -1
  296. package/dist/{license-gate-Q37UDDE5.js → license-gate-KGSD5NV5.js} +3 -3
  297. package/dist/{license-recheck-AJ7VHKXK.js → license-recheck-M674BGZZ.js} +1 -1
  298. package/dist/{license-sync-H7EMEVUL.js → license-sync-LV53TSOT.js} +2 -2
  299. package/dist/{maintenance-worker-3FNF2GA5.js → maintenance-worker-R5N3A2KM.js} +2 -2
  300. package/dist/mcp/register-tools.js +92 -92
  301. package/dist/mcp/server.js +92 -92
  302. package/dist/mcp/tools/complete-reminder.js +5 -5
  303. package/dist/mcp/tools/create-reminder.js +5 -5
  304. package/dist/mcp/tools/create-task.js +16 -16
  305. package/dist/mcp/tools/deactivate-behavior.js +10 -10
  306. package/dist/mcp/tools/list-reminders.js +5 -5
  307. package/dist/mcp/tools/list-tasks.js +16 -16
  308. package/dist/mcp/tools/send-message.js +15 -15
  309. package/dist/mcp/tools/update-task.js +15 -15
  310. package/dist/{mcp-http-config-4355SP7A.js → mcp-http-config-NLKZQHV6.js} +5 -5
  311. package/dist/{mcp-session-identity-JKOJLE7C.js → mcp-session-identity-AEYKQELS.js} +12 -12
  312. package/dist/{memory-cards-WTRVBRVV.js → memory-cards-3ITTLHOY.js} +7 -7
  313. package/dist/{memory-graph-extractor-4T33LWJU.js → memory-graph-extractor-FM7Q4VV6.js} +7 -7
  314. package/dist/{memory-maintenance-JGNZK33G.js → memory-maintenance-OYSA36EJ.js} +1 -1
  315. package/dist/{memory-poisoning-defense-AHMMXW44.js → memory-poisoning-defense-7JFJUCKU.js} +3 -3
  316. package/dist/{memory-pressure-watchdog-L3Z4VEPV.js → memory-pressure-watchdog-FROXPH3U.js} +13 -13
  317. package/dist/{memory-reflection-4775DTOT.js → memory-reflection-CTGRQAPC.js} +7 -7
  318. package/dist/{memory-write-repository-AQ7RXJVQ.js → memory-write-repository-D2WU2WFY.js} +1 -1
  319. package/dist/{monitor-grants-YCKRRH65.js → monitor-grants-TYGR4SSC.js} +3 -3
  320. package/dist/{monitor-identity-RC5HSDKY.js → monitor-identity-P54TAJBA.js} +2 -2
  321. package/dist/{notification-ledger-EMZ676N7.js → notification-ledger-MIYYFMHL.js} +13 -13
  322. package/dist/{notifications-UITENQFG.js → notifications-E7ZUVBUS.js} +12 -12
  323. package/dist/{orchestration-events-TXMCSNWZ.js → orchestration-events-U6DT373C.js} +4 -4
  324. package/dist/{orchestrator-WJ55ZFL5.js → orchestrator-JUIMX24X.js} +14 -14
  325. package/dist/{org-brief-session-YXCBRVSI.js → org-brief-session-YRIV2QSB.js} +15 -15
  326. package/dist/{org-consent-policy-ZVT2Y22K.js → org-consent-policy-NQ2KDQDG.js} +5 -5
  327. package/dist/{org-join-PRWU2OBZ.js → org-join-II6F2VJH.js} +9 -9
  328. package/dist/{org-key-admin-FTGOH7RU.js → org-key-admin-JH6KJB4J.js} +11 -11
  329. package/dist/{org-key-epoch-IHN3UVUM.js → org-key-epoch-G6XN6IJM.js} +5 -5
  330. package/dist/{org-key-pin-TAL5ISYT.js → org-key-pin-WW5CHAQL.js} +3 -3
  331. package/dist/{org-membership-FZ7DUCZX.js → org-membership-ROYVH7I7.js} +4 -4
  332. package/dist/{org-partner-config-Z45CGHE7.js → org-partner-config-SQULMRXG.js} +8 -8
  333. package/dist/{org-partner-runtime-J64U2Z7X.js → org-partner-runtime-PCGVG3M2.js} +15 -15
  334. package/dist/{org-row-visibility-JO2Z5XVO.js → org-row-visibility-USZO6GXN.js} +1 -1
  335. package/dist/{pipeline-router-ARYK3UAA.js → pipeline-router-2UJV527K.js} +4 -4
  336. package/dist/{plan-limits-BA6ZSEQ2.js → plan-limits-HBD2B77I.js} +6 -6
  337. package/dist/{pre-tool-use-impl-NSPKU7SW.js → pre-tool-use-impl-WEZ76RLG.js} +28 -28
  338. package/dist/{project-name-3WEMIXD6.js → project-name-O37JG2BV.js} +4 -4
  339. package/dist/{projection-worker-OD7SCQVL.js → projection-worker-HHEYDVMY.js} +2 -2
  340. package/dist/{prospective-memory-7M5EOED6.js → prospective-memory-LNZTVL5G.js} +3 -3
  341. package/dist/{push-notifications-CT452G6K.js → push-notifications-QT2KL3GR.js} +13 -13
  342. package/dist/{reproject-worktree-memories-4X4FTVPN.js → reproject-worktree-memories-CYQLKU2R.js} +12 -12
  343. package/dist/{reranker-CZUA64BW.js → reranker-MJUCNQ3B.js} +1 -1
  344. package/dist/{retrieval-health-5K3EF7WW.js → retrieval-health-MO36P7O3.js} +1 -1
  345. package/dist/{review-polling-5W6HLGKH.js → review-polling-OU7JLEKI.js} +13 -13
  346. package/dist/runtime/index.js +16 -16
  347. package/dist/{session-events-OOYSDWTW.js → session-events-KB7A2PIL.js} +13 -13
  348. package/dist/{session-kill-telemetry-WTL757YS.js → session-kill-telemetry-UNS3QI2G.js} +13 -13
  349. package/dist/{session-scope-QNS6V4QZ.js → session-scope-QOR7CVGI.js} +12 -12
  350. package/dist/{setup-wizard-2SPD7JW5.js → setup-wizard-MMKIRDM5.js} +2 -2
  351. package/dist/{shard-manager-YZXA6L3J.js → shard-manager-UM3UYDLV.js} +2 -2
  352. package/dist/{skill-refinement-XAL2VK7I.js → skill-refinement-4ZND3EZF.js} +4 -4
  353. package/dist/{skill-retrieval-H45FGACU.js → skill-retrieval-U5F2ZPL6.js} +11 -11
  354. package/dist/{skill-usage-Z4PY5DYL.js → skill-usage-ECYWEKQG.js} +4 -4
  355. package/dist/{stack-generate-manifest-ZWGGIXOW.js → stack-generate-manifest-HL7QJ5XC.js} +4 -4
  356. package/dist/{stack-promote-U34DKI2R.js → stack-promote-CINVLY2J.js} +4 -4
  357. package/dist/{stack-release-IGZDQ2EA.js → stack-release-PNGTKMW6.js} +5 -5
  358. package/dist/{stack-update-3MADKNUJ.js → stack-update-QXABQSHS.js} +3 -3
  359. package/dist/{steward-gate-GXHJ3LLV.js → steward-gate-VBZXP4HY.js} +4 -4
  360. package/dist/{subagent-brief-injection-CONZI6JP.js → subagent-brief-injection-63LZHTT3.js} +23 -23
  361. package/dist/{support-bug-actions-GHMGOVQX.js → support-bug-actions-IPFJ5WEZ.js} +3 -3
  362. package/dist/{support-inbox-3EDSKPUK.js → support-inbox-TUMS347S.js} +12 -12
  363. package/dist/{task-enforcement-DPOVUD2H.js → task-enforcement-ESAMX2ML.js} +13 -13
  364. package/dist/{task-request-inbox-6CCLPLZF.js → task-request-inbox-ILFRNPZA.js} +5 -5
  365. package/dist/{task-scope-5OTHET2J.js → task-scope-6LIHTVCC.js} +12 -12
  366. package/dist/{tasks-crud-ZPUVDX7W.js → tasks-crud-NWNW7RDH.js} +12 -12
  367. package/dist/{tasks-notify-3RODHYLI.js → tasks-notify-H4CUL7RM.js} +13 -13
  368. package/dist/{tasks-review-H43CSMNK.js → tasks-review-F4VW7NOI.js} +12 -12
  369. package/dist/{telemetry-upload-4ZYZNO5R.js → telemetry-upload-MUIZKQDT.js} +7 -7
  370. package/dist/{token-budget-QGQRMS47.js → token-budget-H53P6O6O.js} +4 -4
  371. package/dist/{tool-telemetry-HPOHW2Y2.js → tool-telemetry-A7NUFJI4.js} +1 -1
  372. package/dist/tui/App.js +22 -22
  373. package/dist/{tui-data-3E66SZPC.js → tui-data-4TWYXEEA.js} +16 -16
  374. package/dist/{update-support-6PQDY3IQ.js → update-support-4B7GQLUI.js} +11 -11
  375. package/dist/{whatsapp-5YLHZDFB.js → whatsapp-JHB2BHJE.js} +2 -2
  376. package/dist/{wiki-acl-O4EOHWXE.js → wiki-acl-OFOKEUJS.js} +1 -1
  377. package/dist/{work-claims-XGC47NTW.js → work-claims-36IKRNK6.js} +4 -4
  378. package/dist/{work-state-heartbeat-WAVGL6QG.js → work-state-heartbeat-RXQKS4GL.js} +1 -1
  379. package/dist/{workflow-engine-E7R4STX2.js → workflow-engine-SJHROL46.js} +2 -2
  380. package/dist/{worktree-GYH7OEVR.js → worktree-YIUDLMNS.js} +5 -5
  381. package/dist/{worktree-sweep-KMZ2KPSO.js → worktree-sweep-2MZ7PKEG.js} +6 -6
  382. package/package.json +1 -1
  383. package/release-notes.json +14 -19
  384. package/stack.release.json +3 -3
  385. /package/dist/{chunk-5TOYYGBC.js → chunk-2CKQEW4W.js} +0 -0
  386. /package/dist/{chunk-QTWQGGSP.js → chunk-43WD6UKN.js} +0 -0
  387. /package/dist/{chunk-EORDC4BQ.js → chunk-4ULAH65G.js} +0 -0
  388. /package/dist/{chunk-H6HWBMJ3.js → chunk-5ZVDEGES.js} +0 -0
  389. /package/dist/{chunk-4ZWYHHUJ.js → chunk-ISNY2BGX.js} +0 -0
  390. /package/dist/{chunk-GTGXFYYI.js → chunk-KM3S64VS.js} +0 -0
  391. /package/dist/{chunk-5LKFIUH3.js → chunk-LGSXXCE2.js} +0 -0
  392. /package/dist/{chunk-2WHPS3AR.js → chunk-N4PRTLUX.js} +0 -0
  393. /package/dist/{chunk-2KBPXG43.js → chunk-QC3AU6NX.js} +0 -0
  394. /package/dist/{chunk-BYNXKQG2.js → chunk-U6FWH2KA.js} +0 -0
  395. /package/dist/{chunk-TMJKP6WP.js → chunk-UMIELGF2.js} +0 -0
  396. /package/dist/{chunk-QD3YZKZR.js → chunk-W7A44LSP.js} +0 -0
  397. /package/dist/{chunk-YEUGS6CI.js → chunk-WKXEOVSN.js} +0 -0
  398. /package/dist/{core-memory-RHW5ZX36.js → core-memory-EGE6W24K.js} +0 -0
  399. /package/dist/{memory-isolation-J3KHDCE7.js → memory-isolation-HX6XSKZM.js} +0 -0
  400. /package/dist/{oauth-server-WAR3PJOX.js → oauth-server-6TE2NW74.js} +0 -0
  401. /package/dist/{project-boot-3BTM3FJ2.js → project-boot-2GNHDNUH.js} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  decideSweepSkip,
6
6
  readHostLoadSignal
7
- } from "../chunk-CYUUNIEL.js";
7
+ } from "../chunk-Y6LOT7GS.js";
8
8
  import {
9
9
  RESTART_BREAKER_THRESHOLD,
10
10
  readBreakerAlert,
@@ -18,7 +18,7 @@ import {
18
18
  } from "../chunk-SVFNWBLF.js";
19
19
  import {
20
20
  pushNotifyAsync
21
- } from "../chunk-CL7P4RW3.js";
21
+ } from "../chunk-TPYGTRYK.js";
22
22
  import {
23
23
  disposeDbWriteWorker,
24
24
  isDbWriteWorkerReady,
@@ -41,7 +41,7 @@ import {
41
41
  isHostSuspendedWindow,
42
42
  totalHostCpuMs,
43
43
  updateLoadWindow
44
- } from "../chunk-ZJQ56DZZ.js";
44
+ } from "../chunk-B3W5R5OE.js";
45
45
  import {
46
46
  getMcpToolFamily,
47
47
  inferMcpRuntime,
@@ -64,14 +64,14 @@ import {
64
64
  } from "../chunk-KWOAM7TA.js";
65
65
  import {
66
66
  governMemoryRecord
67
- } from "../chunk-QD3YZKZR.js";
67
+ } from "../chunk-W7A44LSP.js";
68
68
  import "../chunk-5MOYSU5A.js";
69
69
  import "../chunk-BYP3DOUU.js";
70
70
  import "../chunk-76CJBM36.js";
71
71
  import {
72
72
  BUSY_PATTERN
73
- } from "../chunk-WEG7URND.js";
74
- import "../chunk-OEH4DGFQ.js";
73
+ } from "../chunk-H372DQD2.js";
74
+ import "../chunk-YQT3JC27.js";
75
75
  import "../chunk-EIKATSE4.js";
76
76
  import {
77
77
  currentPauseStartMs,
@@ -87,16 +87,16 @@ import "../chunk-E23LNUWJ.js";
87
87
  import "../chunk-TDF2XKLK.js";
88
88
  import "../chunk-QDMZ5DX2.js";
89
89
  import "../chunk-HME6ITKV.js";
90
- import "../chunk-GCMKH2PM.js";
90
+ import "../chunk-R6Q3MB2F.js";
91
91
  import "../chunk-VI4ATC6I.js";
92
92
  import "../chunk-A27Q27CT.js";
93
93
  import "../chunk-7MCEYNWK.js";
94
94
  import "../chunk-T5SM4RXY.js";
95
- import "../chunk-J56UXB2X.js";
95
+ import "../chunk-EWKNMFS6.js";
96
96
  import "../chunk-IVXELUEQ.js";
97
97
  import "../chunk-AM7S2TY6.js";
98
- import "../chunk-D6D7LCMR.js";
99
- import "../chunk-JKDYZZGD.js";
98
+ import "../chunk-NFTTBVL2.js";
99
+ import "../chunk-6A74345E.js";
100
100
  import {
101
101
  attributeSignalSource,
102
102
  consumeRestartIntentDetail,
@@ -144,12 +144,12 @@ import {
144
144
  killAttributionLogPath,
145
145
  recordKillIntent
146
146
  } from "../chunk-DRTJCG6B.js";
147
- import "../chunk-O3HLDFKY.js";
147
+ import "../chunk-V3RGMCCP.js";
148
148
  import "../chunk-CVYC6DUW.js";
149
149
  import "../chunk-GJV3WDWM.js";
150
150
  import "../chunk-YRUZK2QA.js";
151
151
  import "../chunk-MP2AFCGL.js";
152
- import "../chunk-GDZJL5GQ.js";
152
+ import "../chunk-7VQ2OCZG.js";
153
153
  import {
154
154
  logBoot,
155
155
  logCrash,
@@ -159,9 +159,9 @@ import {
159
159
  } from "../chunk-BBMTVAE3.js";
160
160
  import "../chunk-TKDITWDN.js";
161
161
  import "../chunk-5YEUPUV4.js";
162
- import "../chunk-I4N7F54M.js";
162
+ import "../chunk-4LCZYKVK.js";
163
163
  import "../chunk-CCFWKW2D.js";
164
- import "../chunk-YBVSVB6C.js";
164
+ import "../chunk-OFC5SIIT.js";
165
165
  import "../chunk-7FE43JRU.js";
166
166
  import {
167
167
  isPostgresBackendEnabled
@@ -187,9 +187,9 @@ import {
187
187
  EMBEDDING_DIM
188
188
  } from "../chunk-C7GHNJPW.js";
189
189
  import "../chunk-UWGQNJIE.js";
190
- import "../chunk-TSZ3JCQB.js";
190
+ import "../chunk-HPCCYWDP.js";
191
191
  import "../chunk-3R7UDPVR.js";
192
- import "../chunk-GTGXFYYI.js";
192
+ import "../chunk-KM3S64VS.js";
193
193
  import "../chunk-A7JYF4RG.js";
194
194
  import "../chunk-ARX6TAGN.js";
195
195
  import {
@@ -2684,7 +2684,7 @@ async function loadModel() {
2684
2684
  void (async () => {
2685
2685
  try {
2686
2686
  if (_storeInitialized) {
2687
- const { writeNotification } = await import("../notifications-UITENQFG.js");
2687
+ const { writeNotification } = await import("../notifications-E7ZUVBUS.js");
2688
2688
  await writeNotification({
2689
2689
  agentId: "exe",
2690
2690
  agentRole: "system",
@@ -2821,7 +2821,7 @@ function disableEmbeddingsForInferenceTimeouts() {
2821
2821
  void (async () => {
2822
2822
  try {
2823
2823
  if (_storeInitialized) {
2824
- const { writeNotification } = await import("../notifications-UITENQFG.js");
2824
+ const { writeNotification } = await import("../notifications-E7ZUVBUS.js");
2825
2825
  await writeNotification({
2826
2826
  agentId: "exe",
2827
2827
  agentRole: "system",
@@ -2988,7 +2988,7 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
2988
2988
  _shuttingDown = true;
2989
2989
  _drainingWrites = true;
2990
2990
  try {
2991
- const { stopOrgPartnerRuntime } = await import("../org-partner-runtime-J64U2Z7X.js");
2991
+ const { stopOrgPartnerRuntime } = await import("../org-partner-runtime-PCGVG3M2.js");
2992
2992
  stopOrgPartnerRuntime();
2993
2993
  } catch {
2994
2994
  }
@@ -3008,7 +3008,7 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
3008
3008
  resetIdleTimer();
3009
3009
  flushToDisk();
3010
3010
  try {
3011
- const { stopMaintenanceLane } = await import("../maintenance-worker-3FNF2GA5.js");
3011
+ const { stopMaintenanceLane } = await import("../maintenance-worker-R5N3A2KM.js");
3012
3012
  await stopMaintenanceLane();
3013
3013
  } catch {
3014
3014
  }
@@ -3076,7 +3076,7 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
3076
3076
  dbBytes = dbPath ? statSync4(dbPath).size : 0;
3077
3077
  } catch {
3078
3078
  }
3079
- const { getAvailableMemoryBytesSync } = await import("../memory-pressure-watchdog-L3Z4VEPV.js");
3079
+ const { getAvailableMemoryBytesSync } = await import("../memory-pressure-watchdog-FROXPH3U.js");
3080
3080
  const freeBytes = getAvailableMemoryBytesSync();
3081
3081
  if (shouldSkipBackupUnderMemoryPressure(freeBytes, dbBytes)) {
3082
3082
  memoryGateSkip = true;
@@ -3129,12 +3129,12 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
3129
3129
  `);
3130
3130
  }
3131
3131
  try {
3132
- const { stopProjectionWorker } = await import("../projection-worker-OD7SCQVL.js");
3132
+ const { stopProjectionWorker } = await import("../projection-worker-HHEYDVMY.js");
3133
3133
  stopProjectionWorker();
3134
3134
  } catch {
3135
3135
  }
3136
3136
  try {
3137
- const { disposeShards } = await import("../shard-manager-YZXA6L3J.js");
3137
+ const { disposeShards } = await import("../shard-manager-UM3UYDLV.js");
3138
3138
  disposeShards();
3139
3139
  } catch {
3140
3140
  }
@@ -3197,7 +3197,7 @@ async function handleHealthCheck(socket, requestId) {
3197
3197
  let pipelineStatus = "unknown";
3198
3198
  if (dbConnected) {
3199
3199
  try {
3200
- await import("../pipeline-router-ARYK3UAA.js");
3200
+ await import("../pipeline-router-2UJV527K.js");
3201
3201
  pipelineStatus = "ok";
3202
3202
  } catch {
3203
3203
  pipelineStatus = "unavailable";
@@ -3592,7 +3592,7 @@ async function _writeMemoryRecordInner(entry, syncOnly = false) {
3592
3592
  }
3593
3593
  }
3594
3594
  const { getClient } = await import("./database.js");
3595
- const { buildMemoryInsert, readMemoryWriteOutcome } = await import("../memory-write-repository-AQ7RXJVQ.js");
3595
+ const { buildMemoryInsert, readMemoryWriteOutcome } = await import("../memory-write-repository-D2WU2WFY.js");
3596
3596
  const client = getClient();
3597
3597
  const row = {
3598
3598
  ...record,
@@ -3613,7 +3613,7 @@ async function _writeMemoryRecordInner(entry, syncOnly = false) {
3613
3613
  if (Number(inserted.rowsAffected) === 0) return outcome.id;
3614
3614
  const version = outcome.version;
3615
3615
  try {
3616
- const { insertOntologyForMemory } = await import("../agentic-ontology-ARQVAAYP.js");
3616
+ const { insertOntologyForMemory } = await import("../agentic-ontology-C7G2MB5M.js");
3617
3617
  await insertOntologyForMemory({
3618
3618
  id,
3619
3619
  agent_id: record.agent_id,
@@ -4490,7 +4490,7 @@ async function startMcpHttpServer() {
4490
4490
  setBootPhase("db_ready");
4491
4491
  _storeInitialized = true;
4492
4492
  markDbInitCompleted();
4493
- const { initLicenseGate, getCachedLicenseGate } = await import("../license-gate-Q37UDDE5.js");
4493
+ const { initLicenseGate, getCachedLicenseGate } = await import("../license-gate-KGSD5NV5.js");
4494
4494
  const gateResult = await initLicenseGate();
4495
4495
  if (!gateResult.hasKey) {
4496
4496
  process.stderr.write(
@@ -4502,7 +4502,7 @@ async function startMcpHttpServer() {
4502
4502
  `
4503
4503
  );
4504
4504
  }
4505
- const { startLicenseRecheckTimer, LICENSE_RECHECK_INTERVAL_MS } = await import("../license-recheck-AJ7VHKXK.js");
4505
+ const { startLicenseRecheckTimer, LICENSE_RECHECK_INTERVAL_MS } = await import("../license-recheck-M674BGZZ.js");
4506
4506
  startLicenseRecheckTimer();
4507
4507
  process.stderr.write(
4508
4508
  `[exed] License re-check timer started (every ${LICENSE_RECHECK_INTERVAL_MS / 6e4}m, throttled by cache freshness)
@@ -4511,7 +4511,7 @@ async function startMcpHttpServer() {
4511
4511
  let _cachedWrapTelemetry = null;
4512
4512
  async function getWrapTelemetry() {
4513
4513
  if (!_cachedWrapTelemetry) {
4514
- const { wrapServerWithTelemetry } = await import("../tool-telemetry-HPOHW2Y2.js");
4514
+ const { wrapServerWithTelemetry } = await import("../tool-telemetry-A7NUFJI4.js");
4515
4515
  _cachedWrapTelemetry = wrapServerWithTelemetry;
4516
4516
  }
4517
4517
  return _cachedWrapTelemetry;
@@ -4583,7 +4583,7 @@ async function startMcpHttpServer() {
4583
4583
  const expectedBuf = Buffer.from(_daemonToken);
4584
4584
  if (tokenBuf.length === expectedBuf.length && timingSafeEqual(tokenBuf, expectedBuf)) return true;
4585
4585
  try {
4586
- const { verifyAccessToken } = await import("../oauth-server-WAR3PJOX.js");
4586
+ const { verifyAccessToken } = await import("../oauth-server-6TE2NW74.js");
4587
4587
  const result = verifyAccessToken(token);
4588
4588
  return result.valid;
4589
4589
  } catch {
@@ -4846,7 +4846,7 @@ async function startMcpHttpServer() {
4846
4846
  return;
4847
4847
  }
4848
4848
  try {
4849
- const { handleOAuthRoute } = await import("../oauth-server-WAR3PJOX.js");
4849
+ const { handleOAuthRoute } = await import("../oauth-server-6TE2NW74.js");
4850
4850
  const handled = await handleOAuthRoute(req, res, url, MCP_HTTP_PORT, _daemonToken);
4851
4851
  if (handled) return;
4852
4852
  } catch (err) {
@@ -4974,7 +4974,7 @@ async function startMcpHttpServer() {
4974
4974
  contextPct: body.context_pct
4975
4975
  });
4976
4976
  if (body.context_pct !== void 0 && body.context_pct > 70) {
4977
- void import("../orchestration-events-TXMCSNWZ.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
4977
+ void import("../orchestration-events-U6DT373C.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
4978
4978
  recordOE({
4979
4979
  eventType: "context.pressure",
4980
4980
  source: "exe-daemon.heartbeat",
@@ -5070,7 +5070,7 @@ async function startMcpHttpServer() {
5070
5070
  let sessionHint = req.headers["x-exe-session-name"] || req.headers["x-exe-session"] || "";
5071
5071
  if (sessionHint) {
5072
5072
  try {
5073
- const { sanitizeSessionHintHeader, rejectForgedSessionHint } = await import("../mcp-session-identity-JKOJLE7C.js");
5073
+ const { sanitizeSessionHintHeader, rejectForgedSessionHint } = await import("../mcp-session-identity-AEYKQELS.js");
5074
5074
  const rawHint = sessionHint;
5075
5075
  sessionHint = sanitizeSessionHintHeader(sessionHint);
5076
5076
  if (!sessionHint) {
@@ -5109,7 +5109,7 @@ async function startMcpHttpServer() {
5109
5109
  try {
5110
5110
  const liveSessions = await getTmuxSessionsAsync();
5111
5111
  const paneCommands = await getPaneCommandsAsync();
5112
- const { resolveMcpSessionHint } = await import("../mcp-session-identity-JKOJLE7C.js");
5112
+ const { resolveMcpSessionHint } = await import("../mcp-session-identity-AEYKQELS.js");
5113
5113
  let registrySessions = [];
5114
5114
  try {
5115
5115
  const { listSessions: listRegistrySessions } = await import("./session-registry.js");
@@ -5246,7 +5246,7 @@ async function startMcpHttpServer() {
5246
5246
  bindLive = await getTmuxSessionsAsync();
5247
5247
  } catch {
5248
5248
  }
5249
- const { isLauncherCorroboratedIdentity } = await import("../mcp-session-identity-JKOJLE7C.js");
5249
+ const { isLauncherCorroboratedIdentity } = await import("../mcp-session-identity-AEYKQELS.js");
5250
5250
  const corroborated = isLauncherCorroboratedIdentity({
5251
5251
  agentId,
5252
5252
  registrySessions: bindRegistry,
@@ -5488,7 +5488,7 @@ async function startMcpHttpServer() {
5488
5488
  }
5489
5489
  }
5490
5490
  try {
5491
- const { reconcileHintWithRegistryIdentity } = await import("../mcp-session-identity-JKOJLE7C.js");
5491
+ const { reconcileHintWithRegistryIdentity } = await import("../mcp-session-identity-AEYKQELS.js");
5492
5492
  const { listSessions: listRegistrySessions } = await import("./session-registry.js");
5493
5493
  const recon = reconcileHintWithRegistryIdentity({
5494
5494
  agentId,
@@ -5713,7 +5713,17 @@ function clearHealthExitStreak() {
5713
5713
  }
5714
5714
  }
5715
5715
  var _lastStoreInitFailureReason = null;
5716
+ var _storeInitInFlight = null;
5716
5717
  async function ensureStoreForPolling() {
5718
+ if (_storeInitialized) return true;
5719
+ if (!_storeInitInFlight) {
5720
+ _storeInitInFlight = initStoreForPollingOnce().finally(() => {
5721
+ _storeInitInFlight = null;
5722
+ });
5723
+ }
5724
+ return _storeInitInFlight;
5725
+ }
5726
+ async function initStoreForPollingOnce() {
5717
5727
  if (_storeInitialized) return true;
5718
5728
  try {
5719
5729
  const { initDatabase, initPostgresOnlyDatabase, isInitialized, ensureSchema } = await import("./database.js");
@@ -5748,9 +5758,9 @@ async function ensureStoreForPolling() {
5748
5758
  await initDatabase({ dbPath: config.dbPath, encryptionKey: masterKey.toString("hex") });
5749
5759
  await ensureSchema();
5750
5760
  try {
5751
- const { isLedgerEnabled } = await import("../notification-ledger-EMZ676N7.js");
5761
+ const { isLedgerEnabled } = await import("../notification-ledger-MIYYFMHL.js");
5752
5762
  if (isLedgerEnabled()) {
5753
- const { bumpBootGeneration } = await import("../boot-generation-UGKTVJQW.js");
5763
+ const { bumpBootGeneration } = await import("../boot-generation-TT4BOFXY.js");
5754
5764
  const { setDaemonReadyGeneration } = await import("../daemon-ready-signal-PNDMVKPJ.js");
5755
5765
  const generation = await bumpBootGeneration();
5756
5766
  setDaemonReadyGeneration(generation);
@@ -5796,13 +5806,13 @@ async function ensureStoreForPolling() {
5796
5806
  }
5797
5807
  }
5798
5808
  async function startReviewPolling() {
5799
- const polling = await import("../review-polling-5W6HLGKH.js");
5809
+ const polling = await import("../review-polling-OU7JLEKI.js");
5800
5810
  const state = {
5801
5811
  lastIntercomSent: /* @__PURE__ */ new Map(),
5802
5812
  lastNudgeSent: /* @__PURE__ */ new Map(),
5803
5813
  intervalMs: REVIEW_POLL_INTERVAL_MS
5804
5814
  };
5805
- const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-ZPUEHXRM.js");
5815
+ const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-2SROQ2N4.js");
5806
5816
  const nudgeState = loadNudgeState();
5807
5817
  const tick = async () => traceDaemonTimer("review_polling", async () => {
5808
5818
  fired("review_polling");
@@ -5810,7 +5820,7 @@ async function startReviewPolling() {
5810
5820
  try {
5811
5821
  const { getClient } = await import("./database.js");
5812
5822
  const deps = polling.createRealDeps(getClient);
5813
- const { strictSessionScopeFilter } = await import("../task-scope-5OTHET2J.js");
5823
+ const { strictSessionScopeFilter } = await import("../task-scope-6LIHTVCC.js");
5814
5824
  const { getCoordinatorName, DEFAULT_COORDINATOR_TEMPLATE_NAME } = await import("./employees.js");
5815
5825
  deps.findOrphanedDoneTasks = async (sessionScope) => {
5816
5826
  const coordinatorName = getCoordinatorName();
@@ -5830,7 +5840,7 @@ async function startReviewPolling() {
5830
5840
  deps.findTieredReviewCandidates = async (sessionScope) => {
5831
5841
  let project = null;
5832
5842
  try {
5833
- const { getProjectName } = await import("../project-name-3WEMIXD6.js");
5843
+ const { getProjectName } = await import("../project-name-O37JG2BV.js");
5834
5844
  project = getProjectName() || null;
5835
5845
  } catch {
5836
5846
  project = null;
@@ -5889,7 +5899,7 @@ function startSessionTTL() {
5889
5899
  if (!await ensureStoreForPolling()) return;
5890
5900
  if (inPostRestartDestructiveGrace("session_ttl")) return;
5891
5901
  const { getClient } = await import("./database.js");
5892
- const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-ZPUEHXRM.js");
5902
+ const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-2SROQ2N4.js");
5893
5903
  const deps = createSessionTTLRealDeps(getClient);
5894
5904
  const killed = await checkSessionTTL(deps, _wedgeObservations);
5895
5905
  if (killed.length > 0) acted("session_ttl");
@@ -5949,7 +5959,7 @@ function startIdleKill() {
5949
5959
  const cfg = await getCachedConfig();
5950
5960
  if (!cfg) return;
5951
5961
  const { getClient } = await import("./database.js");
5952
- const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-ZPUEHXRM.js");
5962
+ const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-2SROQ2N4.js");
5953
5963
  const { sessions: liveSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
5954
5964
  const realDeps = createIdleKillRealDeps(
5955
5965
  getClient,
@@ -6385,7 +6395,7 @@ function startSkillRefinement() {
6385
6395
  if (!shouldRunHeavyJob("skill_refinement")) return;
6386
6396
  try {
6387
6397
  if (!await ensureStoreForPolling()) return;
6388
- const { runSkillRefinement } = await import("../skill-refinement-XAL2VK7I.js");
6398
+ const { runSkillRefinement } = await import("../skill-refinement-4ZND3EZF.js");
6389
6399
  const result = await runSkillRefinement();
6390
6400
  if (result.reviewed > 0) {
6391
6401
  acted("skill_refinement");
@@ -6450,7 +6460,7 @@ function startStalledDispatchSweep() {
6450
6460
  });
6451
6461
  const { notifications, nextState } = decideStalledDispatchEscalations(intents, previousState);
6452
6462
  if (notifications.length > 0 && _storeInitialized) {
6453
- const { writeNotification } = await import("../notifications-UITENQFG.js");
6463
+ const { writeNotification } = await import("../notifications-E7ZUVBUS.js");
6454
6464
  for (const note of notifications) {
6455
6465
  try {
6456
6466
  await writeNotification({
@@ -6500,7 +6510,7 @@ function startStaleBranchSweep() {
6500
6510
  fired("stale_branch_sweep");
6501
6511
  if (sweepStarved("stale_branch_sweep")) return;
6502
6512
  try {
6503
- const { discoverRepoPathsAsync } = await import("../worktree-sweep-KMZ2KPSO.js");
6513
+ const { discoverRepoPathsAsync } = await import("../worktree-sweep-2MZ7PKEG.js");
6504
6514
  const { scanUnmergedBranchesCached } = await import("../branch-hygiene-DDXXI6ZA.js");
6505
6515
  const { runBudgetedSweep } = await import("../sweep-budget-YGLCNXZZ.js");
6506
6516
  const today = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
@@ -6533,7 +6543,7 @@ function startStaleBranchSweep() {
6533
6543
  if (!_storeInitialized) return;
6534
6544
  const stale = scan.branches.filter((b) => b.ageHours >= STALE_BRANCH_HOURS).slice(0, 5).map((b) => `${b.name} (${b.aheadUnknown ? "+? commits" : `+${b.ahead} commits`}, ${(b.ageHours / 24).toFixed(1)}d)`).join("; ");
6535
6545
  try {
6536
- const { writeNotification } = await import("../notifications-UITENQFG.js");
6546
+ const { writeNotification } = await import("../notifications-E7ZUVBUS.js");
6537
6547
  await writeNotification({
6538
6548
  agentId: "exe",
6539
6549
  agentRole: "system",
@@ -6574,7 +6584,7 @@ function startBugLandedReconcile() {
6574
6584
  fired("bug_landed_reconcile");
6575
6585
  if (sweepStarved("bug_landed_reconcile")) return;
6576
6586
  try {
6577
- const { reconcileLandedBugs } = await import("../bug-landed-reconciler-7DLU65MM.js");
6587
+ const { reconcileLandedBugs } = await import("../bug-landed-reconciler-NEL6KXHE.js");
6578
6588
  const result = await reconcileLandedBugs();
6579
6589
  const { reposScanned, reposErrored, prsScanned, matched, reconciled, skipped, errored } = result.summary;
6580
6590
  process.stderr.write(
@@ -6596,12 +6606,12 @@ function startBugLandedReconcile() {
6596
6606
  }
6597
6607
  async function maybeScheduleBugLandedReconcile() {
6598
6608
  try {
6599
- const { hasSupportAdminAccess } = await import("../support-bug-actions-GHMGOVQX.js");
6609
+ const { hasSupportAdminAccess } = await import("../support-bug-actions-IPFJ5WEZ.js");
6600
6610
  if (!await hasSupportAdminAccess()) {
6601
6611
  process.stderr.write("[exed] Bug-landed reconcile: no AskExe support admin token configured \u2014 skipping (customer install)\n");
6602
6612
  return;
6603
6613
  }
6604
- const { isGhAvailableAndAuthenticated } = await import("../bug-landed-reconciler-7DLU65MM.js");
6614
+ const { isGhAvailableAndAuthenticated } = await import("../bug-landed-reconciler-NEL6KXHE.js");
6605
6615
  if (!await isGhAvailableAndAuthenticated()) {
6606
6616
  process.stderr.write("[exed] Bug-landed reconcile: gh CLI not available/authenticated \u2014 skipping\n");
6607
6617
  return;
@@ -6640,7 +6650,7 @@ function startWorkStateHeartbeat() {
6640
6650
  const { getClient } = await import("./database.js");
6641
6651
  const { listSessions } = await import("./session-registry.js");
6642
6652
  const { isCoordinatorName } = await import("./employees.js");
6643
- const { runWorkStateTick } = await import("../work-state-heartbeat-WAVGL6QG.js");
6653
+ const { runWorkStateTick } = await import("../work-state-heartbeat-RXQKS4GL.js");
6644
6654
  let liveTmux = null;
6645
6655
  const loadLiveTmux = async () => {
6646
6656
  if (!liveTmux) liveTmux = await listTmuxSessionNamesAsync();
@@ -6706,7 +6716,7 @@ function startGraphExtraction() {
6706
6716
  if (!await ensureStoreForPolling()) return;
6707
6717
  const { getClient } = await import("./database.js");
6708
6718
  const client = getClient();
6709
- const { extractBatch } = await import("../graph-rag-WPSWFLOX.js");
6719
+ const { extractBatch } = await import("../graph-rag-HB5X6YAF.js");
6710
6720
  const result = await extractBatch(client, 50, config.selfQueryModel);
6711
6721
  if (result.processed > 0) {
6712
6722
  acted("graph_extraction");
@@ -7027,7 +7037,7 @@ async function refreshAgentData() {
7027
7037
  const decision = evaluateSpendCapAlert(_lastSpendCapLevel, capStatus);
7028
7038
  _lastSpendCapLevel = decision.level;
7029
7039
  if (decision.shouldAlert && decision.summary) {
7030
- const { writeNotification } = await import("../notifications-UITENQFG.js");
7040
+ const { writeNotification } = await import("../notifications-E7ZUVBUS.js");
7031
7041
  await writeNotification({
7032
7042
  agentId: "system",
7033
7043
  agentRole: "system",
@@ -7149,7 +7159,7 @@ function startReflectionSweep() {
7149
7159
  );
7150
7160
  let runReflection;
7151
7161
  try {
7152
- ({ runReflection } = await import("../memory-reflection-4775DTOT.js"));
7162
+ ({ runReflection } = await import("../memory-reflection-CTGRQAPC.js"));
7153
7163
  } catch (importErr) {
7154
7164
  _reflectionImportFailed = true;
7155
7165
  process.stderr.write(`[exed] Reflection module unavailable (stale chunk hash?) \u2014 disabled until daemon restart: ${importErr instanceof Error ? importErr.message : String(importErr)}
@@ -7190,7 +7200,7 @@ function startReflectionSweep() {
7190
7200
  if (memories > 100 && cards < memories * 0.1) {
7191
7201
  process.stderr.write(`[exed] Memory cards sparse (${cards} cards / ${memories} memories) \u2014 running backfill...
7192
7202
  `);
7193
- const { insertMemoryCardsForBatch } = await import("../memory-cards-WTRVBRVV.js");
7203
+ const { insertMemoryCardsForBatch } = await import("../memory-cards-3ITTLHOY.js");
7194
7204
  const batchSize = 500;
7195
7205
  let offset = 0;
7196
7206
  let totalCards = 0;
@@ -7280,7 +7290,7 @@ function startDatabaseBackup() {
7280
7290
  `
7281
7291
  );
7282
7292
  try {
7283
- const { maybeVerifyDailyBackup } = await import("../backup-verify-TPKH64MK.js");
7293
+ const { maybeVerifyDailyBackup } = await import("../backup-verify-LPCD7ETV.js");
7284
7294
  const verdict = await maybeVerifyDailyBackup(backupPath);
7285
7295
  if (verdict && !verdict.ok) {
7286
7296
  process.stderr.write(
@@ -7356,7 +7366,7 @@ function startSessionEventsRetention() {
7356
7366
  fired("session_events_retention");
7357
7367
  if (!await ensureStoreForPolling()) return;
7358
7368
  try {
7359
- const { DEFAULT_SESSION_EVENTS_RETENTION_DAYS, sessionEventsRetentionMode } = await import("../session-events-OOYSDWTW.js");
7369
+ const { DEFAULT_SESSION_EVENTS_RETENTION_DAYS, sessionEventsRetentionMode } = await import("../session-events-KB7A2PIL.js");
7360
7370
  const days = SESSION_EVENTS_RETENTION_DAYS ?? DEFAULT_SESSION_EVENTS_RETENTION_DAYS;
7361
7371
  const decision = sessionEventsRetentionMode(isWriteWorkerEnabled(), isDbWriteWorkerReady());
7362
7372
  if (decision.mode === "skip") {
@@ -7408,7 +7418,7 @@ function startConversationsRetention() {
7408
7418
  if (!await ensureStoreForPolling()) return;
7409
7419
  try {
7410
7420
  const { DEFAULT_CONVERSATIONS_RETENTION_DAYS } = await import("../conversations-retention-HFM2K6ND.js");
7411
- const { sessionEventsRetentionMode } = await import("../session-events-OOYSDWTW.js");
7421
+ const { sessionEventsRetentionMode } = await import("../session-events-KB7A2PIL.js");
7412
7422
  const days = CONVERSATIONS_RETENTION_DAYS ?? DEFAULT_CONVERSATIONS_RETENTION_DAYS;
7413
7423
  const decision = sessionEventsRetentionMode(isWriteWorkerEnabled(), isDbWriteWorkerReady());
7414
7424
  if (decision.mode === "skip") {
@@ -7457,7 +7467,7 @@ function startIntercomQueueDrain() {
7457
7467
  const tick = async () => traceDaemonTimer("intercom_queue_drain", async () => {
7458
7468
  fired("intercom_queue_drain");
7459
7469
  try {
7460
- const { drainQueueAsync, readQueue } = await import("../intercom-queue-NKPPTIL4.js");
7470
+ const { drainQueueAsync, readQueue } = await import("../intercom-queue-A24ARSCV.js");
7461
7471
  const {
7462
7472
  sendIntercomAsync: centralSendIntercomAsync,
7463
7473
  countScopedPendingReviews,
@@ -7589,7 +7599,7 @@ function startLedgerDrain() {
7589
7599
  const tick = async () => traceDaemonTimer("ledger_drain", async () => {
7590
7600
  fired("ledger_drain");
7591
7601
  try {
7592
- const { isLedgerEnabled, drainLedger } = await import("../notification-ledger-EMZ676N7.js");
7602
+ const { isLedgerEnabled, drainLedger } = await import("../notification-ledger-MIYYFMHL.js");
7593
7603
  if (!isLedgerEnabled()) return;
7594
7604
  const result = await drainLedger({
7595
7605
  // Shadow "would-deliver": idle target = would-deliver, busy = retry.
@@ -7629,7 +7639,7 @@ function startOrphanReaper() {
7629
7639
  fired("orphan_reaper");
7630
7640
  if (sweepStarved("orphan_reaper")) return;
7631
7641
  try {
7632
- const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-ZPUEHXRM.js");
7642
+ const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-2SROQ2N4.js");
7633
7643
  const deps = await createOrphanReaperRealDepsAsync();
7634
7644
  const reaped = await reapOrphanedMcpProcesses(deps);
7635
7645
  if (reaped.length > 0) acted("orphan_reaper");
@@ -7655,7 +7665,7 @@ function startZombieAgentReaper() {
7655
7665
  fired("zombie_agent_reaper");
7656
7666
  if (sweepStarved("zombie_agent_reaper")) return;
7657
7667
  try {
7658
- const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-ZPUEHXRM.js");
7668
+ const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-2SROQ2N4.js");
7659
7669
  const deps = await createZombieAgentReaperRealDepsAsync();
7660
7670
  const reaped = reapZombieAgentProcesses(deps);
7661
7671
  if (reaped.length > 0) acted("zombie_agent_reaper");
@@ -7679,7 +7689,7 @@ async function startDaemonMemoryPressureWatchdog() {
7679
7689
  try {
7680
7690
  const cfg = await getCachedConfig();
7681
7691
  if (!cfg) return;
7682
- const { startMemoryPressureWatchdog: startWatchdog, MEMORY_PRESSURE_WATCHDOG_DEFAULTS } = await import("../memory-pressure-watchdog-L3Z4VEPV.js");
7692
+ const { startMemoryPressureWatchdog: startWatchdog, MEMORY_PRESSURE_WATCHDOG_DEFAULTS } = await import("../memory-pressure-watchdog-FROXPH3U.js");
7683
7693
  const watchdogCfg = {
7684
7694
  ...MEMORY_PRESSURE_WATCHDOG_DEFAULTS,
7685
7695
  ...cfg.memoryPressureWatchdog ?? {}
@@ -7711,7 +7721,7 @@ function startWorktreeReaper() {
7711
7721
  fired("worktree_reaper");
7712
7722
  if (sweepStarved("worktree_reaper")) return;
7713
7723
  try {
7714
- const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-ZPUEHXRM.js");
7724
+ const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-2SROQ2N4.js");
7715
7725
  const deps = await createWorktreeReaperRealDeps();
7716
7726
  const result = await reapOrphanedWorktrees(deps);
7717
7727
  if (result.pruned.length > 0) {
@@ -7755,8 +7765,8 @@ function startWorktreeReaper() {
7755
7765
  }
7756
7766
  return;
7757
7767
  }
7758
- const { cleanupAgentWorktree } = await import("../worktree-sweep-KMZ2KPSO.js");
7759
- const { getMainRepoRootAsync } = await import("../worktree-GYH7OEVR.js");
7768
+ const { cleanupAgentWorktree } = await import("../worktree-sweep-2MZ7PKEG.js");
7769
+ const { getMainRepoRootAsync } = await import("../worktree-YIUDLMNS.js");
7760
7770
  const repoRoot = await getMainRepoRootAsync(signal.worktreePath);
7761
7771
  if (repoRoot && signal.agentId) {
7762
7772
  const notes = await cleanupAgentWorktree(repoRoot, signal.agentId);
@@ -7793,7 +7803,7 @@ function startAutoWake() {
7793
7803
  if (!await ensureStoreForPolling()) return;
7794
7804
  try {
7795
7805
  const { getClient } = await import("./database.js");
7796
- const { pollOrphanedTasks, createAutoWakeRealDeps } = await import("../daemon-orchestration-ZPUEHXRM.js");
7806
+ const { pollOrphanedTasks, createAutoWakeRealDeps } = await import("../daemon-orchestration-2SROQ2N4.js");
7797
7807
  const deps = createAutoWakeRealDeps(getClient, process.cwd(), getTmuxSessionsAsync);
7798
7808
  const woken = await pollOrphanedTasks(deps);
7799
7809
  if (woken.length > 0) acted("auto_wake");
@@ -7868,7 +7878,7 @@ function startAutoWake() {
7868
7878
  if (age > 60 * 60 * 1e3) {
7869
7879
  try {
7870
7880
  await unlink(signalPath);
7871
- void import("../orchestration-events-TXMCSNWZ.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
7881
+ void import("../orchestration-events-U6DT373C.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
7872
7882
  recordOE({ eventType: "signal.stale", source: "exe-daemon.autoWake", severity: "warn", payload: { file, ageMinutes: Math.round(age / 6e4) } });
7873
7883
  }).catch(() => {
7874
7884
  });
@@ -8017,7 +8027,7 @@ function startStuckTaskRelease() {
8017
8027
  createStaleClaimRealDeps,
8018
8028
  escalateStuckBlockedTasks,
8019
8029
  createStuckBlockedRealDeps
8020
- } = await import("../daemon-orchestration-ZPUEHXRM.js");
8030
+ } = await import("../daemon-orchestration-2SROQ2N4.js");
8021
8031
  const { runBudgetedSweep } = await import("../sweep-budget-YGLCNXZZ.js");
8022
8032
  const steps = [
8023
8033
  async () => {
@@ -8129,6 +8139,9 @@ function startExternalRssWatchdog() {
8129
8139
  const heartbeatPath = String(workerData.heartbeatPath || "");
8130
8140
  const stallMs = Number(workerData.stallMs) || 0;
8131
8141
  const stallMarkerPath = String(workerData.stallMarkerPath || markerPath);
8142
+ // Bug 7d911bf3 drain-guard marker (starvationSuppressedMarkerPath()), resolved on
8143
+ // the main thread. Empty = do not stamp.
8144
+ const starvationMarkerPath = String(workerData.starvationMarkerPath || "");
8132
8145
  const starvationRatio = Number(workerData.starvationRatio);
8133
8146
  const cpuCount = cpus().length || 1;
8134
8147
  let overCount = 0;
@@ -8206,12 +8219,28 @@ function startExternalRssWatchdog() {
8206
8219
  if (ageMs < stallMs) return;
8207
8220
  // Starvation-aware (bugs 459b9c5a/9a2e91a5): if the OS is CPU-starved the
8208
8221
  // lag is the scheduler, not an internal hang \u2014 restarting would not help and
8209
- // risks WAL damage. Skip while load/core exceeds the ratio. starvationRatio<=0
8222
+ // risks WAL damage. Skip while load/core exceeds the ratio on ANY of the 1-, 5-
8223
+ // or 15-minute averages. The 1-minute one alone is not enough: it drops under
8224
+ // the ratio within seconds of the run queue draining while this daemon is
8225
+ // still frozen (2026-11-16: a 142s block at 1.49 / 2.4 / 5.05 per core).
8226
+ // Cost: a genuinely wedged daemon on a recently overloaded host is restarted
8227
+ // only once the 15-minute average decays under the ratio. starvationRatio<=0
8210
8228
  // disables this check (always treat a stale heartbeat as a real wedge).
8211
8229
  if (starvationRatio > 0) {
8212
- const load1m = loadavg()[0] || 0;
8213
- if (load1m > cpuCount * starvationRatio) {
8214
- try { process.stderr.write("[exed-watchdog] event-loop heartbeat stale " + Math.round(ageMs/1000) + "s but load=" + load1m.toFixed(2) + "/" + cpuCount + " cpus (starved) \u2014 NOT restarting\\n"); } catch {}
8230
+ const loads = loadavg();
8231
+ const limit = cpuCount * starvationRatio;
8232
+ const horizons = ["1m", "5m", "15m"];
8233
+ const tripped = horizons.filter((h, i) => (Number(loads[i]) || 0) > limit);
8234
+ if (tripped.length > 0) {
8235
+ const loadText = horizons.map((h, i) => "load" + h + "=" + (Number(loads[i]) || 0).toFixed(2)).join(" ");
8236
+ try { process.stderr.write("[exed-watchdog] event-loop heartbeat stale " + Math.round(ageMs/1000) + "s but " + tripped.join("+") + " load > " + limit.toFixed(2) + " (" + loadText + ", " + cpuCount + " cpus; starved) \u2014 NOT restarting\\n"); } catch {}
8237
+ // Bug 7d911bf3 drain guard: the main thread can stamp this marker only
8238
+ // AFTER a block ends, so during a long block the external watchdog reads
8239
+ // it as stale. This thread is still running, so stamp it now.
8240
+ if (starvationMarkerPath) {
8241
+ try { mkdirSync(dirname(starvationMarkerPath), { recursive: true }); } catch {}
8242
+ try { writeFileSync(starvationMarkerPath, "stall_watchdog_starved heartbeat_stale=" + Math.round(ageMs/1000) + "s tripped=" + tripped.join("+") + " " + loadText + " cpus=" + cpuCount + " at " + new Date().toISOString() + " (stall watchdog worker, event-loop block in progress)\\n"); } catch {}
8243
+ }
8215
8244
  return;
8216
8245
  }
8217
8246
  }
@@ -8256,6 +8285,7 @@ function startExternalRssWatchdog() {
8256
8285
  heartbeatPath: process.env.EXE_EVENT_LOOP_STALL_MS === "0" ? "" : eventLoopHeartbeatPath(),
8257
8286
  stallMs: process.env.EXE_EVENT_LOOP_STALL_MS === "0" ? 0 : stallMs,
8258
8287
  stallMarkerPath: eventLoopBlockedMarkerPath(),
8288
+ starvationMarkerPath: starvationSuppressedMarkerPath(),
8259
8289
  starvationRatio: Number.isFinite(starvationRatio) ? starvationRatio : 1.5
8260
8290
  }
8261
8291
  });
@@ -8282,12 +8312,12 @@ function startTaskEnforcementScanner() {
8282
8312
  const tick = async () => traceDaemonTimer("task_enforcement", async () => {
8283
8313
  fired("task_enforcement");
8284
8314
  try {
8285
- const { runTaskEnforcementTick } = await import("../task-enforcement-DPOVUD2H.js");
8315
+ const { runTaskEnforcementTick } = await import("../task-enforcement-ESAMX2ML.js");
8286
8316
  const { getTransport } = await import("./transport.js");
8287
8317
  const { loadAgentConfig } = await import("./agent-config.js");
8288
8318
  const { getClient } = await import("./database.js");
8289
8319
  const { loadEmployeesSync } = await import("./employees.js");
8290
- const { sessionScopeFilter } = await import("../task-scope-5OTHET2J.js");
8320
+ const { sessionScopeFilter } = await import("../task-scope-6LIHTVCC.js");
8291
8321
  const transport = getTransport();
8292
8322
  const { sessions: allSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
8293
8323
  await yieldToEventLoop();
@@ -8298,10 +8328,10 @@ function startTaskEnforcementScanner() {
8298
8328
  sendKeysLiteral: transport.sendKeysLiteral?.bind(transport),
8299
8329
  isAlive: (session) => aliveSessions.has(session)
8300
8330
  };
8301
- const { checkAutoWakeGates } = await import("../daemon-orchestration-ZPUEHXRM.js");
8331
+ const { checkAutoWakeGates } = await import("../daemon-orchestration-2SROQ2N4.js");
8302
8332
  const { ensureEmployeeAsync, employeeSessionName, sendIntercomAsync } = await import("./tmux-routing.js");
8303
8333
  const { shouldAutoInstance } = await import("./employees.js");
8304
- const { recordOrchestrationEventBestEffort } = await import("../orchestration-events-TXMCSNWZ.js");
8334
+ const { recordOrchestrationEventBestEffort } = await import("../orchestration-events-U6DT373C.js");
8305
8335
  const projectDir = process.cwd();
8306
8336
  await runTaskEnforcementTick({
8307
8337
  transport: enforcementTransport,
@@ -8631,7 +8661,7 @@ async function sweepExpiredTracesFromDaemonTimer() {
8631
8661
  const memoryIds = idsResult.rows.map((r) => String(r.id)).filter(Boolean);
8632
8662
  if (memoryIds.length === 0) return 0;
8633
8663
  const { getClient } = await import("./database.js");
8634
- const { cleanupGraphLinksForMemories, cleanupCardsForMemories } = await import("../graph-rag-WPSWFLOX.js");
8664
+ const { cleanupGraphLinksForMemories, cleanupCardsForMemories } = await import("../graph-rag-HB5X6YAF.js");
8635
8665
  const client = getClient();
8636
8666
  await cleanupGraphLinksForMemories(client, memoryIds);
8637
8667
  await cleanupCardsForMemories(client, memoryIds);
@@ -8769,7 +8799,7 @@ function startHookRegistrationWatch() {
8769
8799
  process.stderr.write(`[exed] [HOOKS DEAD] ${mod.formatHookLivenessFailure(report)}
8770
8800
  `);
8771
8801
  try {
8772
- const { pushNotifyAsync: pushNotifyAsync2 } = await import("../push-notifications-CT452G6K.js");
8802
+ const { pushNotifyAsync: pushNotifyAsync2 } = await import("../push-notifications-QT2KL3GR.js");
8773
8803
  pushNotifyAsync2({
8774
8804
  event: "hooks_dead",
8775
8805
  title: `${report.broken.length} exe-os hook(s) cannot run`,
@@ -9443,7 +9473,7 @@ function startEventLoopLagDetector() {
9443
9473
  setLastStallClass("blocked", lag);
9444
9474
  process.stderr.write(msg + "\n");
9445
9475
  logDaemonHealth({ event: "event_loop_blocked", pid: process.pid, message: msg, data: { lagMs: lag } });
9446
- void import("../orchestration-events-TXMCSNWZ.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
9476
+ void import("../orchestration-events-U6DT373C.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
9447
9477
  recordOE({ eventType: "daemon.event_loop_blocked", source: "exe-daemon.lagDetector", severity: "error", durationMs: lag });
9448
9478
  }).catch(() => {
9449
9479
  });
@@ -9648,7 +9678,7 @@ function startTaskFileResync() {
9648
9678
  });
9649
9679
  if (Number(res.rowsAffected ?? 0) > 0) {
9650
9680
  synced++;
9651
- void import("../orchestration-events-TXMCSNWZ.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
9681
+ void import("../orchestration-events-U6DT373C.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
9652
9682
  recordOE({
9653
9683
  eventType: "task_file.resynced",
9654
9684
  source: "exe-daemon.taskFileResync",
@@ -9682,7 +9712,7 @@ function startTaskGroupBarriers() {
9682
9712
  fired("task_group_barriers");
9683
9713
  if (!await ensureStoreForPolling()) return;
9684
9714
  try {
9685
- const { pollTaskGroupBarriers } = await import("../daemon-orchestration-ZPUEHXRM.js");
9715
+ const { pollTaskGroupBarriers } = await import("../daemon-orchestration-2SROQ2N4.js");
9686
9716
  const firedCount = await pollTaskGroupBarriers();
9687
9717
  if (firedCount > 0) {
9688
9718
  acted("task_group_barriers");
@@ -9704,7 +9734,7 @@ function startCheckpointGc() {
9704
9734
  fired("checkpoint_gc");
9705
9735
  if (!await ensureStoreForPolling()) return;
9706
9736
  try {
9707
- const { gcStaleCheckpoints } = await import("../daemon-orchestration-ZPUEHXRM.js");
9737
+ const { gcStaleCheckpoints } = await import("../daemon-orchestration-2SROQ2N4.js");
9708
9738
  const cleared = await gcStaleCheckpoints();
9709
9739
  if (cleared > 0) {
9710
9740
  acted("checkpoint_gc");
@@ -9744,14 +9774,14 @@ function startDispatchAckCleanup() {
9744
9774
  function startProjectionWorkerDeferred() {
9745
9775
  setTimeout(async () => {
9746
9776
  try {
9747
- const { startProjectionWorker } = await import("../projection-worker-OD7SCQVL.js");
9777
+ const { startProjectionWorker } = await import("../projection-worker-HHEYDVMY.js");
9748
9778
  startProjectionWorker();
9749
9779
  } catch {
9750
9780
  }
9751
9781
  }, 2e4);
9752
9782
  }
9753
9783
  async function startToolTelemetry() {
9754
- const { startToolTelemetryFlush } = await import("../tool-telemetry-HPOHW2Y2.js");
9784
+ const { startToolTelemetryFlush } = await import("../tool-telemetry-A7NUFJI4.js");
9755
9785
  startToolTelemetryFlush();
9756
9786
  process.stderr.write("[exed] Tool telemetry started (flush every 5m)\n");
9757
9787
  }
@@ -9924,7 +9954,7 @@ function startLocalFirstTimers() {
9924
9954
  fired("orphan_task_cleanup");
9925
9955
  try {
9926
9956
  if (!await ensureStoreForPolling()) return;
9927
- const { cleanOrphanedTaskFiles } = await import("../tasks-crud-ZPUVDX7W.js");
9957
+ const { cleanOrphanedTaskFiles } = await import("../tasks-crud-NWNW7RDH.js");
9928
9958
  const count = await cleanOrphanedTaskFiles();
9929
9959
  if (count > 0) {
9930
9960
  acted("orphan_task_cleanup");
@@ -9940,7 +9970,7 @@ function startLocalFirstTimers() {
9940
9970
  fired("task_file_consistency");
9941
9971
  try {
9942
9972
  if (!await ensureStoreForPolling()) return;
9943
- const { checkTaskFileConsistency } = await import("../tasks-crud-ZPUVDX7W.js");
9973
+ const { checkTaskFileConsistency } = await import("../tasks-crud-NWNW7RDH.js");
9944
9974
  const mismatches = await checkTaskFileConsistency();
9945
9975
  if (mismatches > 0) {
9946
9976
  acted("task_file_consistency");
@@ -9960,7 +9990,7 @@ function startLocalFirstTimers() {
9960
9990
  let telemetryDeferredLogged = false;
9961
9991
  const telemetryDaily = async () => {
9962
9992
  try {
9963
- const { sendTelemetry, isTelemetryEnabled, canSendTelemetry } = await import("../telemetry-upload-4ZYZNO5R.js");
9993
+ const { sendTelemetry, isTelemetryEnabled, canSendTelemetry } = await import("../telemetry-upload-MUIZKQDT.js");
9964
9994
  if (!isTelemetryEnabled()) return;
9965
9995
  if (!canSendTelemetry()) {
9966
9996
  if (!telemetryDeferredLogged) {
@@ -10210,7 +10240,7 @@ try {
10210
10240
  });
10211
10241
  }
10212
10242
  try {
10213
- const { initOrgPartnerRuntime } = await import("../org-partner-runtime-J64U2Z7X.js");
10243
+ const { initOrgPartnerRuntime } = await import("../org-partner-runtime-PCGVG3M2.js");
10214
10244
  await initOrgPartnerRuntime();
10215
10245
  } catch (err) {
10216
10246
  process.stderr.write(
@@ -10236,7 +10266,7 @@ try {
10236
10266
  });
10237
10267
  startEventLoopLagDetector();
10238
10268
  try {
10239
- const { startMaintenanceLane, isMaintenanceLaneEnabled } = await import("../maintenance-worker-3FNF2GA5.js");
10269
+ const { startMaintenanceLane, isMaintenanceLaneEnabled } = await import("../maintenance-worker-R5N3A2KM.js");
10240
10270
  if (isMaintenanceLaneEnabled()) {
10241
10271
  startMaintenanceLane();
10242
10272
  }