mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-27 17:58:07 +00:00
The in_channel flat-delivery clear was gated on `runtime_adapter is not None`, but the flat continuation session is seeded ONLY on the live-send path, which also requires a running event loop. When an adapter is present but the loop is absent/not-running, the live-send/seed block is skipped and delivery falls through to the standalone path — clearing thread_id there flattened an unseeded brief with no continuable session behind it (and bypassed the D6 capability check). Factor the live-send condition into `live_adapter_ready` and gate both the thread_id clear and the live-send block on it, so the clear can no longer drift from the seed. Add an adapter-present/no-running-loop regression test (verified it fails against the un-scoped clear). Addresses review r3609147550. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| scripts | ||
| __init__.py | ||
| blueprint_catalog.py | ||
| executions.py | ||
| jobs.py | ||
| lifecycle_guard.py | ||
| scheduler.py | ||
| scheduler_provider.py | ||
| suggestion_catalog.py | ||
| suggestions.py | ||