mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-07-08 16:52:02 +00:00
161fdeba7a
Codex round 4 found POST /api/session/archive's missing-sidecar fallback also calls import_cli_session(). grep confirms exactly 3 import_cli_session() call sites in routes.py; all 3 now refuse source='subagent' children: - 4792 _get_or_materialize_session (chat-start) -> PermissionError - 22382 import_cli endpoint -> read-only view payload - 13885 archive fallback -> 400 'Subagent sessions cannot be archived' So no path can materialize a delegated child as a writable WebUI sidecar. Fixes #5307