Files
hermes-agent/tests
kshitijk4poor d7732ca75e fix(state): recognize every persisted session-id shape in salvage
The cherry-picked recognizers cover cron_, the CLI/gateway /bg shape and
room_, but a census of every site that hands an id to SessionDB on base
finds more shapes that salvage still drops (and that, as a
parent_session_id, still veto layout inference for the whole table):

  tui_gateway/methods_prompt.py:1289   f"bg_{uuid4().hex[:6]}" (TUI/Desktop /bg)
  gateway/platforms/api_server.py:3156/3341  f"api_{epoch}_{hex8}" (create/fork)
  gateway/platforms/api_server.py:1084 f"api-{sha256[:16]}" (chat completions)
  gateway/platforms/api_server_runs.py:689/703  run_{uuid4().hex} fallback
  acp_adapter/session.py:179/203, api_server_openai_routes.py:1127  str(uuid4())

Each pattern stays anchored on exactly what its mint site fixes.
2026-10-04 12:05:37 +05:30
..