@askexenow/exe-os 0.9.404 → 0.9.406

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/dist/.dist-verified.json +3 -3
  2. package/dist/{active-agent-KZFLZ4B6.js → active-agent-5JIQN6GB.js} +4 -4
  3. package/dist/{active-agent-IU3D6Y5Z.js → active-agent-MYJ3CVEX.js} +4 -4
  4. package/dist/{agent-defs-generator-23FGUXVO.js → agent-defs-generator-RB7LTDQS.js} +3 -3
  5. package/dist/{agentic-ontology-7G44A5LE.js → agentic-ontology-AC52XJTV.js} +1 -1
  6. package/dist/{artifact-backup-GYNBR2I6.js → artifact-backup-YDLXSL6C.js} +3 -3
  7. package/dist/{backfill-metadata-QZND2XBD.js → backfill-metadata-RK66T6QF.js} +7 -7
  8. package/dist/{backup-verify-E5UQJ4E6.js → backup-verify-ONEYBKDI.js} +1 -1
  9. package/dist/{behavior-injection-FJFD735A.js → behavior-injection-M22KEP5B.js} +10 -10
  10. package/dist/{behavior-promotion-XNO53I4M.js → behavior-promotion-XRQLS5GT.js} +9 -9
  11. package/dist/{behaviors-F6KA2XNB.js → behaviors-Q2QVANNC.js} +8 -8
  12. package/dist/bin/agentic-ontology-backfill.js +8 -8
  13. package/dist/bin/agentic-reflection-backfill.js +9 -9
  14. package/dist/bin/agentic-semantic-label.js +8 -8
  15. package/dist/bin/backfill-conversations.js +7 -7
  16. package/dist/bin/backfill-responses.js +7 -7
  17. package/dist/bin/backfill-vectors.js +7 -7
  18. package/dist/bin/bulk-sync-postgres.js +16 -16
  19. package/dist/bin/cc-doctor.js +9 -9
  20. package/dist/bin/cleanup-stale-review-tasks.js +15 -15
  21. package/dist/bin/cli.js +24 -24
  22. package/dist/bin/deferred-daemon-restart.js +95 -95
  23. package/dist/bin/exe-actions.js +2 -2
  24. package/dist/bin/exe-agent-config.js +3 -3
  25. package/dist/bin/exe-agent.js +8 -8
  26. package/dist/bin/exe-assign.js +8 -8
  27. package/dist/bin/exe-boot.js +42 -66
  28. package/dist/bin/exe-call.js +8 -8
  29. package/dist/bin/exe-cloud.js +17 -17
  30. package/dist/bin/exe-config-dump.js +3 -3
  31. package/dist/bin/exe-dispatch.js +16 -16
  32. package/dist/bin/exe-doctor.js +5 -5
  33. package/dist/bin/exe-export-behaviors.js +12 -12
  34. package/dist/bin/exe-forget.js +10 -10
  35. package/dist/bin/exe-gateway.js +9 -9
  36. package/dist/bin/exe-grant.js +6 -6
  37. package/dist/bin/exe-healthcheck.js +9 -9
  38. package/dist/bin/exe-heartbeat.js +21 -21
  39. package/dist/bin/exe-kill.js +20 -20
  40. package/dist/bin/exe-launch-agent.js +28 -28
  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 +16 -16
  46. package/dist/bin/exe-pending-notifications.js +15 -15
  47. package/dist/bin/exe-pending-reviews.js +16 -16
  48. package/dist/bin/exe-rename.js +6 -6
  49. package/dist/bin/exe-review.js +19 -19
  50. package/dist/bin/exe-search.js +9 -9
  51. package/dist/bin/exe-session-cleanup.js +20 -20
  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 +17 -17
  56. package/dist/bin/exe-support.js +4 -4
  57. package/dist/bin/exe-team.js +5 -5
  58. package/dist/bin/git-sweep.js +16 -16
  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 +16 -16
  73. package/dist/bin/setup.js +2 -2
  74. package/dist/bin/shard-migrate.js +8 -8
  75. package/dist/bin/stack-update.js +48 -4
  76. package/dist/bin/vps-health-gate.js +1 -1
  77. package/dist/{boot-generation-2LMBR7S7.js → boot-generation-FB6U3ZDB.js} +4 -4
  78. package/dist/{boot-review-sections-P4J6LGFF.js → boot-review-sections-K3HZJFH4.js} +14 -14
  79. package/dist/{bug-landed-reconciler-54HRLSOX.js → bug-landed-reconciler-RVYPA5Y4.js} +7 -7
  80. package/dist/build-info.json +3 -3
  81. package/dist/build-manifest.json +923 -923
  82. package/dist/{capability-cards-VKEXD3BA.js → capability-cards-OUL45JJW.js} +3 -3
  83. package/dist/{capacity-monitor-DIX6TOWZ.js → capacity-monitor-7HHLY4XX.js} +16 -16
  84. package/dist/{catchup-brief-O3RVR73X.js → catchup-brief-4JLWTOPY.js} +21 -21
  85. package/dist/{chunk-PQVIARTA.js → chunk-2UBFOG42.js} +1 -1
  86. package/dist/{chunk-APOS4EIO.js → chunk-3FABC43I.js} +3 -3
  87. package/dist/{chunk-GLMR5PRH.js → chunk-3PXAL7SI.js} +2 -2
  88. package/dist/{chunk-YPMI6DNO.js → chunk-43XJUDVV.js} +2 -2
  89. package/dist/{chunk-UO766M5I.js → chunk-4HZ5VOZV.js} +1 -1
  90. package/dist/{chunk-6XH6ETY6.js → chunk-4KATSIL7.js} +1 -1
  91. package/dist/{chunk-EOIHESMU.js → chunk-4NL6CY5X.js} +1 -1
  92. package/dist/{chunk-YGE6OCHC.js → chunk-5257RRLD.js} +4 -4
  93. package/dist/{chunk-NG22OOND.js → chunk-53ZJ5W2Z.js} +2 -2
  94. package/dist/{chunk-GAUPRBOT.js → chunk-5MSTJROJ.js} +1 -1
  95. package/dist/{chunk-DQUGV7TQ.js → chunk-5N4BSS3J.js} +1 -1
  96. package/dist/{chunk-S4M2AHSM.js → chunk-5ZHP3WQM.js} +16 -3
  97. package/dist/{chunk-AQPS7W6G.js → chunk-677RDE4X.js} +11 -11
  98. package/dist/{chunk-KPJYEYGL.js → chunk-6EWNC6XW.js} +10 -10
  99. package/dist/{chunk-FBGQXSBL.js → chunk-6FD36QSP.js} +6 -6
  100. package/dist/chunk-6QBBJJK2.js +52 -0
  101. package/dist/{chunk-TFUWNX5F.js → chunk-6U7T4IIX.js} +1 -1
  102. package/dist/{chunk-QGTP2A7P.js → chunk-74MU2R73.js} +1 -1
  103. package/dist/{chunk-KRNF2TTT.js → chunk-7A3N2XWF.js} +4 -4
  104. package/dist/{chunk-ZXMNWYAU.js → chunk-7RMVD2NO.js} +3 -3
  105. package/dist/{chunk-Y3CXCRCP.js → chunk-A2BKB5UO.js} +1 -1
  106. package/dist/{chunk-3ACGTDYH.js → chunk-A4PBEANG.js} +1 -1
  107. package/dist/{chunk-S4SSKW2Q.js → chunk-A6KO4CQG.js} +3 -3
  108. package/dist/{chunk-MXEEMTCV.js → chunk-A6VEQ6S4.js} +16 -16
  109. package/dist/{chunk-3HDUO5XG.js → chunk-AEQGEUWL.js} +2 -2
  110. package/dist/{chunk-L3L4KCBJ.js → chunk-B6O2B4JY.js} +2 -2
  111. package/dist/{chunk-FVEAYEMK.js → chunk-BAITBKRT.js} +3 -3
  112. package/dist/{chunk-WH2TTW4G.js → chunk-BJJLXP6P.js} +3 -3
  113. package/dist/{chunk-ZM22ANTG.js → chunk-C4IHTLDE.js} +74 -3
  114. package/dist/{chunk-ZG3ZXYKX.js → chunk-C6O7VUD5.js} +3 -3
  115. package/dist/{chunk-SI7JLNKV.js → chunk-CHD3GX2O.js} +1 -1
  116. package/dist/{chunk-QEGSRMGV.js → chunk-D32PLDKS.js} +1 -1
  117. package/dist/{chunk-UXSLCTCQ.js → chunk-D3NEPZOO.js} +1 -1
  118. package/dist/{chunk-TCGYYUDX.js → chunk-D5U45AMN.js} +2 -2
  119. package/dist/{chunk-3RQHJYRK.js → chunk-DLA4S5CY.js} +2 -2
  120. package/dist/{chunk-LRRPSQ25.js → chunk-DPILHOZN.js} +27 -4
  121. package/dist/{chunk-SHGAH24B.js → chunk-DZLT22F7.js} +1 -1
  122. package/dist/{chunk-MMQH7AM7.js → chunk-EN3H4DWX.js} +1 -1
  123. package/dist/{chunk-QILKDHJ7.js → chunk-ESSGNQHO.js} +2 -2
  124. package/dist/{chunk-AAAJKHJM.js → chunk-EUH53QWR.js} +5 -5
  125. package/dist/{chunk-GS2I4OUQ.js → chunk-FCID5OMM.js} +4 -4
  126. package/dist/{chunk-AZIJQ6IM.js → chunk-FDV4DHQ5.js} +77 -12
  127. package/dist/{chunk-NXBLILKG.js → chunk-FESBRXIP.js} +1 -1
  128. package/dist/{chunk-B42HMZSQ.js → chunk-FIEIIIPY.js} +1 -1
  129. package/dist/{chunk-HMOB3FPD.js → chunk-FJQXTJM4.js} +2 -2
  130. package/dist/{chunk-76HWKZMH.js → chunk-FKQ4GMYK.js} +3 -3
  131. package/dist/{chunk-VWSJP5PY.js → chunk-FT4CZ3PI.js} +9 -9
  132. package/dist/{chunk-YWH7XWOX.js → chunk-FTAMGND3.js} +4 -4
  133. package/dist/{chunk-2JZPWAV4.js → chunk-GANFX7WU.js} +12 -12
  134. package/dist/{chunk-XRPN4YJ3.js → chunk-H73GBPE5.js} +4 -4
  135. package/dist/{chunk-7UXI2DMI.js → chunk-HA6XZEL3.js} +10 -10
  136. package/dist/{chunk-SD5PWIUP.js → chunk-I6ME7BYI.js} +1 -1
  137. package/dist/{chunk-V5MPJSWQ.js → chunk-IB6SJ4QD.js} +1 -1
  138. package/dist/{chunk-X44QG7ES.js → chunk-IFLU3FI5.js} +1 -1
  139. package/dist/{chunk-OJPN3XEN.js → chunk-IJKQSNAX.js} +1 -1
  140. package/dist/{chunk-YNBQSYY5.js → chunk-J4HTHYKE.js} +5 -5
  141. package/dist/{chunk-YWMAGQ6C.js → chunk-J5NUUELQ.js} +3 -3
  142. package/dist/{chunk-LGZUV4MY.js → chunk-JH26IU65.js} +4 -4
  143. package/dist/{chunk-HC7GQZLN.js → chunk-JIIG7QSB.js} +5 -5
  144. package/dist/{chunk-Z7DIOYLS.js → chunk-JXSHM7K4.js} +3 -3
  145. package/dist/{chunk-YROE2BJ6.js → chunk-KEMC5T6C.js} +2 -2
  146. package/dist/{chunk-ID3KTUXS.js → chunk-KLGMX5R3.js} +2 -2
  147. package/dist/{chunk-Y2OSYQCG.js → chunk-KQXOXGHP.js} +1 -1
  148. package/dist/{chunk-DLJSC6YA.js → chunk-KUHIE54S.js} +1 -1
  149. package/dist/{chunk-DLATN3UV.js → chunk-KV5UFP24.js} +1 -1
  150. package/dist/{chunk-4XFVEIPV.js → chunk-KWKITPBK.js} +63 -10
  151. package/dist/{chunk-UAKAKWWJ.js → chunk-LAFZ25DO.js} +1 -1
  152. package/dist/{chunk-BPNPJVYP.js → chunk-LTM5GWMW.js} +1 -1
  153. package/dist/{chunk-DTNA2PBW.js → chunk-NSZ7RWD3.js} +6 -6
  154. package/dist/{chunk-KPCUD5A3.js → chunk-OBLOLEZ6.js} +1 -1
  155. package/dist/{chunk-DPS33ERV.js → chunk-ODUVD7RI.js} +2 -2
  156. package/dist/{chunk-KOAWUIG6.js → chunk-OHMUUD3K.js} +5 -5
  157. package/dist/{chunk-JP6GZTZA.js → chunk-OIGUGV2C.js} +1 -1
  158. package/dist/{chunk-W76IFXGP.js → chunk-OV7JDJBL.js} +1 -1
  159. package/dist/{chunk-3AWX2CAI.js → chunk-P5QQOJAW.js} +1 -1
  160. package/dist/{chunk-2M5IU5MA.js → chunk-PIBZH7S4.js} +1 -1
  161. package/dist/{chunk-OV5RG5UT.js → chunk-PIXC2M3O.js} +1 -1
  162. package/dist/{chunk-DFV4KVU7.js → chunk-PV3WSAGF.js} +1 -1
  163. package/dist/{chunk-35XHS5ZL.js → chunk-Q3VC6G5E.js} +2 -2
  164. package/dist/{chunk-5I3BXKOK.js → chunk-Q73HP7GH.js} +11 -14
  165. package/dist/{chunk-LGTGY32U.js → chunk-QMO6YNCU.js} +4 -4
  166. package/dist/{chunk-2NNTKVDN.js → chunk-RDM2HYIR.js} +1 -1
  167. package/dist/{chunk-XB5G7WB3.js → chunk-RRCKPDTV.js} +2 -2
  168. package/dist/{chunk-DEQJVVAU.js → chunk-S3N57VU5.js} +1 -1
  169. package/dist/{chunk-K7D2HVUI.js → chunk-S3XL3DVG.js} +7 -7
  170. package/dist/{chunk-MRQIIVHK.js → chunk-SBBZT6OK.js} +1 -1
  171. package/dist/{chunk-6AJXDRAH.js → chunk-SFIZPXHU.js} +153 -153
  172. package/dist/{chunk-ZB3ZSZSY.js → chunk-SNEWGOIL.js} +2 -2
  173. package/dist/{chunk-ZHHGFNTZ.js → chunk-SYFE7PBI.js} +1 -1
  174. package/dist/{chunk-H6ET4UWS.js → chunk-SYSBIUAD.js} +4 -4
  175. package/dist/{chunk-CKG3O7XJ.js → chunk-TBIX4ERL.js} +3 -3
  176. package/dist/{chunk-VHKJIGNR.js → chunk-TCRT3GJN.js} +1 -1
  177. package/dist/{chunk-F546SXKC.js → chunk-THMMMWIT.js} +66 -18
  178. package/dist/{chunk-6JZPYITB.js → chunk-TYJYN5DX.js} +54 -23
  179. package/dist/{chunk-LZGYRZAP.js → chunk-U4CTD42V.js} +4 -4
  180. package/dist/{chunk-JUJIKD6I.js → chunk-UFILLAHW.js} +3 -3
  181. package/dist/{chunk-R2X6IQAD.js → chunk-UJJQUE7X.js} +1 -1
  182. package/dist/{chunk-4BSOTASL.js → chunk-UXSSR6U2.js} +2 -2
  183. package/dist/{chunk-A2TRWGTX.js → chunk-VAHKFS5I.js} +3 -3
  184. package/dist/{chunk-FKMNMSZE.js → chunk-VKED33OL.js} +1 -1
  185. package/dist/{chunk-Z4FVCXQN.js → chunk-VQQKK6IL.js} +2 -2
  186. package/dist/{chunk-QADGKJAC.js → chunk-VQSOZ2JM.js} +3 -3
  187. package/dist/{chunk-T56CQURA.js → chunk-VXJKM2M6.js} +1 -1
  188. package/dist/{chunk-A5TICGUL.js → chunk-W3JCC2ZE.js} +2 -2
  189. package/dist/{chunk-HVT6NOTO.js → chunk-WGO5PFRU.js} +4 -4
  190. package/dist/{chunk-GER43BIE.js → chunk-X4V5ZLNX.js} +1 -1
  191. package/dist/{chunk-LCC7SS6F.js → chunk-X4XUAFT3.js} +1 -1
  192. package/dist/{chunk-3OFIIUGD.js → chunk-X6HFXBXA.js} +3 -3
  193. package/dist/{chunk-LZX43KPR.js → chunk-XAQ5WDM4.js} +1 -1
  194. package/dist/{chunk-3CQ3RGCQ.js → chunk-XFDP5OK7.js} +7 -13
  195. package/dist/{chunk-OAYFVKNM.js → chunk-XPRLWIKS.js} +1 -1
  196. package/dist/{chunk-MKO45WBR.js → chunk-XT3F5L5L.js} +1 -1
  197. package/dist/{chunk-FNWXPIP4.js → chunk-XYFYLJK4.js} +5 -5
  198. package/dist/{chunk-XIMUZQJT.js → chunk-YANA5YZH.js} +2 -2
  199. package/dist/{chunk-56XINHPT.js → chunk-YCYGRLHE.js} +21 -21
  200. package/dist/{chunk-BU4NQU5R.js → chunk-YYBQTE3P.js} +1 -1
  201. package/dist/{chunk-3L5B655Z.js → chunk-Z3BCVTLH.js} +3 -3
  202. package/dist/{chunk-B4LS4IPJ.js → chunk-ZHGZFAAE.js} +1 -1
  203. package/dist/{cleanup-graph-garbage-3LT5R5VO.js → cleanup-graph-garbage-QVCMDX4X.js} +8 -8
  204. package/dist/{cli-shutdown-M7SEMYVZ.js → cli-shutdown-2STX7C6U.js} +1 -1
  205. package/dist/{cloud-sync-command-YZYG22F7.js → cloud-sync-command-WOYWGWFS.js} +2 -2
  206. package/dist/{cloud-sync-db-init-3VYFHYEG.js → cloud-sync-db-init-WEG2IBE7.js} +1 -1
  207. package/dist/{cloud-sync-shutdown-A4EIAFXO.js → cloud-sync-shutdown-5LJYUQP3.js} +3 -3
  208. package/dist/{co-activation-DGPZOQNM.js → co-activation-4BWRREHO.js} +3 -3
  209. package/dist/{co-occurrence-XQZZCRWV.js → co-occurrence-4BP7PVIF.js} +6 -6
  210. package/dist/{consent-passphrase-XTAQJIKQ.js → consent-passphrase-5R2LBB4X.js} +2 -2
  211. package/dist/{conversation-entity-extractor-4PIYOIG5.js → conversation-entity-extractor-HWDSQ45L.js} +3 -3
  212. package/dist/{crdt-sync-ZLD5EI2T.js → crdt-sync-GI66E67X.js} +4 -4
  213. package/dist/{crm-webhook-7FG7XJIG.js → crm-webhook-F36P7YOX.js} +2 -2
  214. package/dist/{cto-delegation-gate-QCFAZHKI.js → cto-delegation-gate-3DMSJZTU.js} +14 -14
  215. package/dist/{daemon-orchestration-K5RWVZA6.js → daemon-orchestration-ABZB6IPA.js} +20 -20
  216. package/dist/{doc-graph-extractor-IJHGWTTK.js → doc-graph-extractor-4DW66AFC.js} +6 -6
  217. package/dist/{documents-CND4LHQK.js → documents-OA4G4UNX.js} +8 -8
  218. package/dist/{dreaming-CM26M46X.js → dreaming-BRLFTEM4.js} +19 -19
  219. package/dist/{employee-boot-brief-Q5QAW5ET.js → employee-boot-brief-SO3V2MDJ.js} +23 -23
  220. package/dist/{entity-boost-EIE76PER.js → entity-boost-DF523VNR.js} +1 -1
  221. package/dist/{exe-drift-HZXHPQRX.js → exe-drift-F7FYFOVC.js} +4 -4
  222. package/dist/{exe-export-KZRXDR6W.js → exe-export-MWB6A4IE.js} +9 -9
  223. package/dist/{exe-import-QRELY26K.js → exe-import-SSSOGJTF.js} +9 -9
  224. package/dist/{exe-key-ZKVULIWX.js → exe-key-3QR23TY7.js} +95 -95
  225. package/dist/{exe-org-I3H5H5VL.js → exe-org-XCCDXOLP.js} +32 -32
  226. package/dist/{exe-snapshot-VUXHUEAC.js → exe-snapshot-4NF23NSE.js} +22 -22
  227. package/dist/{fast-db-init-NGVQV5J2.js → fast-db-init-YINIEX4A.js} +1 -1
  228. package/dist/{founder-context-3QW7IIRX.js → founder-context-JJQQYKBG.js} +2 -2
  229. package/dist/{founder-monitor-envelope-56PUEATO.js → founder-monitor-envelope-75PYPUTI.js} +4 -4
  230. package/dist/gateway/index.js +11 -11
  231. package/dist/{gateway-client-KFW7FKSO.js → gateway-client-OTIBLEOY.js} +1 -1
  232. package/dist/{git-staleness-QZM6S6ZB.js → git-staleness-GAJ27JNB.js} +3 -3
  233. package/dist/{global-procedures-NJ7UXIBT.js → global-procedures-M4K6TISF.js} +5 -5
  234. package/dist/{graph-auto-extract-YKCCVXN2.js → graph-auto-extract-CCWHW476.js} +6 -6
  235. package/dist/{graph-query-A7JYKBHM.js → graph-query-ERYJBETT.js} +1 -1
  236. package/dist/{graph-rag-4HCOSELM.js → graph-rag-G3LFABSR.js} +3 -3
  237. package/dist/{hook-integrity-PE3ZR6PD.js → hook-integrity-JGFLQMAL.js} +1 -1
  238. package/dist/{hook-prefetch-MEABRYQ3.js → hook-prefetch-IMZLCAYH.js} +15 -15
  239. package/dist/hooks/bug-report-worker.js +19 -19
  240. package/dist/hooks/codex-stop-task-finalizer.js +21 -21
  241. package/dist/hooks/commit-complete.js +18 -18
  242. package/dist/hooks/error-recall.js +11 -11
  243. package/dist/hooks/exe-heartbeat-hook.js +5 -5
  244. package/dist/hooks/ingest-worker.js +7 -7
  245. package/dist/hooks/ingest.js +13 -13
  246. package/dist/hooks/instructions-loaded.js +7 -7
  247. package/dist/hooks/manifest.json +20 -20
  248. package/dist/hooks/notification.js +6 -6
  249. package/dist/hooks/post-compact.js +5 -5
  250. package/dist/hooks/post-tool-combined.js +13 -13
  251. package/dist/hooks/pre-compact.js +18 -18
  252. package/dist/hooks/pre-tool-use.js +2 -2
  253. package/dist/hooks/prompt-submit.js +36 -36
  254. package/dist/hooks/session-end.js +23 -23
  255. package/dist/hooks/session-start.js +18 -18
  256. package/dist/hooks/stop.js +21 -21
  257. package/dist/hooks/subagent-stop.js +20 -20
  258. package/dist/hooks/summary-worker.js +22 -22
  259. package/dist/index.js +26 -26
  260. package/dist/{installer-EB5YC2DW.js → installer-TT3NRZTD.js} +7 -7
  261. package/dist/{installer-UMC6ZHE4.js → installer-XOTUHJA4.js} +7 -7
  262. package/dist/{installer-CHKYUF4F.js → installer-YQC773R7.js} +7 -7
  263. package/dist/{intercom-queue-Y2XUK4NR.js → intercom-queue-QM2G56TK.js} +14 -14
  264. package/dist/lib/cloud-sync.js +16 -16
  265. package/dist/lib/consolidation.js +9 -9
  266. package/dist/lib/crypto.js +3 -3
  267. package/dist/lib/database.js +3 -3
  268. package/dist/lib/db-backup.js +1 -1
  269. package/dist/lib/db-write-worker.js +3 -3
  270. package/dist/lib/db.js +3 -3
  271. package/dist/lib/device-registry.js +1 -1
  272. package/dist/lib/employee-templates.js +6 -6
  273. package/dist/lib/employees.js +3 -3
  274. package/dist/lib/exe-daemon.js +87 -87
  275. package/dist/lib/hybrid-search.js +9 -9
  276. package/dist/lib/identity.js +3 -3
  277. package/dist/lib/keychain.js +1 -1
  278. package/dist/lib/license.js +2 -2
  279. package/dist/lib/messaging.js +15 -15
  280. package/dist/lib/post-tool-memory.js +5 -5
  281. package/dist/lib/registry-proxy.js +1 -1
  282. package/dist/lib/reminders.js +4 -4
  283. package/dist/lib/schedules.js +8 -8
  284. package/dist/lib/session-registry.js +5 -5
  285. package/dist/lib/skill-learning.js +9 -9
  286. package/dist/lib/store.js +7 -7
  287. package/dist/lib/task-router.js +4 -4
  288. package/dist/lib/tasks.js +16 -16
  289. package/dist/lib/tmux-routing.js +14 -14
  290. package/dist/lib/token-spend.js +4 -4
  291. package/dist/lib/ws-client.js +1 -1
  292. package/dist/{license-gate-OZ7QAPSR.js → license-gate-XTWXZ7N5.js} +3 -3
  293. package/dist/{license-recheck-KM7YKZQA.js → license-recheck-GKN7U5RL.js} +1 -1
  294. package/dist/{license-sync-ZBDH7W22.js → license-sync-FGA4BTZY.js} +31 -18
  295. package/dist/{maintenance-worker-HGOCITGW.js → maintenance-worker-OY2E4BM5.js} +3 -1
  296. package/dist/mcp/register-tools.js +94 -94
  297. package/dist/mcp/server.js +94 -94
  298. package/dist/mcp/tools/complete-reminder.js +5 -5
  299. package/dist/mcp/tools/create-reminder.js +5 -5
  300. package/dist/mcp/tools/create-task.js +18 -18
  301. package/dist/mcp/tools/deactivate-behavior.js +10 -10
  302. package/dist/mcp/tools/list-reminders.js +5 -5
  303. package/dist/mcp/tools/list-tasks.js +18 -18
  304. package/dist/mcp/tools/send-message.js +17 -17
  305. package/dist/mcp/tools/update-task.js +17 -17
  306. package/dist/{mcp-http-config-EZVN4MTJ.js → mcp-http-config-ZQGVSMZJ.js} +5 -5
  307. package/dist/{mcp-session-identity-JFVK5KWI.js → mcp-session-identity-6KL7ZQ7W.js} +14 -14
  308. package/dist/{memory-cards-DR6VSUXF.js → memory-cards-THYXT7PF.js} +7 -7
  309. package/dist/{memory-graph-extractor-T4IT4I65.js → memory-graph-extractor-U5LOICH5.js} +7 -7
  310. package/dist/{memory-maintenance-ROT5N576.js → memory-maintenance-FJFBA67C.js} +1 -1
  311. package/dist/{memory-poisoning-defense-WL4GVB6K.js → memory-poisoning-defense-WEX53U5V.js} +3 -3
  312. package/dist/{memory-pressure-watchdog-IHLTVILV.js → memory-pressure-watchdog-3Z37OZJ5.js} +15 -15
  313. package/dist/{memory-reflection-SR657DTL.js → memory-reflection-J7X4WDV4.js} +7 -7
  314. package/dist/{memory-write-repository-RWFVCHEL.js → memory-write-repository-VPFGW22S.js} +1 -1
  315. package/dist/{monitor-grants-F7WGLWA6.js → monitor-grants-SFA3RDSG.js} +3 -3
  316. package/dist/{monitor-identity-7PRT4U2X.js → monitor-identity-76DZFVOA.js} +2 -2
  317. package/dist/{notification-ledger-QMQ5OU65.js → notification-ledger-QOLF6XSM.js} +15 -15
  318. package/dist/{notifications-WJY5SFDV.js → notifications-6CSSHZZ5.js} +14 -14
  319. package/dist/{orchestration-events-CV72DYKD.js → orchestration-events-MYAH33OA.js} +4 -4
  320. package/dist/{orchestrator-HVNMWEKQ.js → orchestrator-IQ3HVRHF.js} +16 -16
  321. package/dist/{org-brief-session-XABQAU5S.js → org-brief-session-UBD5P6FH.js} +15 -15
  322. package/dist/{org-consent-policy-QQYN2HFH.js → org-consent-policy-5Y462M3V.js} +5 -5
  323. package/dist/{org-join-VQMMOCQF.js → org-join-YHPHPWUW.js} +9 -9
  324. package/dist/{org-key-admin-WNSGDXLU.js → org-key-admin-PXDFHD2Z.js} +11 -11
  325. package/dist/{org-key-epoch-VVF3BSM3.js → org-key-epoch-XRXPE7JK.js} +5 -5
  326. package/dist/{org-key-pin-HMB7WW73.js → org-key-pin-AEMOXFNQ.js} +3 -3
  327. package/dist/{org-membership-4U6YMOWQ.js → org-membership-B5DHLORV.js} +4 -4
  328. package/dist/{org-partner-config-L63KMLYM.js → org-partner-config-6LJINCWE.js} +8 -8
  329. package/dist/{org-partner-runtime-MBP7JUAM.js → org-partner-runtime-SEKPX7WK.js} +15 -15
  330. package/dist/{org-row-visibility-BYV2V764.js → org-row-visibility-XRKYMHRQ.js} +1 -1
  331. package/dist/{pipeline-router-5U5QC4KJ.js → pipeline-router-MMIZV3VN.js} +4 -4
  332. package/dist/{plan-limits-XB5F7LLD.js → plan-limits-HMYS47XR.js} +6 -6
  333. package/dist/{pre-tool-use-impl-62MDMGZA.js → pre-tool-use-impl-WM72TWPK.js} +33 -33
  334. package/dist/{project-name-FUSV5KYR.js → project-name-XQAUIF62.js} +4 -4
  335. package/dist/{projection-worker-WP35CX6N.js → projection-worker-C7JB275O.js} +2 -2
  336. package/dist/{prospective-memory-KDW7MLF6.js → prospective-memory-7SATMR4N.js} +3 -3
  337. package/dist/{push-notifications-OMJABEMF.js → push-notifications-N2T3K22I.js} +15 -15
  338. package/dist/{reproject-worktree-memories-NJ235TUP.js → reproject-worktree-memories-BHR74CMS.js} +14 -14
  339. package/dist/{reranker-WJ5L6IGK.js → reranker-42H3LT2F.js} +1 -1
  340. package/dist/{retrieval-health-DDJQFV4A.js → retrieval-health-B766HXPP.js} +1 -1
  341. package/dist/{review-polling-5XYUDU77.js → review-polling-C57DWX5P.js} +15 -15
  342. package/dist/runtime/index.js +18 -18
  343. package/dist/{runtime-drift-3MIEG6H7.js → runtime-drift-KJCKI5MM.js} +7 -1
  344. package/dist/{session-events-54MSRNRE.js → session-events-Q3MURKRZ.js} +15 -15
  345. package/dist/{session-kill-telemetry-WXINI7UW.js → session-kill-telemetry-M6BW2C4N.js} +15 -15
  346. package/dist/{session-scope-Z6UWY4NL.js → session-scope-7H2XKXFL.js} +14 -14
  347. package/dist/{setup-wizard-DND3EEIN.js → setup-wizard-4JUO5KAF.js} +2 -2
  348. package/dist/{shard-manager-TKAQSRYN.js → shard-manager-ITVBXLXP.js} +2 -2
  349. package/dist/{skill-refinement-NKMYHUPK.js → skill-refinement-ROADILWZ.js} +4 -4
  350. package/dist/{skill-retrieval-5DU6G5AT.js → skill-retrieval-EE65WM3M.js} +11 -11
  351. package/dist/{skill-usage-YDCLNH63.js → skill-usage-R52I63JV.js} +4 -4
  352. package/dist/{stack-generate-manifest-WGOICIAB.js → stack-generate-manifest-QN4SKHTA.js} +4 -4
  353. package/dist/{stack-promote-F42CIN3Z.js → stack-promote-T6XUINC6.js} +4 -4
  354. package/dist/{stack-release-35E3D6R7.js → stack-release-DEF75KNS.js} +5 -5
  355. package/dist/{stack-update-V64H2645.js → stack-update-EDZ3ZLWW.js} +3 -3
  356. package/dist/{steward-gate-AICO7WO2.js → steward-gate-CWMGZF67.js} +4 -4
  357. package/dist/{subagent-brief-injection-XG557M5A.js → subagent-brief-injection-CGRXOWDL.js} +25 -25
  358. package/dist/{support-bug-actions-LBFOCVHF.js → support-bug-actions-5FCE37YB.js} +6 -5
  359. package/dist/{support-inbox-ZXPG2M36.js → support-inbox-J2RCHX6U.js} +13 -13
  360. package/dist/{task-enforcement-ZYN67NIM.js → task-enforcement-NYY2TDUR.js} +15 -15
  361. package/dist/{task-request-inbox-CJF4XNSY.js → task-request-inbox-NSFRDP4C.js} +5 -5
  362. package/dist/{task-scope-M3GVO3IK.js → task-scope-WAV4UTN2.js} +14 -14
  363. package/dist/{tasks-crud-K55N5YNO.js → tasks-crud-5AHLPOSB.js} +14 -14
  364. package/dist/{tasks-notify-FM5PGZQ2.js → tasks-notify-XP35O635.js} +15 -15
  365. package/dist/{tasks-review-KUF6HEPS.js → tasks-review-DXLROW63.js} +14 -14
  366. package/dist/{telemetry-upload-G33XS2I6.js → telemetry-upload-DWZ5Z6TQ.js} +9 -9
  367. package/dist/{token-budget-AHFSPXIA.js → token-budget-QL4NFNYN.js} +4 -4
  368. package/dist/{tool-telemetry-2SAG4DCP.js → tool-telemetry-KA3HOES6.js} +1 -1
  369. package/dist/tui/App.js +24 -24
  370. package/dist/{tui-data-BZ2RM634.js → tui-data-CO3DYYQQ.js} +18 -18
  371. package/dist/{update-support-U44WRJEG.js → update-support-GHE2F6FN.js} +11 -11
  372. package/dist/{whatsapp-5OYLYPOW.js → whatsapp-RPUJ2GT3.js} +2 -2
  373. package/dist/{wiki-acl-B5CI5FVD.js → wiki-acl-MHNUVAKY.js} +1 -1
  374. package/dist/{work-claims-GY7TTKUA.js → work-claims-7SMD6OI3.js} +4 -4
  375. package/dist/{work-state-heartbeat-6ZG7YVYR.js → work-state-heartbeat-TE7D7FJE.js} +1 -1
  376. package/dist/{workflow-engine-AABOUOVF.js → workflow-engine-MMPUVGJM.js} +2 -2
  377. package/dist/{worktree-UFOTUXOL.js → worktree-5BTJQLQG.js} +5 -5
  378. package/dist/{worktree-ownership-guard-XEYU6M2R.js → worktree-ownership-guard-WEJF2C5E.js} +1 -1
  379. package/dist/{worktree-sweep-DUZQ7T5H.js → worktree-sweep-S3E7JI5D.js} +6 -6
  380. package/package.json +1 -1
  381. package/release-notes.json +26 -7
  382. package/stack.release.json +3 -3
  383. package/dist/chunk-2XZ6X3PJ.js +0 -13
  384. /package/dist/{chunk-KVZB65B5.js → chunk-25UCPYAO.js} +0 -0
  385. /package/dist/{chunk-BILTDY5P.js → chunk-7UVJJLKM.js} +0 -0
  386. /package/dist/{chunk-NEKVGGPF.js → chunk-CHVF45NI.js} +0 -0
  387. /package/dist/{chunk-Z4MWS4PP.js → chunk-DLPZ6AZR.js} +0 -0
  388. /package/dist/{chunk-DJKUA73M.js → chunk-LREL74MI.js} +0 -0
  389. /package/dist/{chunk-FNEUZBKI.js → chunk-LTSC277W.js} +0 -0
  390. /package/dist/{chunk-2KH6MZL5.js → chunk-MP7X55Z7.js} +0 -0
  391. /package/dist/{chunk-4RFLBGOW.js → chunk-PB3RGTSP.js} +0 -0
  392. /package/dist/{chunk-7WYV32ZH.js → chunk-PJ3GH3LQ.js} +0 -0
  393. /package/dist/{chunk-NOJUQ7YQ.js → chunk-RROBRYJS.js} +0 -0
  394. /package/dist/{chunk-NV7C4XKQ.js → chunk-SKDJL64O.js} +0 -0
  395. /package/dist/{chunk-I5GDELXL.js → chunk-T2H44FAA.js} +0 -0
  396. /package/dist/{chunk-2MRQBGTY.js → chunk-YVTYO7DV.js} +0 -0
  397. /package/dist/{core-memory-GUEI64AZ.js → core-memory-J6RGUKIN.js} +0 -0
  398. /package/dist/{memory-isolation-6DALQPS2.js → memory-isolation-XSRJXPKB.js} +0 -0
  399. /package/dist/{oauth-server-7VWBWDO5.js → oauth-server-27KOKK6B.js} +0 -0
  400. /package/dist/{project-boot-RSVYDIZF.js → project-boot-XCBTVD3P.js} +0 -0
