@askexenow/exe-os 0.9.357 → 0.9.359

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 (334) hide show
  1. package/deploy/stack-manifests/v0.9.json +3 -3
  2. package/dist/.dist-verified.json +6 -0
  3. package/dist/{active-agent-PYMOMGQ7.js → active-agent-DMKNHGSG.js} +6 -4
  4. package/dist/{active-agent-LCRV3HVS.js → active-agent-Y3DCBD7J.js} +6 -4
  5. package/dist/{agentic-ontology-TNKI4FOM.js → agentic-ontology-3233PNKV.js} +1 -1
  6. package/dist/{backfill-metadata-SFS4ARNR.js → backfill-metadata-4DS4A5U3.js} +8 -6
  7. package/dist/{backup-verify-7NLKR4S6.js → backup-verify-JNYKXIU2.js} +6 -1
  8. package/dist/{behavior-injection-OT7VX7M6.js → behavior-injection-CGAMI552.js} +10 -8
  9. package/dist/{behaviors-6GW5AFG4.js → behaviors-57AMN5IP.js} +9 -7
  10. package/dist/bin/agentic-ontology-backfill.js +9 -7
  11. package/dist/bin/agentic-reflection-backfill.js +10 -8
  12. package/dist/bin/agentic-semantic-label.js +9 -7
  13. package/dist/bin/backfill-conversations.js +8 -6
  14. package/dist/bin/backfill-responses.js +8 -6
  15. package/dist/bin/backfill-vectors.js +9 -7
  16. package/dist/bin/bulk-sync-postgres.js +18 -14
  17. package/dist/bin/cc-doctor.js +7 -5
  18. package/dist/bin/cleanup-stale-review-tasks.js +16 -14
  19. package/dist/bin/cli.js +19 -19
  20. package/dist/bin/deferred-daemon-restart.js +81 -77
  21. package/dist/bin/exe-agent-config.js +5 -3
  22. package/dist/bin/exe-agent.js +14 -12
  23. package/dist/bin/exe-assign.js +9 -7
  24. package/dist/bin/exe-boot.js +62 -28
  25. package/dist/bin/exe-call.js +8 -6
  26. package/dist/bin/exe-cloud.js +20 -16
  27. package/dist/bin/exe-config-dump.js +5 -3
  28. package/dist/bin/exe-dispatch.js +16 -14
  29. package/dist/bin/exe-doctor.js +9 -6
  30. package/dist/bin/exe-export-behaviors.js +11 -9
  31. package/dist/bin/exe-forget.js +10 -8
  32. package/dist/bin/exe-gateway.js +10 -8
  33. package/dist/bin/exe-grant.js +17 -4
  34. package/dist/bin/exe-healthcheck.js +7 -5
  35. package/dist/bin/exe-heartbeat.js +18 -16
  36. package/dist/bin/exe-kill.js +20 -18
  37. package/dist/bin/exe-launch-agent.js +27 -25
  38. package/dist/bin/exe-memory-reads.js +8 -6
  39. package/dist/bin/exe-new-employee.js +12 -10
  40. package/dist/bin/exe-os-mcp-proxy.js +6 -4
  41. package/dist/bin/exe-pending-messages.js +17 -15
  42. package/dist/bin/exe-pending-notifications.js +16 -14
  43. package/dist/bin/exe-pending-reviews.js +16 -14
  44. package/dist/bin/exe-rename.js +8 -6
  45. package/dist/bin/exe-review.js +19 -17
  46. package/dist/bin/exe-search.js +9 -7
  47. package/dist/bin/exe-session-cleanup.js +20 -18
  48. package/dist/bin/exe-settings.js +18 -14
  49. package/dist/bin/exe-start-codex.js +16 -14
  50. package/dist/bin/exe-start-opencode.js +12 -10
  51. package/dist/bin/exe-status.js +17 -15
  52. package/dist/bin/exe-support.js +3 -3
  53. package/dist/bin/exe-team.js +6 -4
  54. package/dist/bin/exe-timers.js +2 -1
  55. package/dist/bin/git-sweep.js +17 -15
  56. package/dist/bin/graph-backfill.js +10 -8
  57. package/dist/bin/graph-export.js +9 -7
  58. package/dist/bin/import-history.js +13 -11
  59. package/dist/bin/install.js +83 -79
  60. package/dist/bin/intercom-check.js +4 -4
  61. package/dist/bin/mcp-sessions.js +2 -2
  62. package/dist/bin/orchestration-metrics.js +7 -5
  63. package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
  64. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  65. package/dist/bin/pre-publish.js +1 -1
  66. package/dist/bin/reconcile-backlog.js +2 -2
  67. package/dist/bin/registry-proxy.js +1 -1
  68. package/dist/bin/scan-tasks.js +16 -14
  69. package/dist/bin/setup.js +1 -1
  70. package/dist/bin/shard-migrate.js +9 -7
  71. package/dist/bin/stack-update.js +4 -4
  72. package/dist/bin/vps-health-gate.js +1 -1
  73. package/dist/{boot-generation-7ZI7JYGR.js → boot-generation-4D3CTT7X.js} +6 -4
  74. package/dist/{boot-review-sections-3MSXM6V7.js → boot-review-sections-NDFE5443.js} +15 -13
  75. package/dist/build-manifest.json +2961 -0
  76. package/dist/{capability-cards-4RD2SB2K.js → capability-cards-OBB7BMMX.js} +5 -3
  77. package/dist/{capacity-monitor-5XUR3JTN.js → capacity-monitor-QLPEL6S5.js} +17 -15
  78. package/dist/{catchup-brief-AYJWMQUZ.js → catchup-brief-EN7QR6MP.js} +20 -18
  79. package/dist/{chunk-ZMVVKOOS.js → chunk-2EAYZ3BK.js} +7 -7
  80. package/dist/{chunk-4KCLB4TY.js → chunk-2KLVTRY2.js} +1 -1
  81. package/dist/{chunk-4VU2VCEU.js → chunk-2OVTGZYH.js} +1 -1
  82. package/dist/{chunk-5Q2J6P4T.js → chunk-2YGAKBRG.js} +3 -3
  83. package/dist/{chunk-2TL5RKMC.js → chunk-3BAGFZFN.js} +1 -1
  84. package/dist/{chunk-PM4TIRCR.js → chunk-3ODATKWH.js} +1 -1
  85. package/dist/{chunk-RUBXKPOT.js → chunk-3ZEVMZ4G.js} +1 -1
  86. package/dist/{chunk-H4ZSOAP6.js → chunk-44WFVMZ5.js} +1 -1
  87. package/dist/{chunk-Y4JA5V22.js → chunk-46RPEWTH.js} +1 -1
  88. package/dist/{chunk-EHL4RCND.js → chunk-4DYJ6NOK.js} +6 -5
  89. package/dist/{chunk-ZWXSO4FN.js → chunk-4FQIWAXA.js} +9 -9
  90. package/dist/{chunk-YG4LS7TI.js → chunk-4WSUP4CC.js} +8 -8
  91. package/dist/{chunk-EWOMZLR6.js → chunk-57GRYGDU.js} +1 -1
  92. package/dist/{chunk-VCKIV5WG.js → chunk-5I3YC7ER.js} +2 -2
  93. package/dist/{chunk-UQCYG6EI.js → chunk-5UAMBMNR.js} +1 -1
  94. package/dist/chunk-5YEUPUV4.js +53 -0
  95. package/dist/{chunk-34MIJGQS.js → chunk-6EOLGE7T.js} +1 -1
  96. package/dist/{chunk-AWB7M62V.js → chunk-6KREY2Q7.js} +4 -4
  97. package/dist/{chunk-FWJFKWYA.js → chunk-6LY3QSJA.js} +2 -2
  98. package/dist/{chunk-7FKC2TIB.js → chunk-6SK4MM5B.js} +1 -1
  99. package/dist/{chunk-P7EUKYSQ.js → chunk-6WHYSLGF.js} +1 -1
  100. package/dist/{chunk-YSUHXDQU.js → chunk-74R44E4S.js} +21 -19
  101. package/dist/{chunk-DF5K4JJL.js → chunk-A5WEEND7.js} +3 -3
  102. package/dist/{chunk-OBWTTM7E.js → chunk-AL7JMA54.js} +2 -2
  103. package/dist/{chunk-JZXHLDQN.js → chunk-APR556TY.js} +1 -1
  104. package/dist/{chunk-G2MXTLOD.js → chunk-C5YZMYQH.js} +1 -1
  105. package/dist/{chunk-X7CWCQ5S.js → chunk-CAEWPEBA.js} +1 -1
  106. package/dist/{chunk-SFSB64NK.js → chunk-DKRSKC5R.js} +1 -1
  107. package/dist/{chunk-IIHFSNL4.js → chunk-DQ75MEPU.js} +1 -1
  108. package/dist/{chunk-H4IZKSOY.js → chunk-DWKH2H7W.js} +1 -1
  109. package/dist/{chunk-M5DPPJLS.js → chunk-EA5FVACM.js} +39 -7
  110. package/dist/{chunk-S3THSOWV.js → chunk-EUQF3JOH.js} +28 -100
  111. package/dist/{chunk-2LM5GO5R.js → chunk-EX2SSLNU.js} +5 -5
  112. package/dist/{chunk-4GGP4Q5N.js → chunk-F3QTF4T7.js} +2 -2
  113. package/dist/{chunk-EQQYCP6D.js → chunk-FASR2WLT.js} +1 -1
  114. package/dist/{chunk-NT4GET5B.js → chunk-G2KK64UB.js} +4 -4
  115. package/dist/{chunk-ABM3DZF3.js → chunk-G37RG543.js} +1 -1
  116. package/dist/{chunk-AW3WT3TJ.js → chunk-GD7VXXW6.js} +141 -140
  117. package/dist/{chunk-IT4TFJTK.js → chunk-GSVQBBE5.js} +3 -3
  118. package/dist/{chunk-LVZZ7YS3.js → chunk-HK7SQDKJ.js} +5 -5
  119. package/dist/chunk-HKK7LLS5.js +408 -0
  120. package/dist/{chunk-W3IXTUCL.js → chunk-HLEZ5O5P.js} +77 -37
  121. package/dist/{chunk-A5P2MMII.js → chunk-HNPHPGGF.js} +2 -2
  122. package/dist/{chunk-QGLAMWQJ.js → chunk-HPHF5VTT.js} +3 -3
  123. package/dist/{chunk-IO5FR7BZ.js → chunk-IQWAYXVF.js} +3 -3
  124. package/dist/{chunk-PNTRRXAN.js → chunk-JBAMYKBL.js} +1 -1
  125. package/dist/{chunk-2WWGTOVP.js → chunk-JE34CB5H.js} +19 -1
  126. package/dist/{chunk-APRVAUOR.js → chunk-JY5GAZYC.js} +1 -0
  127. package/dist/{chunk-PUAA3P47.js → chunk-KIXNMTGC.js} +4 -4
  128. package/dist/{chunk-ES4XE6AU.js → chunk-LPKTGK7L.js} +4 -4
  129. package/dist/{chunk-KT4RUFYO.js → chunk-LRETL4I3.js} +3 -3
  130. package/dist/{chunk-JO6TS75M.js → chunk-LXG37RB2.js} +1 -1
  131. package/dist/{chunk-CI3YVCUY.js → chunk-MCNDZU5W.js} +1 -1
  132. package/dist/{chunk-JLXJMDKG.js → chunk-NE57GONM.js} +1 -1
  133. package/dist/{chunk-72GUU6Z4.js → chunk-NKDKB2RT.js} +3 -3
  134. package/dist/{chunk-KP3PLOGC.js → chunk-NP2Y7P3I.js} +2 -2
  135. package/dist/{chunk-ES6PDSEK.js → chunk-OAYTQ4RY.js} +8 -8
  136. package/dist/{chunk-Z5DTZ464.js → chunk-OIS5VIAH.js} +6 -0
  137. package/dist/{chunk-VPMAC5VB.js → chunk-OY2PWHYR.js} +1 -1
  138. package/dist/{chunk-YQ7IZPVC.js → chunk-PDRIIEFV.js} +1 -1
  139. package/dist/{chunk-W3REQ37P.js → chunk-PLOEFBFW.js} +2 -2
  140. package/dist/{chunk-X4EDW3FH.js → chunk-POZGQQEZ.js} +1 -1
  141. package/dist/{chunk-AJGTBW3N.js → chunk-QH2XAUZ5.js} +1 -1
  142. package/dist/{chunk-6CZXY5BD.js → chunk-QROIFRKI.js} +5 -5
  143. package/dist/{chunk-P2Y6S53G.js → chunk-R6LNQAUG.js} +1 -1
  144. package/dist/{chunk-JKOEOHOD.js → chunk-R7F6HKTH.js} +6 -21
  145. package/dist/{chunk-6WAJJN5W.js → chunk-RFUTLZ2U.js} +3 -3
  146. package/dist/{chunk-CQPFNVWY.js → chunk-RJ67HG2P.js} +3 -3
  147. package/dist/{chunk-6H4ZEU7P.js → chunk-SHEWTDPC.js} +4 -4
  148. package/dist/{chunk-XPGUSSG7.js → chunk-SIGAQQHW.js} +1 -1
  149. package/dist/{chunk-PUNCHUEX.js → chunk-SNWV44E5.js} +3 -3
  150. package/dist/{chunk-WJIGSNJM.js → chunk-SQBNN44X.js} +12 -12
  151. package/dist/{chunk-6UTP7AIH.js → chunk-STFR72YH.js} +1 -1
  152. package/dist/chunk-TWMWHDOY.js +79 -0
  153. package/dist/{chunk-RZSPCNLY.js → chunk-UZ5RJYL3.js} +1 -1
  154. package/dist/chunk-V3W3SATA.js +135 -0
  155. package/dist/{chunk-WL3CT5KX.js → chunk-VCCZQDCU.js} +2 -2
  156. package/dist/{chunk-VU2MZ7BP.js → chunk-VNK3MNZE.js} +40 -3
  157. package/dist/{chunk-MVYB76QG.js → chunk-VRTCVZND.js} +16 -20
  158. package/dist/{chunk-UEXJYSJX.js → chunk-VXL7PJ56.js} +39 -2
  159. package/dist/{chunk-4OMIENRX.js → chunk-VY5VU7SX.js} +1 -1
  160. package/dist/{chunk-JUE37LOD.js → chunk-W3XUU36X.js} +4 -4
  161. package/dist/{chunk-WHQYVFE2.js → chunk-W5YV2PZE.js} +22 -15
  162. package/dist/{chunk-DZNXWCJN.js → chunk-WA2MJGPT.js} +1 -1
  163. package/dist/{chunk-LDRMNJJJ.js → chunk-WCP4OQUL.js} +2 -2
  164. package/dist/{chunk-25X4JD2V.js → chunk-WDA2KAV7.js} +20 -3
  165. package/dist/{chunk-YNYISUMW.js → chunk-WRP5AG4D.js} +1 -1
  166. package/dist/{chunk-HAOZB4W6.js → chunk-X2F6Q7TW.js} +1 -1
  167. package/dist/{chunk-TQ4O5A4S.js → chunk-XV42EAVK.js} +1 -1
  168. package/dist/{chunk-TAR5J7WI.js → chunk-XVTKJEI2.js} +4 -4
  169. package/dist/{chunk-XQAELSOQ.js → chunk-XWWNRFRF.js} +2 -2
  170. package/dist/{chunk-6SAQSXT2.js → chunk-YKRNH5LU.js} +1 -1
  171. package/dist/{chunk-QXAE6S3A.js → chunk-YMCIZCNK.js} +3 -3
  172. package/dist/chunk-YQGMSXT5.js +33 -0
  173. package/dist/{chunk-LLXYWNCH.js → chunk-Z2PAVJJ4.js} +1 -1
  174. package/dist/{cleanup-graph-garbage-XUNHVCRR.js → cleanup-graph-garbage-XFGY4EEE.js} +11 -9
  175. package/dist/{cloud-sync-shutdown-JRAERBUO.js → cloud-sync-shutdown-XCOATIJW.js} +5 -3
  176. package/dist/{co-activation-5AN2CF23.js → co-activation-XNBLOGK3.js} +5 -3
  177. package/dist/{co-occurrence-A7E774ZX.js → co-occurrence-HO4PGQC4.js} +9 -7
  178. package/dist/{conversation-entity-extractor-2XI2GC4N.js → conversation-entity-extractor-5G5DGRJU.js} +4 -4
  179. package/dist/{crdt-sync-2IUU6GZ6.js → crdt-sync-6TD7LSZW.js} +3 -2
  180. package/dist/{crm-webhook-BQCP77TI.js → crm-webhook-WZAV5776.js} +2 -2
  181. package/dist/{cto-delegation-gate-UHHNMWCL.js → cto-delegation-gate-UHMYFM4D.js} +15 -13
  182. package/dist/{daemon-orchestration-7WS3X5DQ.js → daemon-orchestration-DT5M2ZAR.js} +20 -19
  183. package/dist/{daemon-ready-signal-TVCPSG7J.js → daemon-ready-signal-CKXPUMJ2.js} +3 -1
  184. package/dist/{daemon-restart-report-QDRGKLL6.js → daemon-restart-report-HZU5LWXN.js} +2 -1
  185. package/dist/{daemon-timer-report-NM44WQRH.js → daemon-timer-report-TNJH5SFY.js} +2 -1
  186. package/dist/{doc-graph-extractor-NFERAJNP.js → doc-graph-extractor-FNCYPFKY.js} +9 -7
  187. package/dist/{documents-SW2MJUXY.js → documents-GKDZDUED.js} +9 -7
  188. package/dist/{dreaming-KSNJVNFH.js → dreaming-WPMQJAXW.js} +19 -17
  189. package/dist/{exe-drift-NBLYKQBQ.js → exe-drift-QTKD2FHT.js} +6 -4
  190. package/dist/{exe-export-44IWTJHL.js → exe-export-ESJ6KP6J.js} +11 -9
  191. package/dist/{exe-import-PPECH3KO.js → exe-import-N4X3GEQB.js} +11 -9
  192. package/dist/{exe-key-ZCRJQYA7.js → exe-key-KZCCHX3W.js} +84 -77
  193. package/dist/{exe-snapshot-OVINJ6MC.js → exe-snapshot-SCRPHCPZ.js} +20 -18
  194. package/dist/{fast-db-init-B5Q3SJQG.js → fast-db-init-6H67K76Q.js} +1 -1
  195. package/dist/{founder-context-5OFTZNDO.js → founder-context-C7X7IRDA.js} +2 -2
  196. package/dist/founder-monitor-envelope-DHSUMBWU.js +83 -0
  197. package/dist/gateway/index.js +11 -9
  198. package/dist/{git-staleness-XQJTOSGZ.js → git-staleness-JCKVMWPO.js} +5 -3
  199. package/dist/{global-procedures-YCJ3JPAP.js → global-procedures-BR7WGSE7.js} +7 -5
  200. package/dist/{graph-auto-extract-XJN6PQH3.js → graph-auto-extract-EOXWQRBZ.js} +9 -7
  201. package/dist/{graph-rag-HCQCZ2W7.js → graph-rag-5FVC5JXH.js} +4 -4
  202. package/dist/{hook-prefetch-FKXDTCDS.js → hook-prefetch-2CN3MK4H.js} +16 -14
  203. package/dist/hooks/bug-report-worker.js +18 -16
  204. package/dist/hooks/codex-stop-task-finalizer.js +19 -17
  205. package/dist/hooks/commit-complete.js +18 -16
  206. package/dist/hooks/error-recall.js +10 -8
  207. package/dist/hooks/exe-heartbeat-hook.js +6 -4
  208. package/dist/hooks/ingest.js +14 -102
  209. package/dist/hooks/instructions-loaded.js +7 -5
  210. package/dist/hooks/manifest.json +19 -19
  211. package/dist/hooks/notification.js +7 -5
  212. package/dist/hooks/post-compact.js +17 -15
  213. package/dist/hooks/post-tool-combined.js +10 -10
  214. package/dist/hooks/pre-compact.js +18 -16
  215. package/dist/hooks/pre-tool-use.js +23 -21
  216. package/dist/hooks/prompt-submit.js +34 -38
  217. package/dist/hooks/session-end.js +22 -20
  218. package/dist/hooks/session-start.js +13 -18
  219. package/dist/hooks/stop.js +21 -19
  220. package/dist/hooks/subagent-stop.js +19 -17
  221. package/dist/hooks/summary-worker.js +22 -25
  222. package/dist/index.js +25 -23
  223. package/dist/{installer-YSCUE6MT.js → installer-7UV3CNWZ.js} +8 -6
  224. package/dist/{installer-YTT5OSRL.js → installer-VPNTM3X6.js} +8 -6
  225. package/dist/{installer-G3DVMNC6.js → installer-YDLSXGD2.js} +8 -6
  226. package/dist/{intercom-queue-5D52JF3Q.js → intercom-queue-KHKJJYCQ.js} +15 -13
  227. package/dist/lib/cloud-sync.js +18 -14
  228. package/dist/lib/consolidation.js +11 -9
  229. package/dist/lib/crypto.js +2 -1
  230. package/dist/lib/database.js +9 -3
  231. package/dist/lib/db-backup.js +1 -1
  232. package/dist/lib/db-checkpoint-worker.js +4 -0
  233. package/dist/lib/db-daemon-client.js +3 -1
  234. package/dist/lib/db-read-worker.js +4 -0
  235. package/dist/lib/db-write-worker.js +3 -3
  236. package/dist/lib/db.js +9 -3
  237. package/dist/lib/device-registry.js +1 -1
  238. package/dist/lib/employee-templates.js +8 -6
  239. package/dist/lib/employees.js +5 -3
  240. package/dist/lib/exe-daemon.js +202 -93
  241. package/dist/lib/hybrid-search.js +9 -7
  242. package/dist/lib/identity.js +5 -3
  243. package/dist/lib/license.js +2 -2
  244. package/dist/lib/messaging.js +16 -14
  245. package/dist/lib/registry-proxy.js +1 -1
  246. package/dist/lib/reminders.js +6 -4
  247. package/dist/lib/schedules.js +9 -7
  248. package/dist/lib/session-registry.js +7 -5
  249. package/dist/lib/skill-learning.js +10 -8
  250. package/dist/lib/store.js +8 -6
  251. package/dist/lib/task-router.js +6 -4
  252. package/dist/lib/tasks.js +17 -15
  253. package/dist/lib/tmux-routing.js +15 -13
  254. package/dist/lib/token-spend.js +8 -4
  255. package/dist/{license-gate-DKYHCAMN.js → license-gate-YXUSNA2I.js} +3 -3
  256. package/dist/{license-sync-JVEXPDHN.js → license-sync-XFDOXL3Z.js} +2 -2
  257. package/dist/mcp/register-tools.js +80 -76
  258. package/dist/mcp/server.js +81 -77
  259. package/dist/mcp/tools/complete-reminder.js +7 -5
  260. package/dist/mcp/tools/create-reminder.js +7 -5
  261. package/dist/mcp/tools/create-task.js +19 -17
  262. package/dist/mcp/tools/deactivate-behavior.js +11 -9
  263. package/dist/mcp/tools/list-reminders.js +7 -5
  264. package/dist/mcp/tools/list-tasks.js +19 -17
  265. package/dist/mcp/tools/send-message.js +18 -16
  266. package/dist/mcp/tools/update-task.js +18 -16
  267. package/dist/{mcp-health-WDOB6XUB.js → mcp-health-HNVSWKFA.js} +6 -1
  268. package/dist/{mcp-http-config-L5RDDU6P.js → mcp-http-config-HIP5CEDV.js} +6 -4
  269. package/dist/{mcp-session-identity-S6UCHBER.js → mcp-session-identity-RTNZ2ZLW.js} +15 -13
  270. package/dist/{memory-cards-65RGFT5M.js → memory-cards-KG4TPNKK.js} +8 -6
  271. package/dist/{memory-graph-extractor-ZDZ5VQUX.js → memory-graph-extractor-6HTBLO2N.js} +10 -8
  272. package/dist/{memory-poisoning-defense-EQUQNXRE.js → memory-poisoning-defense-3ZT57RSJ.js} +5 -3
  273. package/dist/{memory-pressure-watchdog-CC344JBH.js → memory-pressure-watchdog-ZOZBIMKC.js} +16 -14
  274. package/dist/{memory-reflection-Q4OT4V55.js → memory-reflection-EQC4FXSW.js} +5 -3
  275. package/dist/{monitor-grants-NWSQ7ZCQ.js → monitor-grants-BDLVFVDR.js} +3 -1
  276. package/dist/{notification-ledger-GL3ZPZNR.js → notification-ledger-NZ4HO3M5.js} +16 -14
  277. package/dist/{notifications-FGYNO2FY.js → notifications-74YECZ4V.js} +15 -13
  278. package/dist/{orchestration-events-N5FQ4SKU.js → orchestration-events-KRQI4ED5.js} +6 -4
  279. package/dist/{orchestrator-XUJDK4EW.js → orchestrator-WV2YCHTK.js} +17 -15
  280. package/dist/org-membership-B32NS5NI.js +34 -0
  281. package/dist/{pipeline-router-YQOZ4M62.js → pipeline-router-6ZZV7JMA.js} +6 -4
  282. package/dist/{plan-limits-VBHKYKSK.js → plan-limits-B7AZKZ6U.js} +8 -6
  283. package/dist/{platform-procedures-F3XB6WWM.js → platform-procedures-2VQGBJU7.js} +1 -1
  284. package/dist/{projection-worker-NJUNGEXE.js → projection-worker-LRFFQ6JB.js} +2 -2
  285. package/dist/{prospective-memory-3MKUPDVI.js → prospective-memory-A4GDTIWG.js} +5 -3
  286. package/dist/{reranker-LGSIL6TX.js → reranker-YVTLJCFC.js} +1 -1
  287. package/dist/{retrieval-health-AEEQ5IO6.js → retrieval-health-PK2ODTXM.js} +1 -1
  288. package/dist/{review-polling-2RMEZ5QO.js → review-polling-JFWRNQF6.js} +16 -14
  289. package/dist/runtime/index.js +19 -17
  290. package/dist/{session-events-5XSYCV4I.js → session-events-VMQBCUH3.js} +16 -14
  291. package/dist/{session-kill-telemetry-QJUHG3IG.js → session-kill-telemetry-Z3W256T5.js} +16 -14
  292. package/dist/{session-scope-LIJ746K2.js → session-scope-2ADEVY3C.js} +15 -13
  293. package/dist/{setup-wizard-RLUCGGA7.js → setup-wizard-26B36FMC.js} +1 -1
  294. package/dist/{shard-manager-3L2NMJVJ.js → shard-manager-DFLCDZT5.js} +2 -1
  295. package/dist/{skill-refinement-FMN3WFSG.js → skill-refinement-APBYOSGX.js} +6 -4
  296. package/dist/{stack-promote-BGDGAYKG.js → stack-promote-SZYIPTFT.js} +29 -4
  297. package/dist/{stack-release-SOIHMI3I.js → stack-release-EYRDEGPD.js} +4 -4
  298. package/dist/{stack-update-AXFHJRK5.js → stack-update-YWK2YXP6.js} +3 -3
  299. package/dist/{steward-gate-R2XWABMV.js → steward-gate-CIOBPNX6.js} +6 -4
  300. package/dist/{support-inbox-IITW66TG.js → support-inbox-OAWGFRKW.js} +3 -3
  301. package/dist/{support-outbox-WHGPUYL2.js → support-outbox-DSWU3IXH.js} +1 -1
  302. package/dist/{task-enforcement-SFZGBY27.js → task-enforcement-YAU6ZGDC.js} +16 -14
  303. package/dist/{task-scope-74ZIFQRH.js → task-scope-44N7XP5N.js} +15 -13
  304. package/dist/{tasks-crud-N54JZCXU.js → tasks-crud-IWVDREXG.js} +15 -13
  305. package/dist/{tasks-notify-62IJZW55.js → tasks-notify-WK5HA77D.js} +16 -14
  306. package/dist/{tasks-review-3LHBE6ZJ.js → tasks-review-VDFWFETP.js} +15 -13
  307. package/dist/{telemetry-upload-HR3QIWZV.js → telemetry-upload-3X5ESEKM.js} +20 -180
  308. package/dist/{token-budget-DBXHLCMN.js → token-budget-WZGO22ME.js} +6 -4
  309. package/dist/{tool-telemetry-UFUTCNE3.js → tool-telemetry-F7RWUNVK.js} +1 -1
  310. package/dist/tui/App.js +24 -22
  311. package/dist/{tui-data-BPXEJKRQ.js → tui-data-KT7YGVQS.js} +15 -13
  312. package/dist/{update-support-HLZ7KMVM.js → update-support-ZVRMECNQ.js} +13 -11
  313. package/dist/{work-state-heartbeat-IQI3LCHN.js → work-state-heartbeat-CA4CN7DQ.js} +1 -1
  314. package/dist/{worker-gate-5ABYGLC2.js → worker-gate-52MVKYGZ.js} +1 -1
  315. package/dist/{workflow-engine-XSUWZK6I.js → workflow-engine-ZAFBPVUP.js} +2 -2
  316. package/dist/{worktree-EUYBBABA.js → worktree-NNVXVV6A.js} +7 -5
  317. package/dist/{worktree-sweep-LSKFA2PK.js → worktree-sweep-IM2ZQG6Z.js} +8 -6
  318. package/package.json +14 -4
  319. package/release-notes.json +34 -30
  320. package/dist/chunk-7HLWBYH7.js +0 -60
  321. /package/dist/{chunk-AK77MITT.js → chunk-6JTKIXLU.js} +0 -0
  322. /package/dist/{chunk-HABPXFHZ.js → chunk-BGYCUZYK.js} +0 -0
  323. /package/dist/{chunk-GVU3BW6N.js → chunk-COHHVCFA.js} +0 -0
  324. /package/dist/{chunk-VML2UQK7.js → chunk-FVWI2AR4.js} +0 -0
  325. /package/dist/{chunk-2267TRAO.js → chunk-R62ITJDQ.js} +0 -0
  326. /package/dist/{chunk-HMBMHZ3S.js → chunk-U7RZIY74.js} +0 -0
  327. /package/dist/{chunk-7GOSAV25.js → chunk-XLEYCOHX.js} +0 -0
  328. /package/dist/{chunk-A627QFOE.js → chunk-YBX3G5OP.js} +0 -0
  329. /package/dist/{chunk-IHKRHGKT.js → chunk-ZMYXQU4L.js} +0 -0
  330. /package/dist/{core-memory-KXE4QMOA.js → core-memory-AATZRQEY.js} +0 -0
  331. /package/dist/{memory-isolation-VSKUKTN4.js → memory-isolation-CF6FYSXD.js} +0 -0
  332. /package/dist/{oauth-server-JELOVN5D.js → oauth-server-VE5ELXTF.js} +0 -0
  333. /package/dist/{project-boot-LQ4CF6BI.js → project-boot-WEQSKDD7.js} +0 -0
  334. /package/dist/{wiki-acl-VR4AFJ3T.js → wiki-acl-GNIXYWHJ.js} +0 -0
