matrixscroll 0.6.3__tar.gz → 0.6.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/CHANGELOG.md +23 -0
  2. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/CONTRIBUTING.md +30 -0
  3. matrixscroll-0.6.4/PKG-INFO +315 -0
  4. matrixscroll-0.6.4/README.md +258 -0
  5. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/SECURITY.md +1 -1
  6. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/ADOPTER_KIT.md +3 -3
  7. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/AGENTIC_AI_SECURITY.md +3 -3
  8. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/CI_HARD_GATE.md +2 -2
  9. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/COMMIT_TIME_VS_ARTIFACT_TIME.md +2 -2
  10. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/COMPARISON.md +5 -5
  11. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/CRYPTO_BACKEND.md +1 -1
  12. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/CRYPTO_ROADMAP.md +1 -1
  13. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/DOCTRINE.md +2 -2
  14. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/FIVE_MINUTES.md +2 -2
  15. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/POC2_AUDIT.md +1 -1
  16. matrixscroll-0.6.4/docs/ROADMAP_2026-07.md +38 -0
  17. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/SECURITY_PROPERTIES.md +1 -1
  18. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/SOFTWARE_PRODUCTS.md +7 -8
  19. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/WHITEPAPER.md +9 -10
  20. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/commercial/PLATFORM_PIVOT.md +2 -2
  21. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/commercial/SSX360_SCROLL.md +2 -2
  22. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/explanation/style-supplement.md +7 -7
  23. matrixscroll-0.6.4/docs/explanation/trust-boundaries.md +40 -0
  24. matrixscroll-0.6.4/docs/hardware-provider.md +102 -0
  25. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/how-to/gate-protected-branch.md +19 -10
  26. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/how-to/scan-mcp-server.md +1 -1
  27. matrixscroll-0.6.4/docs/images/ssx360-usb-signer-architecture.jpg +0 -0
  28. matrixscroll-0.6.4/docs/images/ssx360-usb-signer-round-trip.jpg +0 -0
  29. matrixscroll-0.6.4/docs/images/ssx360-usb-signer.jpg +0 -0
  30. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/index.md +18 -12
  31. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/quickstart-agent.md +1 -1
  32. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/quickstart-claude-code.md +1 -1
  33. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/quickstart-git.md +4 -4
  34. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/quickstart-mcp.md +2 -2
  35. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/reference/cli.md +13 -9
  36. matrixscroll-0.6.4/docs/reference/commit-envelope.md +57 -0
  37. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/reference/exit-codes.md +8 -4
  38. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/reference/python-api.md +9 -3
  39. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/registries-guide.md +2 -1
  40. matrixscroll-0.6.4/docs/tutorial/first-commit.md +158 -0
  41. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/ci/protected-branch.yml +3 -3
  42. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/__init__.py +5 -7
  43. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/mcp.py +1 -1
  44. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/providers/se050_transport.py +1 -1
  45. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/pyproject.toml +2 -2
  46. matrixscroll-0.6.3/PKG-INFO +0 -579
  47. matrixscroll-0.6.3/README.md +0 -522
  48. matrixscroll-0.6.3/docs/ROADMAP_2026-07.md +0 -49
  49. matrixscroll-0.6.3/docs/explanation/trust-boundaries.md +0 -85
  50. matrixscroll-0.6.3/docs/hardware-provider.md +0 -77
  51. matrixscroll-0.6.3/docs/reference/commit-envelope.md +0 -45
  52. matrixscroll-0.6.3/docs/tutorial/first-commit.md +0 -133
  53. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/.gitignore +0 -0
  54. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/LICENSE +0 -0
  55. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/SPEC.md +0 -0
  56. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/controls/agentic_ai_controls.json +0 -0
  57. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/AIMS_INTEROP.md +0 -0
  58. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/GITTUF_INTEROP.md +0 -0
  59. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/GIT_AI_NOTES_INTEROP.md +0 -0
  60. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/HERO_DEMO.md +0 -0
  61. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/OPENSSF_SANDBOX_DECISION.md +0 -0
  62. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/SE050_POC_SCOPE.md +0 -0
  63. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/SE050_USB_PROTOCOL.md +0 -0
  64. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/SLSA_SOURCE_TRACK_MAPPING.md +0 -0
  65. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/commercial/README.md +0 -0
  66. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/commercial/SCROLL_GATE_V2.md +0 -0
  67. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/delegation-attestation-rfc.md +0 -0
  68. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/explanation/actor-attribution.md +0 -0
  69. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/explanation/ap2.md +0 -0
  70. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/explanation/commit-time-vs-artifact-time.md +0 -0
  71. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/explanation/writing-workflow.md +0 -0
  72. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/how-to/publish-git-notes.md +0 -0
  73. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/rekor-guac-bridge-design.md +0 -0
  74. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/requirements.txt +0 -0
  75. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/superpowers/plans/2026-06-19-ci-action-plan.md +0 -0
  76. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/superpowers/plans/2026-06-19-sdk-refactor-plan.md +0 -0
  77. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/superpowers/specs/2026-06-19-matrixscroll-git-design.md +0 -0
  78. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/yubikey-bridge.md +0 -0
  79. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/docs/yubikey-smoke.md +0 -0
  80. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/agentic_ai_evidence_manifest.json +0 -0
  81. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/agentic_ai_evidence_manifest.signed.json +0 -0
  82. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/commit-envelope.json +0 -0
  83. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/commit-envelope.signed.json +0 -0
  84. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/demo/agent-commit-demo.sh +0 -0
  85. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/demo/generate_signed_examples.py +0 -0
  86. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/demo/hero-self-attestation-demo.sh +0 -0
  87. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/demo/mcp-rugpull-demo.cast +0 -0
  88. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/demo/mcp-rugpull-demo.gif +0 -0
  89. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/demo/mcp-rugpull-demo.sh +0 -0
  90. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/mcp/matrixscroll-mcp.baseline.json +0 -0
  91. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/mcp/matrixscroll-mcp.manifest.json +0 -0
  92. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/mcp/matrixscroll-mcp.signed.json +0 -0
  93. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/release-manifest.json +0 -0
  94. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/release-manifest.signed.json +0 -0
  95. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/examples/trusted-keys-policy.json +0 -0
  96. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/_claim.py +0 -0
  97. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/_core.py +0 -0
  98. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/_payment.py +0 -0
  99. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/agent_trace.py +0 -0
  100. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/canonical.py +0 -0
  101. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/cli.py +0 -0
  102. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/cloud/__init__.py +0 -0
  103. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/cloud/client.py +0 -0
  104. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/constants.py +0 -0
  105. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/crypto_backend.py +0 -0
  106. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/errors.py +0 -0
  107. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/formal.py +0 -0
  108. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/gate.py +0 -0
  109. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/git.py +0 -0
  110. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/guac_export.py +0 -0
  111. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/hooks/post-commit +0 -0
  112. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/hooks/pre-push +0 -0
  113. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/manifest.py +0 -0
  114. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/mcp_core.py +0 -0
  115. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/mcp_trust.py +0 -0
  116. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/policy.py +0 -0
  117. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/pqc.py +0 -0
  118. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/provenance/__init__.py +0 -0
  119. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/provenance/actions.py +0 -0
  120. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/providers/__init__.py +0 -0
  121. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/providers/base.py +0 -0
  122. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/providers/emulated.py +0 -0
  123. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/providers/hardware.py +0 -0
  124. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/providers/registry.py +0 -0
  125. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/providers/tpm.py +0 -0
  126. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/providers/yubikey.py +0 -0
  127. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/py.typed +0 -0
  128. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/rekor_publish.py +0 -0
  129. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/scroll/README.md +0 -0
  130. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/scroll/__init__.py +0 -0
  131. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/matrixscroll/ssx360_cli.py +0 -0
  132. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/schemas/action-envelope.v1.json +0 -0
  133. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/schemas/commit-envelope.v1.1.json +0 -0
  134. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/schemas/commit-envelope.v1.json +0 -0
  135. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/schemas/evidence-pack.v1.json +0 -0
  136. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/schemas/pqc-signature.v1.json +0 -0
  137. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/schemas/release-manifest.v1.json +0 -0
  138. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/schemas/ssx360.mcp-manifest.v1.json +0 -0
  139. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/__init__.py +0 -0
  140. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/fixtures/github-gpgsig-commit.txt +0 -0
  141. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/fixtures/mcp-tools-sample.json +0 -0
  142. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_agent_trace.py +0 -0
  143. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_agentic_guidance.py +0 -0
  144. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_canonical.py +0 -0
  145. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_canonical_pqc.py +0 -0
  146. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_cli.py +0 -0
  147. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_core.py +0 -0
  148. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_crypto_backend.py +0 -0
  149. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_formal_specs.py +0 -0
  150. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_gate.py +0 -0
  151. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_git_envelope.py +0 -0
  152. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_guac_rekor.py +0 -0
  153. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_mcp_core.py +0 -0
  154. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_mcp_server.py +0 -0
  155. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_mcp_trust.py +0 -0
  156. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_policy.py +0 -0
  157. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_pqc.py +0 -0
  158. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_provenance.py +0 -0
  159. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_release_metadata.py +0 -0
  160. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_se050_transport.py +0 -0
  161. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_security_properties.py +0 -0
  162. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_ssx360_cli.py +0 -0
  163. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_tpm_provider.py +0 -0
  164. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_vectors.py +0 -0
  165. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/tests/test_yubikey_provider.py +0 -0
  166. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/README.md +0 -0
  167. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/_fixture_key.json +0 -0
  168. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/_generate.py +0 -0
  169. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/tampered_algorithm.json +0 -0
  170. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/tampered_device_id.json +0 -0
  171. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/tampered_field.json +0 -0
  172. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/tampered_nested.json +0 -0
  173. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/tampered_public_key.json +0 -0
  174. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/tampered_schema.json +0 -0
  175. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/tampered_signature.json +0 -0
  176. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/unsigned_empty_block.json +0 -0
  177. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/unsigned_no_block.json +0 -0
  178. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/valid_commit_envelope.json +0 -0
  179. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/valid_nested.json +0 -0
  180. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/valid_simple.json +0 -0
  181. {matrixscroll-0.6.3 → matrixscroll-0.6.4}/vectors/valid_unicode.json +0 -0