@@ -4,14 +4,14 @@ import {
4
4
  } from "./chunk-EVMOKRBC.js";
5
5
  import {
6
6
  registerDaemonScopedQueryChokepoint
7
- } from "./chunk-DPS33ERV.js";
7
+ } from "./chunk-ODUVD7RI.js";
8
8
  import {
9
9
  orgPartnerModeActive,
10
10
  requireOrgPartnerBinding,
11
11
  resolveOrgPartnerBindings,
12
12
  resolvePartnerIdentities,
13
13
  rosterKeyLookupFor
14
- } from "./chunk-HC7GQZLN.js";
14
+ } from "./chunk-JIIG7QSB.js";
15
15
  import {
16
16
  createDerivedSeqStore,
17
17
  createMailboxOpener,
@@ -20,7 +20,7 @@ import {
20
20
  isConsentMacPrimed,
21
21
  primeTaskOriginMarkerKey,
22
22
  scopedQueryChokepointStatus
23
- } from "./chunk-6JZPYITB.js";
23
+ } from "./chunk-TYJYN5DX.js";
24
24
  import {
25
25
  flushMailboxOutbox
26
26
  } from "./chunk-3FGBBJYM.js";
@@ -7,7 +7,7 @@ import {
7
7
  supportProductSchema,
8
8
  supportTaskIdSchema,
9
9
  supportVersionSchema
10
- } from "./chunk-MMQH7AM7.js";
10
+ } from "./chunk-EN3H4DWX.js";
11
11
  import {
12
12
  queueSupportStatusUpdateSync
13
13
  } from "./chunk-USZHUBHT.js";
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  resolveSupportAdminToken,
26
26
  supportAdminHeaders
