Files
hermes-agent/agent
kshitijk4poor 47022d959a fix(agent): recreate a delegate child's row when its parent was deleted
Deleting a parent session cascades to its delegate children. A live child
then can never be recreated: create_session(parent_session_id=...) hits
the parent FK on every flush for the agent's lifetime. When the recreate
fails and the parent row is gone, create once without the parent for that
call only; agent._parent_session_id is restored because the relay and
hooks still key on it.
2026-09-26 22:39:42 +05:30
..
…
…
…
…