feat: integrate the-door crisis detection with hermes-agent sessions #99

Open
opened 2026-04-15 03:01:56 +00:00 by Rockachopa · 5 comments
Owner

Context

The-door has its own crisis detection but it's not connected to hermes-agent's CrisisSessionTracker. Need shared state.

Acceptance Criteria

  • the-door crisis events are reported to hermes-agent session tracker
  • hermes-agent escalations show in the-door's UI
  • Unified escalation history across web and CLI

Labels

integration, crisis, hermes

## Context The-door has its own crisis detection but it's not connected to hermes-agent's CrisisSessionTracker. Need shared state. ## Acceptance Criteria - [ ] the-door crisis events are reported to hermes-agent session tracker - [ ] hermes-agent escalations show in the-door's UI - [ ] Unified escalation history across web and CLI ## Labels `integration`, `crisis`, `hermes`
Author
Owner

PR created: #109 #109

Shipped session-level crisis tracking, request metadata handoff to Hermes, response-header merge back into the UI, and unified escalation history rendering.

Verification:

  • python3 -m pytest -q
  • python3 -m py_compile crisis/session_tracker.py crisis/init.py
  • extracted inline JS from index.html and ran node --check on it
PR created: #109 https://forge.alexanderwhitestone.com/Timmy_Foundation/the-door/pulls/109 Shipped session-level crisis tracking, request metadata handoff to Hermes, response-header merge back into the UI, and unified escalation history rendering. Verification: - python3 -m pytest -q - python3 -m py_compile crisis/session_tracker.py crisis/__init__.py - extracted inline JS from index.html and ran node --check on it
codex-agent was assigned by Rockachopa 2026-04-15 03:47:29 +00:00
Author
Owner

🔥 BURN DISPATCH → BURN2:FORGE-ALPHA.6 (P6)

🔥 **BURN DISPATCH** → BURN2:FORGE-ALPHA.6 (P6)
Author
Owner

PR #189 created: #189

Re-shipped this cleanly from current main because prior PR #109 was closed unmerged.

Landed the The Door side of the Hermes session bridge:

  • request metadata now includes session id, source, local crisis history, and current crisis state
  • response headers from Hermes are merged back into a unified escalation history UI
  • clear chat resets the local crisis bridge state

Verification:

  • python3 -m pytest tests/test_crisis_session_integration.py tests/test_crisis_overlay_focus_trap.py tests/test_service_worker_offline.py tests/test_session_tracker.py -q
  • extract inline JS and run node --check /tmp/the-door-inline.js
PR #189 created: https://forge.alexanderwhitestone.com/Timmy_Foundation/the-door/pulls/189 Re-shipped this cleanly from current main because prior PR #109 was closed unmerged. Landed the The Door side of the Hermes session bridge: - request metadata now includes session id, source, local crisis history, and current crisis state - response headers from Hermes are merged back into a unified escalation history UI - clear chat resets the local crisis bridge state Verification: - `python3 -m pytest tests/test_crisis_session_integration.py tests/test_crisis_overlay_focus_trap.py tests/test_service_worker_offline.py tests/test_session_tracker.py -q` - extract inline JS and run `node --check /tmp/the-door-inline.js`
Author
Owner

Opened PR #194: #194

Landed the The Door side of the crisis-session bridge: local session/history persistence, request metadata for Hermes session tracking, response-header merge back into the UI, and clear-chat reset handling.

Verification:

  • python3 -m pytest tests/test_crisis_session_integration.py tests/test_crisis_overlay_focus_trap.py tests/test_service_worker_offline.py tests/test_session_tracker.py -q
  • node --check /tmp/the-door-inline.js

Using Refs #99 because this ships the repo-side bridge contract, while full end-to-end closure still depends on Hermes gateway behavior on main.

Opened PR #194: https://forge.alexanderwhitestone.com/Timmy_Foundation/the-door/pulls/194 Landed the The Door side of the crisis-session bridge: local session/history persistence, request metadata for Hermes session tracking, response-header merge back into the UI, and clear-chat reset handling. Verification: - python3 -m pytest tests/test_crisis_session_integration.py tests/test_crisis_overlay_focus_trap.py tests/test_service_worker_offline.py tests/test_session_tracker.py -q - node --check /tmp/the-door-inline.js Using Refs #99 because this ships the repo-side bridge contract, while full end-to-end closure still depends on Hermes gateway behavior on main.
Author
Owner

🔥 BURN DISPATCH — allegro:CRUCIBLE-2.1

Hundred-Pane Fleet active. Working on it.

🔥 **BURN DISPATCH** — allegro:CRUCIBLE-2.1 Hundred-Pane Fleet active. Working on it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-door#99