27
- } from "./chunk-2XZ6X3PJ.js";
27
+ } from "./chunk-6QBBJJK2.js";
28
28
  import {
29
29
  SUPPORT_PRODUCTS,
30
30
  describeUpstreamFailure,
@@ -37,11 +37,11 @@ import {
37
37
  } from "./chunk-T4IDLAZM.js";
38
38
  import {
39
39
  getActiveAgent
40
- } from "./chunk-LCC7SS6F.js";
40
+ } from "./chunk-X4XUAFT3.js";
41
41
  import {
42
42
  loadLicense,
43
43
  readCachedLicenseToken
44
- } from "./chunk-OAYFVKNM.js";
44
+ } from "./chunk-XPRLWIKS.js";
45
45
  import {
46
46
  EXE_AI_DIR,
47
47
  loadConfig
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  derivePartnerSealIdentity
3
- } from "./chunk-QILKDHJ7.js";
3
+ } from "./chunk-ESSGNQHO.js";
4
4
  import {
5
5
  pinMismatchReason,
6
6
  pinnedOrgKeyEpochs,
7
7
  readOrgKeyPin
8
- } from "./chunk-QEGSRMGV.js";
8
+ } from "./chunk-D32PLDKS.js";
9
9
  import {
10
10
  derivePartnerSignIdentity,
11
11
  displayFingerprint,
12
12
  signKeyFingerprint
13
- } from "./chunk-B42HMZSQ.js";
13
+ } from "./chunk-FIEIIIPY.js";
14
14
  import {
15
15
  orgMembershipPresent,
16
16
  readActiveOrgMemberships
17
- } from "./chunk-4XFVEIPV.js";
17
+ } from "./chunk-KWKITPBK.js";
18
18
  import {
19
19
  isValidX25519Recipient
20
- } from "./chunk-DLJSC6YA.js";
20
+ } from "./chunk-KUHIE54S.js";
21
21
 
