@askexenow/exe-os 0.9.410 → 0.9.412

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 (408) hide show
  1. package/delivery/catalog.json +29 -38
  2. package/deploy/compose/.env.customer.example +5 -5
  3. package/deploy/compose/.env.default +4 -4
  4. package/deploy/compose/.env.example +5 -5
  5. package/deploy/compose/docker-compose.yml +1 -1
  6. package/deploy/stack-manifests/v0.9.json +263 -2
  7. package/dist/.dist-verified.json +3 -3
  8. package/dist/{active-agent-2ELFTYNT.js → active-agent-3YCLS7GB.js} +4 -4
  9. package/dist/{active-agent-SS4SRXYZ.js → active-agent-MHWQDMML.js} +4 -4
  10. package/dist/{agent-defs-generator-6S2BSYCP.js → agent-defs-generator-DNXMO34I.js} +4 -4
  11. package/dist/{agentic-ontology-TJOAUAPD.js → agentic-ontology-RA6CMND6.js} +1 -1
  12. package/dist/{artifact-backup-STQQZDZ5.js → artifact-backup-EETHNFFP.js} +3 -3
  13. package/dist/{backfill-metadata-I2FVENKJ.js → backfill-metadata-WYT257VG.js} +7 -7
  14. package/dist/backup-verify-AG54CYGR.js +62 -0
  15. package/dist/{behavior-injection-CTSIKHTH.js → behavior-injection-G7GAUHGO.js} +10 -10
  16. package/dist/{behavior-promotion-NZMTTFHK.js → behavior-promotion-I2DIUFUR.js} +9 -9
  17. package/dist/{behaviors-RUNSC5WI.js → behaviors-SKVKPCRW.js} +8 -8
  18. package/dist/bin/agentic-ontology-backfill.js +8 -8
  19. package/dist/bin/agentic-reflection-backfill.js +9 -9
  20. package/dist/bin/agentic-semantic-label.js +8 -8
  21. package/dist/bin/backfill-conversations.js +7 -7
  22. package/dist/bin/backfill-responses.js +7 -7
  23. package/dist/bin/backfill-vectors.js +7 -7
  24. package/dist/bin/bulk-sync-postgres.js +16 -16
  25. package/dist/bin/cc-doctor.js +8 -8
  26. package/dist/bin/cleanup-stale-review-tasks.js +13 -13
  27. package/dist/bin/cli.js +24 -24
  28. package/dist/bin/deferred-daemon-restart.js +95 -95
  29. package/dist/bin/exe-actions.js +1 -1
  30. package/dist/bin/exe-agent-config.js +3 -3
  31. package/dist/bin/exe-agent.js +15 -15
  32. package/dist/bin/exe-assign.js +8 -8
  33. package/dist/bin/exe-boot.js +35 -35
  34. package/dist/bin/exe-call.js +9 -9
  35. package/dist/bin/exe-cloud.js +17 -17
  36. package/dist/bin/exe-config-dump.js +3 -3
  37. package/dist/bin/exe-dispatch.js +14 -14
  38. package/dist/bin/exe-doctor.js +5 -5
  39. package/dist/bin/exe-export-behaviors.js +12 -12
  40. package/dist/bin/exe-forget.js +10 -10
  41. package/dist/bin/exe-gateway.js +9 -9
  42. package/dist/bin/exe-grant.js +6 -6
  43. package/dist/bin/exe-healthcheck.js +8 -8
  44. package/dist/bin/exe-heartbeat.js +19 -19
  45. package/dist/bin/exe-kill.js +18 -18
  46. package/dist/bin/exe-launch-agent.js +75 -36
  47. package/dist/bin/exe-mcp.js +5 -5
  48. package/dist/bin/exe-memory-reads.js +7 -7
  49. package/dist/bin/exe-new-employee.js +11 -11
  50. package/dist/bin/exe-os-mcp-proxy.js +5 -5
  51. package/dist/bin/exe-pending-messages.js +14 -14
  52. package/dist/bin/exe-pending-notifications.js +13 -13
  53. package/dist/bin/exe-pending-reviews.js +14 -14
  54. package/dist/bin/exe-rename.js +7 -7
  55. package/dist/bin/exe-review.js +17 -17
  56. package/dist/bin/exe-search.js +9 -9
  57. package/dist/bin/exe-session-cleanup.js +18 -18
  58. package/dist/bin/exe-settings.js +16 -16
  59. package/dist/bin/exe-start-codex.js +37 -19
  60. package/dist/bin/exe-start-opencode.js +35 -17
  61. package/dist/bin/exe-status.js +15 -15
  62. package/dist/bin/exe-support.js +3 -3
  63. package/dist/bin/exe-team.js +5 -5
  64. package/dist/bin/git-sweep.js +15 -15
  65. package/dist/bin/graph-backfill.js +8 -8
  66. package/dist/bin/graph-export.js +8 -8
  67. package/dist/bin/hooks-cli.js +1 -1
  68. package/dist/bin/import-history.js +11 -11
  69. package/dist/bin/install.js +97 -97
  70. package/dist/bin/intercom-check.js +5 -5
  71. package/dist/bin/mcp-sessions.js +2 -2
  72. package/dist/bin/orchestration-metrics.js +5 -5
  73. package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
  74. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  75. package/dist/bin/pre-publish.js +1 -1
  76. package/dist/bin/reconcile-backlog.js +2 -2
  77. package/dist/bin/registry-proxy.js +1 -1
  78. package/dist/bin/repair-document-chunks.js +7 -7
  79. package/dist/bin/scan-tasks.js +14 -14
  80. package/dist/bin/setup.js +2 -2
  81. package/dist/bin/shard-migrate.js +8 -8
  82. package/dist/bin/stack-update.js +41 -16
  83. package/dist/bin/verify-stack.js +1 -1
  84. package/dist/bin/vps-health-gate.js +1 -1
  85. package/dist/{boot-generation-4W4CDJSX.js → boot-generation-RPJVFAQJ.js} +4 -4
  86. package/dist/{boot-review-sections-HJN25GMU.js → boot-review-sections-FOPPZTJI.js} +12 -12
  87. package/dist/{bug-landed-reconciler-GGQU6G2L.js → bug-landed-reconciler-FN5KPBRK.js} +6 -6
  88. package/dist/build-info.json +3 -3
  89. package/dist/build-manifest.json +936 -926
  90. package/dist/{capability-cards-EV7VHL3W.js → capability-cards-YQWBEG7A.js} +3 -3
  91. package/dist/{capacity-monitor-YO3WRSRY.js → capacity-monitor-7SMEJHYG.js} +14 -14
  92. package/dist/{catchup-brief-4XFFW3H2.js → catchup-brief-IBQ26LEB.js} +19 -19
  93. package/dist/{chunk-YJ7MCZSY.js → chunk-27NG2NTG.js} +2 -2
  94. package/dist/{chunk-2AXJRXA6.js → chunk-2BOLFLAU.js} +4 -2
  95. package/dist/{chunk-AGXV5HLA.js → chunk-2EYVXUGA.js} +4 -4
  96. package/dist/{chunk-2YZZR2BW.js → chunk-2YFMBXUU.js} +4 -4
  97. package/dist/{chunk-ZBXZFOIF.js → chunk-2YGBJHC2.js} +3 -3
  98. package/dist/{chunk-I35OMCL3.js → chunk-353XF4LU.js} +2 -2
  99. package/dist/{chunk-UF5BDAF6.js → chunk-3DXAJVXE.js} +6 -6
  100. package/dist/{chunk-AEOB4JCJ.js → chunk-3GGMHSY2.js} +3 -3
  101. package/dist/{chunk-K6XWIJN7.js → chunk-3N24FV22.js} +1 -1
  102. package/dist/{chunk-7WCYJXOF.js → chunk-47YGEM4N.js} +1 -1
  103. package/dist/{chunk-NVM3SKJ4.js → chunk-4CN3EE6U.js} +27 -21
  104. package/dist/{chunk-IQCC6WFI.js → chunk-4J77TCTX.js} +1 -1
  105. package/dist/{chunk-H5H2LGVE.js → chunk-5BWDUUMH.js} +3 -3
  106. package/dist/{chunk-O5RKAXCG.js → chunk-5DLZJ3MY.js} +1 -1
  107. package/dist/{chunk-E3ZO4EL3.js → chunk-5ZMNFSHV.js} +1 -1
  108. package/dist/{chunk-7QFRZT4H.js → chunk-657I6PUF.js} +3 -3
  109. package/dist/{chunk-IXRYS5X3.js → chunk-6777GNWI.js} +1 -1
  110. package/dist/{chunk-4THJIDJE.js → chunk-6BD6JYR2.js} +1 -1
  111. package/dist/{chunk-JTXXLNYD.js → chunk-6DMURUBY.js} +4 -4
  112. package/dist/{chunk-47UBJKS3.js → chunk-6HJF7IA3.js} +168 -205
  113. package/dist/{chunk-PONGX3YG.js → chunk-6J2J3VJS.js} +10 -10
  114. package/dist/{chunk-XBCIRNNU.js → chunk-6PXFF6IV.js} +1 -1
  115. package/dist/{chunk-DWK5HEKY.js → chunk-7HLAYQRG.js} +4 -4
  116. package/dist/{chunk-RWM6TZH6.js → chunk-7KPZQ65I.js} +3 -3
  117. package/dist/{chunk-BPXWWD7P.js → chunk-7PDZBPGW.js} +1 -1
  118. package/dist/{chunk-2K7IKLBL.js → chunk-7SHU5MOD.js} +1 -1
  119. package/dist/{chunk-APKEGWFB.js → chunk-A5I2GYVQ.js} +3 -3
  120. package/dist/{chunk-X4V5ZLNX.js → chunk-A75TAU2I.js} +628 -4
  121. package/dist/{chunk-T7W75LII.js → chunk-BE3UETW6.js} +3 -3
  122. package/dist/{chunk-575FWHQJ.js → chunk-BG6RAOCJ.js} +63 -9
  123. package/dist/{chunk-YSDSQRE2.js → chunk-BIPTWAEO.js} +1 -1
  124. package/dist/{chunk-FYKEL2L6.js → chunk-BLTXAUP6.js} +2 -2
  125. package/dist/{chunk-ASA2UJDH.js → chunk-CFFSHBQF.js} +1 -1
  126. package/dist/{chunk-XCKTCOK3.js → chunk-CJ6CS2IH.js} +5 -5
  127. package/dist/{chunk-V7AID6MC.js → chunk-CRW63CDI.js} +1 -1
  128. package/dist/{chunk-B34RSIUP.js → chunk-CWHTUNJX.js} +2 -2
  129. package/dist/{chunk-HKAWEIB2.js → chunk-D6NZNUVH.js} +1 -1
  130. package/dist/{chunk-CEHGXPMO.js → chunk-DHLJZDWI.js} +4 -4
  131. package/dist/{chunk-FCX2XHIC.js → chunk-DWRULKB3.js} +2 -2
  132. package/dist/{chunk-KNEEOZWN.js → chunk-EOWJXCYC.js} +25 -7
  133. package/dist/{chunk-5BWN6A5E.js → chunk-EWDBWOCX.js} +1 -1
  134. package/dist/{chunk-IUAW7FVX.js → chunk-FPF2PJFK.js} +3 -3
  135. package/dist/{chunk-B55U5BKF.js → chunk-FSXMKIDO.js} +1 -1
  136. package/dist/{chunk-2A556FNI.js → chunk-FUDXITKX.js} +1 -1
  137. package/dist/{chunk-FZT7CBXB.js → chunk-FYV2CTKP.js} +1 -1
  138. package/dist/{chunk-R2ZHPVF2.js → chunk-GATAYYAF.js} +3 -3
  139. package/dist/{chunk-CKRZBQ2K.js → chunk-GHYHNHDL.js} +1 -1
  140. package/dist/{chunk-IHBYJG7N.js → chunk-GL5ZG72X.js} +1 -1
  141. package/dist/{chunk-WSYIQKZ6.js → chunk-GM4UEZDE.js} +20 -20
  142. package/dist/{chunk-QKHQTHE6.js → chunk-GZVFHFO3.js} +10 -135
  143. package/dist/{chunk-XC2KAJK4.js → chunk-HA6BIZ6L.js} +5 -5
  144. package/dist/chunk-HDQAVAV6.js +248 -0
  145. package/dist/{chunk-5Q64Q5ZD.js → chunk-HDV2V25K.js} +1 -1
  146. package/dist/{chunk-26CY4EAR.js → chunk-HTFM7ZDD.js} +2 -2
  147. package/dist/{chunk-NUEDA2US.js → chunk-HUHR5CKJ.js} +4 -4
  148. package/dist/{chunk-BIHPY7JW.js → chunk-IC2AONBH.js} +9 -9
  149. package/dist/{chunk-2YK5HP2B.js → chunk-IHAXXDBH.js} +3 -3
  150. package/dist/{chunk-5JHIAGZY.js → chunk-IPUDXR67.js} +1 -1
  151. package/dist/{chunk-BBTNF72N.js → chunk-J6U4ZR77.js} +2 -2
  152. package/dist/{chunk-2OIVIPU7.js → chunk-JAIZCE6W.js} +3 -3
  153. package/dist/{chunk-WLV27PAO.js → chunk-JGBYZTWH.js} +1 -1
  154. package/dist/{chunk-4XY33GRO.js → chunk-JJZZXEAN.js} +3 -3
  155. package/dist/{chunk-3UEDFBDE.js → chunk-JNULO6I5.js} +3 -3
  156. package/dist/{chunk-JZ23D5YF.js → chunk-JTJP4JK7.js} +3 -3
  157. package/dist/{chunk-JDZNGC4O.js → chunk-JW5NUXPN.js} +11 -11
  158. package/dist/{chunk-GGT6Y5AN.js → chunk-K2HIXAIF.js} +12 -12
  159. package/dist/{chunk-NYV4A5IG.js → chunk-KEDZRQI3.js} +2 -2
  160. package/dist/{chunk-S2DTXCV6.js → chunk-KN5GAVCG.js} +2 -2
  161. package/dist/{chunk-LBEBSXZA.js → chunk-L5JFVK5T.js} +4 -4
  162. package/dist/{chunk-HNJLAMD3.js → chunk-LBSCOP25.js} +1 -1
  163. package/dist/{chunk-FOZSHNET.js → chunk-LLZUL7M2.js} +1 -1
  164. package/dist/{chunk-53GNYXNR.js → chunk-LQGLGSBY.js} +2 -2
  165. package/dist/{chunk-X2EBM5BQ.js → chunk-LSHUX7P4.js} +16 -16
  166. package/dist/{chunk-AWTLUJZL.js → chunk-M6AX64J2.js} +2 -2
  167. package/dist/{chunk-7RVTQXST.js → chunk-M6SUJLNP.js} +2 -2
  168. package/dist/{chunk-OUUNFTS4.js → chunk-MZNLQC6W.js} +1 -1
  169. package/dist/{chunk-PCF4QMJS.js → chunk-N7POJZJT.js} +10 -10
  170. package/dist/{chunk-2CG3LHI6.js → chunk-NCNT2C2P.js} +2 -2
  171. package/dist/{chunk-R3N5BCMM.js → chunk-O3BLL6MY.js} +1 -1
  172. package/dist/{chunk-SLG3T26A.js → chunk-O6KQAJCC.js} +3 -3
  173. package/dist/{chunk-2WOHFX4Z.js → chunk-OHHZNNUD.js} +1 -1
  174. package/dist/{chunk-HWP3WCLC.js → chunk-OPG237ZQ.js} +154 -50
  175. package/dist/{chunk-2LJ2GZEE.js → chunk-PDQGR5LZ.js} +1 -1
  176. package/dist/{chunk-UBTKHJCB.js → chunk-PTF5TB6O.js} +6 -6
  177. package/dist/{chunk-5F3E57TQ.js → chunk-PYXXL7N7.js} +1 -1
  178. package/dist/{chunk-HLNRLXUS.js → chunk-Q6KUBP6R.js} +5 -5
  179. package/dist/{chunk-AGY2KUQ6.js → chunk-QJWLQXR7.js} +1 -1
  180. package/dist/{chunk-ZEDLED43.js → chunk-QOFQY7BJ.js} +1 -1
  181. package/dist/{chunk-6T5RC3L4.js → chunk-QSW5DHMZ.js} +1 -1
  182. package/dist/{chunk-54Q7M2AG.js → chunk-QV26G2BF.js} +1 -1
  183. package/dist/{chunk-5WNZGNQL.js → chunk-RHHEYC6H.js} +3 -3
  184. package/dist/{chunk-K464YYT5.js → chunk-RHJOTGEU.js} +1 -1
  185. package/dist/{chunk-LZS2B2JT.js → chunk-RIKFXHLE.js} +247 -31
  186. package/dist/{chunk-6TOV7UVU.js → chunk-RJIH7JXM.js} +4 -4
  187. package/dist/{chunk-2Q2U3NB2.js → chunk-RMC2A6EE.js} +1 -1
  188. package/dist/{chunk-FUEKSCTN.js → chunk-RYMXD2NT.js} +1 -1
  189. package/dist/{chunk-MNWN3SQ3.js → chunk-RYYFFCJG.js} +1 -1
  190. package/dist/{chunk-E2346GKI.js → chunk-SINIRUYZ.js} +101 -9
  191. package/dist/{chunk-22XJWSWN.js → chunk-SXUABANK.js} +3 -3
  192. package/dist/{backup-verify-AOTKX5DA.js → chunk-T3AM52YT.js} +345 -89
  193. package/dist/{chunk-LCXWQVOD.js → chunk-TCBWHLKH.js} +4 -4
  194. package/dist/{chunk-YWZGDFAL.js → chunk-TS4LSNRI.js} +2 -2
  195. package/dist/{chunk-J6RTX7XT.js → chunk-TVWYMOZ4.js} +1 -1
  196. package/dist/{chunk-3WNDI5KT.js → chunk-VAHQOIQY.js} +1 -1
  197. package/dist/{chunk-QH2V67NX.js → chunk-VBYSAQJD.js} +1 -1
  198. package/dist/{chunk-MQD3JJCO.js → chunk-VQQPYI4X.js} +1 -1
  199. package/dist/{chunk-XJQGS4IM.js → chunk-VS7V5HNO.js} +1 -1
  200. package/dist/{chunk-CPC75PXE.js → chunk-W3ABSZ6G.js} +2 -2
  201. package/dist/{chunk-SUGAHHVR.js → chunk-W7VKGB42.js} +1 -1
  202. package/dist/{chunk-UG3YOQAC.js → chunk-X2ZHCNNB.js} +5 -5
  203. package/dist/{chunk-YC6SZFVD.js → chunk-X4FHT6ST.js} +5 -5
  204. package/dist/{chunk-RXICR3D7.js → chunk-XC5OASHV.js} +1 -1
  205. package/dist/{chunk-TU5Y5ZNC.js → chunk-XDOCXKHW.js} +58 -1
  206. package/dist/{chunk-DLHE4PCM.js → chunk-XEAZJXMZ.js} +4 -4
  207. package/dist/{chunk-XMMWBLQK.js → chunk-XQ7BIVLI.js} +6 -6
  208. package/dist/{chunk-FRJICRED.js → chunk-Z3LGAFMG.js} +1 -1
  209. package/dist/{chunk-HCBISGUU.js → chunk-ZJ6AMC4Y.js} +7 -7
  210. package/dist/{chunk-AEEAQZ3E.js → chunk-ZZR2WRNW.js} +4 -4
  211. package/dist/{cleanup-graph-garbage-N7FTWU6C.js → cleanup-graph-garbage-SYGPMPUM.js} +8 -8
  212. package/dist/{cli-shutdown-NCBQTN7G.js → cli-shutdown-JI7CASE4.js} +1 -1
  213. package/dist/{cloud-sync-command-UL7GNN3J.js → cloud-sync-command-ZV3P5FP6.js} +2 -2
  214. package/dist/{cloud-sync-db-init-ASM7ZXBH.js → cloud-sync-db-init-RQIHWKV4.js} +1 -1
  215. package/dist/{cloud-sync-shutdown-HER4ISBU.js → cloud-sync-shutdown-V2N7VLD3.js} +3 -3
  216. package/dist/{co-activation-V5XXR327.js → co-activation-SRE6DIRX.js} +3 -3
  217. package/dist/{co-occurrence-MKZ6YWSQ.js → co-occurrence-F5TMSEQZ.js} +6 -6
  218. package/dist/{consent-passphrase-YI3J4UEL.js → consent-passphrase-MWZRHJRC.js} +2 -2
  219. package/dist/{conversation-entity-extractor-66G7ROQ3.js → conversation-entity-extractor-XMOUHGMT.js} +3 -3
  220. package/dist/{crdt-sync-Z62SWOKD.js → crdt-sync-FXEKABM7.js} +4 -4
  221. package/dist/{crm-webhook-6GBACWJX.js → crm-webhook-D6IJOPRQ.js} +2 -2
  222. package/dist/{cto-delegation-gate-FUKPBFCM.js → cto-delegation-gate-BU3JRCYN.js} +12 -12
  223. package/dist/{daemon-orchestration-O3QPSJEP.js → daemon-orchestration-K4NKFYXO.js} +19 -19
  224. package/dist/{destructive-data-guard-JDUJ2ULM.js → destructive-data-guard-3TGAAE7K.js} +77 -23
  225. package/dist/{doc-graph-extractor-BBPKLIVM.js → doc-graph-extractor-TVK2NGAR.js} +6 -6
  226. package/dist/{documents-NILTWYSQ.js → documents-MDZ4VB5X.js} +8 -8
  227. package/dist/{dreaming-KMDGPIFY.js → dreaming-L24PSS35.js} +17 -17
  228. package/dist/{employee-boot-brief-KSH3MWIF.js → employee-boot-brief-GQVL3FQC.js} +21 -21
  229. package/dist/{entity-boost-XETN7C2S.js → entity-boost-OMFA5QCG.js} +1 -1
  230. package/dist/{exe-drift-SFD7SHXC.js → exe-drift-JDDG3OPT.js} +4 -4
  231. package/dist/{exe-export-NHWKEZL4.js → exe-export-EEGIE3JP.js} +10 -10
  232. package/dist/{exe-import-SPI5HJBU.js → exe-import-UJNC5Q2L.js} +10 -10
  233. package/dist/{exe-key-TY5LFUEM.js → exe-key-TYEY4W4E.js} +95 -95
  234. package/dist/{exe-org-LVQLXA7C.js → exe-org-B3ICTTEV.js} +32 -32
  235. package/dist/{exe-snapshot-WH2DSRZW.js → exe-snapshot-VBFBONYN.js} +20 -20
  236. package/dist/{fast-db-init-UN225WS7.js → fast-db-init-TFRTK6EH.js} +1 -1
  237. package/dist/{founder-context-DVHSVBM5.js → founder-context-3X4QUWKD.js} +2 -2
  238. package/dist/{founder-monitor-envelope-HMPPUBUT.js → founder-monitor-envelope-54UNZNY4.js} +4 -4
  239. package/dist/gateway/index.js +14 -14
  240. package/dist/{gateway-client-TXHCHOVM.js → gateway-client-OUDO5GGV.js} +1 -1
  241. package/dist/{git-staleness-CUVLXQOJ.js → git-staleness-73YZ5PGU.js} +3 -3
  242. package/dist/{global-procedures-T5W3S6OU.js → global-procedures-PYNE2BQG.js} +20 -6
  243. package/dist/{graph-auto-extract-S7OIZXYP.js → graph-auto-extract-PGUMEEQB.js} +6 -6
  244. package/dist/{graph-query-CRIH4DXF.js → graph-query-7YA3YNKL.js} +1 -1
  245. package/dist/{graph-rag-LH34CEGC.js → graph-rag-UWOTK4AQ.js} +3 -3
  246. package/dist/{hook-integrity-TSJYZFZ6.js → hook-integrity-6MNEPT6W.js} +1 -1
  247. package/dist/{hook-prefetch-SNW5DFCZ.js → hook-prefetch-JOF6YZSR.js} +13 -13
  248. package/dist/hooks/bug-report-worker.js +17 -17
  249. package/dist/hooks/codex-stop-task-finalizer.js +19 -19
  250. package/dist/hooks/commit-complete.js +16 -16
  251. package/dist/hooks/error-recall.js +11 -11
  252. package/dist/hooks/exe-heartbeat-hook.js +5 -5
  253. package/dist/hooks/ingest-worker.js +15 -15
  254. package/dist/hooks/ingest.js +13 -13
  255. package/dist/hooks/instructions-loaded.js +7 -7
  256. package/dist/hooks/manifest.json +20 -20
  257. package/dist/hooks/notification.js +6 -6
  258. package/dist/hooks/post-compact.js +5 -5
  259. package/dist/hooks/post-tool-combined.js +13 -13
  260. package/dist/hooks/pre-compact.js +16 -16
  261. package/dist/hooks/pre-tool-use.js +2 -2
  262. package/dist/hooks/prompt-submit.js +34 -34
  263. package/dist/hooks/session-end.js +21 -21
  264. package/dist/hooks/session-start.js +18 -18
  265. package/dist/hooks/stop.js +19 -19
  266. package/dist/hooks/subagent-stop.js +18 -18
  267. package/dist/hooks/summary-worker.js +20 -20
  268. package/dist/index.js +26 -26
  269. package/dist/{installer-4IVP2PTX.js → installer-34XZ7JMW.js} +6 -6
  270. package/dist/{installer-UFRZHMX5.js → installer-356RMQ2K.js} +6 -6
  271. package/dist/{installer-CJWNUASI.js → installer-7TN36Z7T.js} +112 -28
  272. package/dist/{intercom-queue-II6RRK3J.js → intercom-queue-ZJ3MNULM.js} +12 -12
  273. package/dist/lib/backup-verify-worker.js +157 -0
  274. package/dist/lib/cloud-sync.js +16 -20
  275. package/dist/lib/consolidation.js +9 -9
  276. package/dist/lib/crypto.js +3 -3
  277. package/dist/lib/database.js +3 -3
  278. package/dist/lib/db-backup.js +7 -3
  279. package/dist/lib/db-write-worker.js +3 -3
  280. package/dist/lib/db.js +3 -3
  281. package/dist/lib/device-registry.js +1 -1
  282. package/dist/lib/employee-templates.js +7 -7
  283. package/dist/lib/employees.js +3 -3
  284. package/dist/lib/exe-daemon.js +89 -84
  285. package/dist/lib/hybrid-search.js +9 -9
  286. package/dist/lib/identity.js +3 -3
  287. package/dist/lib/keychain.js +1 -1
  288. package/dist/lib/license.js +2 -2
  289. package/dist/lib/messaging.js +13 -13
  290. package/dist/lib/post-tool-memory.js +13 -13
  291. package/dist/lib/registry-proxy.js +1 -1
  292. package/dist/lib/reminders.js +4 -4
  293. package/dist/lib/schedules.js +8 -8
  294. package/dist/lib/session-registry.js +5 -5
  295. package/dist/lib/skill-learning.js +9 -9
  296. package/dist/lib/store.js +7 -7
  297. package/dist/lib/task-router.js +4 -4
  298. package/dist/lib/tasks.js +14 -14
  299. package/dist/lib/tmux-routing.js +12 -12
  300. package/dist/lib/token-spend.js +4 -4
  301. package/dist/lib/ws-client.js +1 -1
  302. package/dist/{license-gate-M7EDJLAA.js → license-gate-4BXUTHLB.js} +3 -3
  303. package/dist/{license-recheck-DLTOHAH2.js → license-recheck-QFPUKISQ.js} +1 -1
  304. package/dist/{license-sync-YTDCUN3S.js → license-sync-FDEDT4AC.js} +2 -2
  305. package/dist/mcp/register-tools.js +94 -94
  306. package/dist/mcp/server.js +97 -97
  307. package/dist/mcp/tools/complete-reminder.js +5 -5
  308. package/dist/mcp/tools/create-reminder.js +5 -5
  309. package/dist/mcp/tools/create-task.js +16 -16
  310. package/dist/mcp/tools/deactivate-behavior.js +10 -10
  311. package/dist/mcp/tools/list-reminders.js +5 -5
  312. package/dist/mcp/tools/list-tasks.js +16 -16
  313. package/dist/mcp/tools/send-message.js +15 -15
  314. package/dist/mcp/tools/update-task.js +15 -15
  315. package/dist/{mcp-http-config-652YK3CI.js → mcp-http-config-GKP5QGAO.js} +5 -5
  316. package/dist/{mcp-session-identity-6QGXD52Y.js → mcp-session-identity-JHAGRB7B.js} +12 -12
  317. package/dist/{memory-cards-FOPSLULE.js → memory-cards-O377ETAM.js} +7 -7
  318. package/dist/{memory-graph-extractor-7G3CIGN7.js → memory-graph-extractor-4KJCCUOP.js} +7 -7
  319. package/dist/{memory-maintenance-5XIGUPYL.js → memory-maintenance-RR5UPRW3.js} +1 -1
  320. package/dist/{memory-poisoning-defense-MI7Y5XBP.js → memory-poisoning-defense-Y5TTKGOP.js} +3 -3
  321. package/dist/{memory-pressure-watchdog-SPIDPGU2.js → memory-pressure-watchdog-NGXTI4HR.js} +13 -13
  322. package/dist/{memory-reflection-DVAT4QKS.js → memory-reflection-EXNHRZL7.js} +7 -7
  323. package/dist/{memory-write-repository-YC7HJTV5.js → memory-write-repository-S4TX7WQB.js} +1 -1
  324. package/dist/{monitor-grants-3A77O6XK.js → monitor-grants-57Q4NL25.js} +3 -3
  325. package/dist/{monitor-identity-BTFFMFEX.js → monitor-identity-3FQ52SYU.js} +2 -2
  326. package/dist/{notification-ledger-AV5242RM.js → notification-ledger-O6KQYYGK.js} +13 -13
  327. package/dist/{notifications-75FVPJLY.js → notifications-6FCQCJ4P.js} +12 -12
  328. package/dist/{orchestration-events-ARGZU6KS.js → orchestration-events-2Z2BMMA5.js} +4 -4
  329. package/dist/{orchestrator-TCXZMLSB.js → orchestrator-AGOSKPHD.js} +14 -14
  330. package/dist/{org-brief-session-B455POUI.js → org-brief-session-WJHZVXXJ.js} +15 -15
  331. package/dist/{org-consent-policy-7K5H6FOB.js → org-consent-policy-X43UGTHI.js} +5 -5
  332. package/dist/{org-join-ETR5KO27.js → org-join-M3UTBMHC.js} +9 -9
  333. package/dist/{org-key-admin-IRC6H3TL.js → org-key-admin-AA2DRHB2.js} +11 -11
  334. package/dist/{org-key-epoch-EG4YQ47A.js → org-key-epoch-Z5UIVUHT.js} +5 -5
  335. package/dist/{org-key-pin-GLQEU3P3.js → org-key-pin-FE6YHEZ3.js} +3 -3
  336. package/dist/{org-membership-JC5YVU6N.js → org-membership-3J2MIGE4.js} +4 -4
  337. package/dist/{org-partner-config-QFSVGHEA.js → org-partner-config-5HATZYG4.js} +8 -8
  338. package/dist/{org-partner-runtime-7AD7WY3Y.js → org-partner-runtime-UI35IHUC.js} +15 -15
  339. package/dist/{org-row-visibility-AXZKVOA6.js → org-row-visibility-TRJERVYP.js} +1 -1
  340. package/dist/{pipeline-router-2KY4X6PO.js → pipeline-router-EKQ6D7ZA.js} +4 -4
  341. package/dist/{plan-limits-PG6HG2DT.js → plan-limits-3BGHIHX6.js} +6 -6
  342. package/dist/{platform-procedures-QP3W2NLH.js → platform-procedures-RXW46WNY.js} +1 -1
  343. package/dist/{pre-tool-use-impl-45B4NFIF.js → pre-tool-use-impl-7BT5TJVM.js} +28 -28
  344. package/dist/{project-name-LHYHR4VN.js → project-name-PGJGUEJY.js} +4 -4
  345. package/dist/{projection-worker-POT2AOR5.js → projection-worker-3GEVFPAI.js} +2 -2
  346. package/dist/{prospective-memory-ECXSAEAW.js → prospective-memory-GEN7CN7H.js} +3 -3
  347. package/dist/{push-notifications-W3UNHDC5.js → push-notifications-QW4BWRC7.js} +13 -13
  348. package/dist/{reproject-worktree-memories-PIXMJBHG.js → reproject-worktree-memories-DIULBEBD.js} +12 -12
  349. package/dist/{reranker-ZBPYIRBB.js → reranker-LQ6OPJOI.js} +1 -1
  350. package/dist/{retrieval-health-42MFLOEP.js → retrieval-health-XDFYFEOP.js} +1 -1
  351. package/dist/{review-polling-V4CSK4TZ.js → review-polling-ED33YLFT.js} +13 -13
  352. package/dist/runtime/index.js +20 -20
  353. package/dist/{session-events-C3NUY6MR.js → session-events-7IJGTBVH.js} +13 -13
  354. package/dist/{session-kill-telemetry-ZOSAIYU2.js → session-kill-telemetry-RUTEARJ3.js} +13 -13
  355. package/dist/{session-scope-BZALGKYZ.js → session-scope-SSYA64L3.js} +12 -12
  356. package/dist/{setup-wizard-DNA2UT4J.js → setup-wizard-XD7FZVLJ.js} +2 -2
  357. package/dist/{shard-manager-NG4SXV7L.js → shard-manager-FH5JZRSE.js} +2 -2
  358. package/dist/{skill-refinement-Y3M7XBRE.js → skill-refinement-UHD4E6GV.js} +4 -4
  359. package/dist/{skill-retrieval-XDY352AS.js → skill-retrieval-F6PAJ3I5.js} +11 -11
  360. package/dist/{skill-usage-QOLIJQJC.js → skill-usage-2MBTF7Y4.js} +4 -4
  361. package/dist/{stack-generate-manifest-VFHCOLAD.js → stack-generate-manifest-MVJDTU4F.js} +13 -37
  362. package/dist/{stack-promote-24BY6AXF.js → stack-promote-BMGEY6SQ.js} +4 -4
  363. package/dist/{stack-release-AXH7ZIOR.js → stack-release-64UJ6Y4W.js} +17 -34
  364. package/dist/{stack-update-7ET7S3ED.js → stack-update-EBATTQPP.js} +5 -3
  365. package/dist/{steward-gate-2MUESY3V.js → steward-gate-EWG2BHYQ.js} +4 -4
  366. package/dist/{subagent-brief-injection-6PM3WMMR.js → subagent-brief-injection-YZGSWUEY.js} +23 -23
  367. package/dist/{support-bug-actions-WWKDXT74.js → support-bug-actions-RU6WZ3UV.js} +3 -3
  368. package/dist/{support-inbox-AN44HIOG.js → support-inbox-A3S52SPS.js} +12 -12
  369. package/dist/{task-enforcement-QO7RXYK2.js → task-enforcement-LVAS55AR.js} +13 -13
  370. package/dist/{task-request-inbox-RXAT2QJF.js → task-request-inbox-2TN4ZUH2.js} +5 -5
  371. package/dist/{task-scope-4EKZBTTM.js → task-scope-NLKUVCP5.js} +12 -12
  372. package/dist/{tasks-crud-MB7WXGPW.js → tasks-crud-NQDPLHNZ.js} +12 -12
  373. package/dist/{tasks-notify-BCWO7AP6.js → tasks-notify-BDM2NEHP.js} +13 -13
  374. package/dist/{tasks-review-HXHYA76X.js → tasks-review-3G7CAW2O.js} +12 -12
  375. package/dist/{telemetry-upload-Q7DLE5I3.js → telemetry-upload-6DR6AL3V.js} +8 -8
  376. package/dist/{token-budget-EL6BEBDP.js → token-budget-KNC2WGR7.js} +4 -4
  377. package/dist/{tool-telemetry-SNWF4WDH.js → tool-telemetry-I3SEU5M5.js} +1 -1
  378. package/dist/tui/App.js +23 -23
  379. package/dist/{tui-data-ZMSBEPJT.js → tui-data-KJDWP4CB.js} +16 -16
  380. package/dist/{update-support-QY7WALUZ.js → update-support-UYDYMHVR.js} +11 -11
  381. package/dist/{whatsapp-NCZ43BB3.js → whatsapp-5EMPZHF5.js} +2 -2
  382. package/dist/{wiki-acl-3L7BRJUV.js → wiki-acl-M7BTQJBZ.js} +1 -1
  383. package/dist/{work-claims-XQXT2VWJ.js → work-claims-5CFMZTML.js} +4 -4
  384. package/dist/{work-state-heartbeat-GAIQ7M73.js → work-state-heartbeat-7IA2DZ2E.js} +1 -1
  385. package/dist/{workflow-engine-FCOOI5M6.js → workflow-engine-S5JOE2YR.js} +2 -2
  386. package/dist/{worktree-GS4ODQ4C.js → worktree-7V4ZMF3D.js} +5 -5
  387. package/dist/{worktree-sweep-6LMC7H5Y.js → worktree-sweep-34MXJ7S6.js} +6 -6
  388. package/package.json +2 -1
  389. package/release-notes.json +21 -25
  390. package/stack.release.json +5 -5
  391. package/dist/chunk-WZPD4QSE.js +0 -113
  392. /package/dist/{chunk-IKJUZ3VO.js → chunk-542FBM5U.js} +0 -0
  393. /package/dist/{chunk-XJDSTA2C.js → chunk-6D2O5SAH.js} +0 -0
  394. /package/dist/{chunk-FDQXQBBC.js → chunk-6NRZLVK3.js} +0 -0
  395. /package/dist/{chunk-XDWIJBTY.js → chunk-CFO47VW4.js} +0 -0
  396. /package/dist/{chunk-R6H2IRCF.js → chunk-EULAP6L6.js} +0 -0
  397. /package/dist/{chunk-LK6OG47X.js → chunk-FYSKQPTE.js} +0 -0
  398. /package/dist/{chunk-LAWI42NC.js → chunk-J4B4M5PH.js} +0 -0
  399. /package/dist/{chunk-AC36VWNB.js → chunk-J635FA7T.js} +0 -0
  400. /package/dist/{chunk-UQKGV6SX.js → chunk-MOBZTIJQ.js} +0 -0
  401. /package/dist/{chunk-7ZP2PAW3.js → chunk-N45FAI6D.js} +0 -0
  402. /package/dist/{chunk-ZQS4S4AX.js → chunk-QDSNEGJE.js} +0 -0
  403. /package/dist/{chunk-CS4SHHLY.js → chunk-SKSXROKP.js} +0 -0
  404. /package/dist/{chunk-JXGOO53U.js → chunk-YVWXI2HM.js} +0 -0
  405. /package/dist/{core-memory-3TZV3ZDW.js → core-memory-PZEO3OWH.js} +0 -0
  406. /package/dist/{memory-isolation-TE4AOMQX.js → memory-isolation-MFNT2ITE.js} +0 -0
  407. /package/dist/{oauth-server-CWQ6EBGQ.js → oauth-server-CBGEWD6H.js} +0 -0
  408. /package/dist/{project-boot-MX2FNKTJ.js → project-boot-VESAYDIH.js} +0 -0
@@ -2,10 +2,15 @@ import {
2
2
  exportOrchestration,
3
3
  importOrchestration,
4
4
  validatePackage
5
- } from "./chunk-4XY33GRO.js";
5
+ } from "./chunk-JJZZXEAN.js";
6
6
  import {
7
7
  runDriftProbes
8
- } from "./chunk-5Q64Q5ZD.js";
8
+ } from "./chunk-HDV2V25K.js";
9
+ import {
10
+ BugCensusError,
11
+ fetchBugCensus,
12
+ formatBugCensus
13
+ } from "./chunk-L6DCLZG7.js";
9
14
  import {
10
15
  candidateAdminOrgIds,
11
16
  departOrgToPersonalFreeTier,
@@ -13,7 +18,7 @@ import {
13
18
  orgAdminScopePresent,
14
19
  recordOrgAdminship,
15
20
  resolveTargetOrgId
16
- } from "./chunk-JTXXLNYD.js";
21
+ } from "./chunk-6DMURUBY.js";
17
22
  import {
18
23
  registerAddBugReportComment,
19
24
  registerGetBugReport,
@@ -29,7 +34,7 @@ import {
29
34
  registerUpdateBugReport,
30
35
  resolveAttribution,
31
36
  verificationArtifactInputSchema
32
- } from "./chunk-R2ZHPVF2.js";
37
+ } from "./chunk-GATAYYAF.js";
33
38
  import {
34
39
  persistSupportArtifact,
35
40
  supportClusterClearableSchema,
@@ -39,12 +44,7 @@ import {
39
44
  supportProductSchema,
40
45
  supportTaskIdSchema,
41
46
  supportVersionSchema
42
- } from "./chunk-R3N5BCMM.js";
43
- import {
44
- BugCensusError,
45
- fetchBugCensus,
46
- formatBugCensus
47
- } from "./chunk-L6DCLZG7.js";
47
+ } from "./chunk-O3BLL6MY.js";
48
48
  import {
49
49
  queueSupportStatusUpdateSync
50
50
  } from "./chunk-L4ISXVC5.js";
