Skip to content

feat(auth): propagate runtime session identity - #13

Merged
realmroot[bot] merged 2 commits into
mainfrom
feat/runtime-session-claim
Aug 31, 2026
Merged

feat(auth): propagate runtime session identity#13
realmroot[bot] merged 2 commits into
mainfrom
feat/runtime-session-claim

Conversation

@realmroot

@realmroot realmroot Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • read the raw runtime session ID from Codex, Claude Code, Copilot CLI, Goose, Hermes, and Pi environment variables
  • add runtime and unchanged session_id to the signed private Agent binding claim
  • omit both fields when the runtime exposes no session ID
  • refresh cached Realmroot bootstrap credentials when the runtime session changes, preventing cross-session token reuse
  • recognize runtimes directly from their session environment variables when their older marker is absent

Dependency

Merge and deploy realmroot/realmroot#222 first. The server change remains compatible with older CLIs.

Trust boundary

The runtime session is signed Agent-provided provenance for Resource Server correlation. It is not used for authorization or Agent identity selection.

Verification

  • go test ./... (177 tests)
  • go build ./...
  • git diff --check

🤖 Created by Jarvis via Realmroot

@realmroot
realmroot Bot merged commit e03dc82 into main Aug 31, 2026
1 check passed
@realmroot
realmroot Bot deleted the feat/runtime-session-claim branch August 31, 2026 04:43
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.

0 participants