@@ -1,15 +1,17 @@
1
1
  import {
2
2
  getIdentity,
3
3
  loadEmployeesSync
4
- } from "./chunk-M5DPPJLS.js";
4
+ } from "./chunk-EA5FVACM.js";
5
5
  import "./chunk-2I23RPSI.js";
6
- import "./chunk-LLXYWNCH.js";
6
+ import "./chunk-5YEUPUV4.js";
7
+ import "./chunk-Z2PAVJJ4.js";
7
8
  import {
8
9
  getRoleCapabilities
9
10
  } from "./chunk-OMXJMOBD.js";
10
- import "./chunk-7HLWBYH7.js";
11
11
  import "./chunk-BBMTVAE3.js";
12
12
  import "./chunk-YMUZWC33.js";
13
+ import "./chunk-V3W3SATA.js";
14
+ import "./chunk-JY5GAZYC.js";
13
15
  import "./chunk-FXU7JOXK.js";
14
16
  import "./chunk-BCZF3AGJ.js";
15
17
  import "./chunk-HSGBZSCA.js";
@@ -8,24 +8,24 @@ import {
8
8
  isAtCapacity,
9
9
  isWithinRelaunchCooldown,
10
10
  pollCapacityDead
11
- } from "./chunk-6CZXY5BD.js";
12
- import "./chunk-TAR5J7WI.js";
13
- import "./chunk-YSUHXDQU.js";
14
- import "./chunk-X7CWCQ5S.js";
15
- import "./chunk-TQ4O5A4S.js";
16
- import "./chunk-P7EUKYSQ.js";
11
+ } from "./chunk-QROIFRKI.js";
12
+ import "./chunk-XVTKJEI2.js";
13
+ import "./chunk-74R44E4S.js";
14
+ import "./chunk-CAEWPEBA.js";
15
+ import "./chunk-XV42EAVK.js";
16
+ import "./chunk-6WHYSLGF.js";
17
+ import "./chunk-EIKATSE4.js";
17
18
  import "./chunk-E23LNUWJ.js";