@@ -6,6 +6,28 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.6.4] - 2026-08-11
10
+
11
+ Documentation and release metadata. No wire-format change.
12
+
13
+ ### Added
14
+ - The PyPI page now leads with the working `matrixscroll-mcp` stdio server and
15
+ documents all 14 tools.
16
+ - The completed SSX360 USB signer, signing sequence, and architecture are shown
17
+ with the direct-contact acquisition path.
18
+
19
+ ### Changed
20
+ - Removed the overlapping authorization and provider maturity ladders from the
21
+ PyPI page. Capability names and provider modes now stand on their own.
22
+ - Hardware documentation now distinguishes the `matrixscroll[hardware]` host
23
+ package from physical signers supplied through `ssx360.com/contact`.
24
+ - Install examples and release metadata now pin `matrixscroll==0.6.4`.
25
+
26
+ ### Verified
27
+ - The stdio handshake returns 14 MCP tools.
28
+ - The focused MCP and SE050 transport suite passes 29 tests.
29
+ - The wheel and source distribution pass `twine check`.
30
+
9
31
  ## [0.6.3] - 2026-08-10
10
32
 
11
33
  Repository layout and documentation. No code, CLI or wire-format changes.
@@ -312,6 +334,7 @@ Initial public release. Extracted from the SSX360 reference implementation.
312
334
  - Device id format: `MS-XXXX-XXXX` (SHA-256 of the raw public key, first 8 hex
313
335
  chars, uppercase).