22
22
  // src/lib/org-partner-config.ts
23
23
  function pickString(rec, ...keys) {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  resolveAuth,
3
3
  resolveEndpoint
4
- } from "./chunk-AAAJKHJM.js";
4
+ } from "./chunk-EUH53QWR.js";
5
5
  import {
6
6
  resolvePartnerIdentities
7
- } from "./chunk-HC7GQZLN.js";
7
+ } from "./chunk-JIIG7QSB.js";
8
8
  import {
9
9
  displayFingerprint,
10
10
  ed25519PrivateKeyFromSeed
11
- } from "./chunk-B42HMZSQ.js";
11
+ } from "./chunk-FIEIIIPY.js";
12
12
 
13
13
  // src/lib/org-member-key.ts
14
14
  import { createHash, sign } from "crypto";
@@ -4,10 +4,10 @@ import {
4
4
  } from "./chunk-IZWMWJZT.js";
5
5
  import {
6
6
  fastDbInit
7
- } from "./chunk-2MRQBGTY.js";
7
+ } from "./chunk-YVTYO7DV.js";
8
8
  import {
9
9
  getClient
10
- } from "./chunk-YWH7XWOX.js";
10
+ } from "./chunk-FTAMGND3.js";
11
11
 
12
12
  // src/lib/global-procedures.ts
