Skip to content

Send live session completion and agent display names - #33

Merged
Pavel-Tk merged 1 commit into
mainfrom
live-session-materialization
Sep 3, 2026
Merged

Send live session completion and agent display names#33
Pavel-Tk merged 1 commit into
mainfrom
live-session-materialization

Conversation

@Pavel-Tk

@Pavel-Tk Pavel-Tk commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • send capture_session on real Hermes session boundaries (on_session_reset, on_session_finalize) so the server materializes live sessions into the extraction pipeline (the stop-word recall gap)
  • idempotent per session; every failure is swallowed so boundaries never block the host
  • pass an agent display name with the device grant (SUBSTRATE_AGENT_NAME / HERMES_PROFILE); the approval page can override it and the agent pane shows and renames it
  • plugin.yaml declares the two new hooks; setup.py gains --name

Server counterpart (already live on vm-substrate-ar-01)

  • agent-auth.mjs: grant display_name, approve override, name echoed at issuance
  • hermes-setup.mjs: hermes_api_keys.display_name + updateAgentName + listAuthorizedAgents name
  • tenant-runtime.mjs: registerAgentCredential displayName; PATCH name route
  • frontend: approval-page name input; agent pane shows/renames name

Validation

  • 92 plugin tests, Ruff clean
  • server: 85/85 node tests (agent-auth, hermes-setup incl. live materialization, server routes)
  • frontend: 25/25 vitest
  • live: grant with agent_name=Henry Hermes persisted and echoed; approved-grant exchange issued credential with display_name Henry Bot visible in hermes_api_keys and listAuthorizedAgents (test rows cleaned up)

@Pavel-Tk
Pavel-Tk force-pushed the live-session-materialization branch 3 times, most recently from fbe2f6b to cca4c88 Compare September 3, 2026 20:22
Signed-off-by: Pavel-Tk <110731619+Pavel-Tk@users.noreply.github.com>
@Pavel-Tk
Pavel-Tk force-pushed the live-session-materialization branch from cca4c88 to 3cb2301 Compare September 3, 2026 20:27
@Pavel-Tk
Pavel-Tk merged commit 9bca487 into main Sep 3, 2026
6 checks passed
@Pavel-Tk
Pavel-Tk deleted the live-session-materialization branch September 3, 2026 22:17
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