18
19
  import "./chunk-4JERP7NT.js";
19
- import "./chunk-EIKATSE4.js";
20
- import "./chunk-PM4TIRCR.js";
20
+ import "./chunk-3ODATKWH.js";
21
21
  import "./chunk-UXLO7VHX.js";
22
22
  import "./chunk-DSOQUQTV.js";
23
23
  import "./chunk-SKGMF2SO.js";
24
- import "./chunk-X4EDW3FH.js";
24
+ import "./chunk-POZGQQEZ.js";
25
25
  import "./chunk-AJIXH5JF.js";
26
26
  import "./chunk-VAY6IXWY.js";
27
27
  import "./chunk-AM7S2TY6.js";
28
- import "./chunk-4GGP4Q5N.js";
28
+ import "./chunk-F3QTF4T7.js";
29
29
  import "./chunk-OSKWCKUC.js";
30
30
  import "./chunk-KI5PFRG6.js";
31
31
  import "./chunk-CVYC6DUW.js";
@@ -39,17 +39,19 @@ import "./chunk-NLEW62VC.js";
39
39
  import "./chunk-HYZV25LY.js";
40
40
  import "./chunk-GJV3WDWM.js";
41
41
  import "./chunk-MP2AFCGL.js";
42
- import "./chunk-M5DPPJLS.js";
42
+ import "./chunk-EA5FVACM.js";
43
43
  import "./chunk-2I23RPSI.js";
