xiaodu
91617521c6
fix(gateway): stay alive on all-adapters-down when no service manager supervises
...
A gateway whose last messaging adapter hits a retryable fatal error exits
with the failure verdict (EX_TEMPFAIL) so a supervising service manager
restarts it. The desktop app launches `hermes serve` directly with no
supervisor: the exit only severs the UI's websocket connections and drops
in-flight assistant messages, which then 'disappear' from chat (#118080 —
334 fatal events over 6 days on one profile, mostly email IMAP fetch
failures marked retryable).
Add gateway.on_all_adapters_down: exit | stay_alive (default exit — zero
behavior change for service-managed deployments). At both stranded-exit
sites in gateway/run_adapters.py, the stay_alive policy keeps the process
running (reconnect watcher owns recovery) instead of setting
_exit_with_failure; non-retryable adapter loss still exits. The desktop
launcher stamps GATEWAY_ON_ALL_ADAPTERS_DOWN=stay_alive last into the
child env (same rule as HERMES_GUEST_ONBOARDING); older runtimes ignore
the unknown variable and keep the historical behavior.
Fixes #118080
2026-09-29 19:33:09 -05:00
..
assets
builtin_hooks
platforms
fix(api_server): honour include_compacted on /api/sessions/{id}/messages
2026-09-29 16:30:33 -04:00
relay
feat(i18n): pluggable, layered language packs across core, Desktop and TUI ( #126296 )
2026-09-28 14:16:18 -07:00
__init__.py
fix(pm): preserve runtime and user state across failure paths
2026-09-09 15:17:08 -04:00
agent_cache_pressure.py
fix: read text files with encoding=utf-8-sig in code merged from main
2026-09-19 01:38:09 -04:00
AGENTS.md
fix(profiles): pin the launch home so a mirrored HERMES_HOME cannot flip routed-profile decisions
2026-09-23 08:09:47 -07:00
authz_mixin.py
fix(security): remove mutable display-name from SimpleX allowlist check
2026-09-27 20:47:41 +05:30
bot_loop_guard.py
fix(gateway): count each bot message once in the loop guard and consume the author variable
2026-09-10 10:27:07 -07:00
browser_control_artifacts.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
browser_control_broker.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
cgroup_cleanup.py
fix(encoding): read kernel pseudo-files as plain utf-8
2026-09-24 11:50:30 -04:00
channel_directory.py
Merge remote-tracking branch 'origin/main' into ethie/pm-clean
2026-09-18 17:26:10 -04:00
code_skew.py
fix(cron): compare full gateway code identities
2026-09-20 20:13:19 -07:00
config.py
fix(gateway): stay alive on all-adapters-down when no service manager supervises
2026-09-29 19:33:09 -05:00
config_env.py
fix(gateway): bridge webhook env settings for config enablement
2026-09-23 06:03:10 -07:00
config_loader.py
Merge remote-tracking branch 'origin/main' into ethie/pm-clean
2026-09-23 15:26:34 -04:00
control_socket.py
Merge remote-tracking branch 'origin/main' into ethie/pm-clean
2026-09-23 15:26:34 -04:00
cwd_placeholder.py
refactor(gateway): collapse defensive layers, drop dead loggers, compact call sites across lifecycle/monitoring/media modules
2026-09-02 19:21:46 -07:00
dead_targets.py
Merge remote-tracking branch 'upstream/main' into ethie/pm-clean
2026-09-04 13:03:39 -04:00
delivery.py
fix(gateway): resolve silence narration filter from config only ( #116886 )
2026-09-20 17:01:05 -07:00
delivery_ledger.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
disk_status.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
display_config.py
feat(notifications): opt-in suppression of user-channel warning notifications
2026-09-18 01:43:35 +05:30
drain_control.py
fix(encoding): read kernel pseudo-files as plain utf-8
2026-09-24 11:50:30 -04:00
hooks.py
merge: connector UI e2e v2 into bundled onboarding (rebuilt)
2026-09-11 21:10:19 -04:00
host_attach.py
fix(review): a second tenant's host gateway never attaches, refuses, or reports as ours ( #121352 )
2026-09-28 13:30:57 -07:00
host_rendezvous.py
Merge origin/main into ethie/pm-clean
2026-09-23 10:43:45 -04:00
host_topology.py
fix(review): a second tenant's host gateway never attaches, refuses, or reports as ours ( #121352 )
2026-09-28 13:30:57 -07:00
hosted_room_discussion.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
hosted_room_driver.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
hosted_room_execution_policy.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
hosted_room_links.py
refactor(gateway): reflow hosted-room module/function docstrings to <=120 cols (every sentence kept)
2026-09-03 00:09:14 -07:00
hosted_room_peer.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
hosted_room_policy_checkpoint.py
fix(cron): sqlite_util imports are late so a running scheduler survives an on-disk upgrade
2026-09-13 05:08:29 -07:00
hosted_room_replicas.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
hosted_rooms.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
hosted_rooms_common.py
fix(cron): sqlite_util imports are late so a running scheduler survives an on-disk upgrade
2026-09-13 05:08:29 -07:00
hosted_rooms_legacy_import.py
fix(gateway): pre-isolation room import copies per room, reads pre-actor layouts, warns once
2026-09-17 00:15:35 -07:00
kanban_watchers.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
kanban_watchers_common.py
fix(footguns): utf-8-sig on all reads flagged by check-windows-footguns (164 sites)
2026-09-04 14:46:24 -04:00
kanban_watchers_dispatcher.py
fix(secret-scope): scoped misses fail closed under a foreign-home scope
2026-09-23 06:46:02 -07:00
kanban_watchers_notifier.py
feat(i18n): pluggable, layered language packs across core, Desktop and TUI ( #126296 )
2026-09-28 14:16:18 -07:00
lifecycle_ledger.py
merge origin/main (779 commits) into ethie/pm-clean
2026-09-21 00:58:39 -04:00
media_fetch.py
fix(gateway): routed profiles get their own max_turns, fallback chain, hooks, aux auth and media policy
2026-09-11 15:44:00 -07:00
media_policy.py
fix(gateway): routed profiles get their own max_turns, fallback chain, hooks, aux auth and media policy
2026-09-11 15:44:00 -07:00
media_repair.py
refactor(gateway): collapse defensive layers, drop dead loggers, compact call sites across lifecycle/monitoring/media modules
2026-09-02 19:21:46 -07:00
memory_monitor.py
refactor(gateway): collapse defensive layers, drop dead loggers, compact call sites across lifecycle/monitoring/media modules
2026-09-02 19:21:46 -07:00
memory_status.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
message_timestamps.py
fix(time): tolerate Windows locale strftime errors
2026-09-23 18:29:35 -05:00
mirror.py
Merge origin/main; keep PM as plugin dependency owner
2026-09-17 13:52:05 -04:00
pairing.py
Merge remote-tracking branch 'origin/main' into ethie/pm-clean
2026-09-23 15:26:34 -04:00
platform_registry.py
fix(child-env): per-profile plugin secrets, fail-closed declaration scans, dashboard auth in Tier 1
2026-09-29 02:06:58 +05:30
profile_routing.py
Merge remote-tracking branch 'origin/main' into ethie/pm-clean
2026-09-19 01:43:50 -04:00
readiness.py
perf(gateway): parse readiness and bundled-manifest YAML with the C loader
2026-09-23 21:26:49 +05:30
response_filters.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
restart.py
fix(gateway): restart wait survives a non-finite drain; tighten its tests
2026-09-26 20:07:47 +05:30
restart_loop_guard.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
rich_sent_store.py
Merge remote-tracking branch 'origin/main' into ethie/pm-clean
2026-09-22 07:05:11 -04:00
run.py
fix(gateway): replay keeps message identity on plain user and assistant rows
2026-09-29 04:15:21 +05:30
run_adapters.py
fix(gateway): stay alive on all-adapters-down when no service manager supervises
2026-09-29 19:33:09 -05:00
run_agent_cache.py
refactor(gateway): move the prompt-pin store API into a session sibling
2026-09-28 15:54:07 +05:30
run_busy.py
feat(i18n): pluggable, layered language packs across core, Desktop and TUI ( #126296 )
2026-09-28 14:16:18 -07:00
run_common.py
refactor(gateway): split GatewayRunner into 13 run_* mixins + TurnRunner module (run.py 31332 -> 6957)
2026-09-02 16:11:50 -07:00
run_config_loaders.py
feat(fast): /fast ultrafast for GPT-6 Astra, priced at the served tier
2026-09-29 23:54:34 +05:30
run_delivery_queue_watch.py
fix(gateway): drain a restart-safe worker's cron delivery when it is queued, not on the next tick
2026-09-20 15:30:45 -07:00
run_goals.py
fix(gateway): skip the executor hop for single-profile watcher scope resolves
2026-09-27 18:30:25 +05:30
run_heartbeat_acceptance.py
fix: keep admitted heartbeats in their owning conversation
2026-09-07 14:16:57 -07:00
run_heartbeat_restore.py
refactor(gateway): share the profile-scope key between scope entry and heartbeat restore
2026-09-22 16:15:34 +05:30
run_idle_gates.py
refactor(gateway): idle gates live in run_idle_gates; row semantics live with loops/heartbeat
2026-09-17 20:56:27 +05:30
run_inbound.py
Clarify: one question shape and one result shape on every surface (skip, cancel, timeout and undelivered are told apart) ( #127760 )
2026-09-29 18:33:44 +05:30
run_inbound_unauthorized.py
feat(i18n): pluggable, layered language packs across core, Desktop and TUI ( #126296 )
2026-09-28 14:16:18 -07:00
run_notifications.py
Free tier: separate 'account exists' from 'runs this chat', and stop the mint from writing active_provider ( #127486 )
2026-09-29 07:44:13 +00:00
run_plugin_rewire.py
feat(plugins): late-loaded plugins wire their platform handlers live ( #87770 )
2026-09-22 09:50:22 -07:00
run_profile_reconcile.py
feat(gateway): stop, start and restart one profile under the host multiplexer
2026-09-23 08:25:28 -07:00
run_shutdown.py
feat(i18n): pluggable, layered language packs across core, Desktop and TUI ( #126296 )
2026-09-28 14:16:18 -07:00
run_startup.py
feat(i18n): pluggable, layered language packs across core, Desktop and TUI ( #126296 )
2026-09-28 14:16:18 -07:00
run_topics.py
feat(i18n): pluggable, layered language packs across core, Desktop and TUI ( #126296 )
2026-09-28 14:16:18 -07:00
run_turn.py
fix: use original gateway text for automatic session titles
2026-09-29 15:57:52 -05:00
run_turn_followup_ack.py
fix(gateway): fire processing hooks for runner-drained queued follow-ups ( #72502 , salvage #72503 )
2026-09-13 20:52:02 -07:00
run_turn_runner.py
fix: use original gateway text for automatic session titles
2026-09-29 15:57:52 -05:00
run_turn_runner_approval_settle.py
feat(i18n): pluggable, layered language packs across core, Desktop and TUI ( #126296 )
2026-09-28 14:16:18 -07:00
run_turn_runner_clarify_delivery.py
Clarify: one question shape and one result shape on every surface (skip, cancel, timeout and undelivered are told apart) ( #127760 )
2026-09-29 18:33:44 +05:30
run_voice.py
feat(i18n): pluggable, layered language packs across core, Desktop and TUI ( #126296 )
2026-09-28 14:16:18 -07:00
run_watchers.py
refactor(gateway): run_watchers resolves adapters through the intake/delivery seams
2026-09-19 01:28:23 -07:00
runtime_footer.py
feat(gateway): opt-in served_model footer field shows the model that really answered
2026-09-19 10:38:30 -07:00
scale_to_zero.py
fix(gateway): stop dropping the first message after an Azure agent sleeps ( #99736 )
2026-09-04 15:41:27 -03:00
session.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
session_context.py
fix: persist API delegation units once without waking the model
2026-09-09 10:55:32 -07:00
session_db_recovery.py
fix(gateway): reopen a session DB handle the registry tore down
2026-09-28 04:34:30 -07:00
session_identity.py
fix(gateway): a restored lane whose receiving bot is offline delivers nowhere
2026-09-19 02:28:50 -07:00
session_lifecycle.py
fix(gateway): read a routed profile's store in the cached agent's dead-session check
2026-09-28 04:34:30 -07:00
session_persistence.py
fix(gateway): compression-crash recovery keeps the prompt pin
2026-09-28 15:54:07 +05:30
session_prompt_pin.py
refactor(gateway): move the prompt-pin store API into a session sibling
2026-09-28 15:54:07 +05:30
session_recovery.py
fix(telemetry): user-named providers and models never leave the machine; milestones use the owning profile
2026-09-28 12:43:03 -07:00
session_stall.py
fix(ux): plain-language, actionable user-facing messages (core)
2026-09-15 04:12:13 -07:00
session_state.py
fix(gateway): durable prompt pins never outlive their privacy policy
2026-09-28 15:54:07 +05:30
session_transcript.py
fix(gateway): stalled-session spool replay probe no longer warns on every append
2026-09-18 10:06:25 -07:00
shutdown_flush.py
Merge remote-tracking branch 'origin/main' into ethie/pm-clean
2026-09-18 17:26:10 -04:00
shutdown_forensics.py
fix(encoding): read kernel pseudo-files as plain utf-8
2026-09-24 11:50:30 -04:00
shutdown_watchdog.py
feat(metrics): hermes.process.exit from per-process markers and turn watchdogs
2026-09-28 12:43:03 -07:00
slash_access.py
fix(gateway): resolve slash gating from the bot-owning profile in slash_access ( #121705 , salvage #121722 )
2026-09-28 12:23:25 -07:00
slash_commands.py
feat(i18n): pluggable, layered language packs across core, Desktop and TUI ( #126296 )
2026-09-28 14:16:18 -07:00
slash_commands_branch_thread.py
feat(gateway): /branch opens a sibling thread by default; --here keeps this chat ( #66023 )
2026-09-20 13:37:10 -07:00
slash_commands_goals.py
feat(i18n): pluggable, layered language packs across core, Desktop and TUI ( #126296 )
2026-09-28 14:16:18 -07:00
slash_commands_login.py
feat(i18n): pluggable, layered language packs across core, Desktop and TUI ( #126296 )
2026-09-28 14:16:18 -07:00
slash_commands_model.py
fix(model-picker): stop the 50-model cap cutting the Nous and OpenRouter free tier
2026-09-29 12:55:46 -07:00
slash_commands_session.py
feat(i18n): pluggable, layered language packs across core, Desktop and TUI ( #126296 )
2026-09-28 14:16:18 -07:00
slash_commands_status.py
Free tier: separate 'account exists' from 'runs this chat', and stop the mint from writing active_provider ( #127486 )
2026-09-29 07:44:13 +00:00
status.py
fix(review): a second tenant's host gateway never attaches, refuses, or reports as ours ( #121352 )
2026-09-28 13:30:57 -07:00
status_phrases.py
fix(pm): isolate bootstrap dependencies and unify YAML on ruamel
2026-09-11 12:23:51 -04:00
sticker_cache.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
stream_consumer.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
stream_consumer_fallback.py
fix: streamed reply no longer repeats a word when edits fall back to a new message
2026-09-26 11:24:50 -07:00
stream_consumer_fences.py
refactor(gateway): stream/runner — checkpoint: consumer init/reset helpers, sentinel dispatch table, fallback/transport dedupe, watcher/voice/lease compaction
2026-09-02 19:19:38 -07:00
stream_consumer_think.py
refactor(display): one think-tag list; ACP tool titles derive from agent/display previews
2026-09-13 05:20:26 -07:00
stream_consumer_transport.py
feat(telemetry): gateway platform health, delivery, first-reply latency and cron run metrics
2026-09-28 12:43:03 -07:00
stream_dispatch.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
stream_events.py
refactor(gateway): stream transport/fallback/events — docstrings to summary + invariant
2026-09-02 20:24:52 -07:00
streaming_tts_consumer.py
chore: stack on #115840 to resolve gateway/streaming_tts_consumer.py conflict
2026-09-19 03:35:50 -07:00
systemd_notify.py
Old pre-decomposition import paths are gone: plugin compat layer removed on schedule ( #126164 )
2026-09-28 10:21:41 -07:00
systemd_stop_mark.py
fix(gateway): mark supervisor-ordered stops as planned so direct systemctl restart exits cleanly
2026-09-20 00:09:14 -07:00
turn_context.py
fix: use original gateway text for automatic session titles
2026-09-29 15:57:52 -05:00
turn_executor.py
refactor(gateway): pass a pool factory instead of overloading None
2026-09-27 01:05:06 +05:30
turn_lease.py
refactor(gateway): drop the write-only one-shot generation stamp; /stop and eviction share _drop_turn_slot
2026-09-12 12:03:39 +05:30
wake.py
fix(gateway): wake a served profile's api_server session in-process for background-process completions
2026-09-18 09:46:35 -07:00
warning_notifications.py
refactor(notifications): one notice classification, one config read, one diagnostic-metadata helper
2026-09-18 01:43:35 +05:30
whatsapp_identity.py
Merge remote-tracking branch 'origin/main' into ethie/pm-clean
2026-09-18 17:26:10 -04:00