@askexenow/exe-os 0.9.409 → 0.9.410

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 (400) hide show
  1. package/deploy/stack-manifests/v0.9.json +408 -1
  2. package/dist/.dist-verified.json +3 -3
  3. package/dist/{active-agent-5AKPW2N7.js → active-agent-2ELFTYNT.js} +4 -4
  4. package/dist/{active-agent-2AMJC3SC.js → active-agent-SS4SRXYZ.js} +4 -4
  5. package/dist/agent-defs-generator-6S2BSYCP.js +32 -0
  6. package/dist/{agentic-ontology-6RS7A7KP.js → agentic-ontology-TJOAUAPD.js} +1 -1
  7. package/dist/{artifact-backup-6O4FNYPS.js → artifact-backup-STQQZDZ5.js} +3 -3
  8. package/dist/{backfill-metadata-6YX6LGPJ.js → backfill-metadata-I2FVENKJ.js} +7 -7
  9. package/dist/{backup-verify-QIAQ63VC.js → backup-verify-AOTKX5DA.js} +69 -4
  10. package/dist/{behavior-injection-NRXTNROW.js → behavior-injection-CTSIKHTH.js} +10 -10
  11. package/dist/{behavior-promotion-MW7OQ72V.js → behavior-promotion-NZMTTFHK.js} +9 -9
  12. package/dist/{behaviors-7AOK44QK.js → behaviors-RUNSC5WI.js} +8 -8
  13. package/dist/bin/agentic-ontology-backfill.js +8 -8
  14. package/dist/bin/agentic-reflection-backfill.js +9 -9
  15. package/dist/bin/agentic-semantic-label.js +8 -8
  16. package/dist/bin/backfill-conversations.js +7 -7
  17. package/dist/bin/backfill-responses.js +7 -7
  18. package/dist/bin/backfill-vectors.js +7 -7
  19. package/dist/bin/bulk-sync-postgres.js +16 -16
  20. package/dist/bin/cc-doctor.js +8 -8
  21. package/dist/bin/cleanup-stale-review-tasks.js +13 -16
  22. package/dist/bin/cli.js +24 -24
  23. package/dist/bin/deferred-daemon-restart.js +95 -95
  24. package/dist/bin/exe-agent-config.js +3 -3
  25. package/dist/bin/exe-agent.js +11 -11
  26. package/dist/bin/exe-assign.js +8 -8
  27. package/dist/bin/exe-boot.js +33 -36
  28. package/dist/bin/exe-call.js +8 -8
  29. package/dist/bin/exe-cloud.js +26 -22
  30. package/dist/bin/exe-config-dump.js +3 -3
  31. package/dist/bin/exe-dispatch.js +14 -17
  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 +12 -12
  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 -22
  39. package/dist/bin/exe-kill.js +18 -21
  40. package/dist/bin/exe-launch-agent.js +215 -100
  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 -17
  46. package/dist/bin/exe-pending-notifications.js +13 -16
  47. package/dist/bin/exe-pending-reviews.js +14 -17
  48. package/dist/bin/exe-rename.js +6 -6
  49. package/dist/bin/exe-review.js +17 -20
  50. package/dist/bin/exe-search.js +11 -11
  51. package/dist/bin/exe-session-cleanup.js +18 -21
  52. package/dist/bin/exe-settings.js +16 -16
  53. package/dist/bin/exe-start-codex.js +18 -18
  54. package/dist/bin/exe-start-opencode.js +16 -16
  55. package/dist/bin/exe-status.js +15 -18
  56. package/dist/bin/exe-support.js +3 -3
  57. package/dist/bin/exe-team.js +5 -5
  58. package/dist/bin/git-sweep.js +15 -17
  59. package/dist/bin/graph-backfill.js +8 -8
  60. package/dist/bin/graph-export.js +8 -8
  61. package/dist/bin/hooks-cli.js +1 -1
  62. package/dist/bin/import-history.js +11 -11
  63. package/dist/bin/install.js +97 -97
  64. package/dist/bin/intercom-check.js +5 -5
  65. package/dist/bin/mcp-sessions.js +2 -2
  66. package/dist/bin/orchestration-metrics.js +5 -5
  67. package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
  68. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  69. package/dist/bin/reconcile-backlog.js +2 -2
  70. package/dist/bin/registry-proxy.js +1 -1
  71. package/dist/bin/repair-document-chunks.js +7 -7
  72. package/dist/bin/scan-tasks.js +14 -17
  73. package/dist/bin/setup.js +2 -2
  74. package/dist/bin/shard-migrate.js +8 -8
  75. package/dist/bin/stack-update.js +4 -4
  76. package/dist/bin/vps-health-gate.js +1 -1
  77. package/dist/{boot-generation-HG6LLZLY.js → boot-generation-4W4CDJSX.js} +4 -4
  78. package/dist/{boot-review-sections-STZ5EAIL.js → boot-review-sections-HJN25GMU.js} +12 -15
  79. package/dist/{bug-landed-reconciler-EO72HUI2.js → bug-landed-reconciler-GGQU6G2L.js} +6 -6
  80. package/dist/build-info.json +3 -3
  81. package/dist/build-manifest.json +989 -989
  82. package/dist/{capability-cards-C3SMHB2E.js → capability-cards-EV7VHL3W.js} +3 -3
  83. package/dist/{capacity-monitor-UI553HRL.js → capacity-monitor-YO3WRSRY.js} +14 -17
  84. package/dist/{catchup-brief-VE2X4HML.js → catchup-brief-4XFFW3H2.js} +21 -23
  85. package/dist/{chunk-R7QZXQPU.js → chunk-22XJWSWN.js} +216 -147
  86. package/dist/{chunk-XGPBHKU3.js → chunk-26CY4EAR.js} +2 -2
  87. package/dist/{chunk-E2Z3F26R.js → chunk-2A556FNI.js} +1 -1
  88. package/dist/{chunk-EIM7OGTD.js → chunk-2AXJRXA6.js} +2 -2
  89. package/dist/{chunk-DE2V7547.js → chunk-2CG3LHI6.js} +2 -2
  90. package/dist/{chunk-VLAENYCN.js → chunk-2K7IKLBL.js} +1 -1
  91. package/dist/{chunk-6JLVCMKH.js → chunk-2LJ2GZEE.js} +1 -1
  92. package/dist/{chunk-7I6KVKFF.js → chunk-2OIVIPU7.js} +3 -3
  93. package/dist/{chunk-6TB7UXCA.js → chunk-2Q2U3NB2.js} +1 -1
  94. package/dist/{chunk-QUK3UDZV.js → chunk-2WOHFX4Z.js} +1 -1
  95. package/dist/{chunk-23XUZHB7.js → chunk-2YK5HP2B.js} +245 -36
  96. package/dist/{chunk-LMF2YC5C.js → chunk-2YZZR2BW.js} +4 -4
  97. package/dist/{chunk-VMHZSZQJ.js → chunk-3ARSKDHC.js} +52 -0
  98. package/dist/{chunk-IZ24HRDC.js → chunk-3UEDFBDE.js} +3 -3
  99. package/dist/{chunk-TCV3WA5I.js → chunk-3WNDI5KT.js} +1 -1
  100. package/dist/{chunk-W5XAB2SW.js → chunk-47UBJKS3.js} +271 -167
  101. package/dist/{chunk-TBYWOHTE.js → chunk-4THJIDJE.js} +1 -1
  102. package/dist/{chunk-HRYWB4TO.js → chunk-4XY33GRO.js} +2 -2
  103. package/dist/{chunk-PCFYNK7V.js → chunk-53GNYXNR.js} +2 -2
  104. package/dist/{chunk-OFT5KSBM.js → chunk-54Q7M2AG.js} +1 -1
  105. package/dist/{chunk-GG73NHZD.js → chunk-575FWHQJ.js} +2 -2
  106. package/dist/{chunk-4W7Y67B5.js → chunk-5BWN6A5E.js} +1 -1
  107. package/dist/{chunk-KBHK2WNO.js → chunk-5F3E57TQ.js} +1 -1
  108. package/dist/{chunk-4S6H2NWS.js → chunk-5JHIAGZY.js} +1 -1
  109. package/dist/{chunk-IPANAGA3.js → chunk-5Q64Q5ZD.js} +1 -1
  110. package/dist/{chunk-LVEMYNYH.js → chunk-5WNZGNQL.js} +3 -3
  111. package/dist/{chunk-HYZV25LY.js → chunk-67IVG6CB.js} +1 -11
  112. package/dist/{chunk-5N34MMKS.js → chunk-6APOLYIZ.js} +43 -3
  113. package/dist/{chunk-HFXBL7XE.js → chunk-6T5RC3L4.js} +1 -1
  114. package/dist/{chunk-HUMNRJZE.js → chunk-6TOV7UVU.js} +4 -4
  115. package/dist/{chunk-HNGAM3U4.js → chunk-7QFRZT4H.js} +3 -3
  116. package/dist/{chunk-52Z435PH.js → chunk-7RVTQXST.js} +15 -10
  117. package/dist/{chunk-SY53PYLU.js → chunk-7WCYJXOF.js} +1 -1
  118. package/dist/{chunk-IURGBN5B.js → chunk-AEEAQZ3E.js} +4 -4
  119. package/dist/{chunk-HFSFWMID.js → chunk-AEOB4JCJ.js} +3 -3
  120. package/dist/{chunk-DM4VTXM6.js → chunk-AGXV5HLA.js} +4 -4
  121. package/dist/{chunk-NDCW4G55.js → chunk-AGY2KUQ6.js} +1 -1
  122. package/dist/{chunk-6RRPVE5O.js → chunk-APKEGWFB.js} +3 -3
  123. package/dist/{chunk-FJKUFMNF.js → chunk-ASA2UJDH.js} +1 -1
  124. package/dist/{chunk-GRAMRMWS.js → chunk-AWTLUJZL.js} +2 -2
  125. package/dist/{chunk-BHDDDNC6.js → chunk-B34RSIUP.js} +2 -2
  126. package/dist/{chunk-BPBEJD7U.js → chunk-B55U5BKF.js} +1 -1
  127. package/dist/{chunk-UXJAW4IQ.js → chunk-BBTNF72N.js} +2 -2
  128. package/dist/{chunk-IPBNHPTE.js → chunk-BIHPY7JW.js} +9 -9
  129. package/dist/{chunk-SYUJCVJG.js → chunk-BPXWWD7P.js} +1 -1
  130. package/dist/{chunk-G2M7WQ2M.js → chunk-CBC3JCIF.js} +1 -1
  131. package/dist/{chunk-GKPPLIMJ.js → chunk-CEHGXPMO.js} +4 -4
  132. package/dist/{chunk-L5CPS34O.js → chunk-CKRZBQ2K.js} +1 -1
  133. package/dist/{chunk-NHQWPKX7.js → chunk-CPC75PXE.js} +2 -2
  134. package/dist/{chunk-OEHZ46WQ.js → chunk-DLHE4PCM.js} +4 -4
  135. package/dist/{chunk-RZ23QQCI.js → chunk-DWK5HEKY.js} +4 -4
  136. package/dist/{chunk-YUAOQJVV.js → chunk-E2346GKI.js} +2 -2
  137. package/dist/{chunk-VYKXRSHU.js → chunk-E3ZO4EL3.js} +1 -1
  138. package/dist/{chunk-GTRB6DGI.js → chunk-FCX2XHIC.js} +2 -2
  139. package/dist/{chunk-K7DAE2HO.js → chunk-FOZSHNET.js} +19 -6
  140. package/dist/{chunk-7P2TDFZL.js → chunk-FRJICRED.js} +1 -1
  141. package/dist/{chunk-XCPD7NGP.js → chunk-FUEKSCTN.js} +1 -1
  142. package/dist/{chunk-B3ISLIKE.js → chunk-FYKEL2L6.js} +2 -2
  143. package/dist/{chunk-SFGFNJBR.js → chunk-FZT7CBXB.js} +1 -1
  144. package/dist/{chunk-NFNM64A7.js → chunk-GGT6Y5AN.js} +22 -18
  145. package/dist/{chunk-Q4GS5VW7.js → chunk-H5H2LGVE.js} +3 -3
  146. package/dist/{chunk-GEQQGN3J.js → chunk-HCBISGUU.js} +7 -7
  147. package/dist/{chunk-FZT4VQP7.js → chunk-HKAWEIB2.js} +1 -1
  148. package/dist/{chunk-QK3Z4TKQ.js → chunk-HLNRLXUS.js} +5 -5
  149. package/dist/{chunk-FBZ32BD4.js → chunk-HNJLAMD3.js} +1 -1
  150. package/dist/{chunk-6EY6OFBC.js → chunk-I35OMCL3.js} +2 -2
  151. package/dist/{chunk-OISOA6NX.js → chunk-IHBYJG7N.js} +1 -1
  152. package/dist/{chunk-KIJRAZWR.js → chunk-IQCC6WFI.js} +1 -1
  153. package/dist/{chunk-EHILXBVT.js → chunk-IUAW7FVX.js} +3 -3
  154. package/dist/{chunk-OE7TAEOG.js → chunk-IXRYS5X3.js} +1 -1
  155. package/dist/{chunk-4Q7H3TO7.js → chunk-J6RTX7XT.js} +1 -1
  156. package/dist/{chunk-BIV4IHED.js → chunk-JDZNGC4O.js} +15 -28
  157. package/dist/{chunk-JJYAETCO.js → chunk-JTXXLNYD.js} +4 -4
  158. package/dist/{chunk-YVS77JPW.js → chunk-JZ23D5YF.js} +3 -3
  159. package/dist/{chunk-QYIR64RR.js → chunk-K464YYT5.js} +1 -1
  160. package/dist/{chunk-BM467PZN.js → chunk-K6XWIJN7.js} +1 -1
  161. package/dist/{chunk-DIKLSAJE.js → chunk-KNEEOZWN.js} +1 -1
  162. package/dist/{chunk-3MDUKF3N.js → chunk-LBEBSXZA.js} +5 -4
  163. package/dist/{chunk-NK4JHJNP.js → chunk-LCXWQVOD.js} +4 -4
  164. package/dist/{chunk-3AL2LO3L.js → chunk-LZS2B2JT.js} +1 -1
  165. package/dist/{chunk-W2VDJKTB.js → chunk-MNWN3SQ3.js} +1 -1
  166. package/dist/{chunk-ZEHBSA25.js → chunk-MQD3JJCO.js} +1 -1
  167. package/dist/{chunk-KPLMY2GT.js → chunk-NUEDA2US.js} +4 -4
  168. package/dist/{chunk-F5ZRHLG5.js → chunk-NYV4A5IG.js} +2 -2
  169. package/dist/{chunk-M7774YLB.js → chunk-O5RKAXCG.js} +1 -1
  170. package/dist/{chunk-GPWXUU3L.js → chunk-OUUNFTS4.js} +1 -1
  171. package/dist/{chunk-G3ZYXXO7.js → chunk-PCF4QMJS.js} +10 -10
  172. package/dist/{chunk-HRKN3DQE.js → chunk-PONGX3YG.js} +7 -7
  173. package/dist/{chunk-JR3GTBV3.js → chunk-QH2V67NX.js} +1 -1
  174. package/dist/{chunk-4O7OUBEX.js → chunk-QKHQTHE6.js} +27 -15
  175. package/dist/{chunk-4M24XCTI.js → chunk-R2ZHPVF2.js} +53 -7
  176. package/dist/{chunk-HK7HIDXP.js → chunk-R3N5BCMM.js} +1 -1
  177. package/dist/{chunk-IUBCS6TA.js → chunk-RWM6TZH6.js} +3 -3
  178. package/dist/{chunk-N3JEYUDV.js → chunk-RXICR3D7.js} +1 -1
  179. package/dist/{chunk-QPMKVSHU.js → chunk-S2DTXCV6.js} +2 -2
  180. package/dist/{chunk-YLWKWEJJ.js → chunk-SLG3T26A.js} +3 -3
  181. package/dist/{chunk-7R7KDRKV.js → chunk-SUGAHHVR.js} +1 -1
  182. package/dist/{chunk-SGR4ZQAV.js → chunk-T7W75LII.js} +3 -3
  183. package/dist/{agent-defs-generator-QN3J6FVJ.js → chunk-TU5Y5ZNC.js} +4 -21
  184. package/dist/{chunk-LE3DIA25.js → chunk-UBTKHJCB.js} +6 -6
  185. package/dist/{chunk-ZYOIH5NY.js → chunk-UF5BDAF6.js} +6 -6
  186. package/dist/{chunk-4RQ62XXK.js → chunk-UG3YOQAC.js} +5 -5
  187. package/dist/{chunk-7LTAA55U.js → chunk-V7AID6MC.js} +1 -1
  188. package/dist/{chunk-SA66WRBT.js → chunk-WLV27PAO.js} +1 -1
  189. package/dist/{chunk-XAGIZVYI.js → chunk-WSYIQKZ6.js} +180 -1624
  190. package/dist/{chunk-KCRSJ3VU.js → chunk-WZPD4QSE.js} +2 -2
  191. package/dist/{chunk-APVU4Q5B.js → chunk-X2EBM5BQ.js} +16 -16
  192. package/dist/{chunk-XFGS22VE.js → chunk-XBCIRNNU.js} +1 -1
  193. package/dist/{chunk-M4N7I2H5.js → chunk-XC2KAJK4.js} +5 -5
  194. package/dist/{chunk-WYNIWJRN.js → chunk-XCKTCOK3.js} +5 -5
  195. package/dist/{chunk-PZDAPIQL.js → chunk-XJQGS4IM.js} +1 -1
  196. package/dist/{chunk-DACRR362.js → chunk-XMMWBLQK.js} +6 -6
  197. package/dist/{chunk-T2PAFWRK.js → chunk-YC6SZFVD.js} +5 -5
  198. package/dist/{chunk-6ZW6BRI4.js → chunk-YJ7MCZSY.js} +2 -2
  199. package/dist/{chunk-DMYJVGQM.js → chunk-YSDSQRE2.js} +1 -1
  200. package/dist/{chunk-R6CKQLEA.js → chunk-YWZGDFAL.js} +1 -1
  201. package/dist/{chunk-C426MZMD.js → chunk-ZBXZFOIF.js} +3 -3
  202. package/dist/{chunk-ME733Y2F.js → chunk-ZEDLED43.js} +37 -9
  203. package/dist/{cleanup-graph-garbage-NKAJSCWZ.js → cleanup-graph-garbage-N7FTWU6C.js} +8 -8
  204. package/dist/{cli-shutdown-F3DFDCB5.js → cli-shutdown-NCBQTN7G.js} +1 -1
  205. package/dist/{cloud-sync-command-3YBLSMAL.js → cloud-sync-command-UL7GNN3J.js} +2 -2
  206. package/dist/{cloud-sync-db-init-JWSPAFKY.js → cloud-sync-db-init-ASM7ZXBH.js} +1 -1
  207. package/dist/{cloud-sync-shutdown-4R6RIO67.js → cloud-sync-shutdown-HER4ISBU.js} +3 -3
  208. package/dist/{co-activation-2ZRANV3Q.js → co-activation-V5XXR327.js} +3 -3
  209. package/dist/{co-occurrence-6EELW2L2.js → co-occurrence-MKZ6YWSQ.js} +6 -6
  210. package/dist/{consent-passphrase-TDR263MC.js → consent-passphrase-YI3J4UEL.js} +2 -2
  211. package/dist/content-extractor-GWF2T7FK.js +13 -0
  212. package/dist/{conversation-entity-extractor-KUJN3MOH.js → conversation-entity-extractor-66G7ROQ3.js} +3 -3
  213. package/dist/{crdt-sync-IX43KVQ3.js → crdt-sync-Z62SWOKD.js} +4 -4
  214. package/dist/{crm-webhook-GSCIW6CE.js → crm-webhook-6GBACWJX.js} +2 -2
  215. package/dist/{cto-delegation-gate-ZWD4EFRR.js → cto-delegation-gate-FUKPBFCM.js} +12 -15
  216. package/dist/{daemon-orchestration-WL6V4QL4.js → daemon-orchestration-O3QPSJEP.js} +19 -21
  217. package/dist/{doc-graph-extractor-NJ7ZZC2C.js → doc-graph-extractor-BBPKLIVM.js} +6 -6
  218. package/dist/{documents-O7WYZFFE.js → documents-NILTWYSQ.js} +8 -8
  219. package/dist/{dreaming-TUESPDT3.js → dreaming-KMDGPIFY.js} +17 -20
  220. package/dist/{employee-boot-brief-UCP6QLN4.js → employee-boot-brief-KSH3MWIF.js} +23 -25
  221. package/dist/{entity-boost-TK43XT24.js → entity-boost-XETN7C2S.js} +2 -2
  222. package/dist/{exe-drift-QD6LUZT2.js → exe-drift-SFD7SHXC.js} +4 -4
  223. package/dist/{exe-export-QIUNHFSS.js → exe-export-NHWKEZL4.js} +9 -9
  224. package/dist/{exe-import-3UFOLHEW.js → exe-import-SPI5HJBU.js} +9 -9
  225. package/dist/{exe-key-D5NDKGHT.js → exe-key-TY5LFUEM.js} +95 -95
  226. package/dist/{exe-org-UWDJBOCV.js → exe-org-LVQLXA7C.js} +32 -32
  227. package/dist/{exe-snapshot-P6SFODEN.js → exe-snapshot-WH2DSRZW.js} +20 -23
  228. package/dist/{fast-db-init-SD7JZSEC.js → fast-db-init-UN225WS7.js} +1 -1
  229. package/dist/{founder-context-QIXDZIJX.js → founder-context-DVHSVBM5.js} +2 -2
  230. package/dist/{founder-monitor-envelope-TLOC4UYG.js → founder-monitor-envelope-HMPPUBUT.js} +4 -4
  231. package/dist/gateway/index.js +14 -14
  232. package/dist/{gateway-client-CQTSYJLP.js → gateway-client-TXHCHOVM.js} +1 -1
  233. package/dist/{git-staleness-JSQTHB4Z.js → git-staleness-CUVLXQOJ.js} +3 -3
  234. package/dist/{global-procedures-T3RKI4QX.js → global-procedures-T5W3S6OU.js} +5 -5
  235. package/dist/{graph-auto-extract-V75GSTNX.js → graph-auto-extract-S7OIZXYP.js} +6 -6
  236. package/dist/{graph-query-VAQN2RK3.js → graph-query-CRIH4DXF.js} +1 -1
  237. package/dist/{graph-rag-GBA5E3QC.js → graph-rag-LH34CEGC.js} +3 -3
  238. package/dist/{hook-integrity-II6QK6Y4.js → hook-integrity-TSJYZFZ6.js} +1 -1
  239. package/dist/{hook-prefetch-5EHPOYY3.js → hook-prefetch-SNW5DFCZ.js} +13 -16
  240. package/dist/hooks/bug-report-worker.js +17 -20
  241. package/dist/hooks/codex-stop-task-finalizer.js +19 -22
  242. package/dist/hooks/commit-complete.js +16 -19
  243. package/dist/hooks/error-recall.js +14 -14
  244. package/dist/hooks/exe-heartbeat-hook.js +5 -5
  245. package/dist/hooks/ingest-worker.js +18 -20
  246. package/dist/hooks/ingest.js +16 -16
  247. package/dist/hooks/instructions-loaded.js +7 -7
  248. package/dist/hooks/manifest.json +20 -20
  249. package/dist/hooks/notification.js +6 -6
  250. package/dist/hooks/post-compact.js +5 -5
  251. package/dist/hooks/post-tool-combined.js +13 -13
  252. package/dist/hooks/pre-compact.js +16 -19
  253. package/dist/hooks/pre-tool-use.js +2 -2
  254. package/dist/hooks/prompt-submit.js +40 -39
  255. package/dist/hooks/session-end.js +21 -24
  256. package/dist/hooks/session-start.js +18 -18
  257. package/dist/hooks/stop.js +19 -22
  258. package/dist/hooks/subagent-stop.js +18 -21
  259. package/dist/hooks/summary-worker.js +20 -23
  260. package/dist/index.js +25 -28
  261. package/dist/{installer-XEEZSF3V.js → installer-4IVP2PTX.js} +7 -8
  262. package/dist/{installer-ILYC4LI5.js → installer-CJWNUASI.js} +7 -8
  263. package/dist/{installer-MPVQ5L22.js → installer-UFRZHMX5.js} +7 -8
  264. package/dist/{intercom-queue-QGHAW2KO.js → intercom-queue-II6RRK3J.js} +12 -15
  265. package/dist/lib/cloud-sync.js +16 -16
  266. package/dist/lib/consolidation.js +9 -9
  267. package/dist/lib/crypto.js +3 -3
  268. package/dist/lib/database.js +3 -3
  269. package/dist/lib/db-backup.js +1 -1
  270. package/dist/lib/db-write-worker.js +3 -3
  271. package/dist/lib/db.js +3 -3
  272. package/dist/lib/device-registry.js +1 -1
  273. package/dist/lib/employee-templates.js +6 -6
  274. package/dist/lib/employees.js +3 -3
  275. package/dist/lib/error-detector.js +2 -2
  276. package/dist/lib/exe-daemon.js +83 -86
  277. package/dist/lib/hybrid-search.js +11 -11
  278. package/dist/lib/identity.js +5 -3
  279. package/dist/lib/keychain.js +1 -1
  280. package/dist/lib/license.js +2 -2
  281. package/dist/lib/messaging.js +13 -16
  282. package/dist/lib/post-tool-memory.js +16 -18
  283. package/dist/lib/registry-proxy.js +1 -1
  284. package/dist/lib/reminders.js +4 -4
  285. package/dist/lib/schedules.js +8 -8
  286. package/dist/lib/session-registry.js +5 -5
  287. package/dist/lib/skill-learning.js +9 -9
  288. package/dist/lib/store.js +7 -7
  289. package/dist/lib/task-router.js +4 -4
  290. package/dist/lib/tasks.js +14 -17
  291. package/dist/lib/tmux-routing.js +14 -41
  292. package/dist/lib/token-spend.js +4 -4
  293. package/dist/lib/ws-client.js +1 -1
  294. package/dist/{license-gate-CARN6AB6.js → license-gate-M7EDJLAA.js} +3 -3
  295. package/dist/{license-recheck-7Z3LS6YS.js → license-recheck-DLTOHAH2.js} +1 -1
  296. package/dist/{license-sync-PUQV3HSZ.js → license-sync-YTDCUN3S.js} +2 -2
  297. package/dist/mcp/register-tools.js +94 -94
  298. package/dist/mcp/server.js +97 -97
  299. package/dist/mcp/tools/complete-reminder.js +5 -5
  300. package/dist/mcp/tools/create-reminder.js +5 -5
  301. package/dist/mcp/tools/create-task.js +16 -19
  302. package/dist/mcp/tools/deactivate-behavior.js +10 -10
  303. package/dist/mcp/tools/list-reminders.js +5 -5
  304. package/dist/mcp/tools/list-tasks.js +16 -19
  305. package/dist/mcp/tools/send-message.js +15 -18
  306. package/dist/mcp/tools/update-task.js +15 -18
  307. package/dist/{mcp-http-config-RJKTZPHZ.js → mcp-http-config-652YK3CI.js} +5 -5
  308. package/dist/{mcp-session-identity-HN444A3G.js → mcp-session-identity-6QGXD52Y.js} +12 -15
  309. package/dist/{memory-cards-AT3QCCWU.js → memory-cards-FOPSLULE.js} +8 -8
  310. package/dist/{memory-graph-extractor-B43UWGV5.js → memory-graph-extractor-7G3CIGN7.js} +7 -7
  311. package/dist/{memory-maintenance-WDLL3ZX3.js → memory-maintenance-5XIGUPYL.js} +1 -1
  312. package/dist/{memory-poisoning-defense-TS4WNW4S.js → memory-poisoning-defense-MI7Y5XBP.js} +3 -3
  313. package/dist/{memory-pressure-watchdog-6YH7S6W7.js → memory-pressure-watchdog-SPIDPGU2.js} +13 -16
  314. package/dist/{memory-reflection-N6NSYW6S.js → memory-reflection-DVAT4QKS.js} +8 -8
  315. package/dist/{memory-write-repository-D35RDO62.js → memory-write-repository-YC7HJTV5.js} +1 -1
  316. package/dist/{monitor-grants-FH4PNYN5.js → monitor-grants-3A77O6XK.js} +3 -3
  317. package/dist/{monitor-identity-LK5ZCCND.js → monitor-identity-BTFFMFEX.js} +2 -2
  318. package/dist/{notification-ledger-3WJYJGGS.js → notification-ledger-AV5242RM.js} +13 -16
  319. package/dist/{notifications-T5C2CVB3.js → notifications-75FVPJLY.js} +12 -15
  320. package/dist/{orchestration-events-73VEJT7Q.js → orchestration-events-ARGZU6KS.js} +4 -4
  321. package/dist/{orchestrator-3O657734.js → orchestrator-TCXZMLSB.js} +14 -17
  322. package/dist/{org-brief-session-EGB35QLM.js → org-brief-session-B455POUI.js} +15 -15
  323. package/dist/{org-consent-policy-MSVSRI53.js → org-consent-policy-7K5H6FOB.js} +5 -5
  324. package/dist/{org-join-4BK2XJJI.js → org-join-ETR5KO27.js} +9 -9
  325. package/dist/{org-key-admin-EUSSGXQ3.js → org-key-admin-IRC6H3TL.js} +11 -11
  326. package/dist/{org-key-epoch-NMEWDT5L.js → org-key-epoch-EG4YQ47A.js} +5 -5
  327. package/dist/{org-key-pin-HUSXGINB.js → org-key-pin-GLQEU3P3.js} +3 -3
  328. package/dist/{org-membership-B74IWEM5.js → org-membership-JC5YVU6N.js} +4 -4
  329. package/dist/{org-partner-config-5FJTJABN.js → org-partner-config-QFSVGHEA.js} +8 -8
  330. package/dist/{org-partner-runtime-GN4GFWI2.js → org-partner-runtime-7AD7WY3Y.js} +15 -15
  331. package/dist/{org-row-visibility-PBZ2TSCR.js → org-row-visibility-AXZKVOA6.js} +1 -1
  332. package/dist/{pipeline-router-2IELBSVJ.js → pipeline-router-2KY4X6PO.js} +4 -4
  333. package/dist/{plan-limits-4GXK5PFT.js → plan-limits-PG6HG2DT.js} +6 -6
  334. package/dist/{pre-tool-use-impl-CY73PRJP.js → pre-tool-use-impl-45B4NFIF.js} +34 -32
  335. package/dist/{project-name-337ERIAX.js → project-name-LHYHR4VN.js} +4 -4
  336. package/dist/{projection-worker-W476IG6V.js → projection-worker-POT2AOR5.js} +2 -2
  337. package/dist/{prospective-memory-5INB7NUL.js → prospective-memory-ECXSAEAW.js} +3 -3
  338. package/dist/{push-notifications-YVOP4KGN.js → push-notifications-W3UNHDC5.js} +13 -16
  339. package/dist/{reproject-worktree-memories-OGBR3CMO.js → reproject-worktree-memories-PIXMJBHG.js} +12 -15
  340. package/dist/{reranker-W7WCJH6Y.js → reranker-ZBPYIRBB.js} +1 -1
  341. package/dist/{retrieval-health-R6MGXLTP.js → retrieval-health-42MFLOEP.js} +1 -1
  342. package/dist/{review-polling-TKAWVY6G.js → review-polling-V4CSK4TZ.js} +13 -16
  343. package/dist/runtime/index.js +16 -19
  344. package/dist/{session-events-HUCZ7TOR.js → session-events-C3NUY6MR.js} +13 -16
  345. package/dist/{session-kill-telemetry-RWRWOW4C.js → session-kill-telemetry-ZOSAIYU2.js} +13 -16
  346. package/dist/{session-scope-5CDRHV75.js → session-scope-BZALGKYZ.js} +12 -15
  347. package/dist/{setup-wizard-RBTJAZOP.js → setup-wizard-DNA2UT4J.js} +2 -2
  348. package/dist/{shard-manager-LRPAAQA4.js → shard-manager-NG4SXV7L.js} +2 -2
  349. package/dist/{skill-refinement-MDXKDCY6.js → skill-refinement-Y3M7XBRE.js} +4 -4
  350. package/dist/{skill-retrieval-OWY6MTCX.js → skill-retrieval-XDY352AS.js} +11 -11
  351. package/dist/{skill-usage-GNV737U5.js → skill-usage-QOLIJQJC.js} +4 -4
  352. package/dist/{stack-generate-manifest-S4SBLKBY.js → stack-generate-manifest-VFHCOLAD.js} +4 -4
  353. package/dist/{stack-promote-U4EZNLOV.js → stack-promote-24BY6AXF.js} +4 -4
  354. package/dist/{stack-release-4VBGOYGK.js → stack-release-AXH7ZIOR.js} +5 -5
  355. package/dist/{stack-update-C5YKHE7A.js → stack-update-7ET7S3ED.js} +3 -3
  356. package/dist/{steward-gate-QFPXQBUZ.js → steward-gate-2MUESY3V.js} +4 -4
  357. package/dist/{subagent-brief-injection-GDXO5WNS.js → subagent-brief-injection-6PM3WMMR.js} +25 -27
  358. package/dist/{support-bug-actions-4XEKXIIO.js → support-bug-actions-WWKDXT74.js} +3 -3
  359. package/dist/{support-inbox-Y7AFCOGM.js → support-inbox-AN44HIOG.js} +12 -12
  360. package/dist/{task-enforcement-CN3Q4PEH.js → task-enforcement-QO7RXYK2.js} +13 -16
  361. package/dist/{task-request-inbox-AY3C6DND.js → task-request-inbox-RXAT2QJF.js} +5 -5
  362. package/dist/{task-scope-AMR3Z3DJ.js → task-scope-4EKZBTTM.js} +12 -15
  363. package/dist/{tasks-crud-2GHKIZOM.js → tasks-crud-MB7WXGPW.js} +14 -15
  364. package/dist/{tasks-notify-Z53446KM.js → tasks-notify-BCWO7AP6.js} +13 -16
  365. package/dist/{tasks-review-APRNSHMQ.js → tasks-review-HXHYA76X.js} +12 -15
  366. package/dist/{telemetry-upload-5XR42SQN.js → telemetry-upload-Q7DLE5I3.js} +8 -8
  367. package/dist/{token-budget-TTNJXI7W.js → token-budget-EL6BEBDP.js} +4 -4
  368. package/dist/{tool-telemetry-36ST422N.js → tool-telemetry-SNWF4WDH.js} +1 -1
  369. package/dist/tui/App.js +22 -25
  370. package/dist/{tui-data-AP5TPUOQ.js → tui-data-ZMSBEPJT.js} +16 -19
  371. package/dist/{update-support-SFTI2PUD.js → update-support-QY7WALUZ.js} +11 -11
  372. package/dist/{whatsapp-5CXE3JHG.js → whatsapp-NCZ43BB3.js} +2 -2
  373. package/dist/{wiki-acl-N754BC2W.js → wiki-acl-3L7BRJUV.js} +1 -1
  374. package/dist/{work-claims-OAICQBWO.js → work-claims-XQXT2VWJ.js} +4 -4
  375. package/dist/{work-state-heartbeat-MTTUGMPU.js → work-state-heartbeat-GAIQ7M73.js} +1 -1
  376. package/dist/{workflow-engine-RID3QL2U.js → workflow-engine-FCOOI5M6.js} +2 -2
  377. package/dist/{worktree-XWVNDBRD.js → worktree-GS4ODQ4C.js} +5 -5
  378. package/dist/{worktree-sweep-6VEHGH7U.js → worktree-sweep-6LMC7H5Y.js} +6 -6
  379. package/package.json +1 -1
  380. package/release-notes.json +27 -9
  381. package/stack.release.json +3 -3
  382. package/dist/chunk-ESO5JDOT.js +0 -70
  383. package/dist/content-extractor-OVD7PTSN.js +0 -9
  384. /package/dist/{chunk-EZQ4W3WW.js → chunk-7ZP2PAW3.js} +0 -0
  385. /package/dist/{chunk-YBB43SXC.js → chunk-AC36VWNB.js} +0 -0
  386. /package/dist/{chunk-YG4DZZ6J.js → chunk-CS4SHHLY.js} +0 -0
  387. /package/dist/{chunk-33PG3KNY.js → chunk-FDQXQBBC.js} +0 -0
  388. /package/dist/{chunk-OLMLA377.js → chunk-IKJUZ3VO.js} +0 -0
  389. /package/dist/{chunk-FUZHMV7K.js → chunk-JXGOO53U.js} +0 -0
  390. /package/dist/{chunk-WIDOLS7T.js → chunk-LAWI42NC.js} +0 -0
  391. /package/dist/{chunk-PKM456D2.js → chunk-LK6OG47X.js} +0 -0
  392. /package/dist/{chunk-FLO24BNN.js → chunk-R6H2IRCF.js} +0 -0
  393. /package/dist/{chunk-64UAHPXA.js → chunk-UQKGV6SX.js} +0 -0
  394. /package/dist/{chunk-CLV7ALXV.js → chunk-XDWIJBTY.js} +0 -0
  395. /package/dist/{chunk-LDHJX4TZ.js → chunk-XJDSTA2C.js} +0 -0
  396. /package/dist/{chunk-OEEHLATI.js → chunk-ZQS4S4AX.js} +0 -0
  397. /package/dist/{core-memory-WR7I7DIP.js → core-memory-3TZV3ZDW.js} +0 -0
  398. /package/dist/{memory-isolation-4RQJ5RCK.js → memory-isolation-TE4AOMQX.js} +0 -0
  399. /package/dist/{oauth-server-VBDMZIEV.js → oauth-server-CWQ6EBGQ.js} +0 -0
  400. /package/dist/{project-boot-G7T5WHO6.js → project-boot-MX2FNKTJ.js} +0 -0
@@ -8,13 +8,13 @@ import {
8
8
  queryTaskRows,
9
9
  resolveExeSession,
10
10
  sendIntercom
11
- } from "./chunk-XAGIZVYI.js";
11
+ } from "./chunk-WSYIQKZ6.js";
12
12
  import {
13
13
  getTransport
14
14
  } from "./chunk-VI4ATC6I.js";
15
15
  import {
16
16
  recordOrchestrationEventBestEffort
17
- } from "./chunk-SA66WRBT.js";
17
+ } from "./chunk-WLV27PAO.js";
18
18
  import {
19
19
  releaseDispatchClaim,
20
20
  tryAcquireDispatchClaim
@@ -29,7 +29,7 @@ import {
29
29
  isCoordinatorName,
30
30
  isMultiInstance,
31
31
  shouldAutoInstance
32
- } from "./chunk-3MDUKF3N.js";
32
+ } from "./chunk-LBEBSXZA.js";
33
33
 
34
34
  // src/lib/tasks-notify.ts
35
35
  var VERIFY_DELAY_MS = 1e4;
@@ -91,7 +91,7 @@ async function dispatchTaskToEmployee(input) {
91
91
  let crossProject = false;
92
92
  if (input.projectName) {
93
93
  try {
94
- const { assertSessionScope } = await import("./session-scope-5CDRHV75.js");
94
+ const { assertSessionScope } = await import("./session-scope-BZALGKYZ.js");
95
95
  const check = assertSessionScope("dispatch_task", input.projectName);
96
96
  if (check.reason === "cross_session_denied") {
97
97
  crossProject = true;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executeAction,
3
3
  substituteTemplate
4
- } from "./chunk-CLV7ALXV.js";
4
+ } from "./chunk-XDWIJBTY.js";
5
5
 
6
6
  // src/automation/workflow-engine.ts
7
7
  import { randomUUID } from "crypto";
@@ -140,7 +140,7 @@ async function assertManifestSignature(manifest, publicKeyPem) {
140
140
  "manifest carries no `signature`. Fleets that enforce EXE_STACK_PUBLIC_KEY reject unsigned manifests, so publishing one would ship a release no host can install. Re-sign with the custodied key: node scripts/sign-stack-manifest.mjs deploy/stack-manifests/v0.9.json"
141
141
  );
142
142
  }
143
- const { verifyStackManifestSignature } = await import("./stack-update-C5YKHE7A.js");
143
+ const { verifyStackManifestSignature } = await import("./stack-update-7ET7S3ED.js");
144
144
  try {
145
145
  verifyStackManifestSignature(manifest, publicKeyPem);
146
146
  } catch (err) {
@@ -1008,7 +1008,7 @@ async function runRegistryProxy(options = registryProxyOptionsFromEnv()) {
1008
1008
  await new Promise((resolve) => server.listen(options.port, options.host, resolve));
1009
1009
  console.log(`exe-registry-proxy listening on ${options.host ?? "0.0.0.0"}:${options.port}`);
1010
1010
  console.log(`proxying /v2/${options.allowedNamespace ?? "askexe"}/* -> ${options.upstream ?? "https://ghcr.io"}`);
1011
- const { licenseSyncConfigFromEnv, startLicenseSyncScheduler } = await import("./license-sync-PUQV3HSZ.js");
1011
+ const { licenseSyncConfigFromEnv, startLicenseSyncScheduler } = await import("./license-sync-YTDCUN3S.js");
1012
1012
  const syncConfig = licenseSyncConfigFromEnv();
1013
1013
  if (syncConfig) {
1014
1014
  startLicenseSyncScheduler(syncConfig);
@@ -1,11 +1,11 @@
1
- import {
2
- ingest
3
- } from "./chunk-EHILXBVT.js";
4
1
  import {
5
2
  listWorkflowDefinitions,
6
3
  runWorkflow,
7
4
  startWorkflow
8
- } from "./chunk-L5CPS34O.js";
5
+ } from "./chunk-CKRZBQ2K.js";
6
+ import {
7
+ ingest
8
+ } from "./chunk-IUAW7FVX.js";
9
9
  import {
10
10
  initCRMBridge
11
11
  } from "./chunk-ML4S5SHZ.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  shutdownCli
3
- } from "./chunk-OLMLA377.js";
3
+ } from "./chunk-IKJUZ3VO.js";
4
4
  import {
5
5
  fastDbInit
6
- } from "./chunk-EZQ4W3WW.js";
6
+ } from "./chunk-7ZP2PAW3.js";
7
7
  import {
8
8
  sessionScopeFilter
9
- } from "./chunk-XAGIZVYI.js";
9
+ } from "./chunk-WSYIQKZ6.js";
10
10
  import {
11
11
  formatStatusAll,
12
12
  formatStatusDeep,
@@ -17,7 +17,7 @@ import {
17
17
  getClient,
18
18
  isCoordinatorRole,
19
19
  loadEmployees
20
- } from "./chunk-3MDUKF3N.js";
20
+ } from "./chunk-LBEBSXZA.js";
21
21
  import {
22
22
  isMainModule
23
23
  } from "./chunk-6Y4B3QF6.js";
