CLAS
Defines action and receipt contracts.
diff --git a/public/protocol.html b/public/protocol.html new file mode 100644 index 0000000..47aaf90 --- /dev/null +++ b/public/protocol.html @@ -0,0 +1,187 @@ + + +
+ + +Protocol
+CommandLayer defines how agent actions are described, signed, transported, and verified — without making MCP, SDKs, or apps the trust root.
+ +Architecture stack
+Defines action and receipt contracts.
Canonicalization, hashing, signing, verification. Canonical crypto truth for receipts.
Executes actions and signs canonical receipts in production.
Bridge for MCP clients. Does not sign. Does not hold keys.
Verifier that checks hash/signature/proof validity and returns VALID or INVALID.
Developer wrapper for emitting receipts from agent actions.
commandlayer.org documents, demonstrates, and exposes verifier surfaces for this stack.
+Canonical receipt model
+{
+ "verb": "sign",
+ "class": "trust-verification",
+ "result": {
+ "payload": {
+ "message": "hello from MCP"
+ }
+ },
+ "metadata": {
+ "proof": {
+ "canonicalization": "json.sorted_keys.v1",
+ "hash": {
+ "alg": "SHA-256",
+ "value": "..."
+ },
+ "signature": {
+ "alg": "Ed25519",
+ "kid": "vC4WbcNoq2znSCiQ",
+ "value": "..."
+ },
+ "signer_id": "runtime.commandlayer.eth"
+ }
+ }
+}Trust boundaries
+Signing authority is runtime, not transport surfaces.
Verification requires recomputed hash plus signature check.
MCP is integration plumbing and never the signer.
SDK helps developers emit receipts; it is not trust root.
Schema-valid does not mean verified.
Apps consume verified results after proof checks pass.
Verification lifecycle
+Production proof summary
+Runtime production is live and signs canonical Trust Verification receipts.
hash_matches=true
signature_valid=true
tampered hash_matches=false
tampered signature_error=hash_mismatch
MCP E2E against production runtime passes: STEP 1 SIGNED, STEP 2 VERIFIED, STEP 3 TAMPERED INVALID.
+Capability families
+verify, sign, attest, authorize, approve, reject, permit, grant, authenticate, endorse
summarize, classify, clean, parse, explain, analyze, format, convert, describe, fetch
commerce, identity, governance, data, messaging, payments, policy, compliance
Use canonical metadata.proof receipts with json.sorted_keys.v1 + SHA-256 + Ed25519 under signer runtime.commandlayer.eth.
+ +