Skip to content

fix(canonicalize): use RFC 8785 JCS from agent-manifest SDK#31

Merged
imran-siddique merged 1 commit into
mainfrom
fix/rfc8785-canonicalize
Jun 20, 2026
Merged

fix(canonicalize): use RFC 8785 JCS from agent-manifest SDK#31
imran-siddique merged 1 commit into
mainfrom
fix/rfc8785-canonicalize

Conversation

@imran-siddique

Copy link
Copy Markdown
Contributor

Summary

  • Replaces the local json.dumps(sort_keys=True, ensure_ascii=True) in validate_artifacts.py with agent_manifest.canonicalize(), the canonical RFC 8785 JCS implementation from the Agent Manifest SDK
  • Adds agent-manifest as a direct dependency to requirements.txt
  • Updates the cmcp-runtime pin to include the Agent Manifest session binding (PR #323)

The existing fixtures are unaffected: the example contains ASCII-only content with no floats, so both implementations produce identical bytes.

Test plan

  • CI passes (JSON/YAML validation)
  • validate_artifacts.py runs cleanly end-to-end with the updated dependencies

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

Replace the local json.dumps canonicalization in validate_artifacts.py
with agent_manifest.canonicalize(), which implements RFC 8785 JCS. Add
agent-manifest SDK as a direct dependency and update the cmcp-runtime
pin to include the Agent Manifest session binding.

Signed-off-by: Imran Siddique <imran.siddique@opaque.co>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@imran-siddique imran-siddique merged commit 96cc91a into main Jun 20, 2026
3 checks passed
@imran-siddique imran-siddique deleted the fix/rfc8785-canonicalize branch June 20, 2026 04:52
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