fix(chat): add WebUI surface context to agent turns#2523
Conversation
Phase 0 quick note — agent review queued, holding for cron tickThanks @AJV20 for the diagnostics/surface-context/dashboard-link burst. These three (#2523 + #2524 + #2533) are well-scoped and CI-eligible, but they're <6 hours old from a first-time contributor with several other in-flight PRs (#2527 + #2526 are getting maintainer-review treatment separately). For this sweep I'm holding all three out of the batch and letting the agent-review cron pick them up on its next tick — that's a structured per-PR diff/test/integration read with a recap comment, after which the parallel reviewer typically follows. Once both have landed, they'll be eligible for the next batch. Nothing wrong with the PRs themselves at a glance — the burst pattern just means "scrutiny stays per-PR, not 'batch everything because they're all small'". Will revisit on the next sweep. |
|
Superseded by #2547, which includes the WebUI surface-context fix on a fresh branch from current master along with related context-parity changes. |
Thinking Path
What Changed
CHANGELOG.md.Why It Matters
WebUI chat turns now get the same kind of surface awareness that users expect from messaging-backed Hermes sessions, without assuming that Telegram transcript state is present in the browser session.
Verification
python -m pytest tests/test_webui_surface_context.py -q -o 'addopts='python -m py_compile api/streaming.pygit diff --checkRisks / Follow-ups
Model Used
OpenAI gpt-5.5 via Hermes Agent, with repository tools and targeted pytest/py_compile verification.