hermes-bsd/tests/acp
Teknium 777dc9da62
feat(acp): emit session provenance metadata for compression rotation (#41724)
Closes #33617. Adds additive _meta.hermes.sessionProvenance to ACP session
surfaces so clients can detect compression-driven internal session rotation
without parsing status text, guessing from token drops, or reading state.db.

Derived on demand from the existing compression chain (parent_session_id /
end_reason) — no new persisted state, no schema change, no ACP protocol change.
ACP session_id stays the stable client handle.

- acp_adapter/provenance.py: derive provenance from SessionDB
- server.py: attach _meta to new/load/resume responses; emit a
  session_info_update when the internal head rotates during a prompt
2026-06-07 22:22:21 -07:00
..
__init__.py
test_approval_isolation.py
test_auth.py
test_edit_approval.py
test_entry.py
test_events.py
test_mcp_e2e.py
test_permissions.py
test_ping_suppression.py
test_registry_manifest.py
test_server.py fix(acp): suppress cancel interrupt sentinel 2026-06-07 22:20:43 -07:00
test_session.py
test_session_db_private_access.py
test_session_provenance.py feat(acp): emit session provenance metadata for compression rotation (#41724) 2026-06-07 22:22:21 -07:00
test_tools.py