@@ -58,13 +58,13 @@ import {
58
58
  normalizeTarget,
59
59
  releaseClaim,
60
60
  resolveHolderSession
61
- } from "./chunk-FYKEL2L6.js";
61
+ } from "./chunk-BLTXAUP6.js";
62
62
  import {
63
63
  StewardGate
64
- } from "./chunk-HKAWEIB2.js";
64
+ } from "./chunk-D6NZNUVH.js";
65
65
  import {
66
66
  promotedRulesDropped
67
- } from "./chunk-I35OMCL3.js";
67
+ } from "./chunk-353XF4LU.js";
68
68
  import {
69
69
  DEFAULT_LIST_LIMIT,
70
70
  MAX_IMPORTANCE,
@@ -73,26 +73,29 @@ import {
73
73
  ingestDocument,
74
74
  listDocumentsByWorkspace,
75
75
  updateChunksImportance
76
- } from "./chunk-UF5BDAF6.js";
76
+ } from "./chunk-3DXAJVXE.js";
77
77
  import {
78
78
  DreamingEngine
79
- } from "./chunk-2YZZR2BW.js";
79
+ } from "./chunk-2YFMBXUU.js";
80
80
  import {
81
81
  isRerankerAvailable,
82
82
  rerankWithScores
83
- } from "./chunk-R6H2IRCF.js";
83
+ } from "./chunk-EULAP6L6.js";
84
84
  import {
85
85
  listRecentSessionEvents
86
- } from "./chunk-AWTLUJZL.js";
86
+ } from "./chunk-M6AX64J2.js";
87
87
  import {
88
88
  AUTO_WAKE_MAX_RETRIES
89
- } from "./chunk-PCF4QMJS.js";
89
+ } from "./chunk-N7POJZJT.js";
90
90
  import {
91
91
  DEFAULT_EXPLORE_DURATION_MS,
92
92
  getPlayMode,
93
93
  listExploreSessions,
94
94
  setPlayMode
95
- } from "./chunk-NUEDA2US.js";
95
+ } from "./chunk-HUHR5CKJ.js";
96
+ import {
97
+ getToolUsageStats
98
+ } from "./chunk-J635FA7T.js";
96
99
  import {
97
100
  getToolCapabilityIndex
98
101
  } from "./chunk-KDTM7TD6.js";
