Skip to content

feat(hcp): persist session history in Room - #324

Closed
daniele21 wants to merge 19 commits into
agent/hcp-g-session-telemetryfrom
agent/hcp-h-room-session-history
Closed

feat(hcp): persist session history in Room#324
daniele21 wants to merge 19 commits into
agent/hcp-g-session-telemetryfrom
agent/hcp-h-room-session-history

Conversation

@daniele21

@daniele21 daniele21 commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Superseded for integration by #346. This PR is the obsolete stacked HCP-15 branch based on the pre-replay session-contract line. #346 replays only the HCP-15 Room session-history slice onto dev, preserving the already-integrated HCP-14 contract and avoiding stale stacked history. Keep this PR/branch only as historical recovery context until #346 is safely integrated; do not merge, rebase, or continue implementation here.

Original scope:

Implements HCP-15 persistence foundation as a stacked child of session-contract PR #321.

Changes:

  • Room telemetry DB v9 with inference_sessions table and generation session_id/use_case_revision/binding_revision columns;
  • dedicated session DAO with independent bounded retention;
  • Room repository implements SessionTelemetryRepository on the same DB/executor lifecycle;
  • session and generation identity mappers;
  • 8->9 migration preserving historical runs with nullable new identity;
  • mapper and repository retention/query tests.

This still does not switch the phone app composition from in-memory to Room or instrument session lifecycle; those remain HCP-16/phone composition follow-ups.

@daniele21
daniele21 force-pushed the agent/hcp-g-session-telemetry branch from 1b94631 to 76604ef Compare August 18, 2026 14:50
@daniele21 daniele21 closed this Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant