375 commits from main (0e427d788d). 24 files conflicted; the resolutions that carry a decision:
- /initiate-setup: main removed the command (25bf722063). Its gateway rewrite, CLI handler and the
Desktop kickoff go with main; this branch's command-layer admission of it is dropped too
(gateway/session_commands.py _PROMPT_COMMANDS, its slash.exec test row, the parity doc row), and
the Desktop slash dispatcher loses the `hidden` option that only the kickoff used.
- Code this branch moved out of its old file, carrying main's edits to the moved copy:
first-contact notes (gateway/run_turn.py -> run_turn_prepare.py: no message/setup_command),
the TUI agent factory (tui_gateway/server.py -> agent_factory.py: onboarding toolsets at build,
setup_beat/set_theme lifecycle cards, no cli platform extras on a coding selection), the serve
lifespan (web_server.py -> web_server_app.py standalone_lifespan: first-install probe before the
state.db reconcile, onboarding due answer after the setup bootstrap), and the compression child
publish (the shared _publish_compression_child_on_conn reads the parent's model_config).
- agent/auxiliary_client.py: both import changes (_route_key from main; this branch's move of
_without_structured_output_format).
- Desktop: main's onboarding run (decideOnboarding, OnboardingEnd, card-waiting Send) replaces the
kickoff; this branch's prepared-submission slash path, request_id on session.create and
PreparedImageRecovery stay. Pool-limits imports are dropped (this branch removed the pool).
createBackendSessionForSend takes main's (preview, overrides) signature.
- ci.yaml detect job: main's `ref: inputs.commit` plus this branch's sparse checkout.
- package.json / lock: main's vitest 4.1.11 plus this branch's ws 8.21.1.
- Generated: gateway-contract.openrpc.json regenerated; parity doc regenerated.
Adds gemini-4-argon to the Gemini, Vertex and OpenRouter/Nous catalogs and makes the
native Gemini client handle Google's long decode (up to 1M output tokens).
- Reasoning effort maps onto Gemini 4's thinkingLevel (low/medium/high). Argon always
thinks, rejects "minimal" and rejects thinkingBudget alongside a level (400s, live):
none -> low with thoughts hidden, minimal -> low, xhigh/max -> high.
- Effort above high buys a long-decode budget on the native endpoints only:
xhigh -> 262,144 output tokens, max/ultra -> 1,048,576 (the API caps it at the
window minus the input).
- generateContent (unary and streaming) follows finishReason CONTINUATION: the same
request is resent with the continuationToken, hops are joined into one turn, one
final finish chunk is emitted. Without this, a non-streaming Argon call that hit the
32,768-token per-request cap came back truncated and reported as finish=stop.
- Usage is summed over hops for cost (matches google-genai and billing), while the
first hop's prompt (initial_prompt_tokens) feeds compaction and the context meter,
so a long-decode turn does not trigger an early compaction.
- Vertex express keys can reach global-only models: a project-scoped
.../projects/<p>/locations/global base is now native (only .../endpoints/openapi
stays OpenAI-compatible).
- 20 min read timeout on the native client and a 600 s stale floor for gemini-4,
per Google's long-decode guidance.
- Pricing at the introductory $2 / $10 / $0.10 rates.
Previous merge base 3b63f7b0a4. Seven conflicts, all Desktop; each keeps
both sides' behaviour.
apps/desktop/src/app/chat/composer/hooks/use-composer-submit.ts
main: composer text answers ANY parked card through the new
store/parked-card-answers registry (answerParkedCard), so
answerSetupCard is no longer imported here.
branch: added `import type { BusyInputMode }` for the configured
busy-input mode.
merged: both imports kept; answerSetupCard dropped (main's registry
reaches it via clarify.ts answerClarifyText).
apps/desktop/src/app/chat/composer/hooks/use-composer-submit.test.tsx
main: "answers one question per submit while a busy turn waits"
now expects clarify.lock (no steer) and adds "brings the card
back when an earlier lock fails after the last answer cleared it".
branch: the old body of that test with onSteer(..., 'interrupt').
merged: main's body (main changed the contract: typed text is the
answer, not a steer); the branch's busyInputMode harness and
every other 'interrupt' assertion stay.
apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/input-requests.ts
main: connectionRequestNoticeBody() (display card with no targets
falls back to connectors.title) + ConnectionRequest type import.
branch: handlePromptSettledEvent() for approval/clarify.settled.
merged: both functions, adjacent.
apps/desktop/src/app/session/hooks/use-session-actions/index.ts
main: moved desktopSessionCreateParams verbatim into
session-create-request.ts and imports it from there.
branch: added the resume-owner import block.
merged: resume-owner imports + `{ createGatewaySession,
desktopSessionCreateParams }` from session-create-request
(the branch's copy of the function was byte-identical to the
base and is removed by main's hunk).
apps/desktop/src/components/assistant-ui/clarify/pending.tsx
main: seenLocks state so a newly locked answer (composer text)
replaces the staged pick while a seen one leaves card edits.
branch: per-requestId card reset (submit latch + staged picks) when
the canonical gateway reuses the row for the next card.
merged: both; the card reset also clears seenLocks so the next
card's locks are treated as new.
apps/desktop/src/i18n/ja.ts, apps/desktop/src/i18n/ru.ts
main: jaConnectors / ruConnectors split files.
branch: jaBoot / ruBoot split files.
merged: union of imports (key spreads auto-merged).
Lost-line check: every non-blank line main added since 3b63f7b0a4
(79 files) is present in the merged tree.
The per-user-quota endpoint exposes no model listing to user tokens, so the
picker shows the hardcoded fallback list. Replace the older flash aliases with
the current models; lite stays last as the quota reserve.
Conflicts (2 files, 1 hunk each); every main-side change is kept, ported to
where the branch moved the code:
hermes_cli/kanban_db.py (build_worker_context helpers _ctx_cap .. _ctx_comments)
main: f5a6651231c/d56e357556f coerce foreign/text timestamps on read; in
_ctx_role_history the "Recent work" stamp became
_ctx_stamp(_to_epoch(row['ended_at']) or 0, now) instead of int().
branch: moved the whole _ctx_* helper block into hermes_cli/kanban_db_context.py
(kanban_db.py imports it back), deleting it from kanban_db.py.
merged: kept the branch's deletion in kanban_db.py and applied main's change in
kanban_db_context.py::_ctx_role_history as
_ctx_stamp(_kb._to_epoch(row['ended_at']) or 0, now). Main's other
timestamp coercions in kanban_db.py (Task/Run/Comment/Attachment/Event
from_row, _TASK_EPOCH_COLUMNS, release_stale_claims,
_extend_live_stale_claim, task_age) auto-merged unchanged.
hermes_cli/web_server.py (_lifespan)
main: d7830c6f42 reworded one comment in the free-tier bootstrap block
("the ONE place its identity is created" -> "the one boot-time creator
of its identity"; guests are now also created on first connector use).
branch: moved _lifespan's body into hermes_cli/web_server_app.py::app_lifespan.
merged: kept the branch's relocation and applied main's comment rewording in
web_server_app.py.
Merge-induced health fix (no conflict marker; the combination tripped the ratchet):
apps/desktop/src/app/session/hooks/use-cwd-actions.ts::changeSessionCwd
main: 63ed3caa4ba/dbc538547fc grew the function (statusbar cwd change for the
focused chat / tile runtime ids) to CC 20.
branch: added the session_busy refusal mapping (sidebar.projects.moveBusy) in
its catch, +1 branch -> CC 21 > target 20 (scripts/check health blocking).
merged: both behaviours kept; the busy-error mapping moved verbatim into a
module-level cwdChangeError(err) helper. Health back to 0 blocking.
Check: every line main added between 1fd1827726 and 3b63f7b0a4 (317 files) is
present in the merged tree.
The bundled observability/langfuse plugin now ships as the official catalog plugin `langfuse`
(NousResearch/hermes-official-plugins, subdir langfuse) with the same hooks, HERMES_LANGFUSE_* /
LANGFUSE_* env vars and capture modes. Same pattern as the Home Assistant and Spotify moves: a
LEFT_CORE row installs and enables the plugin on `hermes update` / first start for every profile
home that had observability/langfuse (or its bare name) in plugins.enabled and not in
plugins.disabled. Keys alone are not use: the plugin was opt-in.
- left_core_migration: langfuse row + langfuse_in_use; HERMES_LANGFUSE_SECRET_KEY stays a stripped
child-process secret and the public key / base URL stay private env, exactly as core stripped them
while it shipped the plugin. New plugin_key field: `hermes plugins enable observability/langfuse`
(what every pre-move doc said) now names `hermes plugins install langfuse` for this home.
- Core drops the plugin, the `hermes tools` Langfuse category and its post-setup hook (the plugin
prompts for its keys at install), the OPTIONAL_ENV_VARS / _EXTRA_ENV_KEYS rows, the `langfuse`
extra + its PM anchor (uv.lock regenerated with CI's uv 0.12.13), and the
plugin's tests (they moved to the plugin repo).
- Docs (en + zh-Hans): built-in plugins and env-var reference point at the catalog plugin.
Replace the in-tree vendor copy with a community catalogue entry pinned
to the tested standalone source at 9a3642f. Keep contributor attribution.
The entry discloses host compatibility and recovery requirements.
Verified: all 12 repository checks pass; catalogue schema valid; pinned
plugin admission checks safe; standalone real-Hermes suite 1386 passed.
Forward compressor kwargs including bypass_cooldown; derive multimodal
user queries from text parts. Stamp both manifests and add discovery-path
regressions, proven red on the old adapter. Verified: 322 Hermes tests
passed; Ruff, compilation and vendor drift checks pass.
Upstream ba8b995: inspect_compressibility reports guaranteed_savings_pct
and ceiling_class; compress_context gains derive_query — a conservative
deterministic task descriptor for empty/generic queries, marked in the
receipt via query_source/derived_terms with a medium risk floor.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Upstream tameru-compaction-system 1.3.0:
- dependency closure: dropped blocks sharing a rare term with a kept
block AND carrying a qualifier (except/unless/only/until/if...) or
definition cue are restored — cutting them would invert the kept
block's meaning. Budget-bound in fixed mode; trust-risk and
frozen-drop blocks are never resurrected.
- qualifier-aware structured trim refusal: long JSON string values whose
cut tail carries a qualifier cue are kept whole.
- transcript.timing_gate (on by default): suppresses pruning while tool
calls are pending (mid-derivation) and on stuck loops (3 identical
assistant calls — diagnose, don't erase evidence).
- compress_context accepts an iterable query (plan-aware union scoring).
Synced via scripts/sync_to_harness.py; plugin.yaml stamped 1.3.0
(extractive alias stamped via --stamp-only, glue unchanged).
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Synced via scripts/sync_to_harness.py from upstream 1b54ec6. The adapter
formerly named hermes_extractive_engine is now tameru.transcript — the
code was always harness-agnostic (OpenAI-style role/content dicts);
hermes_extractive_engine remains as a compat shim so existing imports
keep working.
Syncs plugins/context_engine/tameru/compress_context.py with
0xWhiteMage/tameru-compaction-system@1b4f8bb. New deterministic
capabilities available to the engine:
- pin_recent positional pinning, min_savings_ratio savings floor,
degraded_view bounded scoring on size-limit breaches
- secrets screen before CCR archival (complements ccr=False here)
- recursion guard refuses to recompact Tameru output markers
- fixed-mode budgeting exempts pinned blocks from the ratio base
- list_ccr + paginated retrieve for CCR recall
- receipts report the deciding selection path
- strategy="auto": extract-first ladder, escalate to summarise on
fail-open
Upstream: https://github.com/0xWhiteMage/tameru-compaction-system
Mechanism: _prepare_task recorded a fresh forwarded messageId in the process retry
LRU before the anti-loop and empty-text guards ran. A fresh over-budget message was
rejected once, but its exact resend then looked like a retry, was assigned turn 0,
and was forwarded to the owner (COMPLETED -> REJECTED -> COMPLETED, two owner calls).
Fix: when a fresh (non-retry) input is refused by a pre-admission guard, drop its id
from the retry LRU so the resend is classified as fresh and refused again. Accepted
inputs keep their retry entry.
Test: tests/plugins/test_a2a_rejected_resend.py (red on r14-base: third state COMPLETED).
Review: andrexibiza 4243963753
Mechanism: 3d2fc30b3d made the msgraph scheduler accept-then-detach:
create_job_from_notification persists the job and run_job runs as a
background task. Graph's notification `id` is optional; for a batch
carrying the same no-id notification twice, the second call returns the
same job still `received` (run_job persists progress only once it runs),
so two run_job tasks started and the Notion sink created two pages. Main
ran run_notification inline, so the duplicate saw the first job terminal.
Fix: the runtime's scheduler claims the job id in a per-runtime set
before spawning, refuses a job already claimed, and releases the claim
when the task ends (a later retry_scheduled redelivery still runs).
Red on r13-base2: tests/plugins/test_teams_duplicate_job_claim.py (two
run_job calls for one batch).
Review: andrexibiza C23
No conflicts. Brings in main's reasoning-replay series, holographic memory leaving core
(run_profile_reconcile now imports it through import_provider_module), and the update
main-channel fix.
This partially reverts 702f87906a4 under the regression-only scope ruling.
On origin/main, _rpc_tasks_cancel is byte-identical: it marks the task CANCELED, resets the
turn counter and resolves the local future, and never reaches the profile the task was
forwarded to. On main that forward is a `hermes chat` subprocess the adapter also cannot
stop. The cancel behaviour is therefore PRE-EXISTING and goes to the follow-up issue.
Kept: the retry identity. _note_forwarded_input, its 1000-entry LRU and the owner admission
input_id are new in this PR (none of them exist on main). The durable context-log fallback
for an evicted id therefore stays, along with its test
test_a_resend_evicted_from_the_process_memory_is_still_a_retry. The task record's input_id
field stays because the forward path stamps it.
Review: andrexibiza 5480715949-P2c (cancel half: pre-existing)
(cherry picked from commit b3a6b3ff1b2698869ca8702ad72628146cd15f20)
tasks/cancel on a task forwarded to its profile owner marked the A2A
task CANCELED, reset the turn counter and resolved the local future,
but never reached the owner: the admitted turn ran to completion while
the peer was told it was canceled. Separately, the retry check for a
forwarded resend (the message's input_id) lived only in a 1000-entry
process LRU, so an evicted (or pre-restart) id was treated as a new
message: it spent the anti-loop turn budget and logged the user text
again.
The task record now carries the input_id it was forwarded as, and
tasks/cancel answers TaskNotCancelable for a forwarded task (the
adapter cannot stop owner work; a2a.forward has no cancel verb and
forward_to_owner's contract is that accepted work is never cancelled).
The context log stores the forwarded input_id with the user message,
and the retry check falls back to it when the LRU misses, so the
owner's exact-retry dedup and the local bookkeeping agree.
Tests (red on r11-base: cancel answers CANCELED; the evicted resend
spends turns and logs twice):
tests/plugins/test_a2a_forwarded_cancel_retry.py
Review: andrexibiza 5480715949-P2c
(cherry picked from commit 702f87906a4110c50c891a9e852b086062f8c701)
Holographic has a standalone third-party maintainer (itpartypattaya) and a
reviewed catalog entry, so it leaves core now rather than on Oct 15. Restores
9e827685f2 exactly: reverts the revert (435b7bd3a7) and its health waivers
(b9ecc727e9). byterover and retaindb have no maintainer and stay bundled until
the announced date.
The revert re-adds plugins/memory/holographic verbatim; the code-health ratchet
measures it against the post-removal tree, so its long-standing broad excepts
read as new. Comment-only waivers, no code change; the provider leaves core on
Oct 15.
This reverts commit 9e827685f2 (#136424). It landed before the announced
October 15, 2026 date for holographic leaving core; it re-lands on or after
that date. Restores plugins/memory/holographic and its tests/docs.
Holographic now ships from itpartypattaya/hermes-plugin-holographic through the
plugin catalog (plugin-catalog/holographic.yaml, v0.6.1 @ 46b6f908, a fork of
Nous's archived handoff copy). It keeps the provider name, memory_store.db and
plugins.hermes-memory-store, and memory_provider_migration already lists
holographic in _LEFT_CORE. Deleting the in-tree copy and its tests lets
`hermes update` and agent start install the catalog plugin for every home that
has memory.provider: holographic.
Host code that still releases memory-store handles on profile unserve/delete
resolves the store through import_provider_module, the same way profiles.py
already does, and no longer imports plugins.memory.holographic. Tests that used
holographic as "a bundled provider" now use byterover. The journal-mode
contract drops the holographic row because the plugin owns that store now.
People who installed the archived Nous repo by URL have no catalog record, so
`hermes plugins update` kept pulling the archive. read_catalog_sidecar now
adopts an install from that repo as the holographic catalog entry, and update
re-pins it to the maintained repo at the reviewed sha. That catalog re-pin
also needed the reviewed-pin scan trust that catalog installs already get. Without
it, update_plugin scanned the reviewed tree as an unreviewed community source
and blocked on caution findings, and that blocked every catalog re-pin of
holographic (the reviewed 46b6f908 tree has 14 caution findings).
Every model reasons and intends that reasoning to be replayed, but the
chat-completions wire echoed reasoning_content only to DeepSeek/Kimi/MiMo/
Ollama (plus a hardcoded Portal stealth model) and reasoning_details only to
OpenRouter; turn_context popped `reasoning` everywhere, so Ollama's /v1
(reads only `reasoning`) never saw any.
- message_sanitization owns one route->carrier table
(_REASONING_CARRIER_ROUTES): strict schemas (Mistral, Groq, Cerebras,
SambaNova) get nothing, Fireworks reasoning_content only, OpenRouter-format
gateways (OpenRouter, Kilo, Vercel AI Gateway, Nous Portal) all three,
Novita/MiniMax /v1/TokenHub + reasoning_details, local/Ollama/Upstage +
reasoning, everyone else reasoning_content.
- The " " pad stays limited to the must-echo tier (DeepSeek, Kimi, MiMo);
Ollama leaves it (no echo requirement) and the stealth hardcode is gone.
- Reactive recovery: a 4xx unknown-field rejection that NAMES a reasoning
key this request carried is recorded per (provider, host, model) and the
retry re-shapes api_messages without it. Generic upstream errors never
count; a recorded key falls through, so no loop. History is untouched.
- Nous Portal reads reasoning_details again: the #118182 "replay budget"
does not exist in the Portal and does not reproduce live.
- Gemini thought_signature survives on Gemini hosts/providers even when the
model id is an alias.
- Vendor keep-reasoning flags (docs-only): GLM thinking.clear_thinking=false,
DashScope preserve_thinking / clear_thinking, Kimi K2.x thinking.keep=all.
- stale_thinking_reaches_wire follows the same table, so compaction trigger
and tail walks agree with what is sent.
Main made the strict ruff config the default (`ruff check .`, blocking), and
the branch's code carried 278 findings under it (main itself is clean). Fixed:
- PLW1510 (86): `check=False` on each subprocess.run, preserving behaviour,
as main's own sweep (0006a5e229) did.
- ASYNC220 (9, test fixtures only): `noqa` with the reason, main's convention
for a Popen that returns at once and whose handle the test drives.
- ruff's safe autofixes plus the narrow unsafe ones (UP006/UP037/RUF100/RUF013/
PLR0402/RUF059 underscore renames/UP031/UP041/UP017/FURB167/PIE807/RUF007/
RUF015/RUF022/FURB162), and by hand: four %-formats to f-strings, three
unused unpacked names, one fixture loop over `.items()`.
No behaviour change. `ruff check .` passes; scripts/check passes; the 412 test
files mirroring every edited file pass (3 tests/pm files that fail only under
that batch's uv lookup pass solo, before and after this commit).
Conflicts: tests/hermes_cli/test_finite_chat_delegation.py and
tests/tools/test_completed_process_results.py, where main's lint sweep (0006a5e229) added
check=False to subprocess.run calls this branch had rewritten. Kept the branch's test bodies
and carried check=False onto their subprocess.run calls.
Two conflicts:
- tui_gateway/server.py: main's a274d3388f (#135781) quoted the two _TurnScopes
annotations in code this branch already moved and quoted; the branch side is kept.
- website/docs/developer-guide/relay-shared-metrics.md: main added channel_unresolved's
config note, gateway_pause_failed and the blobless-preflight sentence to the
hermes.update.run failure-class row; the branch's downgrade_refused entry is spliced
into main's row after commit_point_refused.
#135348 ran ruff's UP037 autofix with ruff.strict.toml's target-version = "py314". On 3.14
annotations are lazy (PEP 649), so stripping quotes is safe there; on 3.11-3.13 a function or
variable annotation is evaluated when the def or statement runs. Every unquoted annotation that
names the enclosing class (`def clone_for_agent(self) -> ContextEngine`), a class bound later in
the module, or a TYPE_CHECKING-only import now raises NameError on import: 300 modules on main
(gateway.config, run_agent, hermes_state, cron.jobs, the Telegram adapter, ...) fail to import
under 3.11, the update path crashes mid-`hermes update` on any install whose interpreter is
older than 3.14, and the e2e-upgrade suite's retry leg fails with
`NameError: name 'ContextEngine' is not defined`.
- Re-quote exactly the 79 annotations (36 files) that name something unbound when they are
evaluated (including tui_gateway/server.py's `_TurnScopes`, which only reaches that module's
globals through register() after import); no other text changes.
- agent/turn_scripted_prelude.py: `Generator[...]` gets its third argument back. d76cce4f11
applied UP043 (default type args, valid only from 3.13) to a module-level alias, so
`Generator[Y, S]` raises TypeError on 3.11/3.12 and takes gateway.run, agent.conversation_loop
and tui_gateway.{server,ws,entry} down with it.
- ruff.strict.toml target-version = "py311", the requires-python floor. With it UP037 leaves
these quotes alone and only strips the two that are genuinely redundant, which this commit
strips; any future version-gated fix stays valid on every supported Python.
- tests/ci/test_strict_ruff_target.py pins the target to the requires-python floor (red on main).
annotations are lazy (PEP 649), so stripping quotes is safe there; on 3.11-3.13 a function or
variable annotation is evaluated when the def or statement runs. Every unquoted annotation that
names the enclosing class (`def clone_for_agent(self) -> ContextEngine`), a class bound later in
the module, or a TYPE_CHECKING-only import now raises NameError on import: 300 modules on main
(gateway.config, run_agent, hermes_state, cron.jobs, the Telegram adapter, ...) fail to import
under 3.11, the update path crashes mid-`hermes update` on any install whose interpreter is
older than 3.14, and the e2e-upgrade suite's retry leg fails with
`NameError: name 'ContextEngine' is not defined`.
- Re-quote exactly the 79 annotations (36 files) that name something unbound when they are
evaluated (including tui_gateway/server.py's `_TurnScopes`, which only reaches that module's
globals through register() after import); no other text changes.
- agent/turn_scripted_prelude.py: `Generator[...]` gets its third argument back. d76cce4f11
applied UP043 (default type args, valid only from 3.13) to a module-level alias, so
`Generator[Y, S]` raises TypeError on 3.11/3.12 and takes gateway.run, agent.conversation_loop
and tui_gateway.{server,ws,entry} down with it.
- ruff.strict.toml target-version = "py311", the requires-python floor. With it UP037 leaves
these quotes alone and only strips the two that are genuinely redundant, which this commit
strips; any future version-gated fix stays valid on every supported Python.
- tests/ci/test_strict_ruff_target.py pins the target to the requires-python floor (red on main).
(cherry picked from commit 7091436b76e7dd51f2d350b2780fda231103eac6)
17 conflicts, all from main's lint sweep (ruff UP007/UP017/UP022/UP028/UP031/UP037/UP041,
FURB188/FURB192); no other main commit touches a conflicted file. Resolution: the branch side
of each file plus main's exact autofix (ruff 0.15.10, main's ruff.strict.toml, --fix
--unsafe-fixes). ruff.strict.toml takes main's copy. The pool-retirement live fixture stays
deleted with the pooled backend this branch retires.
No textual conflicts. ecf9655b5a moved the plugin-contract re-export in the Desktop SDK barrel;
the branch's profile-request type re-export now follows it so perfectionist/sort-exports holds
(CI lints the merge ref and failed on that order).
The discovery heuristic only searched the first 8 KB of a plugin's
__init__.py for the provider contract, so a valid provider with a long
module docstring was invisible. Fall back to _defines_memory_provider
(AST parse, no import) when the cheap text search misses.
The msgraph webhook awaits its notification scheduler before answering 202 (so an admission
failure can answer 503). The Teams pipeline scheduler awaited run_notification(), which runs the
whole job inline: Graph meeting fetch, transcript download/transcription and summarization. The
202 therefore waited behind minutes of work, against Graph's guidance to persist and respond
promptly, and slow runs invite Graph retries.
The scheduler now only accepts in-request (create_job_from_notification persists the job and its
dedupe receipt) and runs run_job detached on the adapter's background-task set. Duplicates of a
running or finished job return without starting another run. A failed accept still raises into
the webhook's 503 path.
Review: https://github.com/NousResearch/hermes-agent/pull/106742#pullrequestreview-5463585403
(cherry picked from commit ac7cebfc4189a2fde649f1483e7198a05125583c)