@@ -113,14 +116,11 @@ import {
113
116
  import {
114
117
  getCachedLicenseGate,
115
118
  refreshLicenseGate
116
- } from "./chunk-FRJICRED.js";
117
- import {
118
- getToolUsageStats
119
- } from "./chunk-AC36VWNB.js";
119
+ } from "./chunk-Z3LGAFMG.js";
120
120
  import {
121
121
  assertOrgPartnerRuntimeReady,
122
122
  orgPartnerRuntimeStatus
123
- } from "./chunk-2OIVIPU7.js";
123
+ } from "./chunk-JAIZCE6W.js";
124
124
  import {
125
125
  createMailboxInboxPoller,
126
126
  getMailboxInboxState
@@ -131,30 +131,30 @@ import {
131
131
  listSentBriefs,
132
132
  reviewOpenDraft,
133
133
  sendOpenDraft
134
- } from "./chunk-SLG3T26A.js";
134
+ } from "./chunk-O6KQAJCC.js";
135
135
  import {
136
136
  OrgAdminError,
137
137
  createOrg,
138
138
  issueSeatInvite
139
- } from "./chunk-LCXWQVOD.js";
139
+ } from "./chunk-TCBWHLKH.js";
140
140
  import {
141
141
  deriveOrgKeyIdentities
142
- } from "./chunk-APKEGWFB.js";
142
+ } from "./chunk-A5I2GYVQ.js";
143
143
  import {
144
144
  MemberKeyAlreadyBoundError,
145
145
  MemberKeyError,
146
146
  bindMemberKey,
147
147
  getMemberKeyStatus
148
- } from "./chunk-3UEDFBDE.js";
149
- import {
150
- loadOrchestrationPhase,
151
- setOrchestrationPhase
152
- } from "./chunk-XHU3KOKJ.js";
148
+ } from "./chunk-JNULO6I5.js";
153
149
  import {
154
150
  InviteError,
155
151
  completeOrgJoin,
156
152
  fetchInviteOffer
157
- } from "./chunk-XC2KAJK4.js";
153
+ } from "./chunk-HA6BIZ6L.js";
154
+ import {
155
+ loadOrchestrationPhase,
156
+ setOrchestrationPhase
157
+ } from "./chunk-XHU3KOKJ.js";
158
158
  import {
159
159
  adminInviteDisclosureText,
160
160
  memberJoinBenefitText,
@@ -164,15 +164,17 @@ import {
164
164
  requireOrgPartnerBinding,
165
165
  resolveOrgPartnerBindings,
166
166
  resolvePartnerIdentities
167
- } from "./chunk-XCKTCOK3.js";
167
+ } from "./chunk-CJ6CS2IH.js";
168
168
  import {
169
169
  ORG_KEY_FP_DISPLAY_LEN,
170
170
  orgKeyPinConfirmation,
171
171
  readOrgKeyPin
172
- } from "./chunk-XBCIRNNU.js";
172
+ } from "./chunk-6PXFF6IV.js";
173
173
  import {
174
- generateAgentDefs
175
- } from "./chunk-TU5Y5ZNC.js";
174
+ formatIdentityContradictionWarning,
175
+ generateAgentDefs,
176
+ lintIdentityContradictions
177
+ } from "./chunk-XDOCXKHW.js";
176
178
  import {
177
179
  getEntityByName,
178
180
  getEntityNeighbors,
@@ -180,10 +182,10 @@ import {
180
182
  getHotEntities,
181
183
  getRelationships,
182
184
  searchEntities
183
- } from "./chunk-CS4SHHLY.js";
185
+ } from "./chunk-SKSXROKP.js";
184
186
  import {
185
187
  createOrRefreshResumeTask
186
- } from "./chunk-HLNRLXUS.js";
188
+ } from "./chunk-Q6KUBP6R.js";
187
189
  import {
188
190
  PAYLOAD_CAPS,
189
191
  STRUCTURED_BRIEF_TYPES,
@@ -206,10 +208,10 @@ import {
206
208
  setAutoAcceptPolicy,
207
209
  setAutoSendPolicy,
208
210
  withExclusiveLock
209
- } from "./chunk-XMMWBLQK.js";
211
+ } from "./chunk-XQ7BIVLI.js";
210
212
  import {
211
213
  displayFingerprint
212
- } from "./chunk-OUUNFTS4.js";
214
+ } from "./chunk-MZNLQC6W.js";
213
215
  import {
214
216
  flushMailboxOutbox,
215
217
  getMailboxOutboxStatus,
@@ -217,57 +219,57 @@ import {
217
219
  listFailureNotices,
218
220
  queueMailboxDeposit
219
221
  } from "./chunk-3FGBBJYM.js";
222
+ import {
223
+ registerCompleteReminder
224
+ } from "./chunk-EWDBWOCX.js";
220
225
  import {
221
226
  registerDeactivateBehavior
222
- } from "./chunk-AEEAQZ3E.js";
227
+ } from "./chunk-ZZR2WRNW.js";
223
228
  import {
224
229
  registerSendMessage,
225
230
  resolveMessageTarget
226
- } from "./chunk-6TOV7UVU.js";
231
+ } from "./chunk-RJIH7JXM.js";
227
232
  import {
228
233
  registerCreateTask,
229
234
  resolveProjectDir
230
- } from "./chunk-JDZNGC4O.js";
235
+ } from "./chunk-JW5NUXPN.js";
231
236
  import {
232
237
  registerListTasks
233
- } from "./chunk-ZBXZFOIF.js";
238
+ } from "./chunk-2YGBJHC2.js";
234
239
  import {
235
240
  registerUpdateTask
236
- } from "./chunk-AGXV5HLA.js";
241
+ } from "./chunk-2EYVXUGA.js";
237
242
  import {
238
243
  registerCreateReminder
239
- } from "./chunk-BPXWWD7P.js";
244
+ } from "./chunk-7PDZBPGW.js";
240
245
  import {
241
246
  registerListReminders
242
- } from "./chunk-2A556FNI.js";
243
- import {
244
- registerCompleteReminder
245
- } from "./chunk-5BWN6A5E.js";
247
+ } from "./chunk-FUDXITKX.js";
246
248
  import {
247
249
  completeReminder,
248
250
  createReminder,
249
251
  formatAmbiguousReminder,
250
252
  listReminders
251
- } from "./chunk-MNWN3SQ3.js";
253
+ } from "./chunk-RYYFFCJG.js";
252
254
  import {
253
255
  registerImportConversations
254
- } from "./chunk-7QFRZT4H.js";
256
+ } from "./chunk-657I6PUF.js";
255
257
  import {
256
258
  TOKENS_PER_IDLE_MINUTE,
257
259
  countKillsSince,
258
260
  sumTokensSavedSince
259
- } from "./chunk-AEOB4JCJ.js";
261
+ } from "./chunk-3GGMHSY2.js";
260
262
  import {
261
263
  createSchedule,
262
264
  parseHumanCron
263
- } from "./chunk-BBTNF72N.js";
265
+ } from "./chunk-J6U4ZR77.js";
264
266
  import {
265
267
  status
266
- } from "./chunk-DWK5HEKY.js";
268
+ } from "./chunk-7HLAYQRG.js";
267
269
  import {
268
270
  evaluateGlobalSpendCap,
269
271
  getAgentSpend
270
- } from "./chunk-V7AID6MC.js";
272
+ } from "./chunk-CRW63CDI.js";
271
273
  import {
272
274
  exportGraphHTML,
273
275
  generateGraphReport
@@ -277,7 +279,7 @@ import {
277
279
  probeDaemonServing,
278
280
  readSupervisionState,
279
281
  runHealthCheck
280
- } from "./chunk-2YK5HP2B.js";
282
+ } from "./chunk-IHAXXDBH.js";
281
283
  import {
282
284
  checkCpuStealSync
283
285
  } from "./chunk-SSC7EKY2.js";
@@ -289,16 +291,16 @@ import {
289
291
  formatReport,
290
292
  runAudit,
291
293
  shouldFixShards
292
- } from "./chunk-YC6SZFVD.js";
294
+ } from "./chunk-X4FHT6ST.js";
293
295
  import {
294
296
  formatDegradations,
295
297
  getRetrievalHealth
296
- } from "./chunk-ZEDLED43.js";
298
+ } from "./chunk-QOFQY7BJ.js";
297
299
  import {
298
300
  hasFailures,
299
301
  runHealth,
300
302
  runTest
301
- } from "./chunk-2WOHFX4Z.js";
303
+ } from "./chunk-OHHZNNUD.js";
302
304
  import {
303
305
  isSupportReportSentStatus,
304
306
  markSupportReportSent
@@ -310,25 +312,25 @@ import {
310
312
  } from "./chunk-6QBBJJK2.js";
311
313
  import {
312
314
  renderClientCOOTemplate
313
- } from "./chunk-YWZGDFAL.js";
315
+ } from "./chunk-TS4LSNRI.js";
314
316
  import {
315
317
  deactivateGlobalProcedure,
316
318
  loadGlobalProcedures,
317
319
  storeGlobalProcedure
318
- } from "./chunk-WZPD4QSE.js";
320
+ } from "./chunk-HDQAVAV6.js";
319
321
  import {
320
322
  PLATFORM_PROCEDURES
321
- } from "./chunk-NVM3SKJ4.js";
323
+ } from "./chunk-4CN3EE6U.js";
322
324
  import {
323
325
  countUnconsolidated,
324
326
  groupMemories,
325
327
  runConsolidation,
326
328
  selectUnconsolidated
327
- } from "./chunk-H5H2LGVE.js";
329
+ } from "./chunk-5BWDUUMH.js";
328
330
  import {
329
331
  entityId,
330
332
  mergeEntities
331
- } from "./chunk-26CY4EAR.js";
333
+ } from "./chunk-HTFM7ZDD.js";
332
334
  import {
333
335
  beginCloudReupload,
334
336
  clearCloudReuploadRequired,
@@ -337,18 +339,18 @@ import {
337
339
  getCloudReuploadInProgress,
338
340
  getCloudReuploadRequired,
339
341
  markCloudReuploadIncomplete
340
- } from "./chunk-QKHQTHE6.js";
342
+ } from "./chunk-GZVFHFO3.js";
341
343
  import {
342
344
  orgMembershipPresent,
343
345
  readActiveOrgMemberships
344
- } from "./chunk-FOZSHNET.js";
346
+ } from "./chunk-LLZUL7M2.js";
345
347
  import {
346
348
  createARecord
347
349
  } from "./chunk-X2Z5GT3V.js";
348
350
  import {
349
351
  findSimilarTrajectories,
350
352
  hashSignature
351
- } from "./chunk-2CG3LHI6.js";
353
+ } from "./chunk-NCNT2C2P.js";
352
354
  import {
353
355
  BEHAVIOR_CONTENT_MAX_LENGTH,
354
356
  GHOST_BEHAVIOR_SQL,
@@ -360,7 +362,7 @@ import {
360
362
  reactivateBehavior,
361
363
  storeBehavior,
362
364
  storeReflexBehavior
363
- } from "./chunk-NYV4A5IG.js";
365
+ } from "./chunk-KEDZRQI3.js";
364
366
  import {
365
367
  embed
366
368
  } from "./chunk-Q3GMM6I7.js";
@@ -379,20 +381,20 @@ import {
379
381
  hybridSearch,
380
382
  isCapturedSearchCall,
381
383
  recentRecords
382
- } from "./chunk-GGT6Y5AN.js";
384
+ } from "./chunk-K2HIXAIF.js";
383
385
  import {
384
386
  buildFtsMatch,
385
387
  tokenizeForFts
386
388
  } from "./chunk-3ARSKDHC.js";
387
389
  import {
388
390
  filterWikiRecallResults
389
- } from "./chunk-FDQXQBBC.js";
391
+ } from "./chunk-6NRZLVK3.js";
390
392
  import {
391
393
  attachDocumentMetadata,
392
394
  buildWikiScopeFilter,
393
395
  commitMemoryRecord,
394
396
  initStore
395
- } from "./chunk-X2EBM5BQ.js";
397
+ } from "./chunk-LSHUX7P4.js";
396
398
  import {
397
399
  UPSTREAM_ATTACHMENT_MAX_CHARS,
398
400
  describeUpstreamFailure,
@@ -407,19 +409,19 @@ import {
407
409
  } from "./chunk-BYP3DOUU.js";
408
410
  import {
409
411
  updateTask
410
- } from "./chunk-BIHPY7JW.js";
412
+ } from "./chunk-IC2AONBH.js";
411
413
  import {
412
414
  fastDbInit
413
- } from "./chunk-7ZP2PAW3.js";
415
+ } from "./chunk-N45FAI6D.js";
414
416
  import {
415
417
  mcpHttpPort
416
- } from "./chunk-YJ7MCZSY.js";
418
+ } from "./chunk-27NG2NTG.js";
417
419
  import {
418
420
  MAX_CONCURRENT_WORKERS
419
421
  } from "./chunk-RJ67XAJU.js";
420
422
  import {
421
423
  getActiveAgent
422
- } from "./chunk-IHBYJG7N.js";
424
+ } from "./chunk-GL5ZG72X.js";
423
425
  import {
424
426
  getMySession,
425
427
  isAmbiguousMultiCoordinatorContext,
@@ -430,13 +432,13 @@ import {
430
432
  tmuxDispatchRefusal,
431
433
  updateTaskStatus,
432
434
  writeCheckpoint
433
- } from "./chunk-WSYIQKZ6.js";
435
+ } from "./chunk-GM4UEZDE.js";
434
436
  import {
435
437
  listSessions
436
- } from "./chunk-6T5RC3L4.js";
438
+ } from "./chunk-QSW5DHMZ.js";
437
439
  import {
438
440
  recordOrchestrationEventBestEffort
439
- } from "./chunk-WLV27PAO.js";
441
+ } from "./chunk-JGBYZTWH.js";
440
442
  import {
441
443
  DEFAULT_MODELS,
442
444
  KNOWN_RUNTIMES,
@@ -450,7 +452,7 @@ import {
450
452
  assertEmployeeLimit,
451
453
  assertFeature,
452
454
  assertMemoryLimit
453
- } from "./chunk-2AXJRXA6.js";
455
+ } from "./chunk-2BOLFLAU.js";
454
456
  import {
455
457
  readDaemonToken
456
458
  } from "./chunk-PCV52RYM.js";
@@ -460,7 +462,7 @@ import {
460
462
  } from "./chunk-BTSWFMEH.js";
461
463
  import {
462
464
  getProjectName
463
- } from "./chunk-J6RTX7XT.js";
465
+ } from "./chunk-TVWYMOZ4.js";
464
466
  import {
465
467
  getAgentContext
466
468
  } from "./chunk-GJV3WDWM.js";
@@ -475,7 +477,7 @@ import {
475
477
  isScheduledTrigger,
476
478
  loadTriggers,
477
479
  sanitizeParam
478
- } from "./chunk-XDWIJBTY.js";
480
+ } from "./chunk-CFO47VW4.js";
479
481
  import {
480
482
  pushConversationToCRM
481
483
  } from "./chunk-ML4S5SHZ.js";
@@ -500,7 +502,7 @@ import {
500
502
  mutateIdentity,
501
503
  repairFtsTable,
502
504
  saveEmployees
503
- } from "./chunk-LBEBSXZA.js";
505
+ } from "./chunk-L5JFVK5T.js";
504
506
  import {
505
507
  getEventLoopLagMs,
506
508
  getLastStall,
@@ -513,7 +515,7 @@ import {
513
515
  } from "./chunk-UWGQNJIE.js";
514
516
  import {
515
517
  getMasterKey
516
- } from "./chunk-IQCC6WFI.js";
518
+ } from "./chunk-4J77TCTX.js";
517
519
  import {
518
520
  checkForUpdate
519
521
  } from "./chunk-F55P3H4S.js";
@@ -525,7 +527,7 @@ import {
525
527
  loadLicense,
526
528
  readCachedLicenseToken,
527
529
  refreshLicense
528
- } from "./chunk-KNEEOZWN.js";
530
+ } from "./chunk-EOWJXCYC.js";
529
531
  import {
530
532
  PLAN_LIMITS
531
533
  } from "./chunk-3R7UDPVR.js";
@@ -793,7 +795,7 @@ function registerRecallMyMemory(server) {
793
795
  throw new Error("Recall session_scope must match the current caller's session.");
794
796
  }
