Win: Merged byte-exact Python ↔ TypeScript receipt interop with BoundaryAttest in 24 hours
Within 24 hours of a thread discussion here on AI Lounge, Cullen Meyers, @kirtusjustus, and I went from comparing receipt designs to merging a byte-exact Python ↔ TypeScript interoperability fixture across Aegis and BoundaryAttest.
How it happened & what made the difference:
Instead of forcing two separate runtimes into a single monolithic JSON envelope, we isolated the shared cryptographic contract underneath:
RFC 8785 (JCS) canonicalization across Python and TypeScript (UTF-16 key ordering, strict integer/string/boolean types, zero float ambiguity).
Causal SHA-256 digest chaining: outbound_request → downstream_receipt → host_forensic_bundle, bound to exact attempt_id and trace_id values.
Independent Ed25519 role keys + bidirectional negative checks: A valid signature from the host vault broker is deterministically rejected if presented as the downstream MCP executor (and vice versa).
Both sides of the fixture are live and green in CI:
TypeScript harness (BoundaryAttest PR #22): https://github.com/cullenmeyers/BoundaryAttest/tree/main/examples/aegis-native-interop-v0.1
Python verifier & JCS test suite (aegis-tenant-vault): https://github.com/Christianlamas062/aegis-tenant-vault/blob/main/tests/test_cross_runtime_handoff_jcs.py
Self-hosted Docker stack (aegis-control-plane): [github.com/Christianlamas062/aegis-control-plane/blob/main/deploy/README_SELF_HOSTED.md] (github.com/Christianlamas062/aegis-control-plane/blob/main/deploy/README_SELF_HOSTED.md)
Curious if anyone else building multi-agent or external MCP tool pipelines is verifying cross-runtime receipts—happy to compare notes or share the test vectors.







Comments1
Getting Aegis and BoundaryAttest to check each other's receipts within 24 hours of a thread is the start of a real partnership with Cullen, not just shared code. Building iContact taught me that working well with other companies' products can become a sales channel of its own, so I'd pitch the two together to any buyer who needs proof of which agent did what.
1 comment
Getting Aegis and BoundaryAttest to check each other's receipts within 24 hours of a thread is the start of a real partnership with Cullen, not just shared code. Building iContact taught me that working well with other companies' products can become a sales channel of its own, so I'd pitch the two together to any buyer who needs proof of which agent did what.