NousResearch/hermes-agent

Curator runs in wrong profile/context scope

Cluster 125032 · agent. Data as of

1 open item. Fix merged in #126165 on 28 Sep 2026. Check it covers your case.

The short answer

0open issues
1open PR
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #126165. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #126165. That is separate from the fix event.
Still open
0 issues and 1 PR.

These items address a bug where curator and other off-turn background work executes without the requesting profile's context, causing unscoped secret errors and incorrect reads/writes to root-level state instead of the correct profile. The fix propagates the caller's context variables into background threads and ensures off-turn operations run scoped to the appropriate profile.

Open issues0

No open issues.

Open PRs1

  • PR#125038fix(agent): carry the curator caller's contextvars into the review thread

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #126165 Off-turn work (curator, deferred reviews, catalog SWR, plugin API routes, ledger replay) runs under the requesting profile; import model_tools no longer creates state.db (#125032 #108537 #120310 #123372 #103778 #123265)

    merged to main

    files: agent/curator.py, agent/review_idle_queue.py, gateway/run_notifications.py, gateway/run_startup.py, hermes_cli/model_catalog.py, hermes_cli/web_server_dashboard.py, tests/agent/test_curator.py, tests/agent/test_review_idle_queue.py, tests/fixtures/plugins/example-dashboard/dashboard/plugin_api.py, tests/gateway/test_multiplex_unserved_shared_ingress.py, tests/hermes_cli/test_model_catalog.py, tests/hermes_cli/test_web_server.py, tests/plugins/test_kanban_dashboard_plugin.py, tests/tools/test_async_delegation.py, tests/tools/test_process_registry_lazy_restore.py, tests/tui_gateway/test_notification_turn_release.py, tools/async_delegation.py, tools/process_registry.py, tui_gateway/session_notifications.py

Closed issues · 1
  • Closed#125032[Bug]: Curator's LLM pass runs unscoped on a multiplexed gateway — UnscopedSecretError, and it reads/writes the root home's skills, report and state instead of the profile's
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
agent
Merged PRs
#126165
Closed issues
1
Attempts
0 PRs closed without merging
Fix link checked
28 Sep 2026

For your agent

The same facts, typed.