Skip to content

feat(session): bind Agent Manifest identity to Trust Records#323

Merged
imran-siddique merged 3 commits into
mainfrom
feat/manifest-session-binding
Jun 19, 2026
Merged

feat(session): bind Agent Manifest identity to Trust Records#323
imran-siddique merged 3 commits into
mainfrom
feat/manifest-session-binding

Conversation

@imran-siddique

Copy link
Copy Markdown
Contributor

Summary

Closes #317. Delegates agent identity verification to the agent-manifest SDK (verify_manifest(), VerificationContext, signing_pre_image()). Binds the verified agent_id from a signed Agent Manifest into the Trust Record as gateway.agent_identity.

  • agent_manifest.py: loads and verifies manifest via SDK, extracts agent_id for session binding
  • startup.py: invokes manifest verification at startup when CMCP_AGENT_MANIFEST_PATH is set
  • Trust Record gateway field carries agent_identity from the verified manifest

Rebased from the original fork PR #315 (fork deleted) onto main after security PRs #321 and #322 were merged. Conflict in LIMITATIONS.md resolved by keeping both the evidence_class section (from #322) and the Agent Manifest identity binding section.

Test plan

  • CI passes on all matrix (3.11/3.12/3.13, ubuntu/windows)
  • test_agent_manifest.py covers verify path
  • LIMITATIONS.md contains both evidence_class and Agent Manifest sections

Signed-off-by: Imran Siddique imran.siddique@opaque.co

@imran-siddique imran-siddique merged commit fb1524c into main Jun 19, 2026
11 checks passed
@imran-siddique imran-siddique deleted the feat/manifest-session-binding branch June 19, 2026 22:28
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.

Use agent-manifest SDK verify_manifest in the gateway instead of the in-repo reimplementation

2 participants