13
13
  import { randomUUID } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveAgent
3
- } from "./chunk-LCC7SS6F.js";
3
+ } from "./chunk-X4XUAFT3.js";
4
4
  import {
5
5
  loadEmployeesSync
6
- } from "./chunk-YWH7XWOX.js";
6
+ } from "./chunk-FTAMGND3.js";
7
7
  import {
8
8
  resolveMcpHttpPort
9
9
  } from "./chunk-B6TI3TZT.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  recordOrchestrationEventBestEffort
3
- } from "./chunk-MKO45WBR.js";
3
+ } from "./chunk-XT3F5L5L.js";
4
4
  import {
5
5
  atomicWriteJsonSync
6
6
  } from "./chunk-HSGBZSCA.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getMasterKey
3
- } from "./chunk-ZHHGFNTZ.js";
3
+ } from "./chunk-SYFE7PBI.js";
4
4
 
5
5
  // src/lib/monitor-identity.ts
6
6
  import crypto from "crypto";
@@ -2,7 +2,7 @@ import {
2
2
  getClient,
3
3
  isCoordinatorName,
4
4
  loadEmployeesSync
5
- } from "./chunk-YWH7XWOX.js";
5
+ } from "./chunk-FTAMGND3.js";
6
6
 
7
7
  // src/lib/steward-gate.ts
8
8
  import crypto from "crypto";
@@ -2,13 +2,13 @@ import {
2
2
  grantsRegistryStatus,
3
3
  listGrants,
4
4
  revokeGrant
5
- } from "./chunk-6XH6ETY6.js";
5
+ } from "./chunk-4KATSIL7.js";
6
6
  import {
7
7
  resolveExeDataDir
8
8
  } from "./chunk-NPXIS2RY.js";
9
9
 
10
10
  // src/lib/org-membership.ts
11
- import { existsSync as existsSync2, readFileSync as readFileSync2, writeFileSync as writeFileSync2, mkdirSync, renameSync, rmSync as rmSync2 } from "fs";
11
+ import { readFileSync as readFileSync2, writeFileSync as writeFileSync2, mkdirSync, renameSync, rmSync as rmSync2, statSync as statSync2 } from "fs";
12
12
  import path2 from "path";
13
13
 
14
14
  // src/lib/org-mode-anchor.ts
@@ -206,6 +206,16 @@ function clearOrgModeAnchor() {
206
206
  }
207
207
 
208
208
  // src/lib/org-membership.ts
209
+ function classifyPathPresence(p) {
210
+ try {
211
+ statSync2(p);
212
+ return "present";
213
+ } catch (err) {
214
+ const code = err.code;
215
+ if (code === "ENOENT" || code === "ENOTDIR") return "absent";
216
+ return "inconclusive";
217
+ }
218
+ }
209
219
  var ORG_MEMBERSHIPS_FILENAME = "org-memberships.json";
210
220
  var ORG_MODE_MARKER_FILENAME = "org-mode.marker";
211
221
  var CONFIG_FILENAME = "config.json";
@@ -226,7 +236,13 @@ function configPath() {
226
236
  }
227
237
  function readActiveOrgMemberships() {
228
238
  const p = orgMembershipsPath();
229
- if (!existsSync2(p)) return [];
239
+ const presence = classifyPathPresence(p);
240
+ if (presence === "absent") return [];
241
+ if (presence === "inconclusive") {
242
+ throw new Error(
243
+ `org-memberships file ${p} exists but could not be checked (permission or I/O error)`
244
+ );
245
+ }
230
246
  const parsed = JSON.parse(readFileSync2(p, "utf8"));
231
247
  if (typeof parsed !== "object" || parsed === null || !Array.isArray(parsed.memberships)) {
232
248
  throw new Error(`Malformed org-memberships file: ${p}`);
@@ -247,7 +263,13 @@ function readActiveOrgMemberships() {
247
263
  }
248
264
  function readAllOrgMemberships() {
249
265
  const p = orgMembershipsPath();
250
- if (!existsSync2(p)) return [];
266
+ const presence = classifyPathPresence(p);
267
+ if (presence === "absent") return [];
268
+ if (presence === "inconclusive") {
269
+ throw new Error(
270
+ `org-memberships file ${p} exists but could not be checked (permission or I/O error)`
271
+ );
272
+ }
251
273
  const parsed = JSON.parse(readFileSync2(p, "utf8"));
252
274
  if (typeof parsed !== "object" || parsed === null || !Array.isArray(parsed.memberships)) {
253
275
  throw new Error(`Malformed org-memberships file: ${p}`);
@@ -296,8 +318,14 @@ function establishOrgMode(orgIds = []) {
296
318
  )
297
319
  );
298
320
  const cp = configPath();
321
+ const cpPresence = classifyPathPresence(cp);
322
+ if (cpPresence === "inconclusive") {
323
+ throw new Error(
324
+ `the config at ${cp} could not be checked (permission or I/O error); refusing to rewrite it from an empty object`
325
+ );
326
+ }
299
327
  let cfg = {};
300
- if (existsSync2(cp)) {
328
+ if (cpPresence === "present") {
301
329
  let parsed;
302
330
  try {
303
331
  parsed = JSON.parse(readFileSync2(cp, "utf8"));
@@ -328,7 +356,13 @@ function establishOrgMode(orgIds = []) {
328
356
  var QUARANTINE_DONE_KEY = "grants_quarantined_at";
329
357
  function readMarker() {
330
358
  const mp = markerPath();
331
- if (!existsSync2(mp)) return {};
359
+ const presence = classifyPathPresence(mp);
360
+ if (presence === "absent") return {};
361
+ if (presence === "inconclusive") {
362
+ throw new Error(
363
+ `the org-mode marker at ${mp} could not be checked (permission or I/O error); refusing to treat it as empty, because every caller writes this value back and would drop the org ids it holds`
364
+ );
365
+ }
332
366
  let parsed;
333
367
  try {
334
368
  parsed = JSON.parse(readFileSync2(mp, "utf8"));
@@ -410,9 +444,13 @@ function ensureGrantsQuarantined() {
410
444
  }
411
445
  }
412
446
  function stickyLatchPresent() {
413
- if (existsSync2(markerPath())) return true;
447
+ const markerPresence = classifyPathPresence(markerPath());
448
+ if (markerPresence === "present") return true;
449
+ if (markerPresence === "inconclusive") return true;
414
450
  const cp = configPath();
415
- if (!existsSync2(cp)) return false;
451
+ const cpPresence = classifyPathPresence(cp);
452
+ if (cpPresence === "absent") return false;
453
+ if (cpPresence === "inconclusive") return true;
416
454
  try {
417
455
  const cfg = JSON.parse(readFileSync2(cp, "utf8"));
418
456
  return cfg.org_mode_established === true;
@@ -436,7 +474,16 @@ function orgModeActive() {
436
474
  ensureGrantsQuarantined();
437
475
  return true;
438
476
  }
439
- if (!existsSync2(orgMembershipsPath())) return false;
477
+ const membershipsPresence = classifyPathPresence(orgMembershipsPath());
478
+ if (membershipsPresence === "absent") return false;
479
+ if (membershipsPresence === "inconclusive") {
480
+ process.stderr.write(
481
+ `[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)
482
+ `
483
+ );
484
+ establishOrgMode();
485
+ return true;
486
+ }
440
487
  try {
441
488
  const active = readActiveOrgMemberships();
442
489
  if (active.length === 0) {
@@ -466,13 +513,19 @@ function clearOrgModeSticky(confirmation) {
466
513
  }
467
514
  rmSync2(markerPath(), { force: true });
468
515
  const cp = configPath();
469
- if (existsSync2(cp)) {
516
+ const cpPresence = classifyPathPresence(cp);
517
+ if (cpPresence === "present") {
470
518
  try {
471
519
  const cfg = JSON.parse(readFileSync2(cp, "utf8"));
472
520
  delete cfg.org_mode_established;
473
521
  writeFileSync2(cp, JSON.stringify(cfg, null, 2));
474
522
  } catch {
475
523
  }
524
+ } else if (cpPresence === "inconclusive") {
525
+ process.stderr.write(
526
+ `[exe-os] \u26A0 the config at ${cp} could not be checked (permission or I/O error) \u2014 it may still carry a stale org_mode_established flag; clear it manually after fixing access
527
+ `
528
+ );
476
529
  }
477
530
  clearOrgModeAnchor();
478
531
  _latchedOrgMode = false;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createReminder
3
- } from "./chunk-3ACGTDYH.js";
3
+ } from "./chunk-A4PBEANG.js";
4
4
 
5
5
  // src/mcp/tools/create-reminder.ts
6
6
  import { z } from "zod";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clean,
3
3
  stableId
4
- } from "./chunk-7WYV32ZH.js";
4
+ } from "./chunk-PJ3GH3LQ.js";
5
5
 
6
6
  // src/lib/reflection-checkpoints.ts
7
7
  function parsePayload(payload) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  MultiAgentOrchestrator
3
- } from "./chunk-JUJIKD6I.js";
3
+ } from "./chunk-UFILLAHW.js";
4
4
  import {
5
5
  createTokenBudgetMiddleware
6
- } from "./chunk-VHKJIGNR.js";
6
+ } from "./chunk-TCRT3GJN.js";
7
7
  import {
8
8
  createQuietRenderer,
9
9
  createTerminalRenderer,
@@ -212,7 +212,7 @@ function createExeOSHooks(config) {
212
212
  );
213
213
  }
214
214
  try {
215
- const { listBehaviors } = await import("./behaviors-F6KA2XNB.js");
215
+ const { listBehaviors } = await import("./behaviors-Q2QVANNC.js");
216
216
  const behaviors = await listBehaviors(config.agentId, config.projectName, 12);
217
217
  if (behaviors.length > 0) {
218
218
  process.stderr.write(
@@ -333,7 +333,7 @@ function createExeOSHooks(config) {
333
333
  async onSubagentStop(_reason) {
334
334
  try {
335
335
  const { getClient } = await import("./lib/database.js");
336
- const { sessionScopeFilter } = await import("./task-scope-M3GVO3IK.js");
336
+ const { sessionScopeFilter } = await import("./task-scope-WAV4UTN2.js");
337
337
  const client = getClient();
338
338
  const ehScope = sessionScopeFilter();
339
339
  const tasks = await client.execute({
@@ -373,7 +373,7 @@ function createExeOSHooks(config) {
373
373
  setAt: (/* @__PURE__ */ new Date()).toISOString()
374
374
  });
375
375
  try {
376
- const { writeNotification } = await import("./notifications-WJY5SFDV.js");
376
+ const { writeNotification } = await import("./notifications-6CSSHZZ5.js");
377
377
  await writeNotification({
378
378
  agentId: config.agentId,
379
379
  agentRole: "employee",
@@ -444,7 +444,7 @@ function createExeOSHooks(config) {
444
444
  try {
445
445
  const { writeMemory, flushBatch } = await import("./lib/store.js");
446
446
  const { getClient } = await import("./lib/database.js");
447
- const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-M3GVO3IK.js");
447
+ const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-WAV4UTN2.js");
448
448
  const client = getClient();
449
449
  const cpScope = cpScopeFilter();
450
450
  const tasks = await client.execute({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  processCRMEvent
3
- } from "./chunk-Z4MWS4PP.js";
3
+ } from "./chunk-DLPZ6AZR.js";
4
4
 
5
5
  // src/gateway/adapters/crm-webhook.ts
6
6
  function parseTwentyWebhook(payload) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  registerScopedQueryChokepoint,
3
3
  scopedQueryChokepointStatus
4
- } from "./chunk-6JZPYITB.js";
4
+ } from "./chunk-TYJYN5DX.js";
5
5
  import {
6
6
  getClient
7
- } from "./chunk-YWH7XWOX.js";
7
+ } from "./chunk-FTAMGND3.js";
8
8
 
9
9
  // src/lib/org-scoped-rows.ts
10
10
  var SCOPED_QUERY_MAX_LIMIT = 200;
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  isExeSession,
3
3
  strictSessionScopeFilter
4
- } from "./chunk-56XINHPT.js";
4
+ } from "./chunk-YCYGRLHE.js";
5
5
  import {
6
6
  recordOrchestrationEventBestEffort
7
- } from "./chunk-MKO45WBR.js";
7
+ } from "./chunk-XT3F5L5L.js";
8
8
  import {
9
9
  getProjectName
10
- } from "./chunk-SD5PWIUP.js";
10
+ } from "./chunk-I6ME7BYI.js";
11
11
  import {
12
12
  DEFAULT_COORDINATOR_TEMPLATE_NAME,
13
13
  getCoordinatorName
14
- } from "./chunk-YWH7XWOX.js";
14
+ } from "./chunk-FTAMGND3.js";
15
15
  import {
16
16
  loadConfigSync
17
17
  } from "./chunk-MMS2HBRT.js";
@@ -260,7 +260,7 @@ function createRealDeps(getClient) {
260
260
  });
261
261
  },
262
262
  createReviewForOrphan: async (task) => {
263
- const { createReviewForCompletedTask } = await import("./tasks-review-KUF6HEPS.js");
263
+ const { createReviewForCompletedTask } = await import("./tasks-review-DXLROW63.js");
264
264
  const cwd = process.cwd();
265
265
  await createReviewForCompletedTask(
266
266
  task,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getMasterKey
3
- } from "./chunk-ZHHGFNTZ.js";
3
+ } from "./chunk-SYFE7PBI.js";
4
4
  import {
5
5
  PRIVATE_DIR_MODE,
6
6
  PRIVATE_FILE_MODE,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadEmployees
3
- } from "./chunk-YWH7XWOX.js";
3
+ } from "./chunk-FTAMGND3.js";
4
4
 
5
5
  // src/lib/agent-symlinks.ts
6
6
  import os from "os";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-TKDITWDN.js";
4
4
  import {
5
5
  ensureMemoryWriteIndex
6
- } from "./chunk-BU4NQU5R.js";
6
+ } from "./chunk-YYBQTE3P.js";
7
7
  import {
8
8
  recordDbOpen
9
9
  } from "./chunk-5YEUPUV4.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-T4IDLAZM.js";
13
13
  import {
14
14
  getProjectName
15
- } from "./chunk-SD5PWIUP.js";
15
+ } from "./chunk-I6ME7BYI.js";
16
16
 
17
17
  // src/lib/post-tool-memory.ts
18
18
  var NON_INGESTIBLE_TOOLS = /* @__PURE__ */ new Set([
@@ -22,7 +22,7 @@ import {
22
22
  import {
23
23
  getCachedMonitorIdentity,
24
24
  recomputeEnvelopeWrapKey
25
- } from "./chunk-DLJSC6YA.js";
25
+ } from "./chunk-KUHIE54S.js";
26
26
 
27
27
  // src/lib/crypto.ts
28
28
  import crypto from "crypto";
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  getMasterKey,
17
17
  setMasterKey
18
- } from "./chunk-ZHHGFNTZ.js";
18
+ } from "./chunk-SYFE7PBI.js";
19
19
  import {
20
20
  WINDOWS_UNSUPPORTED_EXIT,
21
21
  isWSL,
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-CBPNZFSU.js";
4
4
  import {
5
5
  initStore
6
- } from "./chunk-MXEEMTCV.js";
6
+ } from "./chunk-A6VEQ6S4.js";
7
7
  import {
8
8
  getClient,
9
9
  isInitialized
10
- } from "./chunk-YWH7XWOX.js";
10
+ } from "./chunk-FTAMGND3.js";
11
11
 
12
12
  // src/lib/schedules.ts
13
13
  import crypto from "crypto";
@@ -1,15 +1,16 @@
1
1
  import {
2
+ collectDistinctHookRoots,
3
+ compareAllHookRoots,
2
4
  compareRuntimeIdentity,
3
5
  formatRuntimeDriftWarning,
4
- pkgRootFromHookTarget,
5
6
  readBuildIdentity
6
- } from "./chunk-ZM22ANTG.js";
7
+ } from "./chunk-C4IHTLDE.js";
7
8
  import {
8
9
  checkCpuStealSync
9
10
  } from "./chunk-SSC7EKY2.js";
10
11
  import {
11
12
  computeDegradations
12
- } from "./chunk-DQUGV7TQ.js";
13
+ } from "./chunk-5N4BSS3J.js";
13
14
  import {
14
15
  inventoryLocalSecretResidue,
15
16
  redactResiduePathForDisplay
@@ -40,13 +41,13 @@ import {
40
41
  } from "./chunk-T4IDLAZM.js";
41
42
  import {
42
43
  mcpHttpPort
43
- } from "./chunk-ID3KTUXS.js";
44
+ } from "./chunk-KLGMX5R3.js";
44
45
  import {
45
46
  isWithin
46
47
  } from "./chunk-YRUZK2QA.js";
47
48
  import {
48
49
  inspectKeyCustodySync
49
- } from "./chunk-ZHHGFNTZ.js";
50
+ } from "./chunk-SYFE7PBI.js";
50
51
  import {
51
52
  checkSingleGotrueInstance
52
53
  } from "./chunk-FTZET5YX.js";
@@ -342,20 +343,16 @@ function checkRuntimeDrift(pkgRoot, opts) {
342
343
  }];