@@ -497,7 +497,7 @@ async function createBackupAsync(reason = "manual", opts = {}) {
497
497
  let artifactState = "not-checked";
498
498
  let artifactDetail = "artifact read-back did not run";
499
499
  try {
500
- const { manifestWriteEnabled, readBackBackupArtifact, manifestPathFor } = await import("./backup-verify-QIAQ63VC.js");
500
+ const { manifestWriteEnabled, readBackBackupArtifact, manifestPathFor } = await import("./backup-verify-AOTKX5DA.js");
501
501
  if (manifestWriteEnabled()) {
502
502
  const readback = await readBackBackupArtifact(backupPath, dbName, { keyHex: encryptionKey });
503
503
  artifactState = readback.artifact;
@@ -737,7 +737,7 @@ function recordMissedBackup(entry) {
737
737
  function alertMissedBackup(message, skipped) {
738
738
  void (async () => {
739
739
  try {
740
- const { pushNotifyAsync } = await import("./push-notifications-YVOP4KGN.js");
740
+ const { pushNotifyAsync } = await import("./push-notifications-W3UNHDC5.js");
741
741
  pushNotifyAsync({
742
742
  event: "backup_failed",
743
743
  title: skipped ? "Backup SKIPPED \u2014 disk full" : "Backup FAILED \u2014 disk full",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  recordOrchestrationEventBestEffort
3
- } from "./chunk-SA66WRBT.js";
3
+ } from "./chunk-WLV27PAO.js";
4
4
 
5
5
  // src/lib/worktree.ts
6
6
  import { execFile, execFileSync, execSync } from "child_process";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  sessionScopeFilter
3
- } from "./chunk-XAGIZVYI.js";
3
+ } from "./chunk-WSYIQKZ6.js";
4
4
  import {
5
5
  leaseExpiryIso
6
6
  } from "./chunk-E23LNUWJ.js";
7
7
  import {
8
8
  getProjectName
9
- } from "./chunk-4Q7H3TO7.js";
9
+ } from "./chunk-J6RTX7XT.js";
10
10
 
11
11
  // src/lib/subagent-observability.ts
12
12
  var MAX_RESULT_DIGEST_CHARS = 200;
@@ -2,7 +2,7 @@ import {
2
2
  grantsRegistryStatus,
3
3
  listGrants,
4
4
  revokeGrant
5
- } from "./chunk-TCV3WA5I.js";
5
+ } from "./chunk-3WNDI5KT.js";
6
6
  import {
7
7
  resolveExeDataDir
8
8
  } from "./chunk-NPXIS2RY.js";
@@ -169,9 +169,6 @@ function orgModeAnchorState() {
169
169
  }
170
170
  return kc === "unknown" ? "unknown" : "absent";
171
171
  }
172
- function orgModeAnchorPresent() {
173
- return orgModeAnchorState() === "present";
174
- }
175
172
  function writeOrgModeAnchor() {
176
173
  _anchorSeen = true;
177
174
  const setResult = keychainSet();
@@ -458,12 +455,21 @@ function stickyLatchPresent() {
458
455
  return true;
459
456
  }
460
457
  }
458
+ var _warnedAnchorUnreadable = false;
459
+ function warnAnchorUnreadableOnce() {
460
+ if (_warnedAnchorUnreadable) return;
461
+ _warnedAnchorUnreadable = true;
462
+ process.stderr.write(
463
+ "[exe-os] \u26A0 the out-of-data-dir org-mode anchor could not be read \u2014 treating this install as org-mode until it can be (fail closed: the founder-monitor writer stays unusable). No latch was written; this clears itself once the anchor is readable again.\n"
464
+ );
465
+ }
461
466
  function orgModeActive() {
462
467
  if (_latchedOrgMode) {
463
468
  if (_quarantinePending) ensureGrantsQuarantined();
464
469
  return true;
465
470
  }
466
- if (orgModeAnchorPresent()) {
471
+ const anchor = orgModeAnchorState();
472
+ if (anchor === "present") {
467
473
  _latchedOrgMode = true;
468
474
  ensureGrantsQuarantined();
469
475
  return true;
@@ -475,7 +481,13 @@ function orgModeActive() {
475
481
  return true;
476
482
  }
477
483
  const membershipsPresence = classifyPathPresence(orgMembershipsPath());
478
- if (membershipsPresence === "absent") return false;
484
+ if (membershipsPresence === "absent") {
485
+ if (anchor === "unknown") {
486
+ warnAnchorUnreadableOnce();
487
+ return true;
488
+ }
489
+ return false;
490
+ }
479
491
  if (membershipsPresence === "inconclusive") {
480
492
  process.stderr.write(
481
493
  `[exe-os] \u26A0 org-memberships file at ${orgMembershipsPath()} could not be checked (permission or I/O error) \u2014 treating install as org-mode (fail closed: ambiguity resolves toward org mode)
@@ -539,6 +551,7 @@ function warnQuarantineDeferredOnce(msg) {
539
551
  function _resetOrgModeLatchForTest() {
540
552
  _quarantinePending = false;
541
553
  _warnedQuarantineDeferred = false;
554
+ _warnedAnchorUnreadable = false;
542
555
  _latchedOrgMode = false;
543
556
  }
544
557
 
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  checkLicense,
3
3
  loadLicense
4
- } from "./chunk-DIKLSAJE.js";
4
+ } from "./chunk-KNEEOZWN.js";
5
5
 
6
6
  // src/lib/license-gate.ts
7
7
  var _cachedLicense = null;
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-WCGNCH3Q.js";
4
4
  import {
5
5
  registerAllTools
6
- } from "./chunk-W5XAB2SW.js";
6
+ } from "./chunk-47UBJKS3.js";
7
7
 
8
8
  // src/mcp/mcp-surface-hash.ts
9
9
  function computeMcpSurfaceHash() {
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-BTSWFMEH.js";
11
11
  import {
12
12
  getClient
13
- } from "./chunk-3MDUKF3N.js";
13
+ } from "./chunk-LBEBSXZA.js";
14
14
 
15
15
  // src/lib/work-claims.ts
16
16
  var CLAIM_TTL_MINUTES = 90;
@@ -306,7 +306,7 @@ async function heartbeatClaims(holderSession, ttlMinutes = CLAIM_TTL_MINUTES) {
306
306
  }
307
307
  async function recordClaimEvent(eventType, sessionScope, agentId, payload, severity) {
308
308
  try {
309
- const { recordOrchestrationEventBestEffort } = await import("./orchestration-events-73VEJT7Q.js");
309
+ const { recordOrchestrationEventBestEffort } = await import("./orchestration-events-ARGZU6KS.js");
310
310
  recordOrchestrationEventBestEffort({
311
311
  eventType,
312
312
  source: "work-claims",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isExeSession
3
- } from "./chunk-XAGIZVYI.js";
3
+ } from "./chunk-WSYIQKZ6.js";
4
4
  import {
5
5
  loadConfigSync
6
6
  } from "./chunk-MMS2HBRT.js";
@@ -2,11 +2,13 @@ import {
2
2
  buildFtsMatch,
3
3
  buildFtsMatchWithModifiers,
4
4
  extractFtsModifiers,
5
- tokenizeForFts
6
- } from "./chunk-VMHZSZQJ.js";
5
+ ftsQueryTokenInRecord,
6
+ tokenizeForFts,
7
+ tokenizeForFtsTokenMatch
8
+ } from "./chunk-3ARSKDHC.js";
7
9
  import {
8
10
  filterWikiRecallResults
9
- } from "./chunk-33PG3KNY.js";
11
+ } from "./chunk-FDQXQBBC.js";
10
12
  import {
11
13
  attachDocumentMetadata,
12
14
  buildRawVisibilityFilter,
@@ -16,7 +18,7 @@ import {
16
18
  buildVisibilityTierFilter,
17
19
  buildWikiScopeFilter,
18
20
  searchMemories
19
- } from "./chunk-APVU4Q5B.js";
21
+ } from "./chunk-X2EBM5BQ.js";
20
22
  import {
21
23
  blobToVector
22
24
  } from "./chunk-OTVEIJUQ.js";
@@ -27,7 +29,7 @@ import {
27
29
  import {
28
30
  isExeMcpTool,
29
31
  stripExeMcpPrefix
30
- } from "./chunk-HYZV25LY.js";
32
+ } from "./chunk-67IVG6CB.js";
31
33
  import {
32
34
  getAgentContext
33
35
  } from "./chunk-GJV3WDWM.js";
@@ -35,7 +37,7 @@ import {
35
37
  getClient,
36
38
  isFtsShadowCorruptionMessage,
37
39
  repairFtsTable
38
- } from "./chunk-3MDUKF3N.js";
40
+ } from "./chunk-LBEBSXZA.js";
39
41
 
40
42
  // src/lib/memory-reads.ts
41
43
  import crypto from "crypto";
@@ -597,7 +599,7 @@ async function hybridSearch(queryText, agentId, options) {
597
599
  let rerankerAvailable = false;
598
600
  if (process.env.EXE_IS_DAEMON === "1") {
599
601
  try {
600
- const { isRerankerAvailable } = await import("./reranker-W7WCJH6Y.js");
602
+ const { isRerankerAvailable } = await import("./reranker-ZBPYIRBB.js");
601
603
  rerankerAvailable = isRerankerAvailable();
602
604
  } catch {
603
605
  }
@@ -637,7 +639,7 @@ ${hydeDoc}`;
637
639
  if (config.fileGrepEnabled === true && !process.env.VITEST && !onFailOpenHotPath) {
638
640
  try {
639
641
  if (process.env.EXE_IS_DAEMON !== "1") {
640
- const { getProjectName } = await import("./project-name-337ERIAX.js");
642
+ const { getProjectName } = await import("./project-name-LHYHR4VN.js");
641
643
  const projectRoot = process.cwd();
642
644
  const projectName = getProjectName(projectRoot);
643
645
  if (projectName && projectName !== "tmp") {
@@ -680,7 +682,7 @@ ${hydeDoc}`;
680
682
  runGraphArm(graphSearch(effectiveQuery, agentId, fetchOptions, Math.min(fetchLimit, 20))),
681
683
  includeStructuredCards ? (async () => {
682
684
  try {
683
- const { searchMemoryCards } = await import("./memory-cards-AT3QCCWU.js");
685
+ const { searchMemoryCards } = await import("./memory-cards-FOPSLULE.js");
684
686
  return await searchMemoryCards(effectiveQuery, agentId, fetchOptions);
685
687
  } catch {
686
688
  return [];
@@ -689,7 +691,7 @@ ${hydeDoc}`;
689
691
  // Reflection insights: patterns, contradictions, summaries across sessions
690
692
  includeStructuredCards ? (async () => {
691
693
  try {
692
- const { searchReflections } = await import("./memory-reflection-N6NSYW6S.js");
694
+ const { searchReflections } = await import("./memory-reflection-DVAT4QKS.js");
693
695
  const insights = await searchReflections(effectiveQuery, agentId, 5, fetchOptions);
694
696
  return insights.map((ins) => ({
695
697
  id: ins.id,
@@ -801,7 +803,7 @@ ${hydeDoc}`;
801
803
  let entityBoostRan = false;
802
804
  if (merged.length > 0) {
803
805
  try {
804
- const { applyEntityBoost } = await import("./entity-boost-TK43XT24.js");
806
+ const { applyEntityBoost } = await import("./entity-boost-XETN7C2S.js");
805
807
  const boosted = await applyEntityBoost(merged, effectiveQuery, getClient());
806
808
  merged = boosted.results;
807
809
  graphContextMap = boosted.graphContext;
@@ -828,7 +830,7 @@ ${hydeDoc}`;
828
830
  try {
829
831
  let rerankedRecords;
830
832
  if (graphContextMap.size > 0) {
831
- const { rerankWithContext } = await import("./reranker-W7WCJH6Y.js");
833
+ const { rerankWithContext } = await import("./reranker-ZBPYIRBB.js");
832
834
  const candidates = merged.map((m) => ({
833
835
  text: m.raw_text,
834
836
  context: graphContextMap.get(m.id)
@@ -836,7 +838,7 @@ ${hydeDoc}`;
836
838
  const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
837
839
  rerankedRecords = scored.map((s) => merged[s.index]);
838
840
  } else {
839
- const { rerank } = await import("./reranker-W7WCJH6Y.js");
841
+ const { rerank } = await import("./reranker-ZBPYIRBB.js");
840
842
  rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
841
843
  }
842
844
  if (rerankedRecords.length > 0) {
@@ -1080,11 +1082,13 @@ function isCapturedSearchCall(record) {
1080
1082
  }
1081
1083
  function demoteOffTopicResults(results, queryText) {
1082
1084
  if (results.length < 2) return results;
1083
- const tokens = tokenizeForFts(queryText, { minLen: 2, maxTerms: 16 });
1085
+ const tokens = Array.from(new Set(
1086
+ tokenizeForFts(queryText, { minLen: 2, maxTerms: 16 }).flatMap((t) => tokenizeForFtsTokenMatch(t)).filter((t) => t.length >= 2)
1087
+ ));
1084
1088
  if (tokens.length === 0) return results;
1085
1089
  const hasQueryToken = (text) => {
1086
- const lower = text.toLowerCase();
1087
- return tokens.some((t) => lower.includes(t));
1090
+ const recordTokens = tokenizeForFtsTokenMatch(text);
1091
+ return tokens.some((t) => ftsQueryTokenInRecord(recordTokens, t));
1088
1092
  };
1089
1093
  const SEARCH_CALL_CAPTURE_RE = /memory\s*\(\s*action\s*[:=]?\s*["']?(recall|search)\b/i;
1090
1094
  const bandOf = (record) => {
@@ -1293,7 +1297,7 @@ async function lightweightSearch(queryText, agentId, options) {
1293
1297
  }
1294
1298
  if (results.length >= 2) {
1295
1299
  try {
1296
- const { recordCoActivations } = await import("./co-activation-2ZRANV3Q.js");
1300
+ const { recordCoActivations } = await import("./co-activation-V5XXR327.js");
1297
1301
  const ids = results.slice(0, 10).map((r) => r.id);
1298
1302
  void recordCoActivations(ids).catch((e) => {
1299
1303
  try {
@@ -1309,7 +1313,7 @@ async function lightweightSearch(queryText, agentId, options) {
1309
1313
  }
1310
1314
  if (options?.includeStructuredCards !== true) return results;
1311
1315
  try {
1312
- const { searchMemoryCards } = await import("./memory-cards-AT3QCCWU.js");
1316
+ const { searchMemoryCards } = await import("./memory-cards-FOPSLULE.js");
1313
1317
  const cardResults = await searchMemoryCards(queryText, agentId, options);
1314
1318
  if (cardResults.length > 0) {
1315
1319
  return rrfMergeMulti([results, cardResults], limit, RRF_K, [1, 0.85]);
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  cleanupCardsForMemories,
3
3
  cleanupGraphLinksForMemories
4
- } from "./chunk-XGPBHKU3.js";
4
+ } from "./chunk-26CY4EAR.js";
5
5
  import {
6
6
  resolveAnthropicAuth
7
7
  } from "./chunk-VGMACSEV.js";
8
8
  import {
9
9
  buildSystemStateExclusionFilter,
10
10
  vectorToBlob
11
- } from "./chunk-APVU4Q5B.js";
11
+ } from "./chunk-X2EBM5BQ.js";
12
12
  import {
13
13
  extractKeywords,
14
14
  keywordsToString
15
15
  } from "./chunk-CHCA3ZM2.js";
16
16
  import {
17
17
  isCoordinatorName
18
- } from "./chunk-3MDUKF3N.js";
18
+ } from "./chunk-LBEBSXZA.js";
19
19
 
20
20
  // src/lib/consolidation.ts
21
21
  import { randomUUID } from "crypto";
@@ -5,26 +5,26 @@ import {
5
5
  behaviorTruncationNotice,
6
6
  fetchInjectableBehaviors,
7
7
  selectInjectedBehaviors
8
- } from "./chunk-YVS77JPW.js";
8
+ } from "./chunk-JZ23D5YF.js";
9
9
  import {
10
10
  countActiveBehaviors,
11
11
  listBehaviors
12
- } from "./chunk-F5ZRHLG5.js";
12
+ } from "./chunk-NYV4A5IG.js";
13
13
  import {
14
14
  lightweightSearch
15
- } from "./chunk-NFNM64A7.js";
15
+ } from "./chunk-GGT6Y5AN.js";
16
16
  import {
17
17
  getCurrentSessionScope
18
- } from "./chunk-XAGIZVYI.js";
18
+ } from "./chunk-WSYIQKZ6.js";
19
19
  import {
20
20
  getProjectName
21
- } from "./chunk-4Q7H3TO7.js";
21
+ } from "./chunk-J6RTX7XT.js";
22
22
  import {
23
23
  getSessionKey
24
24
  } from "./chunk-CVYC6DUW.js";
25
25
  import {
26
26
  getClient
27
- } from "./chunk-3MDUKF3N.js";
27
+ } from "./chunk-LBEBSXZA.js";
28
28
 
29
29
  // src/lib/session-summary.ts
30
30
  var MAX_CHARS = 800;
@@ -341,7 +341,7 @@ async function activeBehaviorBrief(agentId, projectName) {
341
341
  const text = renderBehaviorSection(rendered, counts);
342
342
  if (rendered.length > 0) {
343
343
  try {
344
- const { recordBehaviorsConsulted } = await import("./skill-usage-GNV737U5.js");
344
+ const { recordBehaviorsConsulted } = await import("./skill-usage-QOLIJQJC.js");
345
345
  void recordBehaviorsConsulted(rendered.map((b) => b.id));
346
346
  } catch {
347
347
  }
@@ -2,7 +2,7 @@ import {
2
2
  getClient,
3
3
  isCoordinatorName,
4
4
  loadEmployeesSync
5
- } from "./chunk-3MDUKF3N.js";
5
+ } from "./chunk-LBEBSXZA.js";
6
6
 
7
7
  // src/lib/steward-gate.ts
8
8
  import crypto from "crypto";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  recordSessionKill
3
- } from "./chunk-HFSFWMID.js";
3
+ } from "./chunk-AEOB4JCJ.js";
4
4
  import {
5
5
  sessionScopeFilter,
6
6
  verifyPaneAtCapacity,
7
7
  writeNotification
8
- } from "./chunk-XAGIZVYI.js";
8
+ } from "./chunk-WSYIQKZ6.js";
9
9
  import {
10
10
  listSessions
11
- } from "./chunk-HFXBL7XE.js";
11
+ } from "./chunk-6T5RC3L4.js";
12
12
  import {
13
13
  getTransport
14
14
  } from "./chunk-VI4ATC6I.js";
15
15
  import {
16
16
  recordOrchestrationEventBestEffort
17
- } from "./chunk-SA66WRBT.js";
17
+ } from "./chunk-WLV27PAO.js";
18
18
  import {
19
19
  getClient,
20
20
  isCoordinatorName
21
- } from "./chunk-3MDUKF3N.js";
21
+ } from "./chunk-LBEBSXZA.js";
22
22
 
23
23
  // src/lib/capacity-monitor.ts
24
24
  var CAPACITY_PATTERNS = [
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-3MDUKF3N.js";
3
+ } from "./chunk-LBEBSXZA.js";
4
4
 
5
5
  // src/lib/skill-usage.ts
6
6
  async function recordBehaviorsConsulted(behaviorIds) {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  deactivateBehavior,
3
3
  listBehaviors
4
- } from "./chunk-F5ZRHLG5.js";
4
+ } from "./chunk-NYV4A5IG.js";
5
5
  import {
6
6
  IdentityConflictError,
7
7
  IdentityLockError,
8
8
  getIdentity,
9
9
  mutateIdentity,
10
10
  withIdentityLock
11
- } from "./chunk-3MDUKF3N.js";
11
+ } from "./chunk-LBEBSXZA.js";
12
12
 
13
13
  // src/lib/behavior-promotion.ts
14
14
  var PROMOTED_SECTION_HEADING = "## Promoted lessons (permanent \u2014 promoted from behaviours)";
@@ -14,7 +14,7 @@ import {
14
14
  getEmployee,
15
15
  isCoordinatorRole,
16
16
  loadEmployeesSync
17
- } from "./chunk-3MDUKF3N.js";
17
+ } from "./chunk-LBEBSXZA.js";
18
18
  import {
19
19
  EXE_AI_DIR
20
20
  } from "./chunk-MMS2HBRT.js";
@@ -703,7 +703,7 @@ function parseRetiredMasterKeys(raw) {
703
703
  }
704
704
  async function retiredKeyShardUsage(hexKeys) {
705
705
  try {
706
- const { countShardsPerKey } = await import("./shard-manager-LRPAAQA4.js");
706
+ const { countShardsPerKey } = await import("./shard-manager-NG4SXV7L.js");
707
707
  return await countShardsPerKey(hexKeys);
708
708
  } catch {
709
709
  return null;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-3MDUKF3N.js";
3
+ } from "./chunk-LBEBSXZA.js";
4
4
 
5
5
  // src/lib/pipeline-router.ts
6
6
  import crypto from "crypto";
@@ -140,8 +140,8 @@ Agent response: ${agentResponse}` : ""
140
140
  }
141
141
  async function sinkEntityExtraction(msg, agentResponse, agentName) {
142
142
  try {
143
- const { extractFromConversation } = await import("./conversation-entity-extractor-KUJN3MOH.js");
144
- const { storeExtraction } = await import("./graph-rag-GBA5E3QC.js");
143
+ const { extractFromConversation } = await import("./conversation-entity-extractor-66G7ROQ3.js");
144
+ const { storeExtraction } = await import("./graph-rag-LH34CEGC.js");
145
145
  if ((msg.text?.length ?? 0) < 20) return false;
146
146
  if (msg.isHistorical) return false;
147
147
  const extraction = await extractFromConversation(msg, agentResponse, agentName);
@@ -265,7 +265,7 @@ async function persistMemoryBatch(client, rows) {
265
265
  }
266
266
  const hygieneIds = inserted.filter((row) => row.supersedes_id).map((row) => row.id);
267
267
  if (hygieneIds.length > 0) {
268
- const { scheduleSupersessionHygiene } = await import("./memory-maintenance-WDLL3ZX3.js");
268
+ const { scheduleSupersessionHygiene } = await import("./memory-maintenance-5XIGUPYL.js");
269
269
  scheduleSupersessionHygiene(hygieneIds);
270
270
  }
271
271
  return { outcomes, inserted };
@@ -6,7 +6,7 @@ import {
6
6
  baseAgentName,
7
7
  getEmployee,
8
8
  loadEmployeesSync
9
- } from "./chunk-3MDUKF3N.js";
9
+ } from "./chunk-LBEBSXZA.js";
10
10
 
11
11
  // src/lib/project-name.ts
12
12
  import { execSync } from "child_process";