44
- import "./chunk-LLXYWNCH.js";
44
+ import "./chunk-5YEUPUV4.js";
45
+ import "./chunk-Z2PAVJJ4.js";
45
46
  import "./chunk-OMXJMOBD.js";
46
- import "./chunk-7HLWBYH7.js";
47
47
  import "./chunk-BBMTVAE3.js";
48
48
  import "./chunk-YMUZWC33.js";
49
+ import "./chunk-V3W3SATA.js";
50
+ import "./chunk-JY5GAZYC.js";
49
51
  import "./chunk-FXU7JOXK.js";
50
52
  import "./chunk-WNBZJSQT.js";
51
- import "./chunk-4VU2VCEU.js";
52
- import "./chunk-A627QFOE.js";
53
+ import "./chunk-2OVTGZYH.js";
54
+ import "./chunk-YBX3G5OP.js";
53
55
  import "./chunk-BCZF3AGJ.js";
54
56
  import "./chunk-HSGBZSCA.js";
55
57
  import "./chunk-MLKGABMK.js";
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  lightweightSearch
3
- } from "./chunk-ZWXSO4FN.js";
3
+ } from "./chunk-4FQIWAXA.js";
4
4
  import "./chunk-VMHZSZQJ.js";
5
- import "./chunk-WHQYVFE2.js";
6
- import "./chunk-IHKRHGKT.js";
5
+ import "./chunk-W5YV2PZE.js";
6
+ import "./chunk-ZMYXQU4L.js";
7
7
  import "./chunk-CHCA3ZM2.js";