343
344
  }
344
345
  const hookReport = auditRegisteredHookLiveness({ home: opts?.home });
345
- const hookProbe = hookReport.probes.find(
346
- (p) => p.runtime === "claude" && p.target && /[\\/]dist[\\/]hooks[\\/]/.test(p.target)
346
+ const hookRoots = collectDistinctHookRoots(hookReport.probes);
347
+ const hookResults = compareAllHookRoots(hookRoots, installed);
348
+ const hookChecks = hookResults.map(
349
+ (result, i) => formatDriftCheck(hookResults.length === 1 ? "exed/runtime-drift-hooks" : `exed/runtime-drift-hooks[${i + 1}]`, result)
347
350
  );
348
- const hookRoot = hookProbe?.target ? pkgRootFromHookTarget(hookProbe.target) : null;
349
- const hookRunning = hookRoot ? readBuildIdentity(hookRoot) : null;
350
- const hookResult = compareRuntimeIdentity("hooks", hookRunning, installed);
351
351
  const daemonScript = resolveRunningDaemonScript(opts?.pidFile ?? path2.join(EXE_AI_DIR, "exed.pid"));
352
352
  const daemonRoot = daemonScript ? checkoutRootFromScript(daemonScript) : null;
353
353
  const daemonRunning = daemonRoot ? readBuildIdentity(daemonRoot) : null;
354
354
  const daemonResult = compareRuntimeIdentity("daemon", daemonRunning, installed);
355
- return [
356
- formatDriftCheck("exed/runtime-drift-hooks", hookResult),
357
- formatDriftCheck("exed/runtime-drift-daemon", daemonResult)
358
- ];
355
+ return [...hookChecks, formatDriftCheck("exed/runtime-drift-daemon", daemonResult)];
359
356
  }
360
357
  function checkTaskSystem(pkgRoot) {
361
358
  const results = [];
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildSystemStateMemoryTypeExclusion
3
- } from "./chunk-MXEEMTCV.js";
3
+ } from "./chunk-A6VEQ6S4.js";
4
4
  import {
5
5
  sessionScopeFilter
6
- } from "./chunk-56XINHPT.js";
6
+ } from "./chunk-YCYGRLHE.js";
7
7
  import {
8
8
  getClient,
9
9
  getIdentity
10
- } from "./chunk-YWH7XWOX.js";
10
+ } from "./chunk-FTAMGND3.js";
11
11
  import {
12
12
  getEmotionalBaseline
13
13
  } from "./chunk-WAAGVFFN.js";
@@ -646,7 +646,7 @@ var DreamingEngine = class {
646
646
  }
647
647
  let overdueProspective = [];
648
648
  try {
649
- const { getOverdueProspective, completeProspective } = await import("./prospective-memory-KDW7MLF6.js");
649
+ const { getOverdueProspective, completeProspective } = await import("./prospective-memory-7SATMR4N.js");
650
650
  const overdue = await getOverdueProspective(agentId);
651
651
  overdueProspective = overdue.map((o) => ({
652
652
  id: o.id,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getIdentity,
3
3
  loadEmployeesSync
4
- } from "./chunk-YWH7XWOX.js";
4
+ } from "./chunk-FTAMGND3.js";
5
5
 
6
6
  // src/lib/drift-probes.ts
7
7
  var DRIFT_THRESHOLD = 80;
@@ -10,10 +10,10 @@ import {
10
10
  } from "./chunk-VGMACSEV.js";
11
11
  import {
12
12
  WORK_STATE_HEARTBEAT_TOOL
13
- } from "./chunk-KVZB65B5.js";
13
+ } from "./chunk-25UCPYAO.js";
14
14
  import {
15
15
  hashMemoryContent
16
- } from "./chunk-4RFLBGOW.js";
16
+ } from "./chunk-PB3RGTSP.js";
17
17
 
18
18
  // src/lib/graph-rag.ts
19
19
  import crypto from "crypto";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executeAction,
3
3
  substituteTemplate
4
- } from "./chunk-Z4MWS4PP.js";
4
+ } from "./chunk-DLPZ6AZR.js";
5
5
 
6
6
  // src/automation/workflow-engine.ts
7
7
  import { randomUUID } from "crypto";