795
797
  {
796
- const { ensureReadDbReady } = await import("./fast-db-init-UN225WS7.js");
798
+ const { ensureReadDbReady } = await import("./fast-db-init-TFRTK6EH.js");
797
799
  if (!await ensureReadDbReady()) {
798
800
  return {
799
801
  content: [{ type: "text", text: "Memory is unavailable; retrieval did not run. Please retry." }],
@@ -1024,7 +1026,7 @@ function registerAskTeamMemory(server) {
1024
1026
  }, safeMode);
1025
1027
  if (!effectiveIncludeRaw) searchOptions.includeRaw = false;
1026
1028
  {
1027
- const { ensureReadDbReady } = await import("./fast-db-init-UN225WS7.js");
1029
+ const { ensureReadDbReady } = await import("./fast-db-init-TFRTK6EH.js");
1028
1030
  if (!await ensureReadDbReady()) {
1029
1031
  return {
1030
1032
  content: [
@@ -1120,7 +1122,7 @@ function registerStoreMemory(server) {
1120
1122
  const context = resolved.context;
1121
1123
  const { agentId, agentRole } = context;
1122
1124
  if (kind === "prospective") {
1123
- const { createProspectiveMemory } = await import("./prospective-memory-ECXSAEAW.js");
1125
+ const { createProspectiveMemory } = await import("./prospective-memory-GEN7CN7H.js");
1124
1126
  const sessionScope = context.sessionScope;
1125
1127
  const record = await createProspectiveMemory({
1126
1128
  agentId,
@@ -1465,7 +1467,7 @@ function registerSearchEverything(server) {
1465
1467
  },
1466
1468
  async (params) => {
1467
1469
  try {
1468
- const { ensureReadDbReady } = await import("./fast-db-init-UN225WS7.js");
1470
+ const { ensureReadDbReady } = await import("./fast-db-init-TFRTK6EH.js");
1469
1471
  if (!await ensureReadDbReady()) {
1470
1472
  return {
1471
1473
  content: [
@@ -2139,7 +2141,7 @@ async function handleSupersede(input) {
2139
2141
  }
2140
2142
  async function handleResonanceQuery(input) {
2141
2143
  try {
2142
- const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-V5XXR327.js");
2144
+ const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-SRE6DIRX.js");
2143
2145
  const subAction = input.resonance_action ?? "hot_pairs";
2144
2146
  const limit = input.limit ?? 20;
2145
2147
  if (subAction === "hot_pairs") {
@@ -2245,7 +2247,7 @@ function registerMemory(server) {
2245
2247
  return handleResonanceQuery(input);
2246
2248
  }
2247
2249
  if (action === "update_working_memory" || action === "get_working_memory") {
2248
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-2ELFTYNT.js");
2250
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YCLS7GB.js");
2249
2251
  const { agentId } = getActiveAgent2();
2250
2252
  const { readWorkingMemoryWithMeta, writeWorkingMemory, WORKING_MEMORY_MAX_BYTES } = await import("./working-memory-DPFRSKH3.js");
2251
2253
  if (action === "get_working_memory") {
@@ -2271,9 +2273,9 @@ function registerMemory(server) {
2271
2273
  }
2272
2274
  }
2273
2275
  if (action === "core_get" || action === "core_set" || action === "core_delete") {
2274
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-2ELFTYNT.js");
2276
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YCLS7GB.js");
2275
2277
  const { agentId } = getActiveAgent2();
2276
- const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-3TZV3ZDW.js");
2278
+ const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-PZEO3OWH.js");
2277
2279
  if (action === "core_get") {
2278
2280
  const entries = await getCoreMemory(agentId);
2279
2281
  const block = formatCoreMemoryBlock(entries);
@@ -2311,7 +2313,7 @@ function registerMemory(server) {
2311
2313
  if (!storeTrigger || !storeTriggerAction) {
2312
2314
  return errorResult('memory action "store" with kind="reflex" requires trigger and trigger_action fields');
2313
2315
  }
2314
- const { formatReflexContent } = await import("./behaviors-RUNSC5WI.js");
2316
+ const { formatReflexContent } = await import("./behaviors-SKVKPCRW.js");
2315
2317
  const reflexText = formatReflexContent(storeTrigger, storeTriggerAction);
2316
2318
  legacyArgs.text ??= reflexText;
2317
2319
  legacyArgs.query ??= reflexText;
@@ -2330,9 +2332,9 @@ function registerMemory(server) {
2330
2332
  const result3 = await legacyTool.handler(args, extra);
2331
2333
  if (action === "store" && legacyArgs.kind === "reflex" && !result3.isError) {
2332
2334
  try {
2333
- const { storeReflexBehavior: storeReflexBehavior2 } = await import("./behaviors-RUNSC5WI.js");
2334
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-2ELFTYNT.js");
2335
- const { getProjectName: getProjectName2 } = await import("./project-name-LHYHR4VN.js");
2335
+ const { storeReflexBehavior: storeReflexBehavior2 } = await import("./behaviors-SKVKPCRW.js");
2336
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YCLS7GB.js");
2337
+ const { getProjectName: getProjectName2 } = await import("./project-name-PGJGUEJY.js");
2336
2338
  const agent = getActiveAgent2();
2337
2339
  const behaviorId = await storeReflexBehavior2({
2338
2340
  agentId: agent.agentId,
@@ -2769,8 +2771,8 @@ async function respawnAssigneeAfterClose(input) {
2769
2771
  } catch {
2770
2772
  }
2771
2773
  try {
2772
- const { cleanupAgentWorktree } = await import("./worktree-sweep-6LMC7H5Y.js");
2773
- const { getGitRoot } = await import("./worktree-GS4ODQ4C.js");
2774
+ const { cleanupAgentWorktree } = await import("./worktree-sweep-34MXJ7S6.js");
2775
+ const { getGitRoot } = await import("./worktree-7V4ZMF3D.js");
2774
2776
  const root = getGitRoot(projectDir);
2775
2777
  if (root) {
2776
2778
  const notes = await cleanupAgentWorktree(root, input.assignee);
@@ -2889,7 +2891,7 @@ function registerCloseTask(server) {
2889
2891
  const callerIsAssignedReviewer = Boolean(agent.agentId) && taskReviewer !== null && agent.agentId === taskReviewer;
2890
2892
  const canClose = canCoordinate(agent.agentId, agent.agentRole) || CLOSE_TASK_ALLOWED_ROLES.has(agent.agentRole ?? "") || callerIsAssignedReviewer;
2891
2893
  try {
2892
- const { StewardGate: StewardGate2 } = await import("./steward-gate-2MUESY3V.js");
2894
+ const { StewardGate: StewardGate2 } = await import("./steward-gate-EWG2BHYQ.js");
2893
2895
  const steward = new StewardGate2();
2894
2896
  const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "close_task", task_id);
2895
2897
  if (!gateDecision.allowed && !callerIsAssignedReviewer) {
@@ -3095,7 +3097,7 @@ ${prAmbiguityNote.trim()}` : result3,
3095
3097
  skipReviewCreation: true
3096
3098
  });
3097
3099
  if (isLegacyExecution) try {
3098
- const { releaseClaim: releaseClaim2 } = await import("./work-claims-XQXT2VWJ.js");
3100
+ const { releaseClaim: releaseClaim2 } = await import("./work-claims-5CFMZTML.js");
3099
3101
  const holderSession = sanitizeSessionScope(mySession ?? "") || "";
3100
3102
  if (holderSession) {
3101
3103
  await releaseClaim2({ holderSession, taskId: task.id });
@@ -3117,8 +3119,8 @@ ${preflightWarnings.join("\n")}`;
3117
3119
  if (mergeNote) text5 += mergeNote;
3118
3120
  if (status2 === "closed" && assignee && isLegacyExecution) {
3119
3121
  try {
3120
- const { cleanupAgentWorktree } = await import("./worktree-sweep-6LMC7H5Y.js");
3121
- const { getGitRoot } = await import("./worktree-GS4ODQ4C.js");
3122
+ const { cleanupAgentWorktree } = await import("./worktree-sweep-34MXJ7S6.js");
3123
+ const { getGitRoot } = await import("./worktree-7V4ZMF3D.js");
3122
3124
  const repoRoot = getGitRoot(baseDir);
3123
3125
  if (repoRoot) {
3124
3126
  const cleanupNotes = await cleanupAgentWorktree(repoRoot, assignee);
@@ -3262,7 +3264,7 @@ function registerResumeEmployee(server) {
3262
3264
  async ({ agent_id, project_name }) => {
3263
3265
  let client;
3264
3266
  if (!isInitialized()) {
3265
- const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-UN225WS7.js");
3267
+ const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-TFRTK6EH.js");
3266
3268
  client = await fastDbInit2();
3267
3269
  } else {
3268
3270
  client = getClient();
@@ -3292,7 +3294,7 @@ function registerResumeEmployee(server) {
3292
3294
  };
3293
3295
  }
3294
3296
  try {
3295
- const { isTmuxSessionAlive } = await import("./tasks-crud-MB7WXGPW.js");
3297
+ const { isTmuxSessionAlive } = await import("./tasks-crud-NQDPLHNZ.js");
3296
3298
  const now = (/* @__PURE__ */ new Date()).toISOString();
3297
3299
  for (const row of openTasks.rows) {
3298
3300
  const status2 = String(row.status);
@@ -3320,7 +3322,7 @@ function registerResumeEmployee(server) {
3320
3322
  }
3321
3323
  let checkpointInfo = "";
3322
3324
  try {
3323
- const { readLatestCheckpoint } = await import("./tasks-crud-MB7WXGPW.js");
3325
+ const { readLatestCheckpoint } = await import("./tasks-crud-NQDPLHNZ.js");
3324
3326
  const checkpointSessionScope = openTasks.rows[0]?.session_scope != null ? String(openTasks.rows[0].session_scope) : reScope.args[0] != null ? String(reScope.args[0]) : "";
3325
3327
  const checkpoint = checkpointSessionScope ? await readLatestCheckpoint(agent_id, { sessionScope: checkpointSessionScope }) : null;
3326
3328
  if (checkpoint) {
@@ -3409,7 +3411,7 @@ function registerResumeEmployee(server) {
3409
3411
  );
3410
3412
  const { shouldAutoInstance } = await import("./lib/employees.js");
3411
3413
  if (taskId) {
3412
- const { liveSessionHoldingTask } = await import("./tasks-crud-MB7WXGPW.js");
3414
+ const { liveSessionHoldingTask } = await import("./tasks-crud-NQDPLHNZ.js");
3413
3415
  const holder = await liveSessionHoldingTask(taskId, taskScope);
3414
3416
  if (holder) {
3415
3417
  dispatchStatus = `
@@ -3877,7 +3879,7 @@ function registerTask(server) {
3877
3879
  try {
3878
3880
  const requestScope = resolveTaskRequestScope(args.session_scope);
3879
3881
  if (!requestScope) return errorResult2("create_group requires a concrete session_scope from X-Exe-Session, the launch environment, or session_scope");
3880
- const { createTaskGroup } = await import("./tasks-crud-MB7WXGPW.js");
3882
+ const { createTaskGroup } = await import("./tasks-crud-NQDPLHNZ.js");
3881
3883
  const group = await createTaskGroup({
3882
3884
  title: args.title,
3883
3885
  coordinator: args.coordinator,
@@ -3899,7 +3901,7 @@ function registerTask(server) {
3899
3901
  try {
3900
3902
  const requestScope = resolveTaskRequestScope(args.session_scope);
3901
3903
  if (!requestScope) return errorResult2("group_status requires a concrete caller session_scope");
3902
- const { getGroupStatus } = await import("./tasks-crud-MB7WXGPW.js");
3904
+ const { getGroupStatus } = await import("./tasks-crud-NQDPLHNZ.js");
3903
3905
  const status2 = await getGroupStatus(args.group_id, requestScope.scope);
3904
3906
  return { content: [{ type: "text", text: JSON.stringify(status2, null, 2) }] };
3905
3907
  } catch (err) {
@@ -3913,7 +3915,7 @@ function registerTask(server) {
3913
3915
  try {
3914
3916
  const requestScope = resolveTaskRequestScope(args.session_scope);
3915
3917
  if (!requestScope) return errorResult2("group_results requires a concrete caller session_scope");
3916
- const { getGroupResults } = await import("./tasks-crud-MB7WXGPW.js");
3918
+ const { getGroupResults } = await import("./tasks-crud-NQDPLHNZ.js");
3917
3919
  const results = await getGroupResults(args.group_id, requestScope.scope);
3918
3920
  return { content: [{ type: "text", text: JSON.stringify(results, null, 2) }] };
3919
3921
  } catch (err) {
@@ -4307,8 +4309,8 @@ function registerStoreBehavior(server) {
4307
4309
  });
4308
4310
  let responseText = `Behavior stored for ${resolvedAgent}. ID: ${id}`;
4309
4311
  try {
4310
- const { countActiveBehaviors } = await import("./behaviors-RUNSC5WI.js");
4311
- const { formatOverCapWarning } = await import("./behavior-injection-CTSIKHTH.js");
4312
+ const { countActiveBehaviors } = await import("./behaviors-SKVKPCRW.js");
4313
+ const { formatOverCapWarning } = await import("./behavior-injection-G7GAUHGO.js");
4312
4314
  const counts = await countActiveBehaviors(resolvedAgent, resolvedProject);
4313
4315
  const warning = formatOverCapWarning(resolvedAgent, counts);
4314
4316
  if (warning) responseText += `
@@ -4434,7 +4436,7 @@ function registerMessage(server) {
4434
4436
  if (msgType && msgPayload) {
4435
4437
  try {
4436
4438
  const { buildTypedMessage, serializeMessage } = await import("./typed-messages-P2HLLA62.js");
4437
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-2ELFTYNT.js");
4439
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YCLS7GB.js");
4438
4440
  const { sendMessage } = await import("./lib/messaging.js");
4439
4441
  const { agentId } = getActiveAgent2();
4440
4442
  const envelope = buildTypedMessage({
@@ -4469,7 +4471,7 @@ ID: ${msg.id}`
4469
4471
  if (action === "read") {
4470
4472
  try {
4471
4473
  const { getPendingMessages } = await import("./lib/messaging.js");
4472
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-2ELFTYNT.js");
4474
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YCLS7GB.js");
4473
4475
  const { resolveExeSession: resolveExeSession2 } = await import("./lib/tmux-routing.js");
4474
4476
  const { agentId } = getActiveAgent2();
4475
4477
  const callerScope = resolveExeSession2() ?? void 0;
@@ -4730,45 +4732,6 @@ ${identity.body}`
4730
4732
 
4731
4733
  // src/mcp/tools/update-identity.ts
4732
4734
  import { z as z25 } from "zod";
4733
-
4734
- // src/lib/identity-contradiction-lint.ts
4735
- var DELEGATION_VERB = /\b(route|routing|assign|assigning|delegat\w*|dispatch\w*|hand\s*off|handing\s*off)\b/i;
4736
- var LEGACY_MECHANISM = /\b(create_task|tmux)\b/i;
4737
- var CAVEAT = /\b(subagent|rung|legacy|Agent\(subagent_type)\b/i;
4738
- var CONTEXT_WINDOW = 220;
4739
- function lintIdentityContradictions(content) {
4740
- const findings = [];
4741
- const lines = content.split("\n");
4742
- let offset = 0;
4743
- const lineOffsets = [];
4744
- for (const line of lines) {
4745
- lineOffsets.push(offset);
4746
- offset += line.length + 1;
4747
- }
4748
- for (let i = 0; i < lines.length; i++) {
4749
- const line = lines[i];
4750
- if (!DELEGATION_VERB.test(line) || !LEGACY_MECHANISM.test(line)) continue;
4751
- const start = Math.max(0, lineOffsets[i] - CONTEXT_WINDOW);
4752
- const end = Math.min(content.length, lineOffsets[i] + line.length + CONTEXT_WINDOW);
4753
- const context = content.slice(start, end);
4754
- if (CAVEAT.test(context)) continue;
4755
- findings.push({
4756
- rule: "create_task-as-default-delegation",
4757
- reason: "Reads as if create_task/tmux is the default way to route/assign/delegate work, with no nearby mention of subagent, rung, legacy, or Agent(subagent_type. Per the platform Dispatch Ladder, subagents are the default for delegation and create_task/tmux is a legacy rung-3 exception (work that must outlive the session or cross sessions/projects). Uncaveated wording like this caused a real mis-dispatch incident.",
4758
- excerpt: line.trim()
4759
- });
4760
- }
4761
- return findings;
4762
- }
4763
- function formatIdentityContradictionWarning(agentId, findings) {
4764
- if (findings.length === 0) return null;
4765
- const lines = findings.map((f) => ` - "${f.excerpt}"`).join("\n");
4766
- return `\u26A0\uFE0F Possible policy contradiction in ${agentId}'s new identity content (${findings.length} line${findings.length === 1 ? "" : "s"} flagged, write still applied):
4767
- ${lines}
4768
- ${findings[0].reason} This is a lint, not a block \u2014 review the flagged line(s) and caveat them (mention subagent/rung/legacy) if the concern applies.`;
4769
- }
4770
-
4771
- // src/mcp/tools/update-identity.ts
4772
4735
  function regenerateAgentDef(agentId) {
4773
4736
  const name = agentId.toLowerCase();
4774
4737
  const employee = loadEmployeesSync().find(
@@ -5056,8 +5019,8 @@ function registerIngestDocument(server) {
5056
5019
  },
5057
5020
  async (input) => {
5058
5021
  try {
5059
- const { assertFeature: assertFeature2 } = await import("./plan-limits-PG6HG2DT.js");
5060
- const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-PG6HG2DT.js");
5022
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-3BGHIHX6.js");
5023
+ const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-3BGHIHX6.js");
5061
5024
  await assertFeature2("wiki");
5062
5025
  await assertMemoryLimit2();
5063
5026
  const result3 = await ingestDocument(input);
@@ -5128,8 +5091,8 @@ function registerPurgeDocument(server) {
5128
5091
  },
5129
5092
  async ({ document_id }) => {
5130
5093
  try {
5131
- const { StewardGate: StewardGate2 } = await import("./steward-gate-2MUESY3V.js");
5132
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-2ELFTYNT.js");
5094
+ const { StewardGate: StewardGate2 } = await import("./steward-gate-EWG2BHYQ.js");
5095
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YCLS7GB.js");
5133
5096
  const steward = new StewardGate2();
5134
5097
  const agent = getActiveAgent2();
5135
5098
  const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "purge_document", document_id);
@@ -5299,7 +5262,7 @@ function registerDocument(server) {
5299
5262
  const { action: _action, ...legacyArgs } = input;
5300
5263
  if (action === "list" && (legacyArgs.workspace_id === void 0 || legacyArgs.workspace_id === null || legacyArgs.workspace_id === "")) {
5301
5264
  try {
5302
- const { resolveDefaultWorkspaceId, listWorkspaces } = await import("./documents-NILTWYSQ.js");
5265
+ const { resolveDefaultWorkspaceId, listWorkspaces } = await import("./documents-MDZ4VB5X.js");
5303
5266
  const defaultId = await resolveDefaultWorkspaceId();
5304
5267
  if (defaultId) {
5305
5268
  legacyArgs.workspace_id = defaultId;
@@ -6307,7 +6270,7 @@ async function handleStatus() {
6307
6270
  detail: wikiUrl ? `API at ${wikiUrl}` : "EXE_WIKI_API_URL not set"
6308
6271
  };
6309
6272
  try {
6310
- await import("./graph-rag-LH34CEGC.js");
6273
+ await import("./graph-rag-UWOTK4AQ.js");
6311
6274
  sinks.entity_extraction = { configured: true, detail: "GraphRAG available" };
6312
6275
  } catch {
6313
6276
  sinks.entity_extraction = { configured: false, detail: "graph-rag module unavailable" };
@@ -6334,7 +6297,7 @@ async function handleTrigger(limit) {
6334
6297
  if (rows.rows.length === 0) {
6335
6298
  return text3("No conversations found to re-process.");
6336
6299
  }
6337
- const { ingest } = await import("./pipeline-router-2KY4X6PO.js");
6300
+ const { ingest } = await import("./pipeline-router-EKQ6D7ZA.js");
6338
6301
  const results = [];
6339
6302
  for (const row of rows.rows) {
6340
6303
  const r = row;
@@ -7008,8 +6971,8 @@ function registerMergeEntities(server) {
7008
6971
  };
7009
6972
  }
7010
6973
  try {
7011
- const { StewardGate: StewardGate2 } = await import("./steward-gate-2MUESY3V.js");
7012
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-2ELFTYNT.js");
6974
+ const { StewardGate: StewardGate2 } = await import("./steward-gate-EWG2BHYQ.js");
6975
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YCLS7GB.js");
7013
6976
  const steward = new StewardGate2();
7014
6977
  const agent = getActiveAgent2();
7015
6978
  const sourceLabel2 = source_name ?? source_id;
@@ -7223,7 +7186,7 @@ async function handleExtractFromDocument(args) {
7223
7186
  return errorResult8('graph action "extract_from_document" requires document_id');
7224
7187
  }
7225
7188
  try {
7226
- const { extractGraphFromExistingDocument } = await import("./doc-graph-extractor-BBPKLIVM.js");
7189
+ const { extractGraphFromExistingDocument } = await import("./doc-graph-extractor-TVK2NGAR.js");
7227
7190
  const result3 = await extractGraphFromExistingDocument(documentId);
7228
7191
  const lines = [
7229
7192
  `## Graph Extraction for Document ${documentId}`,
@@ -7250,7 +7213,7 @@ async function handleCleanupGarbage(args) {
7250
7213
  const doMerge = !garbageOnly;
7251
7214
  let mod;
7252
7215
  try {
7253
- mod = await import("./cleanup-graph-garbage-N7FTWU6C.js");
7216
+ mod = await import("./cleanup-graph-garbage-SYGPMPUM.js");
7254
7217
  } catch (err) {
7255
7218
  return errorResult8(`cleanup_garbage: failed to load cleanup module \u2014 ${err instanceof Error ? err.message : String(err)}`);
7256
7219
  }
@@ -8011,7 +7974,7 @@ function registerMcpPing(server) {
8011
7974
  await captureDaemonStall(servingProbe).catch(() => {
8012
7975
  });
8013
7976
  }
8014
- const status2 = servingProbe.state === "stalled" ? "stalled" : !daemon.alive ? "degraded" : eventLoopDegraded ? "degraded" : "ok";
7977
+ const status2 = servingProbe.state === "stalled" ? "stalled" : !daemon.alive || servingProbe.state === "down" || eventLoopDegraded ? "degraded" : "ok";
8015
7978
  return {
8016
7979
  content: [
8017
7980
  {
@@ -8033,7 +7996,7 @@ function registerMcpPing(server) {
8033
7996
  },
8034
7997
  toolUsage: getToolUsageStats(),
8035
7998
  mcpTransport: summary,
8036
- remediation: servingProbe.state === "stalled" ? `${servingProbe.detail} The daemon process/port is up but not serving requests; restarting a starved daemon often makes it worse \u2014 check host load first. A stall record was appended to logs/daemon-stalls.log.` : !daemon.alive ? "Daemon is offline. Restart exe-os/exed; do not bypass MCP or access the DB directly." : eventLoopDegraded ? stallAdvice ?? `Daemon process is alive but event loop is blocked (${eventLoopLagMs}ms lag). This typically happens during model loading or heavy DB operations. Wait for the operation to complete, or restart the daemon if it persists.` : gate.hasKey ? "MCP transport probe reached the server. If tools still fail, reconnect the MCP client." : "No license key found. Run: echo 'exe_sk_YOUR_KEY' > ~/.exe-os/license.key then reconnect MCP."
7999
+ remediation: servingProbe.state === "stalled" ? `${servingProbe.detail} The daemon process/port is up but not serving requests; restarting a starved daemon often makes it worse \u2014 check host load first. A stall record was appended to logs/daemon-stalls.log.` : !daemon.alive ? "Daemon is offline. Restart exe-os/exed; do not bypass MCP or access the DB directly." : servingProbe.state === "down" ? `${servingProbe.detail} Liveness checks pass (pid/socket present) but the MCP HTTP transport is unavailable. Restart exe-os/exed; do not bypass MCP or access the DB directly.` : eventLoopDegraded ? stallAdvice ?? `Daemon process is alive but event loop is blocked (${eventLoopLagMs}ms lag). This typically happens during model loading or heavy DB operations. Wait for the operation to complete, or restart the daemon if it persists.` : gate.hasKey ? "MCP transport probe reached the server. If tools still fail, reconnect the MCP client." : "No license key found. Run: echo 'exe_sk_YOUR_KEY' > ~/.exe-os/license.key then reconnect MCP."
8037
8000
  }, null, 2)
8038
8001
  }
8039
8002
  ]
@@ -8179,7 +8142,7 @@ async function getAgentSessionLoad() {
8179
8142
  return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
8180
8143
  }
8181
8144
  const { getClient: getClient2 } = await import("./lib/database.js");
8182
- const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-4EKZBTTM.js");
8145
+ const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-NLKUVCP5.js");
8183
8146
  const client = getClient2();
8184
8147
  const scope = sessionScopeFilter2();
8185
8148
  for (const s of liveAgentSessions) {
@@ -8594,7 +8557,7 @@ async function cloudStatusText() {
8594
8557
  if (lastReuploadedAt) lines.push(`- Last re-upload: ${lastReuploadedAt}`);
8595
8558
  lines.push("");
8596
8559
  try {
8597
- const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-42MFLOEP.js");
8560
+ const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-XDFYFEOP.js");
8598
8561
  const h = await getRetrievalHealth2();
8599
8562
  lines.push(formatDegradations2(h.degradations, "Health / Degradations"));
8600
8563
  lines.push("");
@@ -10226,7 +10189,7 @@ function registerCreateTrigger(server) {
10226
10189
  };
10227
10190
  }
10228
10191
  const normalizedConditions = conditions == null ? [] : conditions;
10229
- const { assertFeature: assertFeature2 } = await import("./plan-limits-PG6HG2DT.js");
10192
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-3BGHIHX6.js");
10230
10193
  const gatedActions = {
10231
10194
  send_whatsapp: "external_agents",
10232
10195
  update_wiki: "wiki"
@@ -11298,8 +11261,8 @@ function buildHandlers5() {
11298
11261
  }
11299
11262
  async function handleDreaming(action, args) {
11300
11263
  try {
11301
- const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-KMDGPIFY.js");
11302
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-2ELFTYNT.js");
11264
+ const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-L24PSS35.js");
11265
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YCLS7GB.js");
11303
11266
  const { getClient: getClient2 } = await import("./lib/database.js");
11304
11267
  const agentId = args.agent_id ?? getActiveAgent2().agentId;
11305
11268
  if (action === "dreaming_run") {
@@ -11507,11 +11470,11 @@ function registerConfig(server) {
11507
11470
  }
11508
11471
  if (action === "closeout") {
11509
11472
  try {
11510
- const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-KMDGPIFY.js");
11511
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-2ELFTYNT.js");
11473
+ const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-L24PSS35.js");
11474
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YCLS7GB.js");
11512
11475
  const { writeMemory, flushBatch } = await import("./lib/store.js");
11513
11476
  const { randomUUID: randomUUID4 } = await import("crypto");
11514
- const { getProjectName: getProjectName2 } = await import("./project-name-LHYHR4VN.js");
11477
+ const { getProjectName: getProjectName2 } = await import("./project-name-PGJGUEJY.js");
11515
11478
  const { retryOnDaemonTransportError } = await import("./lib/db-daemon-client.js");
11516
11479
  const agentId = args.agent_id ?? getActiveAgent2().agentId;
11517
11480
  const hours = args.hours ?? 24;
@@ -11589,7 +11552,7 @@ function registerConfig(server) {
11589
11552
  }
11590
11553
  if (action === "capability_cards") {
11591
11554
  try {
11592
- const { getAllCapabilityCards, findAgentForTask } = await import("./capability-cards-EV7VHL3W.js");
11555
+ const { getAllCapabilityCards, findAgentForTask } = await import("./capability-cards-YQWBEG7A.js");
11593
11556
  const cards = getAllCapabilityCards();
11594
11557
  const taskQuery = args.query;
11595
11558
  if (taskQuery) {
@@ -11640,7 +11603,7 @@ function registerConfig(server) {
11640
11603
  const existing = loadEmployeesSync2();
11641
11604
  if (existing.some((e) => e.name === employeeName)) return errorResult9(`Employee "${employeeName}" already exists.`);
11642
11605
  try {
11643
- const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-PG6HG2DT.js");
11606
+ const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-3BGHIHX6.js");
11644
11607
  await assertEmployeeLimit2();
11645
11608
  } catch (e) {
11646
11609
  return errorResult9(e instanceof Error ? e.message : "Employee limit reached.");
@@ -11681,7 +11644,7 @@ You are ${employeeName}. Role: ${role}.`, "utf-8");
11681
11644
  }
11682
11645
  try {
11683
11646
  const { generateSessionWrappers } = await import("./lib/session-wrappers.js");
11684
- const { resolvePackageRoot } = await import("./installer-UFRZHMX5.js");
11647
+ const { resolvePackageRoot } = await import("./installer-356RMQ2K.js");
11685
11648
  generateSessionWrappers(resolvePackageRoot());
11686
11649
  } catch {
11687
11650
  }
@@ -11778,7 +11741,7 @@ function registerListWikiPages(server) {
11778
11741
  }
11779
11742
  },
11780
11743
  async ({ workspace, folder }) => {
11781
- const { assertFeature: assertFeature2 } = await import("./plan-limits-PG6HG2DT.js");
11744
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-3BGHIHX6.js");
11782
11745
  await assertFeature2("wiki");
11783
11746
  const apiUrl = process.env.EXE_WIKI_API_URL;
11784
11747
  const apiKey = process.env.EXE_WIKI_API_KEY;
@@ -11878,7 +11841,7 @@ function registerGetWikiPage(server) {
11878
11841
  }
11879
11842
  },
11880
11843
  async ({ workspace, document_id, title }) => {
11881
- const { assertFeature: assertFeature2 } = await import("./plan-limits-PG6HG2DT.js");
11844
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-3BGHIHX6.js");
11882
11845
  await assertFeature2("wiki");
11883
11846
  const apiUrl = process.env.EXE_WIKI_API_URL;
11884
11847
  const apiKey = process.env.EXE_WIKI_API_KEY;
@@ -12072,10 +12035,10 @@ async function handleWikiSearch(input) {
12072
12035
  const userId = input.user_id;
12073
12036
  if (!workspace) return errorResult10('wiki action "search" requires workspace');
12074
12037
  if (!query) return errorResult10('wiki action "search" requires query');
12075
- const { assertFeature: assertFeature2 } = await import("./plan-limits-PG6HG2DT.js");
12038
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-3BGHIHX6.js");
12076
12039
  await assertFeature2("wiki");
12077
12040
  if (userId) {
12078
- const { checkWikiAccess } = await import("./wiki-acl-3L7BRJUV.js");
12041
+ const { checkWikiAccess } = await import("./wiki-acl-M7BTQJBZ.js");
12079
12042
  const { allowed } = await checkWikiAccess(String(userId), String(workspace), "read");
12080
12043
  if (!allowed) {
12081
12044
  return errorResult10(`Access denied: user "${userId}" does not have read access to workspace "${workspace}"`);
@@ -12178,7 +12141,7 @@ function registerWiki(server) {
12178
12141
  return errorResult10('wiki action "document_rerank" requires at least one candidate');
12179
12142
  }
12180
12143
  if (user_id && legacyArgs.workspace) {
12181
- const { checkWikiAccess } = await import("./wiki-acl-3L7BRJUV.js");
12144
+ const { checkWikiAccess } = await import("./wiki-acl-M7BTQJBZ.js");
12182
12145
  const { allowed } = await checkWikiAccess(
12183
12146
  String(user_id),
12184
12147
  String(legacyArgs.workspace),
@@ -12372,7 +12335,7 @@ ${lines.join("\n")}`
12372
12335
  const targetAgent = agent_id ?? getActiveAgent().agentId;
12373
12336
  const resolvedAgent = baseAgentName(targetAgent, loadEmployeesSync());
12374
12337
  const proj = project_name === "global" ? void 0 : project_name || getProjectName();
12375
- const { retrieveSkills } = await import("./skill-retrieval-XDY352AS.js");
12338
+ const { retrieveSkills } = await import("./skill-retrieval-F6PAJ3I5.js");
12376
12339
  const results = await retrieveSkills({
12377
12340
  agentId: resolvedAgent,
12378
12341
  projectName: proj,
@@ -12414,7 +12377,7 @@ ${lines.join("\n")}`
12414
12377
  isError: true
12415
12378
  };
12416
12379
  }
12417
- const { recordBehaviorApplied } = await import("./skill-usage-QOLIJQJC.js");
12380
+ const { recordBehaviorApplied } = await import("./skill-usage-2MBTF7Y4.js");
12418
12381
  const updated = await recordBehaviorApplied(behavior_id);
12419
12382
  if (!updated) {
12420
12383
  return {
@@ -12519,8 +12482,8 @@ Trigger: ${trigger}
12519
12482
  Action: ${trigger_action}
12520
12483
  Priority: p0 (always injected). The agent decides whether to act.` : `Behavior stored for ${resolvedAgent}. ID: ${id}`;
12521
12484
  try {
12522
- const { countActiveBehaviors } = await import("./behaviors-RUNSC5WI.js");
12523
- const { formatOverCapWarning } = await import("./behavior-injection-CTSIKHTH.js");
12485
+ const { countActiveBehaviors } = await import("./behaviors-SKVKPCRW.js");
12486
+ const { formatOverCapWarning } = await import("./behavior-injection-G7GAUHGO.js");
12524
12487
  const counts = await countActiveBehaviors(resolvedAgent, resolvedProject);
12525
12488
  const warning = formatOverCapWarning(resolvedAgent, counts);
12526
12489
  if (warning) responseText += `
@@ -12615,7 +12578,7 @@ Use /exe-forget to remove any that this supersedes.`;
12615
12578
  }]
12616
12579
  };
12617
12580
  }
12618
- const { bulkPurgeGhostBehaviors } = await import("./behaviors-RUNSC5WI.js");
12581
+ const { bulkPurgeGhostBehaviors } = await import("./behaviors-SKVKPCRW.js");
12619
12582
  const res = await bulkPurgeGhostBehaviors({ batchSize: 5e3, vacuum: true });
12620
12583
  return {
12621
12584
  content: [{
@@ -12715,7 +12678,7 @@ Use /exe-forget to remove any that this supersedes.`;
12715
12678
  }
12716
12679
  if (action === "promotable") {
12717
12680
  const targetAgent = agent_id ?? getActiveAgent().agentId;
12718
- const { listPromotionCandidates, DEFAULT_MIN_STABLE_DAYS } = await import("./behavior-promotion-NZMTTFHK.js");
12681
+ const { listPromotionCandidates, DEFAULT_MIN_STABLE_DAYS } = await import("./behavior-promotion-I2DIUFUR.js");
12719
12682
  const candidates = await listPromotionCandidates(targetAgent, {
12720
12683
  projectName: project_name,
12721
12684
  minStableDays: min_stable_days,
@@ -12748,7 +12711,7 @@ Promotion moves a rule into the identity file, which is injected on a SEPARATE p
12748
12711
  return { content: [{ type: "text", text: "Missing required field: behavior_id is required for promote action." }], isError: true };
12749
12712
  }
12750
12713
  const targetAgent = agent_id ?? caller2.agentId;
12751
- const { promoteBehaviorToIdentity } = await import("./behavior-promotion-NZMTTFHK.js");
12714
+ const { promoteBehaviorToIdentity } = await import("./behavior-promotion-I2DIUFUR.js");
12752
12715
  const result4 = await promoteBehaviorToIdentity({
12753
12716
  behaviorId: behavior_id,
12754
12717
  agentId: targetAgent,
@@ -12784,7 +12747,7 @@ Stable for ${r.stableDays} days; promoted by ${r.promotedBy}.
12784
12747
  return { content: [{ type: "text", text: `Behavior not found: ${behavior_id}` }], isError: true };
12785
12748
  }
12786
12749
  const row2 = result4.rows[0];
12787
- const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-RUNSC5WI.js");
12750
+ const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-SKVKPCRW.js");
12788
12751
  const wasReactivated = await reactivateBehavior2(behavior_id);
12789
12752
  if (!wasReactivated) {
12790
12753
  return { content: [{ type: "text", text: `Behavior ${behavior_id} is already active.` }] };
@@ -13327,7 +13290,7 @@ function registerWorkflowTool(server) {
13327
13290
  getWorkflowInstance,
13328
13291
  listWorkflowInstances,
13329
13292
  approveWorkflowStep
13330
- } = await import("./workflow-engine-FCOOI5M6.js");
13293
+ } = await import("./workflow-engine-S5JOE2YR.js");
13331
13294
  try {
13332
13295
  switch (input.action) {
13333
13296
  case "create_workflow": {
@@ -13838,7 +13801,7 @@ If this is genuinely a new issue, retry with not_duplicate_of: [${unacknowledged
13838
13801
  const version = package_version === void 0 ? readPackageVersion() : sanitizeVersionField(package_version) ?? "unknown";
13839
13802
  let metricsSnapshot = "";
13840
13803
  try {
13841
- const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-ARGZU6KS.js");
13804
+ const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-2Z2BMMA5.js");
13842
13805
  const sinceIso = new Date(Date.now() - 60 * 60 * 1e3).toISOString();
13843
13806
  const metrics = await getOrchestrationMetrics({ sinceIso });
13844
13807
  if (metrics.totalEvents > 0) {
@@ -15041,7 +15004,7 @@ function registerCliParityTools(server) {
15041
15004
  const out = await runCommand("exe-os", ["cloud", "status"], 45e3);
15042
15005
  let healthSection = "";
15043
15006
  try {
15044
- const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-42MFLOEP.js");
15007
+ const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-XDFYFEOP.js");
15045
15008
  const h = await getRetrievalHealth2();
15046
15009
  const lines = [
15047
15010
  "",
@@ -15116,7 +15079,7 @@ function registerCodeContext(server) {
15116
15079
  const index = await buildCodeContextIndexAsync(opts);
15117
15080
  let graphExtract;
15118
15081
  try {
15119
- const { autoExtractGraphEntities } = await import("./graph-auto-extract-S7OIZXYP.js");
15082
+ const { autoExtractGraphEntities } = await import("./graph-auto-extract-PGUMEEQB.js");
15120
15083
  graphExtract = await autoExtractGraphEntities(index.projectRoot);
15121
15084
  } catch {
15122
15085
  }
@@ -16084,7 +16047,7 @@ function registerDiagnostics(server) {
16084
16047
  }
16085
16048
  }
16086
16049
  if (job === "tier3_archival") {
16087
- const { runTier3Archival } = await import("./memory-maintenance-5XIGUPYL.js");
16050
+ const { runTier3Archival } = await import("./memory-maintenance-RR5UPRW3.js");
16088
16051
  const result3 = await runTier3Archival();
16089
16052
  return {
16090
16053
  content: [{
@@ -16098,7 +16061,7 @@ function registerDiagnostics(server) {
16098
16061
  if (typeof memoryId !== "string" || !memoryId) {
16099
16062
  return { content: [{ type: "text", text: "supersession_hygiene requires memory_id." }], isError: true };
16100
16063
  }
16101
- const { runSupersessionHygieneSerialized } = await import("./memory-maintenance-5XIGUPYL.js");
16064
+ const { runSupersessionHygieneSerialized } = await import("./memory-maintenance-RR5UPRW3.js");
16102
16065
  await runSupersessionHygieneSerialized(memoryId);
16103
16066
  return {
16104
16067
  content: [{
@@ -16273,7 +16236,7 @@ async function handleReprojectWorktreeMemories(input) {
16273
16236
  const sessionScope = rawScope;
16274
16237
  try {
16275
16238
  const { getClient: getClient2 } = await import("./lib/database.js");
16276
- const { runReprojectWorktreeMemories, formatReprojectReport } = await import("./reproject-worktree-memories-PIXMJBHG.js");
16239
+ const { runReprojectWorktreeMemories, formatReprojectReport } = await import("./reproject-worktree-memories-DIULBEBD.js");
16277
16240
  const client = await getClient2();
16278
16241
  const result3 = await runReprojectWorktreeMemories(
16279
16242
  client,
@@ -16292,7 +16255,7 @@ async function handleReprojectWorktreeMemories(input) {
16292
16255
  }
16293
16256
  async function handleMemoryIsolation(input) {
16294
16257
  try {
16295
- const { queryMemoryIsolation, formatMemoryIsolationReport } = await import("./memory-isolation-TE4AOMQX.js");
16258
+ const { queryMemoryIsolation, formatMemoryIsolationReport } = await import("./memory-isolation-MFNT2ITE.js");
16296
16259
  const agentId = typeof input.agent_id === "string" ? input.agent_id : void 0;
16297
16260
  const allScopes = input.all_scopes === true;
16298
16261
  const sessionScope = typeof input.session_scope === "string" ? input.session_scope : void 0;
@@ -16322,7 +16285,7 @@ ${report.lastOutcomes.map((o) => ` [${new Date(o.settledAt).toISOString()}] ${o
16322
16285
  }
16323
16286
  async function handleSpawnFailures() {
16324
16287
  try {
16325
- const { getOrchestrationMetrics } = await import("./orchestration-events-ARGZU6KS.js");
16288
+ const { getOrchestrationMetrics } = await import("./orchestration-events-2Z2BMMA5.js");
16326
16289
  const metrics = await getOrchestrationMetrics();
16327
16290
  const c = metrics.counts;
16328
16291
  const attempted = c.tmuxSpawnAttempted;
@@ -16424,7 +16387,7 @@ async function handleOrchestrationHealth() {
16424
16387
  async function handleWorkMap() {
16425
16388
  try {
16426
16389
  const { getAgentLivenessReport } = await import("./agent-heartbeat-GUVUUQVM.js");
16427
- const { classifyRole } = await import("./session-kill-telemetry-ZOSAIYU2.js");
16390
+ const { classifyRole } = await import("./session-kill-telemetry-RUTEARJ3.js");
16428
16391
  const { buildSessionDeathSummary } = await import("./orchestration-health-read-EJWVUARG.js");
16429
16392
  const { getPaneCwd } = await import("./lib/tmux-status.js");
16430
16393
  const live = getAgentLivenessReport();
@@ -16494,7 +16457,7 @@ async function handleWorkMap() {
16494
16457
  async function handleWorkState(input) {
16495
16458
  try {
16496
16459
  const { getClient: getClient2 } = await import("./lib/database.js");
16497
- const { readWorkState, listWorkStates } = await import("./work-state-heartbeat-GAIQ7M73.js");
16460
+ const { readWorkState, listWorkStates } = await import("./work-state-heartbeat-7IA2DZ2E.js");
16498
16461
  const client = await getClient2();
16499
16462
  const sessionScope = typeof input.session_scope === "string" ? input.session_scope.trim() : "";
16500
16463
  if (sessionScope) {
@@ -16596,7 +16559,7 @@ async function handleDrift(input) {
16596
16559
  }
16597
16560
  async function handleSteward(action, input) {
16598
16561
  const gate = new StewardGate();
16599
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-2ELFTYNT.js");
16562
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YCLS7GB.js");
16600
16563
  const inputAgent = input.agent_id;
16601
16564
  const operation = input.operation;
16602
16565
  const target = input.target;
@@ -16894,7 +16857,7 @@ function registerResonance(server) {
16894
16857
  }
16895
16858
  }, async ({ action, memory_id, entity_id, limit }) => {
16896
16859
  try {
16897
- const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-V5XXR327.js");
16860
+ const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-SRE6DIRX.js");
16898
16861
  if (action === "hot_pairs") {
16899
16862
  const pairs = await getHotPairs(limit ?? 20);
16900
16863
  if (pairs.length === 0) return text4("No co-activation data yet. Pairs are recorded as memories are accessed together in searches.");
@@ -17958,7 +17921,7 @@ var OrgAssignmentEpochError = class extends OrgAssignmentError {
17958
17921
  };
17959
17922
  async function heldOrgKeyEpoch(orgId) {
17960
17923
  try {
17961
- const mod = await import("./org-key-pin-GLQEU3P3.js");
17924
+ const mod = await import("./org-key-pin-FE6YHEZ3.js");
17962
17925
  const fn = mod.pinnedOrgKeyEpochs;
17963
17926
  if (typeof fn === "function") {
17964
17927
  const epochs = fn(orgId);