314
336
 
337
+ [0.6.4]: https://github.com/SSX360/matrixscroll/releases/tag/v0.6.4
315
338
  [0.6.3]: https://github.com/SSX360/matrixscroll/releases/tag/v0.6.3
316
339
  [0.6.2]: https://github.com/SSX360/matrixscroll/releases/tag/v0.6.2
317
340
  [0.6.1]: https://github.com/SSX360/matrixscroll/releases/tag/v0.6.1
@@ -83,6 +83,36 @@ vectors are welcome.
83
83
  - [ ] No private keys, no real device ids, and no fixtures generated by a
84
84
  production device in test data.
85
85
 
86
+ ## Cutting a release
87
+
88
+ Bump the version in `pyproject.toml`, `matrixscroll/__init__.py`, `CHANGELOG.md`,
89
+ the README pins, and the default `matrixscroll-version` in
90
+ `.github/actions/verify/action.yml` together in one PR. Run
91
+ `scripts/release-readiness.py` before you open it. That script covers
92
+ `pyproject.toml`, `matrixscroll/__init__.py`, the README pins and `glama.json`,
93
+ and exits non-zero when they disagree. It never reads `CHANGELOG.md` or
94
+ `action.yml`, so check those two yourself.
95
+
96
+ Leave `glama.json` at the previous version. Glama installs the pin it names from
97
+ PyPI, so `scripts/validate_glama_pypi.py` fails while that version is unpublished.
98
+
99
+ Once `publish.yml` has finished and pypi.org serves the new version, open and
100
+ merge a second PR bumping `glama.json`. Then move the floating action tag:
101
+
102
+ ```bash
103
+ git fetch origin && git tag -f action-v1 origin/main && git push -f origin action-v1
104
+ ```
105
+
106
+ Both halves of that matter. Fetch first, because a local `main` that predates
107
+ the merge moves `action-v1` onto the wrong commit and Git reports nothing.
108
+ Merge the `glama.json` PR first, because `origin/main` otherwise still points at
109
+ the commit before it.
110
+
111
+ Consumers pin `SSX360/matrixscroll/.github/actions/verify@action-v1`, so that tag
112
+ decides which SDK version their workflows install. Leave it behind and
113
+ matrixscroll.com stays on the previous release and fails its version lint, which
114
+ is what happened on August 10, 2026.
115
+
86
116
  ## Security
87
117
 
88
118
  See `SECURITY.md`. **Do not file security issues as public PRs.**