8
8
  import "./chunk-OTVEIJUQ.js";
9
- import "./chunk-VML2UQK7.js";
9
+ import "./chunk-FVWI2AR4.js";
10
10
  import "./chunk-5MOYSU5A.js";
11
11
  import "./chunk-4QCFFW2H.js";
12
12
  import "./chunk-76CJBM36.js";
13
13
  import {
14
14
  sessionScopeFilter,
15
15
  strictSessionScopeFilter
16
- } from "./chunk-YSUHXDQU.js";
17
- import "./chunk-X7CWCQ5S.js";
18
- import "./chunk-TQ4O5A4S.js";
19
- import "./chunk-P7EUKYSQ.js";
16
+ } from "./chunk-74R44E4S.js";
17
+ import "./chunk-CAEWPEBA.js";
18
+ import "./chunk-XV42EAVK.js";
19
+ import "./chunk-6WHYSLGF.js";
20
+ import "./chunk-EIKATSE4.js";
20
21
  import "./chunk-E23LNUWJ.js";
21
22
  import "./chunk-4JERP7NT.js";
22
- import "./chunk-EIKATSE4.js";
23
- import "./chunk-PM4TIRCR.js";
23
+ import "./chunk-3ODATKWH.js";
24
24
  import "./chunk-UXLO7VHX.js";
25
25
  import "./chunk-DSOQUQTV.js";
26
26
  import "./chunk-SKGMF2SO.js";
27
- import "./chunk-X4EDW3FH.js";
27
+ import "./chunk-POZGQQEZ.js";
28
28
  import "./chunk-AJIXH5JF.js";
29
29
  import "./chunk-VAY6IXWY.js";
30
30
  import "./chunk-AM7S2TY6.js";
31
- import "./chunk-4GGP4Q5N.js";
31
+ import "./chunk-F3QTF4T7.js";
32
32
  import "./chunk-OSKWCKUC.js";
33
33
  import "./chunk-KI5PFRG6.js";
34
34
  import "./chunk-CVYC6DUW.js";
@@ -44,18 +44,20 @@ import "./chunk-GJV3WDWM.js";
44
44
  import "./chunk-MP2AFCGL.js";
45
45
  import {
46
46
  getClient
47
- } from "./chunk-M5DPPJLS.js";
47
+ } from "./chunk-EA5FVACM.js";
48
48
  import "./chunk-2I23RPSI.js";
49
- import "./chunk-LLXYWNCH.js";
49
+ import "./chunk-5YEUPUV4.js";
50
+ import "./chunk-Z2PAVJJ4.js";
50
51
  import "./chunk-OMXJMOBD.js";
51
- import "./chunk-7HLWBYH7.js";
52
52
  import "./chunk-BBMTVAE3.js";
53
53
  import "./chunk-YMUZWC33.js";
54
+ import "./chunk-V3W3SATA.js";
55
+ import "./chunk-JY5GAZYC.js";
54
56
  import "./chunk-FXU7JOXK.js";
55
57
  import "./chunk-QWVXN224.js";
56
58
  import "./chunk-WNBZJSQT.js";
57
- import "./chunk-4VU2VCEU.js";
58
- import "./chunk-A627QFOE.js";
59
+ import "./chunk-2OVTGZYH.js";
60
+ import "./chunk-YBX3G5OP.js";
59
61
  import "./chunk-BCZF3AGJ.js";
60
62
  import "./chunk-HSGBZSCA.js";
61
63
  import "./chunk-MLKGABMK.js";
@@ -164,7 +166,7 @@ ${msgLines}`);
164
166
  } catch {
165
167
  }
166
168
  try {
167
- const { getPendingProspective, markSurfaced } = await import("./prospective-memory-3MKUPDVI.js");
169
+ const { getPendingProspective, markSurfaced } = await import("./prospective-memory-A4GDTIWG.js");
168
170
  const due = await getPendingProspective(agentId, { projectName, limit: 5 });
169
171
  if (due.length > 0) {
170
172
  const now = Date.now();
@@ -2,7 +2,7 @@ import {
2
2
  dispatchTaskToEmployee,
3
3
  markTaskNotificationsRead,
4
4
  notifyTaskDone
5
- } from "./chunk-AWB7M62V.js";
5
+ } from "./chunk-6KREY2Q7.js";
6
6
  import {
7
7
  clearCurrentTask,
8
8
  writeCurrentTask
@@ -16,7 +16,7 @@ import {
16
16
  strictSessionScopeFilter,
17
17
  updateTaskStatus,
18
18
  writeNotification
19
- } from "./chunk-YSUHXDQU.js";
19
+ } from "./chunk-74R44E4S.js";
20
20
  import {
21
21
  getAgentContext
22
22
  } from "./chunk-GJV3WDWM.js";
@@ -27,7 +27,7 @@ import {
27
27
  getClient,
28
28
  getCoordinatorName,
29
29
  isCoordinatorName
30
- } from "./chunk-M5DPPJLS.js";
30
+ } from "./chunk-EA5FVACM.js";
31
31
 
32
32
  // src/lib/tasks-chain.ts
33
33
  import path from "path";
@@ -62,7 +62,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
62
62
  }
63
63
  if (unblockedRows.rows.length > 0 && !process.env.VITEST) {
64
64
  try {
65
- const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-62IJZW55.js");
65
+ const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-WK5HA77D.js");
66
66
  const dispatched = /* @__PURE__ */ new Set();
67
67
  for (const ur of unblockedRows.rows) {
68
68
  const assignee = String(ur.assigned_to);
@@ -87,7 +87,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
87
87
  }
88
88
  } catch {
89
89
  try {
90
- const { queueIntercom } = await import("./intercom-queue-5D52JF3Q.js");
90
+ const { queueIntercom } = await import("./intercom-queue-KHKJJYCQ.js");
91
91
  const dispatched = /* @__PURE__ */ new Set();
92
92
  for (const ur of unblockedRows.rows) {
93
93
  const assignee = String(ur.assigned_to);
@@ -285,7 +285,7 @@ async function updateTask(input) {
285
285
  try {
286
286
  process.stderr.write(`[tasks] EVENT: tmux delivery failed for reviewer="${reviewer}". Queueing for daemon delivery.
287
287
  `);
288
- const { queueIntercom } = await import("./intercom-queue-5D52JF3Q.js");
288
+ const { queueIntercom } = await import("./intercom-queue-KHKJJYCQ.js");
289
289
  const { resolveExeSession } = await import("./lib/tmux-routing.js");
290
290
  const exeSession = row.session_scope ? String(row.session_scope) : resolveExeSession();
291
291
  if (exeSession) {
@@ -329,7 +329,7 @@ async function updateTask(input) {
329
329
  await markTaskNotificationsRead(taskFile);
330
330
  if (isCompletionReviewTransition && !isCoordinator && row.reviewer) {
331
331
  try {
332
- const { writeNotification: writeNotification2 } = await import("./notifications-FGYNO2FY.js");
332
+ const { writeNotification: writeNotification2 } = await import("./notifications-74YECZ4V.js");
333
333
  const reviewer = String(row.reviewer);
334
334
  await writeNotification2({
335
335
  agentId: reviewer,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createReminder
3
- } from "./chunk-VPMAC5VB.js";
3
+ } from "./chunk-OY2PWHYR.js";
4
4
 
5
5
  // src/mcp/tools/create-reminder.ts
6
6
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDeviceInfo
3
- } from "./chunk-A627QFOE.js";
3
+ } from "./chunk-YBX3G5OP.js";
4
4
  import {
5
5
  EXE_AI_DIR
6
6
  } from "./chunk-BCZF3AGJ.js";
@@ -4,10 +4,10 @@ import {
4
4
  extractIdentifiers,
5
5
  isGarbageEntity,
6
6
  normalizeEntityName
7
- } from "./chunk-LVZZ7YS3.js";
7
+ } from "./chunk-HK7SQDKJ.js";
8
8
  import {
9
9
  getClient
10
- } from "./chunk-M5DPPJLS.js";
10
+ } from "./chunk-EA5FVACM.js";
11
11
 
12
12
  // src/lib/memory-graph-extractor.ts
13
13
  function relationshipId(sourceId, targetId, relType) {
@@ -404,7 +404,7 @@ async function upsertMemoryGraph(result, memoryId) {
404
404
  });
405
405
  }
406
406
  try {
407
- const { createCoOccurrenceEdges } = await import("./co-occurrence-A7E774ZX.js");
407
+ const { createCoOccurrenceEdges } = await import("./co-occurrence-HO4PGQC4.js");
408
408
  await createCoOccurrenceEdges(result.entities, memoryId);
409
409
  } catch {
410
410
  }
@@ -263,7 +263,7 @@ var PLATFORM_PROCEDURES = [
263
263
  title: "Merge discipline \u2014 branches merge or close within 24h",
264
264
  domain: "workflow",
265
265
  priority: "p1",
266
- content: "Merge or close every agent branch within 24h of its task going done. After merge, delete the worktree AND the remote branch \u2014 a merged branch left alive is debt. Never let branches diverge for days: 9 features were lost to merge conflicts on 2026-04-27. Subagent-first work multiplies worktrees; reviewers sweep branches at every review pull; COO audits stale worktrees/branches (git worktree list, git branch -a). A branch older than 24h is a pipeline stall \u2014 merge, rebase, or close it now."
266
+ content: "Done = LANDED, not approved \u2014 merged to the default branch, tagged where releases apply, published where customers pull; the approving reviewer owns landing it. Merge or close every agent branch within 24h of its task going done; after merge, delete the worktree AND the remote branch. 9 features were lost unmerged; a reviewed fix once sat unmerged for weeks while production served the bug. Sweep stale branches at every review pull (git worktree list, git branch -a). A branch older than 24h is a pipeline stall."
267
267
  },
268
268
  {
269
269
  title: "Desktop and TUI are the same product",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  recordOrchestrationEventBestEffort
3
- } from "./chunk-X4EDW3FH.js";
3
+ } from "./chunk-POZGQQEZ.js";
4
4
  import {
5
5
  atomicWriteJsonSync
6
6
  } from "./chunk-HSGBZSCA.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clean,
3
3
  stableId
4
- } from "./chunk-HABPXFHZ.js";
4
+ } from "./chunk-BGYCUZYK.js";
5
5
 
6
6
  // src/lib/reflection-checkpoints.ts
7
7
  function parsePayload(payload) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executeAction,
3
3
  substituteTemplate
4
- } from "./chunk-GVU3BW6N.js";
4
+ } from "./chunk-COHHVCFA.js";
5
5
 
6
6
  // src/automation/workflow-engine.ts
7
7
  import { randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isCoordinatorRole
3
- } from "./chunk-M5DPPJLS.js";
3
+ } from "./chunk-EA5FVACM.js";
4
4
 
5
5
  // src/lib/task-router.ts
6
6
  import { randomUUID } from "crypto";
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  loadLicense,
10
10
  readCachedLicenseToken
11
- } from "./chunk-4VU2VCEU.js";
11
+ } from "./chunk-2OVTGZYH.js";
12
12
  import {
13
13
  EXE_AI_DIR,
14
14
  loadConfig
@@ -128,7 +128,8 @@ async function runTest(project) {
128
128
  project_name: project,
129
129
  agent_id: "support-test",
130
130
  agent_role: "diagnostic",
131
- report_path: reportPath,
131
+ // Bug 4b8b47fd (P0-1): basename only — an absolute path leaks the OS username.
132
+ report_file: path.basename(reportPath),
132
133
  markdown: readFileSync(reportPath, "utf8")
133
134
  };
134
135
  try {
@@ -275,8 +276,8 @@ function nextForPostFailure(status) {
275
276
  return "Run `exe-os support health`; if it passes, send this output to AskExe.";
276
277
  }
277
278
  async function runFlush(json) {
278
- const { flushSupportOutbox } = await import("./support-outbox-WHGPUYL2.js");
279
- const result = await flushSupportOutbox({ maxPerFlush: 10 });
279
+ const { flushSupportOutbox } = await import("./support-outbox-DSWU3IXH.js");
280
+ const result = await flushSupportOutbox({ maxPerFlush: 10, userInitiated: true });
280
281
  if (json) {
281
282
  console.log(JSON.stringify(result, null, 2));
282
283
  return;
@@ -298,7 +299,7 @@ async function runFlush(json) {
298
299
  console.log("");
299
300
  }
300
301
  async function runStatus(json) {
301
- const { getOutboxStatus } = await import("./support-outbox-WHGPUYL2.js");
302
+ const { getOutboxStatus } = await import("./support-outbox-DSWU3IXH.js");
302
303
  const status = await getOutboxStatus();
303
304
  if (json) {
304
305
  console.log(JSON.stringify(status, null, 2));
@@ -11,7 +11,7 @@ import {
11
11
  buildSystemStateExclusionFilter,
12
12
  buildWikiScopeFilter,
13
13
  searchMemories
14
- } from "./chunk-WHQYVFE2.js";
14
+ } from "./chunk-W5YV2PZE.js";
15
15
  import {
16
16
  blobToVector
17
17
  } from "./chunk-OTVEIJUQ.js";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-GJV3WDWM.js";
25
25
  import {
26
26
  getClient
27
- } from "./chunk-M5DPPJLS.js";
27
+ } from "./chunk-EA5FVACM.js";
28
28
 
29
29
  // src/lib/memory-reads.ts
30
30
  import crypto from "crypto";
@@ -566,7 +566,7 @@ async function hybridSearch(queryText, agentId, options) {
566
566
  let rerankerAvailable = false;
567
567
  if (process.env.EXE_IS_DAEMON === "1") {
568
568
  try {
569
- const { isRerankerAvailable } = await import("./reranker-LGSIL6TX.js");
569
+ const { isRerankerAvailable } = await import("./reranker-YVTLJCFC.js");
570
570
  rerankerAvailable = isRerankerAvailable();
571
571
  } catch {
572
572
  }
@@ -635,7 +635,7 @@ async function hybridSearch(queryText, agentId, options) {
635
635
  ]).catch(() => []),
636
636
  includeStructuredCards ? (async () => {
637
637
  try {
638
- const { searchMemoryCards } = await import("./memory-cards-65RGFT5M.js");
638
+ const { searchMemoryCards } = await import("./memory-cards-KG4TPNKK.js");
639
639
  return await searchMemoryCards(effectiveQuery, agentId, fetchOptions);
640
640
  } catch {
641
641
  return [];
@@ -644,7 +644,7 @@ async function hybridSearch(queryText, agentId, options) {
644
644
  // Reflection insights: patterns, contradictions, summaries across sessions
645
645
  includeStructuredCards ? (async () => {
646
646
  try {
647
- const { searchReflections } = await import("./memory-reflection-Q4OT4V55.js");
647
+ const { searchReflections } = await import("./memory-reflection-EQC4FXSW.js");
648
648
  const insights = await searchReflections(effectiveQuery, agentId, 5, {
649
649
  includeArchived: options?.includeArchived
650
650
  });
@@ -769,7 +769,7 @@ async function hybridSearch(queryText, agentId, options) {
769
769
  try {
770
770
  let rerankedRecords;
771
771
  if (graphContextMap.size > 0) {
772
- const { rerankWithContext } = await import("./reranker-LGSIL6TX.js");
772
+ const { rerankWithContext } = await import("./reranker-YVTLJCFC.js");
773
773
  const candidates = merged.map((m) => ({
774
774
  text: m.raw_text,
775
775
  context: graphContextMap.get(m.id)
@@ -777,7 +777,7 @@ async function hybridSearch(queryText, agentId, options) {
777
777
  const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
778
778
  rerankedRecords = scored.map((s) => merged[s.index]);
779
779
  } else {
780
- const { rerank } = await import("./reranker-LGSIL6TX.js");
780
+ const { rerank } = await import("./reranker-YVTLJCFC.js");
781
781
  rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
782
782
  }
783
783
  if (rerankedRecords.length > 0) {
@@ -1191,7 +1191,7 @@ async function lightweightSearch(queryText, agentId, options) {
1191
1191
  }
1192
1192
  if (results.length >= 2) {
1193
1193
  try {
1194
- const { recordCoActivations } = await import("./co-activation-5AN2CF23.js");
1194
+ const { recordCoActivations } = await import("./co-activation-XNBLOGK3.js");
1195
1195
  const ids = results.slice(0, 10).map((r) => r.id);
1196
1196
  void recordCoActivations(ids).catch((e) => {
1197
1197
  try {
@@ -1207,7 +1207,7 @@ async function lightweightSearch(queryText, agentId, options) {
1207
1207
  }
1208
1208
  if (options?.includeStructuredCards !== true) return results;
1209
1209
  try {
1210
- const { searchMemoryCards } = await import("./memory-cards-65RGFT5M.js");
1210
+ const { searchMemoryCards } = await import("./memory-cards-KG4TPNKK.js");
1211
1211
  const cardResults = await searchMemoryCards(queryText, agentId, options);
1212
1212
  if (cardResults.length > 0) {
1213
1213
  return rrfMergeMulti([results, cardResults], limit, RRF_K, [1, 0.85]);
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  formatDegradations,
3
3
  getRetrievalHealth
4
- } from "./chunk-6SAQSXT2.js";
4
+ } from "./chunk-YKRNH5LU.js";
5
5
  import {
6
6
  buildRestartReport,
7
7
  formatRestartReport
8
- } from "./chunk-JKOEOHOD.js";
8
+ } from "./chunk-R7F6HKTH.js";
9
9
  import {
10
10
  EXE_HOOK_MANIFEST,
11
11
  LEGACY_SPLIT_POST_TOOL_HOOK_MARKERS,
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-OTVEIJUQ.js";
21
21
  import {
22
22
  offloadReadIfMain
23
- } from "./chunk-M5DPPJLS.js";
23
+ } from "./chunk-EA5FVACM.js";
24
24
  import {
25
25
  isMainModule
26
26
  } from "./chunk-6Y4B3QF6.js";
@@ -648,7 +648,7 @@ function auditHookOwnership() {
648
648
  }
649
649
  async function auditShards() {
650
650
  try {
651
- const { auditShardHealth } = await import("./shard-manager-3L2NMJVJ.js");
651
+ const { auditShardHealth } = await import("./shard-manager-DFLCDZT5.js");
652
652
  const report = await auditShardHealth();
653
653
  return {
654
654
  total: report.total,
@@ -692,7 +692,7 @@ function auditLocalSecretResidue() {
692
692
  }
693
693
  async function auditOutbox() {
694
694
  try {
695
- const { getOutboxStatus } = await import("./support-outbox-WHGPUYL2.js");
695
+ const { getOutboxStatus } = await import("./support-outbox-DSWU3IXH.js");
696
696
  return await getOutboxStatus();
697
697
  } catch {
698
698
  return {
@@ -1023,7 +1023,7 @@ function formatReport(report, flags) {
1023
1023
  return lines.join("\n");
1024
1024
  }
1025
1025
  async function fixNullVectors() {
1026
- const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-5ABYGLC2.js");
1026
+ const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-52MVKYGZ.js");
1027
1027
  if (!tryAcquireWorkerSlot()) {
1028
1028
  process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
1029
1029
  await new Promise((r) => setTimeout(r, 5e3));
@@ -1137,7 +1137,7 @@ function shouldFixShards(shards) {
1137
1137
  return shards.unreadable > 0 || shards.schemaMismatches > 0;
1138
1138
  }
1139
1139
  async function fixShards(dryRun) {
1140
- const { auditShardHealth } = await import("./shard-manager-3L2NMJVJ.js");
1140
+ const { auditShardHealth } = await import("./shard-manager-DFLCDZT5.js");
1141
1141
  const report = await auditShardHealth({ repair: true, dryRun });
1142
1142
  return {
1143
1143
  total: report.total,
@@ -1209,7 +1209,7 @@ async function main(argv = process.argv.slice(2)) {
1209
1209
  console.log(formatRestartReport(restartReport));
1210
1210
  return emptyAuditReport();
1211
1211
  }
1212
- const { fastDbInit } = await import("./fast-db-init-B5Q3SJQG.js");
1212
+ const { fastDbInit } = await import("./fast-db-init-6H67K76Q.js");
1213
1213
  const client = await fastDbInit();
1214
1214
  const report = await runAudit(client, flags);
1215
1215
  console.log(formatReport(report, flags));
@@ -2,7 +2,7 @@ import {
2
2
  getClient,
3
3
  isCoordinatorName,
4
4
  loadEmployeesSync
5
- } from "./chunk-M5DPPJLS.js";
5
+ } from "./chunk-EA5FVACM.js";
6
6
 
7
7
  // src/lib/steward-gate.ts
8
8
  import crypto from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionScopeFilter
3
- } from "./chunk-YSUHXDQU.js";
3
+ } from "./chunk-74R44E4S.js";
4
4
 
5
5
  // src/lib/git-task-sweep.ts
6
6
  import { execSync } from "child_process";
@@ -238,7 +238,7 @@ async function sweepTasks(projectName, options = {}) {
238
238
  }
239
239
  if (!dryRun) {
240
240
  try {
241
- const { updateTaskStatus } = await import("./tasks-crud-N54JZCXU.js");
241
+ const { updateTaskStatus } = await import("./tasks-crud-IWVDREXG.js");
242
242
  await updateTaskStatus({
243
243
  taskId: task.id,
244
244
  status: "needs_review",
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-ITRKRKS7.js";
16
16
  import {
17
17
  mcpHttpPort
18
- } from "./chunk-34MIJGQS.js";
18
+ } from "./chunk-6EOLGE7T.js";
19
19
  import {
20
20
  EXE_AI_DIR
21
21
  } from "./chunk-BCZF3AGJ.js";
@@ -0,0 +1,53 @@
1
+ // src/lib/db-open-telemetry.ts
2
+ import { existsSync, mkdirSync, renameSync, statSync, writeFileSync } from "fs";
3
+ import { homedir } from "os";
4
+ import { basename, join } from "path";
5
+ var MAX_LOG_BYTES = 5 * 1024 * 1024;
6
+ function envFlag(name) {
7
+ return process.env[name] === "1";
8
+ }
9
+ function recordDbOpen(info) {
10
+ try {
11
+ const record = {
12
+ timestamp: (/* @__PURE__ */ new Date()).toISOString(),
13
+ pid: process.pid,
14
+ argvBasename: basename(process.argv[1] ?? process.argv[0] ?? ""),
15
+ dbPath: info.dbPath,
16
+ source: info.source,
17
+ writeCapable: info.writeCapable,
18
+ checkpointTimer: info.checkpointTimer,
19
+ flags: {
20
+ EXE_IS_DAEMON: envFlag("EXE_IS_DAEMON"),
21
+ EXE_MCP_MODE: envFlag("EXE_MCP_MODE"),
22
+ EXE_DB_DIRECT: envFlag("EXE_DB_DIRECT"),
23
+ EXE_DB_READONLY: envFlag("EXE_DB_READONLY"),
24
+ EXE_BOOT_FAST: envFlag("EXE_BOOT_FAST")
25
+ }
26
+ };
27
+ const line = JSON.stringify(record);
28
+ try {
29
+ process.stderr.write(`[db-open] ${line}
30
+ `);
31
+ } catch {
32
+ }
33
+ try {
34
+ const logDir = join(process.env.HOME ?? homedir(), ".exe-os", "logs");
35
+ const logPath = join(logDir, "db-opens.jsonl");
36
+ mkdirSync(logDir, { recursive: true });
37
+ if (existsSync(logPath) && statSync(logPath).size > MAX_LOG_BYTES) {
38
+ try {
39
+ renameSync(logPath, `${logPath}.1`);
40
+ } catch {
41
+ }
42
+ }
43
+ writeFileSync(logPath, `${line}
44
+ `, { flag: "a" });
45
+ } catch {
46
+ }
47
+ } catch {
48
+ }
49
+ }
50
+
51
+ export {
52
+ recordDbOpen
53
+ };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-B6TI3TZT.js";
4
4
  import {
5
5
  loadEmployeesSync
6
- } from "./chunk-M5DPPJLS.js";
6
+ } from "./chunk-EA5FVACM.js";
7
7
 
8
8
  // src/adapters/mcp-http-config.ts
9
9
  import { chmodSync, existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
@@ -6,13 +6,13 @@ import {
6
6
  queryTaskRows,
7
7
  resolveExeSession,
8
8
  sendIntercom
9
- } from "./chunk-YSUHXDQU.js";
9
+ } from "./chunk-74R44E4S.js";
10
10
  import {
11
11
  getTransport
12
12
  } from "./chunk-UXLO7VHX.js";
13
13
  import {
14
14
  recordOrchestrationEventBestEffort
15
- } from "./chunk-X4EDW3FH.js";
15
+ } from "./chunk-POZGQQEZ.js";
16
16
  import {
17
17
  releaseDispatchClaim,
18
18
  tryAcquireDispatchClaim
@@ -27,7 +27,7 @@ import {
27
27
  isCoordinatorName,
28
28
  isMultiInstance,
29
29
  shouldAutoInstance
30
- } from "./chunk-M5DPPJLS.js";
30
+ } from "./chunk-EA5FVACM.js";
31
31
 
32
32
  // src/lib/tasks-notify.ts
33
33
  var VERIFY_DELAY_MS = 1e4;
@@ -89,7 +89,7 @@ async function dispatchTaskToEmployee(input) {
89
89
  let crossProject = false;
90
90
  if (input.projectName) {
91
91
  try {
92
- const { assertSessionScope } = await import("./session-scope-LIJ746K2.js");
92
+ const { assertSessionScope } = await import("./session-scope-2ADEVY3C.js");
93
93
  const check = assertSessionScope("dispatch_task", input.projectName);
94
94
  if (check.reason === "cross_session_denied") {
95
95
  crossProject = true;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  vectorToSqlLiteral
3
- } from "./chunk-WHQYVFE2.js";
3
+ } from "./chunk-W5YV2PZE.js";
4
4
  import {
5
5
  blobToVector
6
6
  } from "./chunk-OTVEIJUQ.js";
7
7
  import {
8
8
  getClient
9
- } from "./chunk-M5DPPJLS.js";
9
+ } from "./chunk-EA5FVACM.js";
10
10
 
11
11
  // src/lib/behaviors.ts
12
12
  import crypto from "crypto";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  checkLicense,
3
3
  loadLicense
4
- } from "./chunk-4VU2VCEU.js";
4
+ } from "./chunk-2OVTGZYH.js";
5
5
 
6
6
  // src/lib/license-gate.ts
7
7
  var _cachedLicense = null;