@askexenow/exe-os 0.9.370 → 0.9.372
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.
- package/deploy/compose/docker-compose.yml +46 -15
- package/deploy/stack-manifests/v0.9.json +117 -2
- package/dist/.dist-verified.json +3 -3
- package/dist/{active-agent-H5UZGJ5D.js → active-agent-GRT5MKD5.js} +3 -3
- package/dist/{active-agent-L6GFD4NP.js → active-agent-L2ZSSXDK.js} +3 -3
- package/dist/{agent-defs-generator-BARBPY6L.js → agent-defs-generator-M4ZNYIVX.js} +2 -2
- package/dist/{agentic-ontology-OZM624IZ.js → agentic-ontology-DMPRDEUX.js} +1 -1
- package/dist/{backfill-metadata-43B5R5JT.js → backfill-metadata-ZMEHJQ5M.js} +5 -5
- package/dist/{backup-verify-FW5GEF4B.js → backup-verify-EX2K732J.js} +1 -1
- package/dist/{behavior-injection-RT4ET4ZF.js → behavior-injection-22AGMS25.js} +12 -11
- package/dist/{behaviors-ZLEW6AIW.js → behaviors-DVFXAWF5.js} +10 -9
- package/dist/bin/agentic-ontology-backfill.js +6 -6
- package/dist/bin/agentic-reflection-backfill.js +7 -7
- package/dist/bin/agentic-semantic-label.js +6 -6
- package/dist/bin/backfill-conversations.js +8 -7
- package/dist/bin/backfill-responses.js +8 -7
- package/dist/bin/backfill-vectors.js +10 -9
- package/dist/bin/bulk-sync-postgres.js +14 -13
- package/dist/bin/cc-doctor.js +5 -5
- package/dist/bin/cleanup-stale-review-tasks.js +18 -17
- package/dist/bin/cli.js +30 -22
- package/dist/bin/deferred-daemon-restart.js +123 -94
- package/dist/bin/exe-agent-config.js +2 -2
- package/dist/bin/exe-agent.js +8 -8
- package/dist/bin/exe-assign.js +10 -9
- package/dist/bin/exe-boot.js +46 -35
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +15 -14
- package/dist/bin/exe-config-dump.js +2 -2
- package/dist/bin/exe-dispatch.js +19 -18
- package/dist/bin/exe-doctor.js +5 -5
- package/dist/bin/exe-export-behaviors.js +14 -13
- package/dist/bin/exe-forget.js +7 -7
- package/dist/bin/exe-gateway.js +7 -7
- package/dist/bin/exe-healthcheck.js +5 -5
- package/dist/bin/exe-heartbeat.js +21 -20
- package/dist/bin/exe-kill.js +22 -21
- package/dist/bin/exe-launch-agent.js +29 -28
- package/dist/bin/exe-mcp.js +3 -3
- package/dist/bin/exe-memory-reads.js +5 -5
- package/dist/bin/exe-new-employee.js +8 -8
- package/dist/bin/exe-os-mcp-proxy.js +3 -3
- package/dist/bin/exe-pending-messages.js +19 -18
- package/dist/bin/exe-pending-notifications.js +18 -17
- package/dist/bin/exe-pending-reviews.js +18 -17
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-repo-truth.js +369 -0
- package/dist/bin/exe-review.js +21 -20
- package/dist/bin/exe-search.js +6 -6
- package/dist/bin/exe-session-cleanup.js +22 -21
- package/dist/bin/exe-settings.js +14 -13
- package/dist/bin/exe-start-codex.js +19 -18
- package/dist/bin/exe-start-opencode.js +15 -14
- package/dist/bin/exe-status.js +20 -19
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +4 -4
- package/dist/bin/exe-watchdog.js +1 -1
- package/dist/bin/git-sweep.js +19 -18
- package/dist/bin/graph-backfill.js +6 -6
- package/dist/bin/graph-export.js +6 -6
- package/dist/bin/import-history.js +9 -9
- package/dist/bin/install-launchd.js +1 -1
- package/dist/bin/install.js +91 -90
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +4 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/reconcile-backlog.js +2 -2
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/scan-tasks.js +18 -17
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +5 -5
- package/dist/bin/stack-update.js +5 -5
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-Z7ZM5LE5.js → boot-generation-OHXH4YC5.js} +3 -3
- package/dist/{boot-review-sections-52Y62Q6M.js → boot-review-sections-N5IXIGSS.js} +17 -16
- package/dist/{branch-hygiene-HFJ3HA62.js → branch-hygiene-KCGXRAWP.js} +125 -73
- package/dist/build-manifest.json +938 -918
- package/dist/{capability-cards-SKMGT3G2.js → capability-cards-4PXVLIVS.js} +2 -2
- package/dist/{capacity-monitor-JPFS5FYT.js → capacity-monitor-FKMQXORX.js} +19 -18
- package/dist/{catchup-brief-R4FP7ERW.js → catchup-brief-SN5EKO4N.js} +22 -21
- package/dist/{chunk-3TSDANOL.js → chunk-23QKEUF6.js} +11 -11
- package/dist/{chunk-33VQTJ6H.js → chunk-3KTQWMHI.js} +1 -1
- package/dist/{chunk-QS6HI4B6.js → chunk-3TTKAT6V.js} +31 -9
- package/dist/{chunk-D3QU2KNF.js → chunk-44C7QNZS.js} +1 -1
- package/dist/{chunk-S74ZNCBS.js → chunk-4ZJ5BPY6.js} +1 -1
- package/dist/{chunk-FFG3OMOH.js → chunk-53PYNYTW.js} +3 -3
- package/dist/{chunk-VZXEDC6K.js → chunk-5AHDQCTB.js} +4 -4
- package/dist/{chunk-JRPGAOHL.js → chunk-5AHRZI3R.js} +1 -1
- package/dist/{chunk-L6BZDFWT.js → chunk-5APCDDJZ.js} +1 -1
- package/dist/{chunk-5XRKPKHJ.js → chunk-5DCCKHDY.js} +3 -3
- package/dist/{chunk-64HUCOAL.js → chunk-5V7BD7Z4.js} +9 -1
- package/dist/{chunk-QK26AJD7.js → chunk-6XEYELCA.js} +1 -1
- package/dist/{chunk-WAIFOWCF.js → chunk-77JP3LK4.js} +6 -6
- package/dist/{chunk-C2CQ3KXS.js → chunk-7PSLK36P.js} +1 -1
- package/dist/{chunk-E63E3GUT.js → chunk-7R73IAHU.js} +9 -9
- package/dist/{chunk-L24EAOSG.js → chunk-7V6M3QUS.js} +1 -1
- package/dist/{chunk-BFP7JOD7.js → chunk-7WQRFSZI.js} +3 -3
- package/dist/{chunk-QILQ5FCG.js → chunk-A7JYF4RG.js} +6 -0
- package/dist/{chunk-P5XTVIEC.js → chunk-AAUWFXOX.js} +4 -4
- package/dist/{chunk-OPI5HGW6.js → chunk-AMKSDKMK.js} +1 -1
- package/dist/{chunk-U6SWEAAK.js → chunk-CNC57JCS.js} +4 -4
- package/dist/{chunk-I3FXDCUE.js → chunk-DKBPCOU4.js} +50 -20
- package/dist/{chunk-TTAPKUQV.js → chunk-E2WEFZOR.js} +1 -1
- package/dist/{chunk-AYMYU3RC.js → chunk-E7UCDSUE.js} +4 -4
- package/dist/{chunk-AWWAZBL7.js → chunk-ECHLVLA7.js} +1 -1
- package/dist/{chunk-EKOB53FE.js → chunk-EEXX4UMQ.js} +1 -1
- package/dist/{chunk-YTDIGGFZ.js → chunk-ELXFSIIM.js} +2 -2
- package/dist/{chunk-XFZHTFH5.js → chunk-ERVQTR7P.js} +2 -2
- package/dist/{chunk-VFI3HGKM.js → chunk-FB343XQX.js} +2 -2
- package/dist/{chunk-MMDOULD5.js → chunk-FBYAXTDM.js} +1 -1
- package/dist/{chunk-XWTZEVBQ.js → chunk-GH6YJOOC.js} +5 -5
- package/dist/{chunk-4HNVZDCM.js → chunk-GU62SNDH.js} +1 -1
- package/dist/{chunk-RLWSVSDV.js → chunk-HDW4XPDV.js} +1 -1
- package/dist/{chunk-6LU3DRZF.js → chunk-HECXZGGZ.js} +9 -9
- package/dist/{chunk-DZU7LMXH.js → chunk-HHE2HV3V.js} +1 -1
- package/dist/{chunk-637HNKYP.js → chunk-HIIXCAEE.js} +2 -2
- package/dist/{chunk-REOG2KQS.js → chunk-HIVZ53YB.js} +1 -1
- package/dist/{chunk-QCQT5RXR.js → chunk-HV6Y6F4X.js} +95 -3
- package/dist/{chunk-RLDMUSRM.js → chunk-IDZPQG2D.js} +1 -1
- package/dist/{chunk-NHJUJWLY.js → chunk-IPMUWYRQ.js} +2 -2
- package/dist/chunk-IVU3WN7S.js +227 -0
- package/dist/{chunk-WG3B2V6A.js → chunk-JJUGI2YL.js} +1 -1
- package/dist/{chunk-U5MEWTAY.js → chunk-JKXZGRWR.js} +1 -1
- package/dist/{chunk-EJ5BRL7C.js → chunk-JOO35RHR.js} +2 -2
- package/dist/{chunk-FAAHUZFK.js → chunk-JR23BL74.js} +3 -3
- package/dist/{chunk-6FMS6DGO.js → chunk-JTWTBX2M.js} +1 -1
- package/dist/{chunk-DLMLM63F.js → chunk-KPMC7PY7.js} +1 -1
- package/dist/{chunk-RHDDSIFC.js → chunk-KXYFBBZR.js} +1 -1
- package/dist/{chunk-MO2A7GUU.js → chunk-KYFFVTGO.js} +1 -1
- package/dist/{chunk-J7OPJPYG.js → chunk-L6ZNURWN.js} +1 -1
- package/dist/{chunk-AJH2JOKV.js → chunk-LAZKEJMS.js} +147 -147
- package/dist/{chunk-KNIYPHUM.js → chunk-LDL3S7AC.js} +1 -1
- package/dist/{chunk-5CYFJQGV.js → chunk-MBNIJXKI.js} +3 -3
- package/dist/{chunk-RYDR7TRT.js → chunk-MDGYXUOV.js} +1 -1
- package/dist/{chunk-SUCWKBYC.js → chunk-MEGRQ53A.js} +5 -5
- package/dist/{chunk-MXI2DAXR.js → chunk-MINXPXAB.js} +3 -3
- package/dist/{chunk-CWBFOAGM.js → chunk-NQZUSEAR.js} +1 -1
- package/dist/{chunk-5PISZ3DK.js → chunk-O4ZFRK6W.js} +11 -11
- package/dist/{chunk-5GHQD5NZ.js → chunk-OKGIOWOB.js} +2 -2
- package/dist/{chunk-AQL6BFAP.js → chunk-OW5RZIDW.js} +8 -8
- package/dist/{chunk-HIIEIDD2.js → chunk-OYQNNKNS.js} +10 -10
- package/dist/{chunk-5SRQG3SV.js → chunk-OZBII5E3.js} +4 -4
- package/dist/{chunk-VMJ2UH4S.js → chunk-PGLPUP37.js} +1 -1
- package/dist/{chunk-ZWYPGZJA.js → chunk-PM6WSWVU.js} +2 -2
- package/dist/{chunk-MZVEUPJA.js → chunk-QLA3RTH4.js} +2 -2
- package/dist/{chunk-LKB7OV6U.js → chunk-QR624DER.js} +1 -1
- package/dist/{chunk-RPJIULZL.js → chunk-QTI4QAWA.js} +1 -1
- package/dist/{chunk-ZXZHEAWO.js → chunk-QTYJPWJN.js} +4 -4
- package/dist/{chunk-ZVTKWWLV.js → chunk-QZL6E4UB.js} +1 -1
- package/dist/{chunk-75IYPYUY.js → chunk-RBYHJDAT.js} +3 -3
- package/dist/{chunk-KBXPVEO5.js → chunk-RGUDGC6A.js} +4 -4
- package/dist/{chunk-ZSYERTWA.js → chunk-RIK5GRWI.js} +3 -3
- package/dist/{chunk-KDP2HV43.js → chunk-RLR6VVKV.js} +4 -4
- package/dist/{chunk-GL4VN2FS.js → chunk-RNLF3CBB.js} +1 -1
- package/dist/{chunk-D26CLVB4.js → chunk-RUVO3NJC.js} +3 -3
- package/dist/{chunk-DOQ5F3GZ.js → chunk-RUWWES2K.js} +2 -2
- package/dist/{chunk-T3TSX4XB.js → chunk-SEP5ITFQ.js} +1 -1
- package/dist/chunk-SI5SZAJA.js +178 -0
- package/dist/{chunk-3WRQAAVT.js → chunk-T4EK56WI.js} +1 -1
- package/dist/{chunk-NKTNJSHK.js → chunk-TGEPLJ66.js} +3 -3
- package/dist/{chunk-C6ILSUXT.js → chunk-TGPQMMQP.js} +3 -3
- package/dist/{chunk-T7QPOQMD.js → chunk-THM7J6UI.js} +4 -4
- package/dist/{chunk-4OVLY2NR.js → chunk-TK4MI6F6.js} +3 -3
- package/dist/{chunk-X4C3SORV.js → chunk-U3XLRMJD.js} +1 -1
- package/dist/{chunk-BJ45A2NG.js → chunk-UKLF7F3Z.js} +5 -5
- package/dist/{chunk-BNHAZ65R.js → chunk-UQUUNGTP.js} +5 -1
- package/dist/{chunk-SWVRUCVM.js → chunk-UTDMTQNH.js} +1 -1
- package/dist/{chunk-JMH4BGNX.js → chunk-UVW7YFAF.js} +4 -4
- package/dist/{chunk-IWIESOAK.js → chunk-VKXS2YGN.js} +1 -1
- package/dist/{chunk-KU2ASWMO.js → chunk-VX2F4ZUY.js} +2 -2
- package/dist/{chunk-QZ4JDQ6R.js → chunk-W25RLOQ2.js} +2 -2
- package/dist/{chunk-DNKCJ6KV.js → chunk-WAEKYKTK.js} +1 -1
- package/dist/{chunk-FB43C242.js → chunk-WUKQVNLP.js} +1 -1
- package/dist/{chunk-UBR5M2TY.js → chunk-WZJVGA5I.js} +1 -1
- package/dist/{chunk-LMZD3A6K.js → chunk-XHYHX6F7.js} +26 -26
- package/dist/{chunk-YXCZKTTC.js → chunk-XXSNLM6R.js} +1 -1
- package/dist/{chunk-PZGLP65B.js → chunk-YFCNWQAM.js} +2 -2
- package/dist/{chunk-DPZ7EUY5.js → chunk-YWUQVHDL.js} +1 -1
- package/dist/{chunk-REEX7LTW.js → chunk-ZISQOOER.js} +2 -2
- package/dist/{chunk-YQ3QJ3SM.js → chunk-ZXB56YR2.js} +10 -10
- package/dist/{chunk-XGT2AOL7.js → chunk-ZYCLSEZT.js} +2 -2
- package/dist/{cleanup-graph-garbage-V6GERATJ.js → cleanup-graph-garbage-IPYDS5OX.js} +7 -7
- package/dist/{cloud-sync-command-RVPVF3H3.js → cloud-sync-command-JLNVG7H4.js} +2 -2
- package/dist/{cloud-sync-db-init-GIZFUJQB.js → cloud-sync-db-init-JXUF6GI3.js} +1 -1
- package/dist/{cloud-sync-shutdown-PQ6YZ3PA.js → cloud-sync-shutdown-Z4SBP6PL.js} +2 -2
- package/dist/{co-activation-6CM4E5ZK.js → co-activation-74RDFTKS.js} +2 -2
- package/dist/{co-occurrence-KJ7HM3EG.js → co-occurrence-CN3TBYVR.js} +5 -5
- package/dist/{code-context-index-XOP6TLPZ.js → code-context-index-D4MJ4VFX.js} +4 -3
- package/dist/{conversation-entity-extractor-PSFZQUJ5.js → conversation-entity-extractor-QGTLH4BP.js} +3 -3
- package/dist/{crdt-sync-POXIZVEF.js → crdt-sync-7T4WCOKD.js} +1 -1
- package/dist/{crm-webhook-V2H27KYR.js → crm-webhook-FTW3XZTO.js} +2 -2
- package/dist/{cto-delegation-gate-J3ND5BWL.js → cto-delegation-gate-SZCE34LB.js} +17 -16
- package/dist/{daemon-orchestration-M62T3FS2.js → daemon-orchestration-IGPHVNFR.js} +22 -21
- package/dist/{daemon-ready-MKBH4QWD.js → daemon-ready-OT2VQLS7.js} +1 -1
- package/dist/{destructive-data-guard-5SKHIZNN.js → destructive-data-guard-6I5MDFVD.js} +1 -1
- package/dist/{doc-graph-extractor-3BX3UPBB.js → doc-graph-extractor-VPTRIEKN.js} +5 -5
- package/dist/{documents-3D5LWOXL.js → documents-URULIXGM.js} +10 -9
- package/dist/{dreaming-WPBIOUHX.js → dreaming-VIZO3QDO.js} +21 -20
- package/dist/{employee-boot-brief-LWIOXW2Y.js → employee-boot-brief-XLOG4ULP.js} +25 -24
- package/dist/{exe-drift-UDKYXOFS.js → exe-drift-TLQM3IHD.js} +3 -3
- package/dist/{exe-export-ON37IIOT.js → exe-export-7YWYWJHY.js} +11 -10
- package/dist/{exe-import-ORFMQV3J.js → exe-import-DW6VAUKW.js} +11 -10
- package/dist/{exe-key-46N4TFWU.js → exe-key-TLJP2B4Y.js} +88 -87
- package/dist/{exe-org-ZYY5MUFH.js → exe-org-LU46N36E.js} +12 -12
- package/dist/{exe-snapshot-GLD66ZHQ.js → exe-snapshot-QHUZRS62.js} +23 -22
- package/dist/{fast-db-init-YFY566EG.js → fast-db-init-SCTOOIUT.js} +1 -1
- package/dist/{founder-context-N73W5XMG.js → founder-context-ZFZC4UHO.js} +2 -2
- package/dist/gateway/index.js +11 -11
- package/dist/{git-main-guard-TGK3RQY3.js → git-main-guard-TN27QBAI.js} +11 -1
- package/dist/{git-staleness-TNJ3XJJ4.js → git-staleness-GSGP344N.js} +2 -2
- package/dist/{global-procedures-7Y7LULZC.js → global-procedures-YAR7G4C6.js} +3 -3
- package/dist/{graph-auto-extract-4NEJ3OXA.js → graph-auto-extract-GNQS64F5.js} +5 -5
- package/dist/{graph-rag-WKAUQZUN.js → graph-rag-RMSFLUOB.js} +3 -3
- package/dist/{hook-integrity-D7BN2SLB.js → hook-integrity-CF567MVN.js} +1 -1
- package/dist/{hook-prefetch-7OJQ4IJ6.js → hook-prefetch-36BK4F7U.js} +18 -17
- package/dist/hooks/bug-report-worker.js +22 -21
- package/dist/hooks/codex-stop-task-finalizer.js +23 -22
- package/dist/hooks/commit-complete.js +21 -20
- package/dist/hooks/error-recall.js +8 -8
- package/dist/hooks/exe-heartbeat-hook.js +4 -4
- package/dist/hooks/ingest-worker.js +6 -5
- package/dist/hooks/ingest.js +11 -11
- package/dist/hooks/instructions-loaded.js +5 -5
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +5 -5
- package/dist/hooks/post-compact.js +4 -4
- package/dist/hooks/post-tool-combined.js +12 -12
- package/dist/hooks/pre-compact.js +21 -20
- package/dist/hooks/pre-tool-use.js +33 -32
- package/dist/hooks/prompt-submit.js +35 -34
- package/dist/hooks/session-end.js +26 -25
- package/dist/hooks/session-start.js +17 -17
- package/dist/hooks/stop.js +27 -26
- package/dist/hooks/subagent-stop.js +22 -21
- package/dist/hooks/summary-worker.js +26 -25
- package/dist/index.js +29 -28
- package/dist/{installer-KPDMTHOD.js → installer-LUN4HQIC.js} +5 -5
- package/dist/{installer-HTFYSA5U.js → installer-MPRFUQJE.js} +5 -5
- package/dist/{installer-ZHTVJJNQ.js → installer-OC5VXNC7.js} +5 -5
- package/dist/{intercom-queue-D57B3JR3.js → intercom-queue-6DZ7BANV.js} +17 -16
- package/dist/lib/cloud-sync.js +14 -13
- package/dist/lib/consolidation.js +7 -7
- package/dist/lib/database.js +2 -2
- package/dist/lib/db-backup.js +1 -1
- package/dist/lib/db-daemon-client.js +4 -3
- package/dist/lib/db-write-worker.js +3 -3
- package/dist/lib/db.js +2 -2
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/embedder.js +4 -3
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon-client.js +3 -2
- package/dist/lib/exe-daemon.js +103 -83
- package/dist/lib/hybrid-search.js +6 -6
- package/dist/lib/identity.js +2 -2
- package/dist/lib/license.js +4 -2
- package/dist/lib/messaging.js +18 -17
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +3 -3
- package/dist/lib/schedules.js +6 -6
- package/dist/lib/session-registry.js +4 -4
- package/dist/lib/skill-learning.js +11 -10
- package/dist/lib/status-brief.js +1 -1
- package/dist/lib/store.js +5 -5
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +19 -18
- package/dist/lib/tmux-routing.js +17 -16
- package/dist/lib/token-spend.js +3 -3
- package/dist/{license-gate-SUVXUQ7E.js → license-gate-ESER24PJ.js} +3 -3
- package/dist/{license-sync-TXGIO2PM.js → license-sync-JVG5KNIY.js} +2 -2
- package/dist/{linux-systemd-LRW3BYSS.js → linux-systemd-YUADJCJQ.js} +1 -1
- package/dist/mcp/register-tools.js +87 -86
- package/dist/mcp/server.js +88 -87
- package/dist/mcp/tools/complete-reminder.js +4 -4
- package/dist/mcp/tools/create-reminder.js +4 -4
- package/dist/mcp/tools/create-task.js +21 -20
- package/dist/mcp/tools/deactivate-behavior.js +12 -11
- package/dist/mcp/tools/list-reminders.js +4 -4
- package/dist/mcp/tools/list-tasks.js +21 -20
- package/dist/mcp/tools/send-message.js +20 -19
- package/dist/mcp/tools/update-task.js +20 -19
- package/dist/{mcp-http-config-WCOGCXVR.js → mcp-http-config-6K6IKH5F.js} +3 -3
- package/dist/{mcp-session-identity-JMFMB6G3.js → mcp-session-identity-LRC6WJSD.js} +17 -16
- package/dist/{memory-cards-IYRUCVDG.js → memory-cards-V3OZHIYP.js} +5 -5
- package/dist/{memory-graph-extractor-M6HSDITL.js → memory-graph-extractor-JC2Z64L4.js} +6 -6
- package/dist/{memory-poisoning-defense-CHGY62QP.js → memory-poisoning-defense-YM4QJHCX.js} +2 -2
- package/dist/{memory-pressure-watchdog-FB5E7MLA.js → memory-pressure-watchdog-6F6KEQHN.js} +18 -17
- package/dist/{memory-queue-client-HIHCA3W4.js → memory-queue-client-COA4ABEV.js} +4 -3
- package/dist/{memory-reflection-BPGUYVRK.js → memory-reflection-QXHJPYPC.js} +2 -2
- package/dist/{notification-ledger-4425CXFW.js → notification-ledger-6QRLQW4Q.js} +18 -17
- package/dist/{notifications-JGVJO7S2.js → notifications-7B6D7Y5C.js} +17 -16
- package/dist/{orchestration-events-PGKDGE45.js → orchestration-events-GY5VP5LU.js} +3 -3
- package/dist/{orchestrator-DV5G5DKQ.js → orchestrator-JVPVOYWA.js} +19 -18
- package/dist/{org-brief-session-LXCHYYX7.js → org-brief-session-GRV5R5E3.js} +5 -5
- package/dist/{org-consent-policy-52Z4LKHG.js → org-consent-policy-3FHHSYXV.js} +1 -1
- package/dist/{org-join-BMBQDMVF.js → org-join-BY4PV6UO.js} +2 -2
- package/dist/{org-key-admin-SCCVVE2H.js → org-key-admin-WSCPT2CZ.js} +3 -3
- package/dist/{org-partner-runtime-HKGI37ND.js → org-partner-runtime-UJDGECZ4.js} +5 -5
- package/dist/{org-row-visibility-K5OFWTXE.js → org-row-visibility-V5DXIHTE.js} +1 -1
- package/dist/{pipeline-router-NMWDS5I5.js → pipeline-router-YY5FQKTY.js} +3 -3
- package/dist/{plan-limits-P4E7P3O5.js → plan-limits-OVX6SN6B.js} +5 -5
- package/dist/{projection-worker-BSORYGBV.js → projection-worker-D2472IOD.js} +2 -2
- package/dist/{prospective-memory-3JTGI6VV.js → prospective-memory-JXO2A6PL.js} +2 -2
- package/dist/{push-notifications-P2HVB7LZ.js → push-notifications-HR3FZRDI.js} +18 -17
- package/dist/{reproject-worktree-memories-IXYGHTGA.js → reproject-worktree-memories-OSS3PGRF.js} +127 -35
- package/dist/{reranker-6RA63RUL.js → reranker-IMZRPYJ2.js} +1 -1
- package/dist/{retrieval-health-YDVLDURR.js → retrieval-health-W7OD44FE.js} +1 -1
- package/dist/{review-polling-XVOU2VTL.js → review-polling-2INP7H6M.js} +18 -17
- package/dist/runtime/index.js +25 -24
- package/dist/{session-events-6AUB5AKL.js → session-events-G4XUPVWV.js} +18 -17
- package/dist/{session-kill-telemetry-OXXPCDBI.js → session-kill-telemetry-W7MHWJTQ.js} +18 -17
- package/dist/{session-scope-E4NRAFZL.js → session-scope-LG2J4EMQ.js} +17 -16
- package/dist/{setup-wizard-RNV6UE6J.js → setup-wizard-YQJI3SVM.js} +1 -1
- package/dist/{skill-refinement-6U66DBPY.js → skill-refinement-RA37U756.js} +3 -3
- package/dist/{stack-promote-T7YOBPL6.js → stack-promote-IYBRXHTA.js} +4 -4
- package/dist/{stack-release-H7ICM4KT.js → stack-release-OXWLVVG6.js} +4 -4
- package/dist/{stack-update-MZIBQHVZ.js → stack-update-2CZEROPK.js} +3 -3
- package/dist/{steward-gate-TVRANLPZ.js → steward-gate-LTNFB3FY.js} +3 -3
- package/dist/{subagent-brief-injection-Y3IJY34K.js → subagent-brief-injection-OHLWLECQ.js} +26 -25
- package/dist/supervisor-handoff-CSJQMI53.js +37 -0
- package/dist/{support-inbox-2GGCRQEA.js → support-inbox-4KCEPAZQ.js} +3 -3
- package/dist/{task-enforcement-HMGS7GJD.js → task-enforcement-LGXWXGVZ.js} +18 -17
- package/dist/{task-request-inbox-EHPQR74T.js → task-request-inbox-WHCOSUCP.js} +1 -1
- package/dist/{task-scope-H2XPGS6Y.js → task-scope-KXF7Y6KA.js} +17 -16
- package/dist/{tasks-crud-4F6ECDNC.js → tasks-crud-5EM55WRZ.js} +17 -16
- package/dist/{tasks-notify-4F3HFDCG.js → tasks-notify-VFMAURTN.js} +18 -17
- package/dist/{tasks-review-M5G5J2T3.js → tasks-review-MHGMBHUZ.js} +17 -16
- package/dist/{telemetry-upload-DFRMVTOF.js → telemetry-upload-6NRTN7QJ.js} +7 -7
- package/dist/{token-budget-4CISVC2P.js → token-budget-LZPOYTRP.js} +3 -3
- package/dist/{tool-capability-index-BT2GGLLI.js → tool-capability-index-ED5OAPMW.js} +1 -1
- package/dist/{tool-telemetry-WHTCFN2L.js → tool-telemetry-ZX7VSAXK.js} +1 -1
- package/dist/tui/App.js +25 -24
- package/dist/{tui-data-36IHMXIQ.js → tui-data-CC5POSUV.js} +17 -16
- package/dist/{update-support-JQSTFOWO.js → update-support-KH6NSQON.js} +16 -15
- package/dist/{work-claims-CH77EFZ4.js → work-claims-MNK7PEPW.js} +3 -3
- package/dist/{work-state-heartbeat-YC3O6M2G.js → work-state-heartbeat-YEWT5NMZ.js} +1 -1
- package/dist/{worker-gate-BJTF4TUP.js → worker-gate-BOQSIU2Z.js} +1 -1
- package/dist/{workflow-engine-ZWRIDV6J.js → workflow-engine-MUUD7ZEX.js} +2 -2
- package/dist/{worktree-YNPSWYQY.js → worktree-GOGT2LZP.js} +4 -4
- package/dist/{worktree-sweep-GRMHU4DA.js → worktree-sweep-46VWPVQT.js} +5 -5
- package/package.json +2 -1
- package/release-notes.json +31 -60
- package/stack.release.json +4 -4
- package/dist/{chunk-Z4AN75KW.js → chunk-3F2UB4IQ.js} +0 -0
- package/dist/{chunk-442EX2PZ.js → chunk-3Y5THOU6.js} +0 -0
- package/dist/{chunk-KOYGRP2L.js → chunk-5N4SG5NB.js} +3 -3
- /package/dist/{chunk-ME3A4LKV.js → chunk-7UTJA6HF.js} +0 -0
- /package/dist/{chunk-YSDIJ3VI.js → chunk-7XGXRD22.js} +0 -0
- /package/dist/{chunk-EQJ462VM.js → chunk-ADNBOKYZ.js} +0 -0
- /package/dist/{chunk-6CAX7YH4.js → chunk-FZQWVQJG.js} +0 -0
- /package/dist/{chunk-2A76BLAD.js → chunk-GB3AHV5F.js} +0 -0
- /package/dist/{chunk-P3IOJTWW.js → chunk-HR2R2QER.js} +0 -0
- /package/dist/{chunk-5HNXTAXL.js → chunk-ORA5BWCV.js} +0 -0
- /package/dist/{chunk-PREXA444.js → chunk-R6FLELV6.js} +0 -0
- /package/dist/{chunk-G2H2KV4N.js → chunk-V4XAKXXF.js} +0 -0
- /package/dist/{chunk-7AQ2C4LT.js → chunk-VJSDGDNS.js} +0 -0
- /package/dist/{chunk-VQ7F3W7P.js → chunk-WV3TOOL7.js} +0 -0
- /package/dist/{core-memory-KIV3WFOQ.js → core-memory-6WBNT2HL.js} +0 -0
- /package/dist/{entity-boost-CDFAXVYL.js → entity-boost-MT336PI3.js} +0 -0
- /package/dist/{memory-isolation-CPTYUIPJ.js → memory-isolation-EJ45IXBH.js} +0 -0
- /package/dist/{message-queue-client-PL2POQOV.js → message-queue-client-MVBTYCSV.js} +0 -0
- /package/dist/{oauth-server-NJRJAT7X.js → oauth-server-TZFNQAFS.js} +0 -0
- /package/dist/{project-boot-QYYCFYFC.js → project-boot-LXLU2J32.js} +0 -0
- /package/dist/{wiki-acl-OROXIW3P.js → wiki-acl-WXRJGZ5Q.js} +0 -0
package/dist/lib/exe-daemon.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "../chunk-NOKJCF27.js";
|
|
9
9
|
import {
|
|
10
10
|
pushNotifyAsync
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-3KTQWMHI.js";
|
|
12
12
|
import {
|
|
13
13
|
isDbVerifyStampFresh
|
|
14
14
|
} from "../chunk-SVFNWBLF.js";
|
|
@@ -44,38 +44,38 @@ import {
|
|
|
44
44
|
findScopedDuplicate,
|
|
45
45
|
governMemoryRecord,
|
|
46
46
|
schedulePostWriteMemoryHygiene
|
|
47
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-3F2UB4IQ.js";
|
|
48
48
|
import "../chunk-5MOYSU5A.js";
|
|
49
49
|
import "../chunk-4QCFFW2H.js";
|
|
50
50
|
import "../chunk-76CJBM36.js";
|
|
51
51
|
import {
|
|
52
52
|
BUSY_PATTERN
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-XHYHX6F7.js";
|
|
54
54
|
import "../chunk-BTSWFMEH.js";
|
|
55
|
-
import "../chunk-
|
|
56
|
-
import "../chunk-
|
|
55
|
+
import "../chunk-WAEKYKTK.js";
|
|
56
|
+
import "../chunk-44C7QNZS.js";
|
|
57
|
+
import "../chunk-JTWTBX2M.js";
|
|
57
58
|
import {
|
|
58
59
|
recordTimerPauseMs,
|
|
59
60
|
runWithTimerPauseAccounting,
|
|
60
61
|
sweepPauseTotalMs
|
|
61
62
|
} from "../chunk-KI5PFRG6.js";
|
|
62
|
-
import "../chunk-D3QU2KNF.js";
|
|
63
63
|
import "../chunk-WT4RI36X.js";
|
|
64
|
+
import "../chunk-E23LNUWJ.js";
|
|
64
65
|
import "../chunk-QAEWWYHL.js";
|
|
65
66
|
import "../chunk-EIKATSE4.js";
|
|
66
|
-
import "../chunk-
|
|
67
|
-
import "../chunk-RYDR7TRT.js";
|
|
67
|
+
import "../chunk-MDGYXUOV.js";
|
|
68
68
|
import "../chunk-GBNB4EWD.js";
|
|
69
69
|
import "../chunk-UXLO7VHX.js";
|
|
70
70
|
import "../chunk-DSOQUQTV.js";
|
|
71
|
-
import "../chunk-
|
|
71
|
+
import "../chunk-E2WEFZOR.js";
|
|
72
72
|
import "../chunk-AJIXH5JF.js";
|
|
73
|
-
import "../chunk-
|
|
73
|
+
import "../chunk-L6ZNURWN.js";
|
|
74
74
|
import "../chunk-XTWHNLGD.js";
|
|
75
75
|
import "../chunk-AM7S2TY6.js";
|
|
76
|
-
import "../chunk-
|
|
76
|
+
import "../chunk-HIIXCAEE.js";
|
|
77
77
|
import "../chunk-CVYC6DUW.js";
|
|
78
|
-
import "../chunk-
|
|
78
|
+
import "../chunk-QZL6E4UB.js";
|
|
79
79
|
import "../chunk-CDUB5Q6J.js";
|
|
80
80
|
import {
|
|
81
81
|
attributeSignalSource,
|
|
@@ -83,7 +83,8 @@ import {
|
|
|
83
83
|
isRestartCooldownActive,
|
|
84
84
|
logRestartEvent,
|
|
85
85
|
noteRestartAttempt
|
|
86
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-UQUUNGTP.js";
|
|
87
|
+
import "../chunk-IVU3WN7S.js";
|
|
87
88
|
import {
|
|
88
89
|
AGENT_IDENTITY_TOKEN_HEADER,
|
|
89
90
|
assessInitialBindIdentity,
|
|
@@ -120,7 +121,7 @@ import "../chunk-W2IRQJ6R.js";
|
|
|
120
121
|
import "../chunk-HYZV25LY.js";
|
|
121
122
|
import "../chunk-GJV3WDWM.js";
|
|
122
123
|
import "../chunk-MP2AFCGL.js";
|
|
123
|
-
import "../chunk-
|
|
124
|
+
import "../chunk-5DCCKHDY.js";
|
|
124
125
|
import "../chunk-TKDITWDN.js";
|
|
125
126
|
import {
|
|
126
127
|
logBoot,
|
|
@@ -130,7 +131,7 @@ import {
|
|
|
130
131
|
logShutdown
|
|
131
132
|
} from "../chunk-BBMTVAE3.js";
|
|
132
133
|
import "../chunk-5YEUPUV4.js";
|
|
133
|
-
import "../chunk-
|
|
134
|
+
import "../chunk-UTDMTQNH.js";
|
|
134
135
|
import {
|
|
135
136
|
isPostgresBackendEnabled
|
|
136
137
|
} from "../chunk-YYB5PMTK.js";
|
|
@@ -151,10 +152,10 @@ import {
|
|
|
151
152
|
EMBEDDING_DIM
|
|
152
153
|
} from "../chunk-FXU7JOXK.js";
|
|
153
154
|
import "../chunk-WNBZJSQT.js";
|
|
154
|
-
import "../chunk-
|
|
155
|
+
import "../chunk-DKBPCOU4.js";
|
|
155
156
|
import "../chunk-A7XLR3K7.js";
|
|
156
|
-
import "../chunk-
|
|
157
|
-
import "../chunk-
|
|
157
|
+
import "../chunk-GB3AHV5F.js";
|
|
158
|
+
import "../chunk-A7JYF4RG.js";
|
|
158
159
|
import "../chunk-ARX6TAGN.js";
|
|
159
160
|
import {
|
|
160
161
|
EXE_AI_DIR,
|
|
@@ -2530,7 +2531,7 @@ async function loadModel() {
|
|
|
2530
2531
|
void (async () => {
|
|
2531
2532
|
try {
|
|
2532
2533
|
if (_storeInitialized) {
|
|
2533
|
-
const { writeNotification } = await import("../notifications-
|
|
2534
|
+
const { writeNotification } = await import("../notifications-7B6D7Y5C.js");
|
|
2534
2535
|
await writeNotification({
|
|
2535
2536
|
agentId: "exe",
|
|
2536
2537
|
agentRole: "system",
|
|
@@ -2649,7 +2650,7 @@ function disableEmbeddingsForInferenceTimeouts() {
|
|
|
2649
2650
|
void (async () => {
|
|
2650
2651
|
try {
|
|
2651
2652
|
if (_storeInitialized) {
|
|
2652
|
-
const { writeNotification } = await import("../notifications-
|
|
2653
|
+
const { writeNotification } = await import("../notifications-7B6D7Y5C.js");
|
|
2653
2654
|
await writeNotification({
|
|
2654
2655
|
agentId: "exe",
|
|
2655
2656
|
agentRole: "system",
|
|
@@ -2816,7 +2817,7 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
|
|
|
2816
2817
|
_shuttingDown = true;
|
|
2817
2818
|
_drainingWrites = true;
|
|
2818
2819
|
try {
|
|
2819
|
-
const { stopOrgPartnerRuntime } = await import("../org-partner-runtime-
|
|
2820
|
+
const { stopOrgPartnerRuntime } = await import("../org-partner-runtime-UJDGECZ4.js");
|
|
2820
2821
|
stopOrgPartnerRuntime();
|
|
2821
2822
|
} catch {
|
|
2822
2823
|
}
|
|
@@ -2899,7 +2900,7 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
|
|
|
2899
2900
|
dbBytes = dbPath ? statSync4(dbPath).size : 0;
|
|
2900
2901
|
} catch {
|
|
2901
2902
|
}
|
|
2902
|
-
const { getAvailableMemoryBytesSync } = await import("../memory-pressure-watchdog-
|
|
2903
|
+
const { getAvailableMemoryBytesSync } = await import("../memory-pressure-watchdog-6F6KEQHN.js");
|
|
2903
2904
|
const freeBytes = getAvailableMemoryBytesSync();
|
|
2904
2905
|
if (shouldSkipBackupUnderMemoryPressure(freeBytes, dbBytes)) {
|
|
2905
2906
|
memoryGateSkip = true;
|
|
@@ -2952,7 +2953,7 @@ async function shutdown(exitCode = 0, reason = null, restartKind) {
|
|
|
2952
2953
|
`);
|
|
2953
2954
|
}
|
|
2954
2955
|
try {
|
|
2955
|
-
const { stopProjectionWorker } = await import("../projection-worker-
|
|
2956
|
+
const { stopProjectionWorker } = await import("../projection-worker-D2472IOD.js");
|
|
2956
2957
|
stopProjectionWorker();
|
|
2957
2958
|
} catch {
|
|
2958
2959
|
}
|
|
@@ -3015,7 +3016,7 @@ async function handleHealthCheck(socket, requestId) {
|
|
|
3015
3016
|
let pipelineStatus = "unknown";
|
|
3016
3017
|
if (dbConnected) {
|
|
3017
3018
|
try {
|
|
3018
|
-
await import("../pipeline-router-
|
|
3019
|
+
await import("../pipeline-router-YY5FQKTY.js");
|
|
3019
3020
|
pipelineStatus = "ok";
|
|
3020
3021
|
} catch {
|
|
3021
3022
|
pipelineStatus = "unavailable";
|
|
@@ -3458,7 +3459,7 @@ async function _writeMemoryRecordInner(entry, syncOnly = false) {
|
|
|
3458
3459
|
const vRow = await client.execute({ sql: "SELECT version FROM memories WHERE id = ?", args: [id] });
|
|
3459
3460
|
const version = Number(vRow.rows[0]?.version) || 0;
|
|
3460
3461
|
try {
|
|
3461
|
-
const { insertOntologyForMemory } = await import("../agentic-ontology-
|
|
3462
|
+
const { insertOntologyForMemory } = await import("../agentic-ontology-DMPRDEUX.js");
|
|
3462
3463
|
await insertOntologyForMemory({
|
|
3463
3464
|
id,
|
|
3464
3465
|
agent_id: record.agent_id,
|
|
@@ -3575,7 +3576,7 @@ function startMessageQueueDrain() {
|
|
|
3575
3576
|
fired("message_queue_drain");
|
|
3576
3577
|
if (!await ensureStoreForPolling()) return;
|
|
3577
3578
|
try {
|
|
3578
|
-
const { claimMessageQueue, ackMessageQueue } = await import("../message-queue-client-
|
|
3579
|
+
const { claimMessageQueue, ackMessageQueue } = await import("../message-queue-client-MVBTYCSV.js");
|
|
3579
3580
|
const lease = claimMessageQueue();
|
|
3580
3581
|
if (!lease || lease.entries.length === 0) return;
|
|
3581
3582
|
acted("message_queue_drain");
|
|
@@ -4282,7 +4283,7 @@ async function startMcpHttpServer() {
|
|
|
4282
4283
|
clearBootstrapFailureMarker();
|
|
4283
4284
|
setBootPhase("db_ready");
|
|
4284
4285
|
_storeInitialized = true;
|
|
4285
|
-
const { initLicenseGate, getCachedLicenseGate } = await import("../license-gate-
|
|
4286
|
+
const { initLicenseGate, getCachedLicenseGate } = await import("../license-gate-ESER24PJ.js");
|
|
4286
4287
|
const gateResult = await initLicenseGate();
|
|
4287
4288
|
if (!gateResult.hasKey) {
|
|
4288
4289
|
process.stderr.write(
|
|
@@ -4297,13 +4298,13 @@ async function startMcpHttpServer() {
|
|
|
4297
4298
|
let _cachedWrapTelemetry = null;
|
|
4298
4299
|
async function getWrapTelemetry() {
|
|
4299
4300
|
if (!_cachedWrapTelemetry) {
|
|
4300
|
-
const { wrapServerWithTelemetry } = await import("../tool-telemetry-
|
|
4301
|
+
const { wrapServerWithTelemetry } = await import("../tool-telemetry-ZX7VSAXK.js");
|
|
4301
4302
|
_cachedWrapTelemetry = wrapServerWithTelemetry;
|
|
4302
4303
|
}
|
|
4303
4304
|
return _cachedWrapTelemetry;
|
|
4304
4305
|
}
|
|
4305
4306
|
Promise.all([
|
|
4306
|
-
import("../tool-capability-index-
|
|
4307
|
+
import("../tool-capability-index-ED5OAPMW.js"),
|
|
4307
4308
|
import("../tool-gates-2OZY3GZM.js")
|
|
4308
4309
|
]).then(async ([{ getToolCapabilityIndex }, { TOOL_CATEGORIES }]) => {
|
|
4309
4310
|
const gateState = getCachedLicenseGate();
|
|
@@ -4369,7 +4370,7 @@ async function startMcpHttpServer() {
|
|
|
4369
4370
|
const expectedBuf = Buffer.from(_daemonToken);
|
|
4370
4371
|
if (tokenBuf.length === expectedBuf.length && timingSafeEqual(tokenBuf, expectedBuf)) return true;
|
|
4371
4372
|
try {
|
|
4372
|
-
const { verifyAccessToken } = await import("../oauth-server-
|
|
4373
|
+
const { verifyAccessToken } = await import("../oauth-server-TZFNQAFS.js");
|
|
4373
4374
|
const result = verifyAccessToken(token);
|
|
4374
4375
|
return result.valid;
|
|
4375
4376
|
} catch {
|
|
@@ -4622,7 +4623,7 @@ async function startMcpHttpServer() {
|
|
|
4622
4623
|
return;
|
|
4623
4624
|
}
|
|
4624
4625
|
try {
|
|
4625
|
-
const { handleOAuthRoute } = await import("../oauth-server-
|
|
4626
|
+
const { handleOAuthRoute } = await import("../oauth-server-TZFNQAFS.js");
|
|
4626
4627
|
const handled = await handleOAuthRoute(req, res, url, MCP_HTTP_PORT);
|
|
4627
4628
|
if (handled) return;
|
|
4628
4629
|
} catch (err) {
|
|
@@ -4750,7 +4751,7 @@ async function startMcpHttpServer() {
|
|
|
4750
4751
|
contextPct: body.context_pct
|
|
4751
4752
|
});
|
|
4752
4753
|
if (body.context_pct !== void 0 && body.context_pct > 70) {
|
|
4753
|
-
void import("../orchestration-events-
|
|
4754
|
+
void import("../orchestration-events-GY5VP5LU.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
4754
4755
|
recordOE({
|
|
4755
4756
|
eventType: "context.pressure",
|
|
4756
4757
|
source: "exe-daemon.heartbeat",
|
|
@@ -4862,7 +4863,7 @@ async function startMcpHttpServer() {
|
|
|
4862
4863
|
let sessionHint = req.headers["x-exe-session-name"] || req.headers["x-exe-session"] || "";
|
|
4863
4864
|
if (sessionHint) {
|
|
4864
4865
|
try {
|
|
4865
|
-
const { sanitizeSessionHintHeader, rejectForgedSessionHint } = await import("../mcp-session-identity-
|
|
4866
|
+
const { sanitizeSessionHintHeader, rejectForgedSessionHint } = await import("../mcp-session-identity-LRC6WJSD.js");
|
|
4866
4867
|
const rawHint = sessionHint;
|
|
4867
4868
|
sessionHint = sanitizeSessionHintHeader(sessionHint);
|
|
4868
4869
|
if (!sessionHint) {
|
|
@@ -4901,7 +4902,7 @@ async function startMcpHttpServer() {
|
|
|
4901
4902
|
try {
|
|
4902
4903
|
const liveSessions = await getTmuxSessionsAsync();
|
|
4903
4904
|
const paneCommands = await getPaneCommandsAsync();
|
|
4904
|
-
const { resolveMcpSessionHint } = await import("../mcp-session-identity-
|
|
4905
|
+
const { resolveMcpSessionHint } = await import("../mcp-session-identity-LRC6WJSD.js");
|
|
4905
4906
|
let registrySessions = [];
|
|
4906
4907
|
try {
|
|
4907
4908
|
const { listSessions: listRegistrySessions } = await import("./session-registry.js");
|
|
@@ -5038,7 +5039,7 @@ async function startMcpHttpServer() {
|
|
|
5038
5039
|
bindLive = await getTmuxSessionsAsync();
|
|
5039
5040
|
} catch {
|
|
5040
5041
|
}
|
|
5041
|
-
const { isLauncherCorroboratedIdentity } = await import("../mcp-session-identity-
|
|
5042
|
+
const { isLauncherCorroboratedIdentity } = await import("../mcp-session-identity-LRC6WJSD.js");
|
|
5042
5043
|
const corroborated = isLauncherCorroboratedIdentity({
|
|
5043
5044
|
agentId,
|
|
5044
5045
|
registrySessions: bindRegistry,
|
|
@@ -5281,7 +5282,7 @@ async function startMcpHttpServer() {
|
|
|
5281
5282
|
}
|
|
5282
5283
|
}
|
|
5283
5284
|
try {
|
|
5284
|
-
const { reconcileHintWithRegistryIdentity } = await import("../mcp-session-identity-
|
|
5285
|
+
const { reconcileHintWithRegistryIdentity } = await import("../mcp-session-identity-LRC6WJSD.js");
|
|
5285
5286
|
const { listSessions: listRegistrySessions } = await import("./session-registry.js");
|
|
5286
5287
|
const recon = reconcileHintWithRegistryIdentity({
|
|
5287
5288
|
agentId,
|
|
@@ -5494,9 +5495,9 @@ async function ensureStoreForPolling() {
|
|
|
5494
5495
|
await initDatabase({ dbPath: config.dbPath, encryptionKey: masterKey.toString("hex") });
|
|
5495
5496
|
await ensureSchema();
|
|
5496
5497
|
try {
|
|
5497
|
-
const { isLedgerEnabled } = await import("../notification-ledger-
|
|
5498
|
+
const { isLedgerEnabled } = await import("../notification-ledger-6QRLQW4Q.js");
|
|
5498
5499
|
if (isLedgerEnabled()) {
|
|
5499
|
-
const { bumpBootGeneration } = await import("../boot-generation-
|
|
5500
|
+
const { bumpBootGeneration } = await import("../boot-generation-OHXH4YC5.js");
|
|
5500
5501
|
const { setDaemonReadyGeneration } = await import("../daemon-ready-signal-CKXPUMJ2.js");
|
|
5501
5502
|
const generation = await bumpBootGeneration();
|
|
5502
5503
|
setDaemonReadyGeneration(generation);
|
|
@@ -5536,13 +5537,13 @@ async function ensureStoreForPolling() {
|
|
|
5536
5537
|
}
|
|
5537
5538
|
}
|
|
5538
5539
|
async function startReviewPolling() {
|
|
5539
|
-
const polling = await import("../review-polling-
|
|
5540
|
+
const polling = await import("../review-polling-2INP7H6M.js");
|
|
5540
5541
|
const state = {
|
|
5541
5542
|
lastIntercomSent: /* @__PURE__ */ new Map(),
|
|
5542
5543
|
lastNudgeSent: /* @__PURE__ */ new Map(),
|
|
5543
5544
|
intervalMs: REVIEW_POLL_INTERVAL_MS
|
|
5544
5545
|
};
|
|
5545
|
-
const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-
|
|
5546
|
+
const { pollReviewNudge, createReviewNudgeRealDeps, loadNudgeState } = await import("../daemon-orchestration-IGPHVNFR.js");
|
|
5546
5547
|
const nudgeState = loadNudgeState();
|
|
5547
5548
|
const tick = async () => traceDaemonTimer("review_polling", async () => {
|
|
5548
5549
|
fired("review_polling");
|
|
@@ -5550,7 +5551,7 @@ async function startReviewPolling() {
|
|
|
5550
5551
|
try {
|
|
5551
5552
|
const { getClient } = await import("./database.js");
|
|
5552
5553
|
const deps = polling.createRealDeps(getClient);
|
|
5553
|
-
const { strictSessionScopeFilter } = await import("../task-scope-
|
|
5554
|
+
const { strictSessionScopeFilter } = await import("../task-scope-KXF7Y6KA.js");
|
|
5554
5555
|
const { getCoordinatorName, DEFAULT_COORDINATOR_TEMPLATE_NAME } = await import("./employees.js");
|
|
5555
5556
|
deps.findOrphanedDoneTasks = async (sessionScope) => {
|
|
5556
5557
|
const coordinatorName = getCoordinatorName();
|
|
@@ -5629,7 +5630,7 @@ function startSessionTTL() {
|
|
|
5629
5630
|
if (!await ensureStoreForPolling()) return;
|
|
5630
5631
|
if (inPostRestartDestructiveGrace("session_ttl")) return;
|
|
5631
5632
|
const { getClient } = await import("./database.js");
|
|
5632
|
-
const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-
|
|
5633
|
+
const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-IGPHVNFR.js");
|
|
5633
5634
|
const deps = createSessionTTLRealDeps(getClient);
|
|
5634
5635
|
const killed = await checkSessionTTL(deps, _wedgeObservations);
|
|
5635
5636
|
if (killed.length > 0) acted("session_ttl");
|
|
@@ -5689,7 +5690,7 @@ function startIdleKill() {
|
|
|
5689
5690
|
const cfg = await getCachedConfig();
|
|
5690
5691
|
if (!cfg) return;
|
|
5691
5692
|
const { getClient } = await import("./database.js");
|
|
5692
|
-
const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-
|
|
5693
|
+
const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-IGPHVNFR.js");
|
|
5693
5694
|
const { sessions: liveSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
|
|
5694
5695
|
const realDeps = createIdleKillRealDeps(
|
|
5695
5696
|
getClient,
|
|
@@ -6078,7 +6079,7 @@ function startSkillRefinement() {
|
|
|
6078
6079
|
if (!shouldRunHeavyJob("skill_refinement")) return;
|
|
6079
6080
|
try {
|
|
6080
6081
|
if (!await ensureStoreForPolling()) return;
|
|
6081
|
-
const { runSkillRefinement } = await import("../skill-refinement-
|
|
6082
|
+
const { runSkillRefinement } = await import("../skill-refinement-RA37U756.js");
|
|
6082
6083
|
const result = await runSkillRefinement();
|
|
6083
6084
|
if (result.reviewed > 0) {
|
|
6084
6085
|
acted("skill_refinement");
|
|
@@ -6143,7 +6144,7 @@ function startStalledDispatchSweep() {
|
|
|
6143
6144
|
});
|
|
6144
6145
|
const { notifications, nextState } = decideStalledDispatchEscalations(intents, previousState);
|
|
6145
6146
|
if (notifications.length > 0 && _storeInitialized) {
|
|
6146
|
-
const { writeNotification } = await import("../notifications-
|
|
6147
|
+
const { writeNotification } = await import("../notifications-7B6D7Y5C.js");
|
|
6147
6148
|
for (const note of notifications) {
|
|
6148
6149
|
try {
|
|
6149
6150
|
await writeNotification({
|
|
@@ -6193,8 +6194,8 @@ function startStaleBranchSweep() {
|
|
|
6193
6194
|
fired("stale_branch_sweep");
|
|
6194
6195
|
if (sweepStarved("stale_branch_sweep")) return;
|
|
6195
6196
|
try {
|
|
6196
|
-
const { discoverRepoPathsAsync } = await import("../worktree-sweep-
|
|
6197
|
-
const { scanUnmergedBranchesCached } = await import("../branch-hygiene-
|
|
6197
|
+
const { discoverRepoPathsAsync } = await import("../worktree-sweep-46VWPVQT.js");
|
|
6198
|
+
const { scanUnmergedBranchesCached } = await import("../branch-hygiene-KCGXRAWP.js");
|
|
6198
6199
|
const { runBudgetedSweep } = await import("../sweep-budget-KMPJ7O5Z.js");
|
|
6199
6200
|
const today = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
|
|
6200
6201
|
for (const k of _staleBranchAlertedToday) {
|
|
@@ -6224,15 +6225,23 @@ function startStaleBranchSweep() {
|
|
|
6224
6225
|
if (_staleBranchAlertedToday.has(guardKey)) return;
|
|
6225
6226
|
_staleBranchAlertedToday.add(guardKey);
|
|
6226
6227
|
if (!_storeInitialized) return;
|
|
6227
|
-
const stale = scan.branches.filter((b) => b.ageHours >= STALE_BRANCH_HOURS).slice(0, 5).map((b) => `${b.name} (
|
|
6228
|
+
const stale = scan.branches.filter((b) => b.ageHours >= STALE_BRANCH_HOURS).slice(0, 5).map((b) => `${b.name} (${b.aheadUnknown ? "+? commits" : `+${b.ahead} commits`}, ${(b.ageHours / 24).toFixed(1)}d)`).join("; ");
|
|
6228
6229
|
try {
|
|
6229
|
-
const { writeNotification } = await import("../notifications-
|
|
6230
|
+
const { writeNotification } = await import("../notifications-7B6D7Y5C.js");
|
|
6230
6231
|
await writeNotification({
|
|
6231
6232
|
agentId: "exe",
|
|
6232
6233
|
agentRole: "system",
|
|
6233
6234
|
event: "error_spike",
|
|
6234
6235
|
project: repoName,
|
|
6235
|
-
summary:
|
|
6236
|
+
summary: (
|
|
6237
|
+
// Bug 7b1d3bb4: scan.branches/staleCount are now the ATTENTION
|
|
6238
|
+
// population only — live remote branches whose PR was closed
|
|
6239
|
+
// without merging or never opened. Squash-merged branches (which
|
|
6240
|
+
// ancestry called unmerged forever) no longer reach this alert,
|
|
6241
|
+
// and `git branch -r --no-merged` is no longer offered as the
|
|
6242
|
+
// follow-up because it is the very command that lied.
|
|
6243
|
+
`${scan.staleCount} remote branch(es) in ${repoName} are >${STALE_BRANCH_HOURS}h old with UNLANDED work (PR closed without merge, or never proposed) \u2014 check before starting new work to avoid redoing it. Oldest: ${stale}. Full remote-verified report: exe-os repo-truth`
|
|
6244
|
+
),
|
|
6236
6245
|
sessionScope: null
|
|
6237
6246
|
});
|
|
6238
6247
|
acted("stale_branch_sweep");
|
|
@@ -6281,7 +6290,7 @@ function startWorkStateHeartbeat() {
|
|
|
6281
6290
|
const { getClient } = await import("./database.js");
|
|
6282
6291
|
const { listSessions } = await import("./session-registry.js");
|
|
6283
6292
|
const { isCoordinatorName } = await import("./employees.js");
|
|
6284
|
-
const { runWorkStateTick } = await import("../work-state-heartbeat-
|
|
6293
|
+
const { runWorkStateTick } = await import("../work-state-heartbeat-YEWT5NMZ.js");
|
|
6285
6294
|
let liveTmux = null;
|
|
6286
6295
|
const loadLiveTmux = async () => {
|
|
6287
6296
|
if (!liveTmux) liveTmux = await listTmuxSessionNamesAsync();
|
|
@@ -6347,7 +6356,7 @@ function startGraphExtraction() {
|
|
|
6347
6356
|
if (!await ensureStoreForPolling()) return;
|
|
6348
6357
|
const { getClient } = await import("./database.js");
|
|
6349
6358
|
const client = getClient();
|
|
6350
|
-
const { extractBatch } = await import("../graph-rag-
|
|
6359
|
+
const { extractBatch } = await import("../graph-rag-RMSFLUOB.js");
|
|
6351
6360
|
const result = await extractBatch(client, 50, config.selfQueryModel);
|
|
6352
6361
|
if (result.processed > 0) {
|
|
6353
6362
|
acted("graph_extraction");
|
|
@@ -6678,7 +6687,7 @@ async function refreshAgentData() {
|
|
|
6678
6687
|
const decision = evaluateSpendCapAlert(_lastSpendCapLevel, capStatus);
|
|
6679
6688
|
_lastSpendCapLevel = decision.level;
|
|
6680
6689
|
if (decision.shouldAlert && decision.summary) {
|
|
6681
|
-
const { writeNotification } = await import("../notifications-
|
|
6690
|
+
const { writeNotification } = await import("../notifications-7B6D7Y5C.js");
|
|
6682
6691
|
await writeNotification({
|
|
6683
6692
|
agentId: "system",
|
|
6684
6693
|
agentRole: "system",
|
|
@@ -6800,7 +6809,7 @@ function startReflectionSweep() {
|
|
|
6800
6809
|
);
|
|
6801
6810
|
let runReflection;
|
|
6802
6811
|
try {
|
|
6803
|
-
({ runReflection } = await import("../memory-reflection-
|
|
6812
|
+
({ runReflection } = await import("../memory-reflection-QXHJPYPC.js"));
|
|
6804
6813
|
} catch (importErr) {
|
|
6805
6814
|
_reflectionImportFailed = true;
|
|
6806
6815
|
process.stderr.write(`[exed] Reflection module unavailable (stale chunk hash?) \u2014 disabled until daemon restart: ${importErr instanceof Error ? importErr.message : String(importErr)}
|
|
@@ -6841,7 +6850,7 @@ function startReflectionSweep() {
|
|
|
6841
6850
|
if (memories > 100 && cards < memories * 0.1) {
|
|
6842
6851
|
process.stderr.write(`[exed] Memory cards sparse (${cards} cards / ${memories} memories) \u2014 running backfill...
|
|
6843
6852
|
`);
|
|
6844
|
-
const { insertMemoryCardsForBatch } = await import("../memory-cards-
|
|
6853
|
+
const { insertMemoryCardsForBatch } = await import("../memory-cards-V3OZHIYP.js");
|
|
6845
6854
|
const batchSize = 500;
|
|
6846
6855
|
let offset = 0;
|
|
6847
6856
|
let totalCards = 0;
|
|
@@ -6922,7 +6931,7 @@ function startDatabaseBackup() {
|
|
|
6922
6931
|
`
|
|
6923
6932
|
);
|
|
6924
6933
|
try {
|
|
6925
|
-
const { maybeVerifyDailyBackup } = await import("../backup-verify-
|
|
6934
|
+
const { maybeVerifyDailyBackup } = await import("../backup-verify-EX2K732J.js");
|
|
6926
6935
|
const verdict = await maybeVerifyDailyBackup(backupPath);
|
|
6927
6936
|
if (verdict && !verdict.ok) {
|
|
6928
6937
|
process.stderr.write(
|
|
@@ -6998,7 +7007,7 @@ function startSessionEventsRetention() {
|
|
|
6998
7007
|
fired("session_events_retention");
|
|
6999
7008
|
if (!await ensureStoreForPolling()) return;
|
|
7000
7009
|
try {
|
|
7001
|
-
const { DEFAULT_SESSION_EVENTS_RETENTION_DAYS } = await import("../session-events-
|
|
7010
|
+
const { DEFAULT_SESSION_EVENTS_RETENTION_DAYS } = await import("../session-events-G4XUPVWV.js");
|
|
7002
7011
|
const days = SESSION_EVENTS_RETENTION_DAYS ?? DEFAULT_SESSION_EVENTS_RETENTION_DAYS;
|
|
7003
7012
|
if (!isWriteWorkerEnabled() || !isDbWriteWorkerReady()) {
|
|
7004
7013
|
process.stderr.write(
|
|
@@ -7044,7 +7053,7 @@ function startIntercomQueueDrain() {
|
|
|
7044
7053
|
const tick = async () => traceDaemonTimer("intercom_queue_drain", async () => {
|
|
7045
7054
|
fired("intercom_queue_drain");
|
|
7046
7055
|
try {
|
|
7047
|
-
const { drainQueueAsync, readQueue } = await import("../intercom-queue-
|
|
7056
|
+
const { drainQueueAsync, readQueue } = await import("../intercom-queue-6DZ7BANV.js");
|
|
7048
7057
|
const {
|
|
7049
7058
|
sendIntercomAsync: centralSendIntercomAsync,
|
|
7050
7059
|
countScopedPendingReviews,
|
|
@@ -7176,7 +7185,7 @@ function startLedgerDrain() {
|
|
|
7176
7185
|
const tick = async () => traceDaemonTimer("ledger_drain", async () => {
|
|
7177
7186
|
fired("ledger_drain");
|
|
7178
7187
|
try {
|
|
7179
|
-
const { isLedgerEnabled, drainLedger } = await import("../notification-ledger-
|
|
7188
|
+
const { isLedgerEnabled, drainLedger } = await import("../notification-ledger-6QRLQW4Q.js");
|
|
7180
7189
|
if (!isLedgerEnabled()) return;
|
|
7181
7190
|
const result = await drainLedger({
|
|
7182
7191
|
// Shadow "would-deliver": idle target = would-deliver, busy = retry.
|
|
@@ -7215,7 +7224,7 @@ function startOrphanReaper() {
|
|
|
7215
7224
|
const tick = async () => traceDaemonTimer("orphan_reaper", async () => {
|
|
7216
7225
|
fired("orphan_reaper");
|
|
7217
7226
|
try {
|
|
7218
|
-
const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-
|
|
7227
|
+
const { reapOrphanedMcpProcesses, createOrphanReaperRealDepsAsync } = await import("../daemon-orchestration-IGPHVNFR.js");
|
|
7219
7228
|
const deps = await createOrphanReaperRealDepsAsync();
|
|
7220
7229
|
const reaped = await reapOrphanedMcpProcesses(deps);
|
|
7221
7230
|
if (reaped.length > 0) acted("orphan_reaper");
|
|
@@ -7240,7 +7249,7 @@ function startZombieAgentReaper() {
|
|
|
7240
7249
|
const tick = async () => traceDaemonTimer("zombie_agent_reaper", async () => {
|
|
7241
7250
|
fired("zombie_agent_reaper");
|
|
7242
7251
|
try {
|
|
7243
|
-
const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-
|
|
7252
|
+
const { reapZombieAgentProcesses, createZombieAgentReaperRealDepsAsync } = await import("../daemon-orchestration-IGPHVNFR.js");
|
|
7244
7253
|
const deps = await createZombieAgentReaperRealDepsAsync();
|
|
7245
7254
|
const reaped = reapZombieAgentProcesses(deps);
|
|
7246
7255
|
if (reaped.length > 0) acted("zombie_agent_reaper");
|
|
@@ -7264,7 +7273,7 @@ async function startDaemonMemoryPressureWatchdog() {
|
|
|
7264
7273
|
try {
|
|
7265
7274
|
const cfg = await getCachedConfig();
|
|
7266
7275
|
if (!cfg) return;
|
|
7267
|
-
const { startMemoryPressureWatchdog: startWatchdog, MEMORY_PRESSURE_WATCHDOG_DEFAULTS } = await import("../memory-pressure-watchdog-
|
|
7276
|
+
const { startMemoryPressureWatchdog: startWatchdog, MEMORY_PRESSURE_WATCHDOG_DEFAULTS } = await import("../memory-pressure-watchdog-6F6KEQHN.js");
|
|
7268
7277
|
const watchdogCfg = {
|
|
7269
7278
|
...MEMORY_PRESSURE_WATCHDOG_DEFAULTS,
|
|
7270
7279
|
...cfg.memoryPressureWatchdog ?? {}
|
|
@@ -7296,7 +7305,7 @@ function startWorktreeReaper() {
|
|
|
7296
7305
|
fired("worktree_reaper");
|
|
7297
7306
|
if (sweepStarved("worktree_reaper")) return;
|
|
7298
7307
|
try {
|
|
7299
|
-
const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-
|
|
7308
|
+
const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-IGPHVNFR.js");
|
|
7300
7309
|
const deps = await createWorktreeReaperRealDeps();
|
|
7301
7310
|
const result = await reapOrphanedWorktrees(deps);
|
|
7302
7311
|
if (result.pruned.length > 0) {
|
|
@@ -7340,8 +7349,8 @@ function startWorktreeReaper() {
|
|
|
7340
7349
|
}
|
|
7341
7350
|
return;
|
|
7342
7351
|
}
|
|
7343
|
-
const { cleanupAgentWorktree } = await import("../worktree-sweep-
|
|
7344
|
-
const { getMainRepoRootAsync } = await import("../worktree-
|
|
7352
|
+
const { cleanupAgentWorktree } = await import("../worktree-sweep-46VWPVQT.js");
|
|
7353
|
+
const { getMainRepoRootAsync } = await import("../worktree-GOGT2LZP.js");
|
|
7345
7354
|
const repoRoot = await getMainRepoRootAsync(signal.worktreePath);
|
|
7346
7355
|
if (repoRoot && signal.agentId) {
|
|
7347
7356
|
const notes = await cleanupAgentWorktree(repoRoot, signal.agentId);
|
|
@@ -7378,7 +7387,7 @@ function startAutoWake() {
|
|
|
7378
7387
|
if (!await ensureStoreForPolling()) return;
|
|
7379
7388
|
try {
|
|
7380
7389
|
const { getClient } = await import("./database.js");
|
|
7381
|
-
const { pollOrphanedTasks, createAutoWakeRealDeps } = await import("../daemon-orchestration-
|
|
7390
|
+
const { pollOrphanedTasks, createAutoWakeRealDeps } = await import("../daemon-orchestration-IGPHVNFR.js");
|
|
7382
7391
|
const deps = createAutoWakeRealDeps(getClient, process.cwd(), getTmuxSessionsAsync);
|
|
7383
7392
|
const woken = await pollOrphanedTasks(deps);
|
|
7384
7393
|
if (woken.length > 0) acted("auto_wake");
|
|
@@ -7453,7 +7462,7 @@ function startAutoWake() {
|
|
|
7453
7462
|
if (age > 60 * 60 * 1e3) {
|
|
7454
7463
|
try {
|
|
7455
7464
|
await unlink(signalPath);
|
|
7456
|
-
void import("../orchestration-events-
|
|
7465
|
+
void import("../orchestration-events-GY5VP5LU.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
7457
7466
|
recordOE({ eventType: "signal.stale", source: "exe-daemon.autoWake", severity: "warn", payload: { file, ageMinutes: Math.round(age / 6e4) } });
|
|
7458
7467
|
}).catch(() => {
|
|
7459
7468
|
});
|
|
@@ -7602,7 +7611,7 @@ function startStuckTaskRelease() {
|
|
|
7602
7611
|
createStaleClaimRealDeps,
|
|
7603
7612
|
escalateStuckBlockedTasks,
|
|
7604
7613
|
createStuckBlockedRealDeps
|
|
7605
|
-
} = await import("../daemon-orchestration-
|
|
7614
|
+
} = await import("../daemon-orchestration-IGPHVNFR.js");
|
|
7606
7615
|
const { runBudgetedSweep } = await import("../sweep-budget-KMPJ7O5Z.js");
|
|
7607
7616
|
const steps = [
|
|
7608
7617
|
async () => {
|
|
@@ -7867,12 +7876,12 @@ function startTaskEnforcementScanner() {
|
|
|
7867
7876
|
const tick = async () => traceDaemonTimer("task_enforcement", async () => {
|
|
7868
7877
|
fired("task_enforcement");
|
|
7869
7878
|
try {
|
|
7870
|
-
const { runTaskEnforcementTick } = await import("../task-enforcement-
|
|
7879
|
+
const { runTaskEnforcementTick } = await import("../task-enforcement-LGXWXGVZ.js");
|
|
7871
7880
|
const { getTransport } = await import("./transport.js");
|
|
7872
7881
|
const { loadAgentConfig } = await import("./agent-config.js");
|
|
7873
7882
|
const { getClient } = await import("./database.js");
|
|
7874
7883
|
const { loadEmployeesSync } = await import("./employees.js");
|
|
7875
|
-
const { sessionScopeFilter } = await import("../task-scope-
|
|
7884
|
+
const { sessionScopeFilter } = await import("../task-scope-KXF7Y6KA.js");
|
|
7876
7885
|
const transport = getTransport();
|
|
7877
7886
|
const { sessions: allSessions, paneCache, aliveSessions } = await getSharedOrchestrationCaches();
|
|
7878
7887
|
await yieldToEventLoop();
|
|
@@ -7883,10 +7892,10 @@ function startTaskEnforcementScanner() {
|
|
|
7883
7892
|
sendKeysLiteral: transport.sendKeysLiteral?.bind(transport),
|
|
7884
7893
|
isAlive: (session) => aliveSessions.has(session)
|
|
7885
7894
|
};
|
|
7886
|
-
const { checkAutoWakeGates } = await import("../daemon-orchestration-
|
|
7895
|
+
const { checkAutoWakeGates } = await import("../daemon-orchestration-IGPHVNFR.js");
|
|
7887
7896
|
const { ensureEmployeeAsync, employeeSessionName, sendIntercomAsync } = await import("./tmux-routing.js");
|
|
7888
7897
|
const { shouldAutoInstance } = await import("./employees.js");
|
|
7889
|
-
const { recordOrchestrationEventBestEffort } = await import("../orchestration-events-
|
|
7898
|
+
const { recordOrchestrationEventBestEffort } = await import("../orchestration-events-GY5VP5LU.js");
|
|
7890
7899
|
const projectDir = process.cwd();
|
|
7891
7900
|
await runTaskEnforcementTick({
|
|
7892
7901
|
transport: enforcementTransport,
|
|
@@ -8212,7 +8221,7 @@ async function sweepExpiredTracesFromDaemonTimer() {
|
|
|
8212
8221
|
const memoryIds = idsResult.rows.map((r) => String(r.id)).filter(Boolean);
|
|
8213
8222
|
if (memoryIds.length === 0) return 0;
|
|
8214
8223
|
const { getClient } = await import("./database.js");
|
|
8215
|
-
const { cleanupGraphLinksForMemories, cleanupCardsForMemories } = await import("../graph-rag-
|
|
8224
|
+
const { cleanupGraphLinksForMemories, cleanupCardsForMemories } = await import("../graph-rag-RMSFLUOB.js");
|
|
8216
8225
|
const client = getClient();
|
|
8217
8226
|
await cleanupGraphLinksForMemories(client, memoryIds);
|
|
8218
8227
|
await cleanupCardsForMemories(client, memoryIds);
|
|
@@ -8687,6 +8696,17 @@ function startAutoUpdateCheck() {
|
|
|
8687
8696
|
process.stderr.write("[exe-daemon] auto-update config load: " + (e instanceof Error ? e.message : String(e)) + "\n");
|
|
8688
8697
|
});
|
|
8689
8698
|
}
|
|
8699
|
+
{
|
|
8700
|
+
const { reclaimSupervisionOnStart } = await import("../supervisor-handoff-CSJQMI53.js");
|
|
8701
|
+
if (await reclaimSupervisionOnStart()) {
|
|
8702
|
+
logDaemonHealth({
|
|
8703
|
+
event: "supervisor_handoff",
|
|
8704
|
+
pid: process.pid,
|
|
8705
|
+
message: "Handed daemon start to the OS supervisor; exiting so the supervised instance owns the lock."
|
|
8706
|
+
});
|
|
8707
|
+
process.exit(0);
|
|
8708
|
+
}
|
|
8709
|
+
}
|
|
8690
8710
|
if (checkExistingDaemon()) {
|
|
8691
8711
|
const msg = "Singleton conflict \u2014 a healthy daemon already owns the lock; deferring to it and exiting cleanly (code 0, intentional \u2014 NOT a failure, NOT a restart signal).";
|
|
8692
8712
|
process.stderr.write(`[exed] ${msg}
|
|
@@ -8923,7 +8943,7 @@ function startEventLoopLagDetector() {
|
|
|
8923
8943
|
const msg = `[exed] EVENT LOOP BLOCKED ${(lag / 1e3).toFixed(1)}s \u2014 MCP UNRESPONSIVE. Sessions will die.`;
|
|
8924
8944
|
process.stderr.write(msg + "\n");
|
|
8925
8945
|
logDaemonHealth({ event: "event_loop_blocked", pid: process.pid, message: msg, data: { lagMs: lag } });
|
|
8926
|
-
void import("../orchestration-events-
|
|
8946
|
+
void import("../orchestration-events-GY5VP5LU.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
8927
8947
|
recordOE({ eventType: "daemon.event_loop_blocked", source: "exe-daemon.lagDetector", severity: "error", durationMs: lag });
|
|
8928
8948
|
}).catch(() => {
|
|
8929
8949
|
});
|
|
@@ -9117,7 +9137,7 @@ function startTaskFileResync() {
|
|
|
9117
9137
|
});
|
|
9118
9138
|
if (Number(res.rowsAffected ?? 0) > 0) {
|
|
9119
9139
|
synced++;
|
|
9120
|
-
void import("../orchestration-events-
|
|
9140
|
+
void import("../orchestration-events-GY5VP5LU.js").then(({ recordOrchestrationEventBestEffort: recordOE }) => {
|
|
9121
9141
|
recordOE({
|
|
9122
9142
|
eventType: "task_file.resynced",
|
|
9123
9143
|
source: "exe-daemon.taskFileResync",
|
|
@@ -9151,7 +9171,7 @@ function startTaskGroupBarriers() {
|
|
|
9151
9171
|
fired("task_group_barriers");
|
|
9152
9172
|
if (!await ensureStoreForPolling()) return;
|
|
9153
9173
|
try {
|
|
9154
|
-
const { pollTaskGroupBarriers } = await import("../daemon-orchestration-
|
|
9174
|
+
const { pollTaskGroupBarriers } = await import("../daemon-orchestration-IGPHVNFR.js");
|
|
9155
9175
|
const firedCount = await pollTaskGroupBarriers();
|
|
9156
9176
|
if (firedCount > 0) {
|
|
9157
9177
|
acted("task_group_barriers");
|
|
@@ -9173,7 +9193,7 @@ function startCheckpointGc() {
|
|
|
9173
9193
|
fired("checkpoint_gc");
|
|
9174
9194
|
if (!await ensureStoreForPolling()) return;
|
|
9175
9195
|
try {
|
|
9176
|
-
const { gcStaleCheckpoints } = await import("../daemon-orchestration-
|
|
9196
|
+
const { gcStaleCheckpoints } = await import("../daemon-orchestration-IGPHVNFR.js");
|
|
9177
9197
|
const cleared = await gcStaleCheckpoints();
|
|
9178
9198
|
if (cleared > 0) {
|
|
9179
9199
|
acted("checkpoint_gc");
|
|
@@ -9213,14 +9233,14 @@ function startDispatchAckCleanup() {
|
|
|
9213
9233
|
function startProjectionWorkerDeferred() {
|
|
9214
9234
|
setTimeout(async () => {
|
|
9215
9235
|
try {
|
|
9216
|
-
const { startProjectionWorker } = await import("../projection-worker-
|
|
9236
|
+
const { startProjectionWorker } = await import("../projection-worker-D2472IOD.js");
|
|
9217
9237
|
startProjectionWorker();
|
|
9218
9238
|
} catch {
|
|
9219
9239
|
}
|
|
9220
9240
|
}, 2e4);
|
|
9221
9241
|
}
|
|
9222
9242
|
async function startToolTelemetry() {
|
|
9223
|
-
const { startToolTelemetryFlush } = await import("../tool-telemetry-
|
|
9243
|
+
const { startToolTelemetryFlush } = await import("../tool-telemetry-ZX7VSAXK.js");
|
|
9224
9244
|
startToolTelemetryFlush();
|
|
9225
9245
|
process.stderr.write("[exed] Tool telemetry started (flush every 5m)\n");
|
|
9226
9246
|
}
|
|
@@ -9389,7 +9409,7 @@ function startLocalFirstTimers() {
|
|
|
9389
9409
|
fired("orphan_task_cleanup");
|
|
9390
9410
|
try {
|
|
9391
9411
|
if (!await ensureStoreForPolling()) return;
|
|
9392
|
-
const { cleanOrphanedTaskFiles } = await import("../tasks-crud-
|
|
9412
|
+
const { cleanOrphanedTaskFiles } = await import("../tasks-crud-5EM55WRZ.js");
|
|
9393
9413
|
const count = await cleanOrphanedTaskFiles();
|
|
9394
9414
|
if (count > 0) {
|
|
9395
9415
|
acted("orphan_task_cleanup");
|
|
@@ -9405,7 +9425,7 @@ function startLocalFirstTimers() {
|
|
|
9405
9425
|
fired("task_file_consistency");
|
|
9406
9426
|
try {
|
|
9407
9427
|
if (!await ensureStoreForPolling()) return;
|
|
9408
|
-
const { checkTaskFileConsistency } = await import("../tasks-crud-
|
|
9428
|
+
const { checkTaskFileConsistency } = await import("../tasks-crud-5EM55WRZ.js");
|
|
9409
9429
|
const mismatches = await checkTaskFileConsistency();
|
|
9410
9430
|
if (mismatches > 0) {
|
|
9411
9431
|
acted("task_file_consistency");
|
|
@@ -9424,7 +9444,7 @@ function startLocalFirstTimers() {
|
|
|
9424
9444
|
const TELEMETRY_DAILY_MS = 24 * 60 * 60 * 1e3;
|
|
9425
9445
|
const telemetryDaily = async () => {
|
|
9426
9446
|
try {
|
|
9427
|
-
const { sendTelemetry, isTelemetryEnabled } = await import("../telemetry-upload-
|
|
9447
|
+
const { sendTelemetry, isTelemetryEnabled } = await import("../telemetry-upload-6NRTN7QJ.js");
|
|
9428
9448
|
if (!isTelemetryEnabled()) return;
|
|
9429
9449
|
const { upstream } = await sendTelemetry(24);
|
|
9430
9450
|
if (upstream.startsWith("sent")) {
|
|
@@ -9662,7 +9682,7 @@ try {
|
|
|
9662
9682
|
});
|
|
9663
9683
|
}
|
|
9664
9684
|
try {
|
|
9665
|
-
const { initOrgPartnerRuntime } = await import("../org-partner-runtime-
|
|
9685
|
+
const { initOrgPartnerRuntime } = await import("../org-partner-runtime-UJDGECZ4.js");
|
|
9666
9686
|
await initOrgPartnerRuntime();
|
|
9667
9687
|
} catch (err) {
|
|
9668
9688
|
process.stderr.write(
|