@@ -0,0 +1,315 @@
1
+ Metadata-Version: 2.5
2
+ Name: matrixscroll
3
+ Version: 0.6.4
4
+ Summary: MCP server for signed AI-agent provenance with offline tool-surface checks and SSX360 USB signer support.
5
+ Project-URL: Homepage, https://matrixscroll.com
6
+ Project-URL: Documentation, https://matrixscroll.com/docs/
7
+ Project-URL: Specification, https://matrixscroll.com/spec/
8
+ Project-URL: Verifier, https://matrixscroll.com/verify/
9
+ Project-URL: Repository, https://github.com/SSX360/matrixscroll
10
+ Project-URL: Source, https://github.com/SSX360/matrixscroll
11
+ Project-URL: Issues, https://github.com/SSX360/matrixscroll/issues
12
+ Project-URL: Whitepaper, https://github.com/SSX360/matrixscroll/blob/main/docs/WHITEPAPER.md
13
+ Project-URL: Changelog, https://github.com/SSX360/matrixscroll/blob/main/CHANGELOG.md
14
+ Project-URL: Discussions, https://github.com/SSX360/matrixscroll/discussions
15
+ Project-URL: Security, https://github.com/SSX360/matrixscroll/blob/main/SECURITY.md
16
+ Project-URL: GitHub Action, https://github.com/SSX360/matrixscroll/tree/main/.github/actions/verify
17
+ Project-URL: Tests, https://github.com/SSX360/matrixscroll/tree/main/tests
18
+ Project-URL: Public Roadmap, https://github.com/SSX360/matrixscroll/blob/main/docs/ROADMAP_2026-07.md
19
+ Project-URL: Hardware Status, https://github.com/SSX360/matrixscroll/blob/main/docs/hardware-provider.md
20
+ Project-URL: Maintainer, https://ssx360.com/about
21
+ Author-email: SSX360 <security@matrixscroll.com>
22
+ License-Expression: Apache-2.0
23
+ License-File: LICENSE
24
+ Keywords: ai,ed25519,fips-204,fips-205,matrixscroll,ml-dsa,post-quantum,provenance,root-of-trust,secure-element,signing,slh-dsa,ssx360,supply-chain
25
+ Classifier: Development Status :: 4 - Beta
26
+ Classifier: Intended Audience :: Developers
27
+ Classifier: Intended Audience :: Information Technology
28
+ Classifier: License :: OSI Approved :: Apache Software License
29
+ Classifier: Operating System :: OS Independent
30
+ Classifier: Programming Language :: Python :: 3
31
+ Classifier: Programming Language :: Python :: 3 :: Only
32
+ Classifier: Programming Language :: Python :: 3.10
33
+ Classifier: Programming Language :: Python :: 3.11
34
+ Classifier: Programming Language :: Python :: 3.12
35
+ Classifier: Programming Language :: Python :: 3.13
36
+ Classifier: Topic :: Security :: Cryptography
37
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
38
+ Classifier: Typing :: Typed
39
+ Requires-Python: >=3.10
40
+ Requires-Dist: cryptography>=43.0
41
+ Provides-Extra: dev
42
+ Requires-Dist: build>=1.0; extra == 'dev'
43
+ Requires-Dist: hypothesis>=6.100; extra == 'dev'
44
+ Requires-Dist: pytest-cov>=4.1; extra == 'dev'
45
+ Requires-Dist: pytest>=7.4; extra == 'dev'
46
+ Provides-Extra: git
47
+ Provides-Extra: hardware
48
+ Requires-Dist: pyserial>=3.5; extra == 'hardware'
49
+ Provides-Extra: mcp
50
+ Requires-Dist: mcp<2.0.0,>=1.0.0; extra == 'mcp'
51
+ Provides-Extra: pqc
52
+ Requires-Dist: liboqs-python>=0.12.0; extra == 'pqc'
53
+ Provides-Extra: tpm
54
+ Provides-Extra: yubikey
55
+ Requires-Dist: python-pkcs11>=0.7; extra == 'yubikey'
56
+ Description-Content-Type: text/markdown
57
+
58
+ # Matrix Scroll
59
+
60
+ Model Context Protocol server for signed agent provenance and offline MCP tool-surface verification.
61
+
62
+ [![ci-unit](https://github.com/SSX360/matrixscroll/actions/workflows/ci-unit.yml/badge.svg)](https://github.com/SSX360/matrixscroll/actions/workflows/ci-unit.yml)
63
+ [![PyPI](https://img.shields.io/pypi/v/matrixscroll)](https://pypi.org/project/matrixscroll/)
64
+ [![Python](https://img.shields.io/pypi/pyversions/matrixscroll)](https://pypi.org/project/matrixscroll/)
65
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue)](https://github.com/SSX360/matrixscroll/blob/main/LICENSE)
66
+
67
+ An MCP server can change its tool descriptions or input schemas after you install it. A Git commit can also name an agent without carrying proof of what signed the record. Matrix Scroll addresses both gaps with Ed25519-signed evidence that you can verify offline.
68
+
69
+ The `matrixscroll-mcp` stdio server exposes 14 tools for commit envelopes, action records, pull-request checks, Git notes, MCP surface manifests, agent traces, and the SSX360 USB signer. Local signing and verification need no cloud account.
70
+
71
+ SSX360 has completed and produced the USB signer shown below. The device uses an RP2350 USB bridge and an NXP SE050 secure element. SSX360 supplies the signer by direct inquiry through [SSX360 contact](https://ssx360.com/contact) or `mission@ssx360.com`.
72
+
73
+ Matrix Scroll is an open protocol. The Python SDK is Apache-2.0 software, and the specification and vectors are CC0 1.0.
74
+
75
+ ## Contents
76
+
77
+ - [Install the MCP server](#install-the-mcp-server)
78
+ - [MCP tools](#mcp-tools)
79
+ - [Detect MCP tool-surface changes](#detect-mcp-tool-surface-changes)
80
+ - [Use the SSX360 USB signer](#use-the-ssx360-usb-signer)
81
+ - [Sign and verify from the CLI](#sign-and-verify-from-the-cli)
82
+ - [Honest limits](#honest-limits)
83
+ - [Verify the release](#verify-the-release)
84
+ - [Security and license](#security-and-license)
85
+
86
+ ## Install the MCP server
87
+
88
+ Install the current release from PyPI:
89
+
90
+ ```bash
91
+ pip install "matrixscroll[mcp]==0.6.4"
92
+ ```
93
+
94
+ Register the stdio server in your MCP client:
95
+
96
+ ```json
97
+ {
98
+ "mcpServers": {
99
+ "matrixscroll": {
100
+ "command": "matrixscroll-mcp",
101
+ "args": []
102
+ }
103
+ }
104
+ }
105
+ ```
106
+
107
+ On Windows, use the full path to `matrixscroll-mcp.exe` inside the active virtual environment if the command is not on `PATH`.
108
+
109
+ Start the executable directly when you want to inspect the server over stdio:
110
+
111
+ ```bash
112
+ matrixscroll-mcp
113
+ ```
114
+
115
+ After your client connects, call `status`. The server reports the local identity, hook state, and envelope count.
116
+
117
+ ## MCP tools
118
+
119
+ The `0.6.4` server exposes these tools:
120
+
121
+ | Tool | What it does | Network or write behavior |
122
+ | --- | --- | --- |
123
+ | `status` | Reports local identity, hook state, and envelope count | Read-only and local |
124
+ | `create_envelope` | Creates an Ed25519-signed Git commit envelope | Writes a local envelope by default |
125
+ | `verify_envelope` | Verifies one signed envelope and its policy fields | Read-only and local |
126
+ | `sign_action` | Signs provenance for CI, infrastructure changes, migrations, API calls, or other actions | Writes only when `save_path` is set |
127
+ | `verify_pr_range` | Checks every commit in a Git range | Local for `local`, `notes`, or `bundle`. Hosted mode requires an API key |
128
+ | `publish_notes` | Publishes local envelopes to `refs/notes/matrixscroll` | Writes local Git notes |
129
+ | `audit_export` | Exports evidence for review | Writes a local bundle or uses the hosted API when configured |
130
+ | `list_envelopes` | Lists organization envelopes | Requires `SSX360_API_KEY` and the hosted API |
131
+ | `connect_card` | Probes the SSX360 USB signer over USB CDC | Opens the configured serial port |
132
+ | `scan_mcp_server` | Fingerprints MCP tool names, descriptions, and input schemas | Read-only when tools are supplied |
133
+ | `sign_mcp_manifest` | Signs an MCP tool-surface manifest | Writes only when `save_path` is set |
134
+ | `verify_mcp_manifest` | Verifies a manifest and compares it with a signed baseline | Read-only and local |
135
+ | `sign_agent_trace` | Signs a browser-agent JSONL trace | Writes a signed envelope |
136
+ | `verify_agent_trace` | Verifies a signed trace and optionally checks the source bytes | Read-only and local |
137
+
138
+ An API key is optional. Local signing, offline verification, MCP manifest checks, and USB signer access do not require one. Hosted organization history and hosted range verification use `SSX360_API_KEY`.
139
+
140
+ ## Detect MCP tool-surface changes
141
+
142
+ Matrix Scroll records an MCP server's tool names, descriptions, and input schemas in a signed manifest. Re-scan the server after an update and compare it with the install-time baseline.
143
+
144
+ ```bash
145
+ pip install "matrixscroll[mcp]==0.6.4"
146
+
147
+ matrixscroll mcp scan \
148
+ --connect stdio \
149
+ --server-command "npx -y some-mcp-server" \
150
+ --output manifest.json \
151
+ --pretty
152
+
153
+ matrixscroll mcp sign manifest.json \
154
+ --output baseline.signed.json
155
+
156
+ matrixscroll mcp scan \
157
+ --connect stdio \
158
+ --server-command "npx -y some-mcp-server" \
159
+ --output current.json
160
+
161
+ matrixscroll mcp sign current.json \
162
+ --output current.signed.json
163
+
164
+ matrixscroll mcp verify current.signed.json \
165
+ --baseline baseline.signed.json \
166
+ --pretty
167
+ ```
168
+
169
+ The verify command exits with code `2` when the signature is invalid or the current tool surface differs from the signed baseline. You can also scan an exported `tools/list` response without starting a server:
170
+
171
+ ```bash
172
+ matrixscroll mcp scan --tools tools.json --output manifest.json --pretty
173
+ ```
174
+
175
+ ## Use the SSX360 USB signer
176
+
177
+ ![Completed SSX360 USB signer](https://raw.githubusercontent.com/SSX360/matrixscroll/main/docs/images/ssx360-usb-signer.jpg)
178
+
179
+ Install the hardware and MCP extras:
180
+
181
+ ```bash
182
+ pip install "matrixscroll[mcp,hardware]==0.6.4"
183
+ ```
184
+
185
+ Set the hardware provider and USB CDC port before starting the MCP server.
186
+
187
+ Windows PowerShell:
188
+
189
+ ```powershell
190
+ $env:MATRIXSCROLL_MODE = "hardware"
191
+ $env:MATRIXSCROLL_SE050_PORT = "COM3"
192
+ matrixscroll status
193
+ matrixscroll-mcp
194
+ ```
195
+
196
+ Linux:
197
+
198
+ ```bash
199
+ export MATRIXSCROLL_MODE=hardware
200
+ export MATRIXSCROLL_SE050_PORT=/dev/ttyACM0
201
+ matrixscroll status
202
+ matrixscroll-mcp
203
+ ```
204
+
205
+ You can also pass the hardware settings through the MCP client configuration:
206
+
207
+ ```json
208
+ {
209
+ "mcpServers": {
210
+ "matrixscroll": {
211
+ "command": "matrixscroll-mcp",
212
+ "args": [],
213
+ "env": {
214
+ "MATRIXSCROLL_MODE": "hardware",
215
+ "MATRIXSCROLL_SE050_PORT": "COM3"
216
+ }
217
+ }
218
+ }
219
+ }
220
+ ```
221
+
222
+ Call `connect_card` to confirm that the signer responds. Then call `status` to inspect the active provider before creating an envelope.
223
+
224
+ SSX360 supplies the finished signer through direct contact. Ask for the Matrix Scroll USB signer through [SSX360 contact](https://ssx360.com/contact). The hardware is not distributed through PyPI or listed for self-service purchase.
225
+
226
+ ### How hardware signing works
227
+
228
+ ![USB signing round trip](https://raw.githubusercontent.com/SSX360/matrixscroll/main/docs/images/ssx360-usb-signer-round-trip.jpg)
229
+
230
+ 1. The host sends `GEN_KEY` through the RP2350 USB bridge.
231
+ 2. The SE050 creates an Ed25519 key pair in the secure element. The private key is non-exportable.
232
+ 3. The host reads the 32-byte public key.
233
+ 4. The host sends canonical bytes with a `SIGN` request.
234
+ 5. The SE050 returns a 64-byte Ed25519 signature.
235
+ 6. Matrix Scroll assembles the signed record and verifies it with the same offline verifier used for software signing.
236
+
237
+ The host receives the public key and signature. The private key stays inside the SE050.
238
+
239
+ ![USB signer architecture](https://raw.githubusercontent.com/SSX360/matrixscroll/main/docs/images/ssx360-usb-signer-architecture.jpg)
240
+
241
+ ## Sign and verify from the CLI
242
+
243
+ The Python package includes a CLI and Git hooks for workflows that do not use MCP.
244
+
245
+ ```bash
246
+ pip install "matrixscroll==0.6.4"
247
+ matrixscroll hook-install
248
+
249
+ export MATRIXSCROLL_ACTOR_TYPE=agent
250
+ export MATRIXSCROLL_TOOL=agent-runner
251
+ git commit -m "feat: agent-assisted change"
252
+
253
+ matrixscroll envelope-verify "$(git rev-parse HEAD)"
254
+ ```
255
+
256
+ Sign a JSON manifest directly:
257
+
258
+ ```bash
259
+ matrixscroll sign release.json > release.signed.json
260
+ matrixscroll verify release.signed.json
261
+ ```
262
+
263
+ `matrixscroll verify` exits with code `0` for a valid signature and code `2` for invalid input, a failed signature, a mismatched device identity, or an unsupported schema or algorithm.
264
+
265
+ ## Honest limits
266
+
267
+ <!-- vale ai-tells.ShipOveruse = NO -->
268
+
269
+ - Shipping now: PyPI `matrixscroll==0.6.4` installs the 14-tool stdio MCP server and Git hooks. The release also includes the MCP Trust Scanner, offline verification, and USB CDC integration for the SSX360 signer.
270
+ - Hardware availability: SSX360 produces the USB signer and supplies it after a direct inquiry. PyPI distributes the host software only.
271
+ - Hosted tools: `list_envelopes` and the hosted modes of `verify_pr_range` and `audit_export` require `SSX360_API_KEY` and a deployed SSX360 API. Local alternatives remain available without a key.
272
+ - Post-quantum overlay: the optional `matrixscroll[pqc]` extra provides ML-DSA and SLH-DSA through liboqs. This module has no CMVP validation. liboqs states that applications should not rely on it to protect sensitive data in production.
273
+ - Verification scope: an Ed25519 signature proves that the signed bytes match and correspond to the included public key. The declared `actor_type` still requires a trusted-key and authorization policy.
274
+ - Not included: identity and access management, sandboxing, prompt filtering, or an agent runtime.
275
+
276
+ <!-- vale ai-tells.ShipOveruse = YES -->
277
+
278
+ ## Verify the release
279
+
280
+ GitHub Actions publishes each Matrix Scroll release through PyPI Trusted Publishing. PyPI records a PEP 740 attestation for the wheel and source distribution.
281
+
282
+ Ask PyPI for the `0.6.4` wheel provenance:
283
+
284
+ ```bash
285
+ curl -H "Accept: application/vnd.pypi.integrity.v1+json" \
286
+ https://pypi.org/integrity/matrixscroll/0.6.4/matrixscroll-0.6.4-py3-none-any.whl/provenance
287
+ ```
288
+
289
+ The response names the GitHub publisher:
290
+
291
+ ```json
292
+ {
293
+ "kind": "GitHub",
294
+ "repository": "SSX360/matrixscroll",
295
+ "workflow": "publish.yml",
296
+ "environment": "pypi"
297
+ }
298
+ ```
299
+
300
+ Compare the attested `subject[].digest.sha256` value with the SHA-256 digest of the file you downloaded. Stop if the repository, workflow, or digest differs.
301
+
302
+ ## Security and license
303
+
304
+ Read the [security policy](https://github.com/SSX360/matrixscroll/blob/main/SECURITY.md) and [security properties](https://github.com/SSX360/matrixscroll/blob/main/docs/SECURITY_PROPERTIES.md). Report vulnerabilities privately to `security@matrixscroll.com` or through a GitHub Security Advisory.
305
+
306
+ Matrix Scroll code is licensed under Apache-2.0. [`SPEC.md`](https://github.com/SSX360/matrixscroll/blob/main/SPEC.md) and [`vectors/`](https://github.com/SSX360/matrixscroll/tree/main/vectors/) are released under CC0 1.0.
307
+
308
+ | Resource | Link |
309
+ | --- | --- |
310
+ | Documentation | [matrixscroll.com/docs](https://matrixscroll.com/docs/) |
311
+ | MCP Trust Scanner | [matrixscroll.com/scan](https://matrixscroll.com/scan/) |
312
+ | Offline verifier | [matrixscroll.com/verify](https://matrixscroll.com/verify/) |
313
+ | Protocol specification | [matrixscroll.com/spec](https://matrixscroll.com/spec/) |
314
+ | Source repository | [github.com/SSX360/matrixscroll](https://github.com/SSX360/matrixscroll) |
315
+ | SSX360 contact | [Contact SSX360](https://ssx360.com/contact) |
@@ -0,0 +1,258 @@
1
+ # Matrix Scroll
2
+
3
+ Model Context Protocol server for signed agent provenance and offline MCP tool-surface verification.
4
+
5
+ [![ci-unit](https://github.com/SSX360/matrixscroll/actions/workflows/ci-unit.yml/badge.svg)](https://github.com/SSX360/matrixscroll/actions/workflows/ci-unit.yml)
6
+ [![PyPI](https://img.shields.io/pypi/v/matrixscroll)](https://pypi.org/project/matrixscroll/)
7
+ [![Python](https://img.shields.io/pypi/pyversions/matrixscroll)](https://pypi.org/project/matrixscroll/)
8
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue)](https://github.com/SSX360/matrixscroll/blob/main/LICENSE)
9
+
10
+ An MCP server can change its tool descriptions or input schemas after you install it. A Git commit can also name an agent without carrying proof of what signed the record. Matrix Scroll addresses both gaps with Ed25519-signed evidence that you can verify offline.
11
+
12
+ The `matrixscroll-mcp` stdio server exposes 14 tools for commit envelopes, action records, pull-request checks, Git notes, MCP surface manifests, agent traces, and the SSX360 USB signer. Local signing and verification need no cloud account.
13
+
14
+ SSX360 has completed and produced the USB signer shown below. The device uses an RP2350 USB bridge and an NXP SE050 secure element. SSX360 supplies the signer by direct inquiry through [SSX360 contact](https://ssx360.com/contact) or `mission@ssx360.com`.
15
+
16
+ Matrix Scroll is an open protocol. The Python SDK is Apache-2.0 software, and the specification and vectors are CC0 1.0.
17
+
18
+ ## Contents
19
+
20
+ - [Install the MCP server](#install-the-mcp-server)
21
+ - [MCP tools](#mcp-tools)
22
+ - [Detect MCP tool-surface changes](#detect-mcp-tool-surface-changes)
23
+ - [Use the SSX360 USB signer](#use-the-ssx360-usb-signer)
24
+ - [Sign and verify from the CLI](#sign-and-verify-from-the-cli)
25
+ - [Honest limits](#honest-limits)
26
+ - [Verify the release](#verify-the-release)
27
+ - [Security and license](#security-and-license)
28
+
29
+ ## Install the MCP server
30
+
31
+ Install the current release from PyPI:
32
+
33
+ ```bash
34
+ pip install "matrixscroll[mcp]==0.6.4"
35
+ ```
36
+
37
+ Register the stdio server in your MCP client:
38
+
39
+ ```json
40
+ {
41
+ "mcpServers": {
42
+ "matrixscroll": {
43
+ "command": "matrixscroll-mcp",
44
+ "args": []
45
+ }
46
+ }
47
+ }
48
+ ```
49
+
50
+ On Windows, use the full path to `matrixscroll-mcp.exe` inside the active virtual environment if the command is not on `PATH`.
51
+
52
+ Start the executable directly when you want to inspect the server over stdio:
53
+
54
+ ```bash
55
+ matrixscroll-mcp
56
+ ```
57
+
58
+ After your client connects, call `status`. The server reports the local identity, hook state, and envelope count.
59
+
60
+ ## MCP tools
61
+
62
+ The `0.6.4` server exposes these tools:
63
+
64
+ | Tool | What it does | Network or write behavior |
65
+ | --- | --- | --- |
66
+ | `status` | Reports local identity, hook state, and envelope count | Read-only and local |
67
+ | `create_envelope` | Creates an Ed25519-signed Git commit envelope | Writes a local envelope by default |
68
+ | `verify_envelope` | Verifies one signed envelope and its policy fields | Read-only and local |
69
+ | `sign_action` | Signs provenance for CI, infrastructure changes, migrations, API calls, or other actions | Writes only when `save_path` is set |
70
+ | `verify_pr_range` | Checks every commit in a Git range | Local for `local`, `notes`, or `bundle`. Hosted mode requires an API key |
71
+ | `publish_notes` | Publishes local envelopes to `refs/notes/matrixscroll` | Writes local Git notes |
72
+ | `audit_export` | Exports evidence for review | Writes a local bundle or uses the hosted API when configured |
73
+ | `list_envelopes` | Lists organization envelopes | Requires `SSX360_API_KEY` and the hosted API |
74
+ | `connect_card` | Probes the SSX360 USB signer over USB CDC | Opens the configured serial port |
75
+ | `scan_mcp_server` | Fingerprints MCP tool names, descriptions, and input schemas | Read-only when tools are supplied |
76
+ | `sign_mcp_manifest` | Signs an MCP tool-surface manifest | Writes only when `save_path` is set |
77
+ | `verify_mcp_manifest` | Verifies a manifest and compares it with a signed baseline | Read-only and local |
78
+ | `sign_agent_trace` | Signs a browser-agent JSONL trace | Writes a signed envelope |
79
+ | `verify_agent_trace` | Verifies a signed trace and optionally checks the source bytes | Read-only and local |
80
+
81
+ An API key is optional. Local signing, offline verification, MCP manifest checks, and USB signer access do not require one. Hosted organization history and hosted range verification use `SSX360_API_KEY`.
82
+
83
+ ## Detect MCP tool-surface changes
84
+
85
+ Matrix Scroll records an MCP server's tool names, descriptions, and input schemas in a signed manifest. Re-scan the server after an update and compare it with the install-time baseline.
86
+
87
+ ```bash
88
+ pip install "matrixscroll[mcp]==0.6.4"
89
+
90
+ matrixscroll mcp scan \
91
+ --connect stdio \
92
+ --server-command "npx -y some-mcp-server" \
93
+ --output manifest.json \
94
+ --pretty
95
+
96
+ matrixscroll mcp sign manifest.json \
97
+ --output baseline.signed.json
98
+
99
+ matrixscroll mcp scan \
100
+ --connect stdio \
101
+ --server-command "npx -y some-mcp-server" \
102
+ --output current.json
103
+
104
+ matrixscroll mcp sign current.json \
105
+ --output current.signed.json
106
+
107
+ matrixscroll mcp verify current.signed.json \
108
+ --baseline baseline.signed.json \
109
+ --pretty
110
+ ```
111
+
112
+ The verify command exits with code `2` when the signature is invalid or the current tool surface differs from the signed baseline. You can also scan an exported `tools/list` response without starting a server:
113
+
114
+ ```bash
115
+ matrixscroll mcp scan --tools tools.json --output manifest.json --pretty
116
+ ```
117
+
118
+ ## Use the SSX360 USB signer
119
+
120
+ ![Completed SSX360 USB signer](https://raw.githubusercontent.com/SSX360/matrixscroll/main/docs/images/ssx360-usb-signer.jpg)
121
+
122
+ Install the hardware and MCP extras:
123
+
124
+ ```bash
125
+ pip install "matrixscroll[mcp,hardware]==0.6.4"
126
+ ```
127
+
128
+ Set the hardware provider and USB CDC port before starting the MCP server.
129
+
130
+ Windows PowerShell:
131
+
132
+ ```powershell
133
+ $env:MATRIXSCROLL_MODE = "hardware"
134
+ $env:MATRIXSCROLL_SE050_PORT = "COM3"
135
+ matrixscroll status
136
+ matrixscroll-mcp
137
+ ```
138
+
139
+ Linux:
140
+
141
+ ```bash
142
+ export MATRIXSCROLL_MODE=hardware
143
+ export MATRIXSCROLL_SE050_PORT=/dev/ttyACM0
144
+ matrixscroll status
145
+ matrixscroll-mcp
146
+ ```
147
+
148
+ You can also pass the hardware settings through the MCP client configuration:
149
+
150
+ ```json
151
+ {
152
+ "mcpServers": {
153
+ "matrixscroll": {
154
+ "command": "matrixscroll-mcp",
155
+ "args": [],
156
+ "env": {
157
+ "MATRIXSCROLL_MODE": "hardware",
158
+ "MATRIXSCROLL_SE050_PORT": "COM3"
159
+ }
160
+ }
161
+ }
162
+ }
163
+ ```
164
+
165
+ Call `connect_card` to confirm that the signer responds. Then call `status` to inspect the active provider before creating an envelope.
166
+
167
+ SSX360 supplies the finished signer through direct contact. Ask for the Matrix Scroll USB signer through [SSX360 contact](https://ssx360.com/contact). The hardware is not distributed through PyPI or listed for self-service purchase.
168
+
169
+ ### How hardware signing works
170
+
171
+ ![USB signing round trip](https://raw.githubusercontent.com/SSX360/matrixscroll/main/docs/images/ssx360-usb-signer-round-trip.jpg)
172
+
173
+ 1. The host sends `GEN_KEY` through the RP2350 USB bridge.
174
+ 2. The SE050 creates an Ed25519 key pair in the secure element. The private key is non-exportable.
175
+ 3. The host reads the 32-byte public key.
176
+ 4. The host sends canonical bytes with a `SIGN` request.
177
+ 5. The SE050 returns a 64-byte Ed25519 signature.
178
+ 6. Matrix Scroll assembles the signed record and verifies it with the same offline verifier used for software signing.
179
+
180
+ The host receives the public key and signature. The private key stays inside the SE050.
181
+
182
+ ![USB signer architecture](https://raw.githubusercontent.com/SSX360/matrixscroll/main/docs/images/ssx360-usb-signer-architecture.jpg)
183
+
184
+ ## Sign and verify from the CLI
185
+
186
+ The Python package includes a CLI and Git hooks for workflows that do not use MCP.
187
+
188
+ ```bash
189
+ pip install "matrixscroll==0.6.4"
190
+ matrixscroll hook-install
191
+
192
+ export MATRIXSCROLL_ACTOR_TYPE=agent
193
+ export MATRIXSCROLL_TOOL=agent-runner
194
+ git commit -m "feat: agent-assisted change"
195
+
196
+ matrixscroll envelope-verify "$(git rev-parse HEAD)"
197
+ ```
198
+
199
+ Sign a JSON manifest directly:
200
+
201
+ ```bash
202
+ matrixscroll sign release.json > release.signed.json
203
+ matrixscroll verify release.signed.json
204
+ ```
205
+
206
+ `matrixscroll verify` exits with code `0` for a valid signature and code `2` for invalid input, a failed signature, a mismatched device identity, or an unsupported schema or algorithm.
207
+
208
+ ## Honest limits
209
+
210
+ <!-- vale ai-tells.ShipOveruse = NO -->
211
+
212
+ - Shipping now: PyPI `matrixscroll==0.6.4` installs the 14-tool stdio MCP server and Git hooks. The release also includes the MCP Trust Scanner, offline verification, and USB CDC integration for the SSX360 signer.
213
+ - Hardware availability: SSX360 produces the USB signer and supplies it after a direct inquiry. PyPI distributes the host software only.
214
+ - Hosted tools: `list_envelopes` and the hosted modes of `verify_pr_range` and `audit_export` require `SSX360_API_KEY` and a deployed SSX360 API. Local alternatives remain available without a key.
215
+ - Post-quantum overlay: the optional `matrixscroll[pqc]` extra provides ML-DSA and SLH-DSA through liboqs. This module has no CMVP validation. liboqs states that applications should not rely on it to protect sensitive data in production.
216
+ - Verification scope: an Ed25519 signature proves that the signed bytes match and correspond to the included public key. The declared `actor_type` still requires a trusted-key and authorization policy.
217
+ - Not included: identity and access management, sandboxing, prompt filtering, or an agent runtime.
218
+
219
+ <!-- vale ai-tells.ShipOveruse = YES -->
220
+
221
+ ## Verify the release
222
+
223
+ GitHub Actions publishes each Matrix Scroll release through PyPI Trusted Publishing. PyPI records a PEP 740 attestation for the wheel and source distribution.
224
+
225
+ Ask PyPI for the `0.6.4` wheel provenance:
226
+
227
+ ```bash
228
+ curl -H "Accept: application/vnd.pypi.integrity.v1+json" \
229
+ https://pypi.org/integrity/matrixscroll/0.6.4/matrixscroll-0.6.4-py3-none-any.whl/provenance
230
+ ```
231
+
232
+ The response names the GitHub publisher:
233
+
234
+ ```json
235
+ {
236
+ "kind": "GitHub",
237
+ "repository": "SSX360/matrixscroll",
238
+ "workflow": "publish.yml",
239
+ "environment": "pypi"
240
+ }
241
+ ```
242
+
243
+ Compare the attested `subject[].digest.sha256` value with the SHA-256 digest of the file you downloaded. Stop if the repository, workflow, or digest differs.
244
+
245
+ ## Security and license
246
+
247
+ Read the [security policy](https://github.com/SSX360/matrixscroll/blob/main/SECURITY.md) and [security properties](https://github.com/SSX360/matrixscroll/blob/main/docs/SECURITY_PROPERTIES.md). Report vulnerabilities privately to `security@matrixscroll.com` or through a GitHub Security Advisory.
248
+
249
+ Matrix Scroll code is licensed under Apache-2.0. [`SPEC.md`](https://github.com/SSX360/matrixscroll/blob/main/SPEC.md) and [`vectors/`](https://github.com/SSX360/matrixscroll/tree/main/vectors/) are released under CC0 1.0.
250
+
251
+ | Resource | Link |
252
+ | --- | --- |
253
+ | Documentation | [matrixscroll.com/docs](https://matrixscroll.com/docs/) |
254
+ | MCP Trust Scanner | [matrixscroll.com/scan](https://matrixscroll.com/scan/) |
255
+ | Offline verifier | [matrixscroll.com/verify](https://matrixscroll.com/verify/) |
256
+ | Protocol specification | [matrixscroll.com/spec](https://matrixscroll.com/spec/) |
257
+ | Source repository | [github.com/SSX360/matrixscroll](https://github.com/SSX360/matrixscroll) |
258
+ | SSX360 contact | [Contact SSX360](https://ssx360.com/contact) |
@@ -40,7 +40,7 @@ Out of scope:
40
40
 
41
41
  | Version | Status |
42
42
  | ------- | ------ |
43
- | 0.6.x | Active development. Security fixes are released as patch versions. The published release is 0.6.3. |
43
+ | 0.6.x | Active development. Security fixes are released as patch versions. The published release is 0.6.4. |
44
44
  | 0.5.x and earlier | Legacy. Upgrade to 0.6.x for the post-quantum overlay and the in-repo verify action. |
45
45
 
46
46
  Pre-1.0 there is no extended support window. Pin to a known-good version