@intentrax/sdk 1.0.0 → 1.1.1

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.
@@ -0,0 +1,318 @@
1
+ {
2
+ "hash_algorithm": "SHA-256",
3
+ "proof_record": {
4
+ "admission_hash": "cf10b3dd5eb789274bb22d1266282d30200b47dd47e740b63035c7d176ff00d6",
5
+ "aep_hash": "5bd89279d128a9c42aaae3d731cd647e027435087d1bfd2342ccde37adb84bd1",
6
+ "append_only": true,
7
+ "audit_hash": "768aeff9a1add4073ce2fe9301500c57975631902d2a9bdc0d37045cb3e4e293",
8
+ "canonical_aep_json": "{\"aep_version\":\"aep/1.0\",\"envelope_version\":\"aep-envelope/1.0\",\"proof_type\":\"AUTONOMOUS_EXECUTION_PROOF\",\"execution_id\":\"exec-sandbox-sample-001\",\"lineage\":{\"eeo_hash\":\"02d06e7f791c4cce71a961003e36648644b9404115b256e8c56f6489d8c744be\",\"decision_hash\":\"e6afcfe20a3afca7fa78a40cb87eb076b0b75a30cc443aef35961fd5636b0fda\",\"trace_hash\":\"6f7430a88b8ba4532aadc50a2b50f8ab7dc33b0be4996fea35ae2dd4b102b1d0\",\"execution_hash\":\"2c0704dbc583993a16053f20c1709e9c90b8e610eebc0b18f9fcf070e2c66e2f\",\"execution_integrity_lock_hash\":\"63e9e2a75a6e8081190eca8e57f6c76582cc23915eeb82fc657d1bdc9b37edaf\",\"integrity_lock_hash\":\"249c223ad5eda9a6e0ea9205f91dab9298bbd436a665c7487cd7ce09c0d33f26\"},\"policy\":{\"policy_id\":\"policy.sandbox-sample\",\"policy_version\":\"1.0.0\",\"decision_ref\":\"decision/sandbox-sample/001\"},\"authority\":{\"principal_id\":\"principal-sandbox-sample\",\"authority_binding_ref\":\"authority/sandbox-sample/001\",\"auth_context_hash\":\"99d3e1be2d9855cb8f1a07a1b9c6462eddb6333ed4b8447d74501f82370642bc\"},\"context\":{\"tenant_id\":\"tenant-sandbox-sample\",\"environment\":\"DEV\",\"runtime_version\":\"go1.26\",\"producer\":\"intentrax-proof-engine\"},\"boundary_refs\":{\"execution_context_hash\":\"90eb2b1ee568c147f2dddc8c7f163bb40fcfbffe8301b0899875725ef4b0b47b\",\"execution_constraints_hash\":\"42ec8bd382782db7a487ba5b734c3d3ae0a35efe3cf701085aca6199ff50b5bf\",\"execution_processing_hash\":\"2c0704dbc583993a16053f20c1709e9c90b8e610eebc0b18f9fcf070e2c66e2f\",\"policy_result_hash\":\"240a415e9232a009cdca31c8e8a46070c65a0cc95eb20c5a70413739bd086381\",\"authority_binding_hash\":\"5d134bb1898566c43b4a129ec8718c75e1b5902bdefed6f81c52ad97c59f0571\",\"canonical_decision_output_hash\":\"66791debc719e712800a25ab5634d87fa0d326d4c94ea84071b5e4a5b3df3c5f\",\"canonical_decision_json_hash\":\"c1998218f9526a526f7bcaeafa028481f769b6e4f590afc4a6384b97f1345721\",\"decision_trace_hash\":\"9b5b9450c9a459faae58391ea37067cff861e1a1aaede23594d8bce520d127da\",\"decision_integrity_hash\":\"d77ce9a0488658abae29ff64378ba577b1d14d91af823b07bfa84837a2e7acca\",\"integrity_validation_hash\":\"fb040dc8e3ba81ed6985094b0de45b028b0e2cbe34dafc800842598b6ccca624\",\"integrity_enforcement_hash\":\"04c6522d6cc0a56938cd5340a2bb688ec240784644610ab2ec19b21441f40143\",\"integrity_trace_hash\":\"96d54bdb244fbb8ef3a19ebd389e352511dd6011447e4cf619592bd03daedb1c\"},\"integrity\":{\"transformation_hash\":\"e8e005ec7c377bccf2ec4ed169100a92fc0eef0ffe73f8311c07e3be54476d4b\",\"input_hash\":\"4da928d5e67c51e62bb95c8b6f124fd831f1fa6cfe782a3d6b560f41ea6fff74\",\"trace_hash\":\"cc44715e4c28a9201f2aca7cf2a607f2f4019ab08453985d649c7277b6f022ee\",\"hash_algorithm\":\"SHA-256\"}}",
9
+ "execution_id": "exec-sandbox-sample-001",
10
+ "hash_algorithm": "SHA-256",
11
+ "lookup_ref": "intentrax://registry/proofs/tenant-sandbox-sample/5bd89279d128a9c42aaae3d731cd647e027435087d1bfd2342ccde37adb84bd1",
12
+ "migration_id": "0001_append_only_registry_foundation",
13
+ "record_hash": "28315c4f8d943682259f7fe637464f23f0be505af12c7205c2760a0839a3e556",
14
+ "record_type": "REGISTRY_BACKED_PROOF",
15
+ "registry_entry": {
16
+ "aep_hash": "5bd89279d128a9c42aaae3d731cd647e027435087d1bfd2342ccde37adb84bd1",
17
+ "canonical_aep_json": "{\"aep_version\":\"aep/1.0\",\"envelope_version\":\"aep-envelope/1.0\",\"proof_type\":\"AUTONOMOUS_EXECUTION_PROOF\",\"execution_id\":\"exec-sandbox-sample-001\",\"lineage\":{\"eeo_hash\":\"02d06e7f791c4cce71a961003e36648644b9404115b256e8c56f6489d8c744be\",\"decision_hash\":\"e6afcfe20a3afca7fa78a40cb87eb076b0b75a30cc443aef35961fd5636b0fda\",\"trace_hash\":\"6f7430a88b8ba4532aadc50a2b50f8ab7dc33b0be4996fea35ae2dd4b102b1d0\",\"execution_hash\":\"2c0704dbc583993a16053f20c1709e9c90b8e610eebc0b18f9fcf070e2c66e2f\",\"execution_integrity_lock_hash\":\"63e9e2a75a6e8081190eca8e57f6c76582cc23915eeb82fc657d1bdc9b37edaf\",\"integrity_lock_hash\":\"249c223ad5eda9a6e0ea9205f91dab9298bbd436a665c7487cd7ce09c0d33f26\"},\"policy\":{\"policy_id\":\"policy.sandbox-sample\",\"policy_version\":\"1.0.0\",\"decision_ref\":\"decision/sandbox-sample/001\"},\"authority\":{\"principal_id\":\"principal-sandbox-sample\",\"authority_binding_ref\":\"authority/sandbox-sample/001\",\"auth_context_hash\":\"99d3e1be2d9855cb8f1a07a1b9c6462eddb6333ed4b8447d74501f82370642bc\"},\"context\":{\"tenant_id\":\"tenant-sandbox-sample\",\"environment\":\"DEV\",\"runtime_version\":\"go1.26\",\"producer\":\"intentrax-proof-engine\"},\"boundary_refs\":{\"execution_context_hash\":\"90eb2b1ee568c147f2dddc8c7f163bb40fcfbffe8301b0899875725ef4b0b47b\",\"execution_constraints_hash\":\"42ec8bd382782db7a487ba5b734c3d3ae0a35efe3cf701085aca6199ff50b5bf\",\"execution_processing_hash\":\"2c0704dbc583993a16053f20c1709e9c90b8e610eebc0b18f9fcf070e2c66e2f\",\"policy_result_hash\":\"240a415e9232a009cdca31c8e8a46070c65a0cc95eb20c5a70413739bd086381\",\"authority_binding_hash\":\"5d134bb1898566c43b4a129ec8718c75e1b5902bdefed6f81c52ad97c59f0571\",\"canonical_decision_output_hash\":\"66791debc719e712800a25ab5634d87fa0d326d4c94ea84071b5e4a5b3df3c5f\",\"canonical_decision_json_hash\":\"c1998218f9526a526f7bcaeafa028481f769b6e4f590afc4a6384b97f1345721\",\"decision_trace_hash\":\"9b5b9450c9a459faae58391ea37067cff861e1a1aaede23594d8bce520d127da\",\"decision_integrity_hash\":\"d77ce9a0488658abae29ff64378ba577b1d14d91af823b07bfa84837a2e7acca\",\"integrity_validation_hash\":\"fb040dc8e3ba81ed6985094b0de45b028b0e2cbe34dafc800842598b6ccca624\",\"integrity_enforcement_hash\":\"04c6522d6cc0a56938cd5340a2bb688ec240784644610ab2ec19b21441f40143\",\"integrity_trace_hash\":\"96d54bdb244fbb8ef3a19ebd389e352511dd6011447e4cf619592bd03daedb1c\"},\"integrity\":{\"transformation_hash\":\"e8e005ec7c377bccf2ec4ed169100a92fc0eef0ffe73f8311c07e3be54476d4b\",\"input_hash\":\"4da928d5e67c51e62bb95c8b6f124fd831f1fa6cfe782a3d6b560f41ea6fff74\",\"trace_hash\":\"cc44715e4c28a9201f2aca7cf2a607f2f4019ab08453985d649c7277b6f022ee\",\"hash_algorithm\":\"SHA-256\"}}",
18
+ "execution_id": "exec-sandbox-sample-001",
19
+ "index_keys": {
20
+ "aep_hash": "5bd89279d128a9c42aaae3d731cd647e027435087d1bfd2342ccde37adb84bd1",
21
+ "execution_id": "exec-sandbox-sample-001",
22
+ "policy_id": "policy.sandbox-sample",
23
+ "signer_id": "principal-sandbox-sample",
24
+ "tenant_id": "tenant-sandbox-sample",
25
+ "trust_status": "VALID"
26
+ },
27
+ "integrity": {
28
+ "hash_algorithm": "SHA-256",
29
+ "input_hash": "87d8504ac04f37ac8418a5b864a4e5f4a414c99beb12fee2617eb9f884c6502c",
30
+ "output_hash": "e2c3afffcb53ff94ef2e001303c5d40a6acb1afa3a2718f7de39ca6359b92adf",
31
+ "trace_hash": ""
32
+ },
33
+ "policy_id": "policy.sandbox-sample",
34
+ "record_version": "registry-record/1.0",
35
+ "registry_entry_id": "5e418820af1cf7da2ef3fae2d62cda1d15c37727573db1afd15d129bc87c87cb",
36
+ "schema_version": "intentrax.registry.entry/1.0",
37
+ "signature_hash": "bdc3db45ac79bfba60df5fd46b2ce421565fc689d26e15d589327a94d33cbcc7",
38
+ "signer_id": "principal-sandbox-sample",
39
+ "tenant_id": "tenant-sandbox-sample",
40
+ "trust_integrity_lock": "98de547915671f7c43868e29bae53135633831665589e7ea1b7ca86426c59c92",
41
+ "trust_status": "VALID",
42
+ "trust_trace_hash": "98de547915671f7c43868e29bae53135633831665589e7ea1b7ca86426c59c92",
43
+ "verification_hash": "db7d93954bb6e83318f66e36c8c33411c86a941dc502623a25f3d7d4b136bd54"
44
+ },
45
+ "registry_entry_hash": "e2c3afffcb53ff94ef2e001303c5d40a6acb1afa3a2718f7de39ca6359b92adf",
46
+ "registry_entry_id": "5e418820af1cf7da2ef3fae2d62cda1d15c37727573db1afd15d129bc87c87cb",
47
+ "registry_output_hash": "793122c798878db4ad5fc8900ee894e879c5cc967f3b54e60f5fc35ae1de25fa",
48
+ "replay_hash": "ce2fadb5897911fc2ed1c29c63a76fbee303f65ae45f05b73520e785e121a979",
49
+ "schema_version": "intentrax.registry.persistence_foundation/1.0",
50
+ "signature_hash": "bdc3db45ac79bfba60df5fd46b2ce421565fc689d26e15d589327a94d33cbcc7",
51
+ "store_mode": "POSTGRESQL_APPEND_ONLY",
52
+ "tenant_id": "tenant-sandbox-sample",
53
+ "trust_status": "VALID",
54
+ "verification_bundle": {
55
+ "bundle_hash": "b495f06d218f6ea787c84dca2fb8654ab4437211cbf2c3440e7e1492c8a69a80",
56
+ "hash_algorithm": "SHA-256",
57
+ "key_binding": {
58
+ "integrity": {
59
+ "hash_algorithm": "SHA-256",
60
+ "input_hash": "d6e4b038262765574c9cc60156921602678448d334983584b8e603ffdd7ea8c0",
61
+ "output_hash": "760563db7d678e24fadc08f47ce44b5d504fc331c0b84facdc08add04f027550",
62
+ "trace_hash": "f4e7b914adcc8601a1655b6555b4cf539573fc18c9c6cbbd64a7bd3c6d1b4c8a"
63
+ },
64
+ "keys": [
65
+ {
66
+ "algorithm": "ED25519",
67
+ "key_binding_hash": "5928322d2ac3afea2422ad2c36fa9a165ec3e16d4e1a30908545ab36f9fac42b",
68
+ "key_id": "sandbox-sample-a",
69
+ "key_material_hash": "f08a99095c8ee9e5237ed01ef0040048962368747a5bafb125881fdc380cdab9",
70
+ "key_status": "ACTIVE",
71
+ "key_version": "1",
72
+ "principal_id": "principal-sandbox-sample",
73
+ "public_key_hash": "51eefd500c9720011d91700e979f2c23c7aa400008fee1354b3e78bc541e0942"
74
+ },
75
+ {
76
+ "algorithm": "ED25519",
77
+ "key_binding_hash": "97a335a85745b7051546b1586cafcb16a1781f53de9cf76d8f876097eb86fad1",
78
+ "key_id": "sandbox-sample-b",
79
+ "key_material_hash": "7c259baaa60fd147085fb5f3ec60f776293f87b7ac0ae66e84d46e3e8bf1291f",
80
+ "key_status": "ACTIVE",
81
+ "key_version": "1",
82
+ "principal_id": "principal-sandbox-sample",
83
+ "public_key_hash": "c3ce054e951c4fedeb8685395ecfe25a5505e66ee20c0fea98625660f3ddb070"
84
+ }
85
+ ],
86
+ "quorum": {
87
+ "required_signatures": 2,
88
+ "total_signers": 2
89
+ },
90
+ "schema_version": "intentrax.trust.key_binding/1.0",
91
+ "signer_identity": {
92
+ "identity_binding_ref": "identity/sandbox-sample/001",
93
+ "principal_id": "principal-sandbox-sample",
94
+ "principal_type": "AGENT"
95
+ }
96
+ },
97
+ "key_references": [
98
+ {
99
+ "algorithm": "ED25519",
100
+ "deterministic_key_handle": "sandbox://sandbox-sample-a/1",
101
+ "key_id": "sandbox-sample-a",
102
+ "key_status": "ACTIVE",
103
+ "key_version": "1",
104
+ "principal_id": "principal-sandbox-sample",
105
+ "public_key_material": "eda43d4322e004a791bfe6bfd737a06f119f517ec244db48c2264b9a3b66b224"
106
+ },
107
+ {
108
+ "algorithm": "ED25519",
109
+ "deterministic_key_handle": "sandbox://sandbox-sample-b/1",
110
+ "key_id": "sandbox-sample-b",
111
+ "key_status": "ACTIVE",
112
+ "key_version": "1",
113
+ "principal_id": "principal-sandbox-sample",
114
+ "public_key_material": "dbd05ea20446c014c86e9ec09032806ada082d15a8afa3225745b6f447e9133b"
115
+ }
116
+ ],
117
+ "payload": {
118
+ "canonical_payload_json": "{\"payload_version\":\"intentrax.trust.signature_payload/1.0\",\"canonical_aep_json\":\"{\\\"aep_version\\\":\\\"aep/1.0\\\",\\\"envelope_version\\\":\\\"aep-envelope/1.0\\\",\\\"proof_type\\\":\\\"AUTONOMOUS_EXECUTION_PROOF\\\",\\\"execution_id\\\":\\\"exec-sandbox-sample-001\\\",\\\"lineage\\\":{\\\"eeo_hash\\\":\\\"02d06e7f791c4cce71a961003e36648644b9404115b256e8c56f6489d8c744be\\\",\\\"decision_hash\\\":\\\"e6afcfe20a3afca7fa78a40cb87eb076b0b75a30cc443aef35961fd5636b0fda\\\",\\\"trace_hash\\\":\\\"6f7430a88b8ba4532aadc50a2b50f8ab7dc33b0be4996fea35ae2dd4b102b1d0\\\",\\\"execution_hash\\\":\\\"2c0704dbc583993a16053f20c1709e9c90b8e610eebc0b18f9fcf070e2c66e2f\\\",\\\"execution_integrity_lock_hash\\\":\\\"63e9e2a75a6e8081190eca8e57f6c76582cc23915eeb82fc657d1bdc9b37edaf\\\",\\\"integrity_lock_hash\\\":\\\"249c223ad5eda9a6e0ea9205f91dab9298bbd436a665c7487cd7ce09c0d33f26\\\"},\\\"policy\\\":{\\\"policy_id\\\":\\\"policy.sandbox-sample\\\",\\\"policy_version\\\":\\\"1.0.0\\\",\\\"decision_ref\\\":\\\"decision/sandbox-sample/001\\\"},\\\"authority\\\":{\\\"principal_id\\\":\\\"principal-sandbox-sample\\\",\\\"authority_binding_ref\\\":\\\"authority/sandbox-sample/001\\\",\\\"auth_context_hash\\\":\\\"99d3e1be2d9855cb8f1a07a1b9c6462eddb6333ed4b8447d74501f82370642bc\\\"},\\\"context\\\":{\\\"tenant_id\\\":\\\"tenant-sandbox-sample\\\",\\\"environment\\\":\\\"DEV\\\",\\\"runtime_version\\\":\\\"go1.26\\\",\\\"producer\\\":\\\"intentrax-proof-engine\\\"},\\\"boundary_refs\\\":{\\\"execution_context_hash\\\":\\\"90eb2b1ee568c147f2dddc8c7f163bb40fcfbffe8301b0899875725ef4b0b47b\\\",\\\"execution_constraints_hash\\\":\\\"42ec8bd382782db7a487ba5b734c3d3ae0a35efe3cf701085aca6199ff50b5bf\\\",\\\"execution_processing_hash\\\":\\\"2c0704dbc583993a16053f20c1709e9c90b8e610eebc0b18f9fcf070e2c66e2f\\\",\\\"policy_result_hash\\\":\\\"240a415e9232a009cdca31c8e8a46070c65a0cc95eb20c5a70413739bd086381\\\",\\\"authority_binding_hash\\\":\\\"5d134bb1898566c43b4a129ec8718c75e1b5902bdefed6f81c52ad97c59f0571\\\",\\\"canonical_decision_output_hash\\\":\\\"66791debc719e712800a25ab5634d87fa0d326d4c94ea84071b5e4a5b3df3c5f\\\",\\\"canonical_decision_json_hash\\\":\\\"c1998218f9526a526f7bcaeafa028481f769b6e4f590afc4a6384b97f1345721\\\",\\\"decision_trace_hash\\\":\\\"9b5b9450c9a459faae58391ea37067cff861e1a1aaede23594d8bce520d127da\\\",\\\"decision_integrity_hash\\\":\\\"d77ce9a0488658abae29ff64378ba577b1d14d91af823b07bfa84837a2e7acca\\\",\\\"integrity_validation_hash\\\":\\\"fb040dc8e3ba81ed6985094b0de45b028b0e2cbe34dafc800842598b6ccca624\\\",\\\"integrity_enforcement_hash\\\":\\\"04c6522d6cc0a56938cd5340a2bb688ec240784644610ab2ec19b21441f40143\\\",\\\"integrity_trace_hash\\\":\\\"96d54bdb244fbb8ef3a19ebd389e352511dd6011447e4cf619592bd03daedb1c\\\"},\\\"integrity\\\":{\\\"transformation_hash\\\":\\\"e8e005ec7c377bccf2ec4ed169100a92fc0eef0ffe73f8311c07e3be54476d4b\\\",\\\"input_hash\\\":\\\"4da928d5e67c51e62bb95c8b6f124fd831f1fa6cfe782a3d6b560f41ea6fff74\\\",\\\"trace_hash\\\":\\\"cc44715e4c28a9201f2aca7cf2a607f2f4019ab08453985d649c7277b6f022ee\\\",\\\"hash_algorithm\\\":\\\"SHA-256\\\"}}\",\"aep_hash\":\"5bd89279d128a9c42aaae3d731cd647e027435087d1bfd2342ccde37adb84bd1\"}",
119
+ "integrity": {
120
+ "hash_algorithm": "SHA-256",
121
+ "input_hash": "0c9387199047343ab2dd62a58e43c3337e83d30e238a07f1a47e7bcc2684ad3b",
122
+ "output_hash": "869f5e4a96f05882b03c2e4878d1de7de67ca166b688f857636c3bd1da427724",
123
+ "trace_hash": "f2bcdf72c0e1d0e2213ac3bfcc314a5c1dc89bfb98c57e472c28aa227cb1c7a4"
124
+ },
125
+ "payload": {
126
+ "aep_hash": "5bd89279d128a9c42aaae3d731cd647e027435087d1bfd2342ccde37adb84bd1",
127
+ "canonical_aep_json": "{\"aep_version\":\"aep/1.0\",\"envelope_version\":\"aep-envelope/1.0\",\"proof_type\":\"AUTONOMOUS_EXECUTION_PROOF\",\"execution_id\":\"exec-sandbox-sample-001\",\"lineage\":{\"eeo_hash\":\"02d06e7f791c4cce71a961003e36648644b9404115b256e8c56f6489d8c744be\",\"decision_hash\":\"e6afcfe20a3afca7fa78a40cb87eb076b0b75a30cc443aef35961fd5636b0fda\",\"trace_hash\":\"6f7430a88b8ba4532aadc50a2b50f8ab7dc33b0be4996fea35ae2dd4b102b1d0\",\"execution_hash\":\"2c0704dbc583993a16053f20c1709e9c90b8e610eebc0b18f9fcf070e2c66e2f\",\"execution_integrity_lock_hash\":\"63e9e2a75a6e8081190eca8e57f6c76582cc23915eeb82fc657d1bdc9b37edaf\",\"integrity_lock_hash\":\"249c223ad5eda9a6e0ea9205f91dab9298bbd436a665c7487cd7ce09c0d33f26\"},\"policy\":{\"policy_id\":\"policy.sandbox-sample\",\"policy_version\":\"1.0.0\",\"decision_ref\":\"decision/sandbox-sample/001\"},\"authority\":{\"principal_id\":\"principal-sandbox-sample\",\"authority_binding_ref\":\"authority/sandbox-sample/001\",\"auth_context_hash\":\"99d3e1be2d9855cb8f1a07a1b9c6462eddb6333ed4b8447d74501f82370642bc\"},\"context\":{\"tenant_id\":\"tenant-sandbox-sample\",\"environment\":\"DEV\",\"runtime_version\":\"go1.26\",\"producer\":\"intentrax-proof-engine\"},\"boundary_refs\":{\"execution_context_hash\":\"90eb2b1ee568c147f2dddc8c7f163bb40fcfbffe8301b0899875725ef4b0b47b\",\"execution_constraints_hash\":\"42ec8bd382782db7a487ba5b734c3d3ae0a35efe3cf701085aca6199ff50b5bf\",\"execution_processing_hash\":\"2c0704dbc583993a16053f20c1709e9c90b8e610eebc0b18f9fcf070e2c66e2f\",\"policy_result_hash\":\"240a415e9232a009cdca31c8e8a46070c65a0cc95eb20c5a70413739bd086381\",\"authority_binding_hash\":\"5d134bb1898566c43b4a129ec8718c75e1b5902bdefed6f81c52ad97c59f0571\",\"canonical_decision_output_hash\":\"66791debc719e712800a25ab5634d87fa0d326d4c94ea84071b5e4a5b3df3c5f\",\"canonical_decision_json_hash\":\"c1998218f9526a526f7bcaeafa028481f769b6e4f590afc4a6384b97f1345721\",\"decision_trace_hash\":\"9b5b9450c9a459faae58391ea37067cff861e1a1aaede23594d8bce520d127da\",\"decision_integrity_hash\":\"d77ce9a0488658abae29ff64378ba577b1d14d91af823b07bfa84837a2e7acca\",\"integrity_validation_hash\":\"fb040dc8e3ba81ed6985094b0de45b028b0e2cbe34dafc800842598b6ccca624\",\"integrity_enforcement_hash\":\"04c6522d6cc0a56938cd5340a2bb688ec240784644610ab2ec19b21441f40143\",\"integrity_trace_hash\":\"96d54bdb244fbb8ef3a19ebd389e352511dd6011447e4cf619592bd03daedb1c\"},\"integrity\":{\"transformation_hash\":\"e8e005ec7c377bccf2ec4ed169100a92fc0eef0ffe73f8311c07e3be54476d4b\",\"input_hash\":\"4da928d5e67c51e62bb95c8b6f124fd831f1fa6cfe782a3d6b560f41ea6fff74\",\"trace_hash\":\"cc44715e4c28a9201f2aca7cf2a607f2f4019ab08453985d649c7277b6f022ee\",\"hash_algorithm\":\"SHA-256\"}}",
128
+ "payload_version": "intentrax.trust.signature_payload/1.0"
129
+ },
130
+ "payload_byte_length": 2866,
131
+ "payload_hash": "42733f43cbfb9b666413f60877289bea6243b203ce3c1841c341229a9e738a78",
132
+ "schema_version": "intentrax.trust.signature_payload_result/1.0"
133
+ },
134
+ "registry_output": {
135
+ "aep_hash": "5bd89279d128a9c42aaae3d731cd647e027435087d1bfd2342ccde37adb84bd1",
136
+ "audit_result": {
137
+ "anomalies": [],
138
+ "audit_hash": "8d3ae5321fd6f583e354098775b79a630cd6500ac5d45bc04c3da7f32606ffc3",
139
+ "audit_status": "PASS",
140
+ "checked_artifacts": [
141
+ {
142
+ "artifact_hash": "cf10b3dd5eb789274bb22d1266282d30200b47dd47e740b63035c7d176ff00d6",
143
+ "component": "admission"
144
+ },
145
+ {
146
+ "artifact_hash": "2c16419041f659f65c609cf8d120158ae8c9a64766b3ed0fe3a09eed9534c144",
147
+ "component": "observability"
148
+ },
149
+ {
150
+ "artifact_hash": "9cdc1497665ce00137fbf890c7a7a9dde2c49f70f6362f0cc20000ec3b97a228",
151
+ "component": "projection"
152
+ },
153
+ {
154
+ "artifact_hash": "ce2fadb5897911fc2ed1c29c63a76fbee303f65ae45f05b73520e785e121a979",
155
+ "component": "replay"
156
+ },
157
+ {
158
+ "artifact_hash": "58e6afbb0fc9948908669e80c9054dea711958dc7ee39ba78c3b7eb42c2863a4",
159
+ "component": "retrieval"
160
+ },
161
+ {
162
+ "artifact_hash": "8b7cb47ee17bf83bf039adcf051c8b0030cb2f0f2b6478c91916f631d18b95bc",
163
+ "component": "verification"
164
+ }
165
+ ],
166
+ "integrity": {
167
+ "hash_algorithm": "SHA-256",
168
+ "input_hash": "2d03fade891e954f64e20832b5980fa37e14bff72a8b6bd606fa2156abc35b84",
169
+ "output_hash": "768aeff9a1add4073ce2fe9301500c57975631902d2a9bdc0d37045cb3e4e293",
170
+ "trace_hash": "972a7faca238ac8da1fa496f1fb4f9d140d2b4e9c13b8236a859e7f99e92f589"
171
+ },
172
+ "registry_output_ready": true,
173
+ "schema_version": "intentrax.registry.audit/1.0"
174
+ },
175
+ "canonical_aep_json": "{\"aep_version\":\"aep/1.0\",\"envelope_version\":\"aep-envelope/1.0\",\"proof_type\":\"AUTONOMOUS_EXECUTION_PROOF\",\"execution_id\":\"exec-sandbox-sample-001\",\"lineage\":{\"eeo_hash\":\"02d06e7f791c4cce71a961003e36648644b9404115b256e8c56f6489d8c744be\",\"decision_hash\":\"e6afcfe20a3afca7fa78a40cb87eb076b0b75a30cc443aef35961fd5636b0fda\",\"trace_hash\":\"6f7430a88b8ba4532aadc50a2b50f8ab7dc33b0be4996fea35ae2dd4b102b1d0\",\"execution_hash\":\"2c0704dbc583993a16053f20c1709e9c90b8e610eebc0b18f9fcf070e2c66e2f\",\"execution_integrity_lock_hash\":\"63e9e2a75a6e8081190eca8e57f6c76582cc23915eeb82fc657d1bdc9b37edaf\",\"integrity_lock_hash\":\"249c223ad5eda9a6e0ea9205f91dab9298bbd436a665c7487cd7ce09c0d33f26\"},\"policy\":{\"policy_id\":\"policy.sandbox-sample\",\"policy_version\":\"1.0.0\",\"decision_ref\":\"decision/sandbox-sample/001\"},\"authority\":{\"principal_id\":\"principal-sandbox-sample\",\"authority_binding_ref\":\"authority/sandbox-sample/001\",\"auth_context_hash\":\"99d3e1be2d9855cb8f1a07a1b9c6462eddb6333ed4b8447d74501f82370642bc\"},\"context\":{\"tenant_id\":\"tenant-sandbox-sample\",\"environment\":\"DEV\",\"runtime_version\":\"go1.26\",\"producer\":\"intentrax-proof-engine\"},\"boundary_refs\":{\"execution_context_hash\":\"90eb2b1ee568c147f2dddc8c7f163bb40fcfbffe8301b0899875725ef4b0b47b\",\"execution_constraints_hash\":\"42ec8bd382782db7a487ba5b734c3d3ae0a35efe3cf701085aca6199ff50b5bf\",\"execution_processing_hash\":\"2c0704dbc583993a16053f20c1709e9c90b8e610eebc0b18f9fcf070e2c66e2f\",\"policy_result_hash\":\"240a415e9232a009cdca31c8e8a46070c65a0cc95eb20c5a70413739bd086381\",\"authority_binding_hash\":\"5d134bb1898566c43b4a129ec8718c75e1b5902bdefed6f81c52ad97c59f0571\",\"canonical_decision_output_hash\":\"66791debc719e712800a25ab5634d87fa0d326d4c94ea84071b5e4a5b3df3c5f\",\"canonical_decision_json_hash\":\"c1998218f9526a526f7bcaeafa028481f769b6e4f590afc4a6384b97f1345721\",\"decision_trace_hash\":\"9b5b9450c9a459faae58391ea37067cff861e1a1aaede23594d8bce520d127da\",\"decision_integrity_hash\":\"d77ce9a0488658abae29ff64378ba577b1d14d91af823b07bfa84837a2e7acca\",\"integrity_validation_hash\":\"fb040dc8e3ba81ed6985094b0de45b028b0e2cbe34dafc800842598b6ccca624\",\"integrity_enforcement_hash\":\"04c6522d6cc0a56938cd5340a2bb688ec240784644610ab2ec19b21441f40143\",\"integrity_trace_hash\":\"96d54bdb244fbb8ef3a19ebd389e352511dd6011447e4cf619592bd03daedb1c\"},\"integrity\":{\"transformation_hash\":\"e8e005ec7c377bccf2ec4ed169100a92fc0eef0ffe73f8311c07e3be54476d4b\",\"input_hash\":\"4da928d5e67c51e62bb95c8b6f124fd831f1fa6cfe782a3d6b560f41ea6fff74\",\"trace_hash\":\"cc44715e4c28a9201f2aca7cf2a607f2f4019ab08453985d649c7277b6f022ee\",\"hash_algorithm\":\"SHA-256\"}}",
176
+ "execution_id": "exec-sandbox-sample-001",
177
+ "index_keys": {
178
+ "aep_hash": "5bd89279d128a9c42aaae3d731cd647e027435087d1bfd2342ccde37adb84bd1",
179
+ "execution_id": "exec-sandbox-sample-001",
180
+ "policy_id": "policy.sandbox-sample",
181
+ "signer_id": "principal-sandbox-sample",
182
+ "tenant_id": "tenant-sandbox-sample",
183
+ "trust_status": "VALID"
184
+ },
185
+ "integrity_lock": "793122c798878db4ad5fc8900ee894e879c5cc967f3b54e60f5fc35ae1de25fa",
186
+ "projection_views": {
187
+ "integrity": {
188
+ "hash_algorithm": "SHA-256",
189
+ "input_hash": "6829660b0ad8c36965c1e13575b86b30f044758176e2789b2c131c669190e672",
190
+ "output_hash": "9cdc1497665ce00137fbf890c7a7a9dde2c49f70f6362f0cc20000ec3b97a228",
191
+ "trace_hash": "2db27391088695bd3a5f0e6eac597bf3bec557661b8cd40a7ead07d280b91160"
192
+ },
193
+ "projection_hash": "a390d44ea9e9b0a1ce3f8999ec6b997e14617796a8ccb3b37d7fb92ef9c72844",
194
+ "result_count": 1,
195
+ "rows": [
196
+ {
197
+ "aep_hash": "5bd89279d128a9c42aaae3d731cd647e027435087d1bfd2342ccde37adb84bd1",
198
+ "execution_id": "exec-sandbox-sample-001",
199
+ "policy_id": "policy.sandbox-sample",
200
+ "registry_entry_id": "5e418820af1cf7da2ef3fae2d62cda1d15c37727573db1afd15d129bc87c87cb",
201
+ "signer_id": "principal-sandbox-sample",
202
+ "tenant_id": "tenant-sandbox-sample",
203
+ "trust_status": "VALID"
204
+ }
205
+ ],
206
+ "schema_version": "intentrax.registry.projection/1.0",
207
+ "status": "READY"
208
+ },
209
+ "registry_entry_id": "5e418820af1cf7da2ef3fae2d62cda1d15c37727573db1afd15d129bc87c87cb",
210
+ "registry_trace": {
211
+ "integrity": {
212
+ "hash_algorithm": "SHA-256",
213
+ "input_hash": "79d5cfc5b4ca9026828d5f88dd9e0094e31c0043879a6fc40ebace638aea3b25",
214
+ "output_hash": "2c16419041f659f65c609cf8d120158ae8c9a64766b3ed0fe3a09eed9534c144",
215
+ "trace_hash": "2e0154692d5718e378725f23d82bbc89bd8883f9110a6c8ffb46850187c05746"
216
+ },
217
+ "report_hash": "85a75f255edde95b081aede403a32fcae60a2387e3c02d2ca660bebd542f60ff",
218
+ "schema_version": "intentrax.registry.observability/1.0",
219
+ "status": "READY",
220
+ "trace_refs": [
221
+ {
222
+ "artifact_hash": "cf10b3dd5eb789274bb22d1266282d30200b47dd47e740b63035c7d176ff00d6",
223
+ "component": "admission"
224
+ },
225
+ {
226
+ "artifact_hash": "9cdc1497665ce00137fbf890c7a7a9dde2c49f70f6362f0cc20000ec3b97a228",
227
+ "component": "projection"
228
+ },
229
+ {
230
+ "artifact_hash": "ce2fadb5897911fc2ed1c29c63a76fbee303f65ae45f05b73520e785e121a979",
231
+ "component": "replay"
232
+ },
233
+ {
234
+ "artifact_hash": "58e6afbb0fc9948908669e80c9054dea711958dc7ee39ba78c3b7eb42c2863a4",
235
+ "component": "retrieval"
236
+ },
237
+ {
238
+ "artifact_hash": "8b7cb47ee17bf83bf039adcf051c8b0030cb2f0f2b6478c91916f631d18b95bc",
239
+ "component": "verification"
240
+ }
241
+ ]
242
+ },
243
+ "replay_result": {
244
+ "integrity": {
245
+ "hash_algorithm": "SHA-256",
246
+ "input_hash": "3cc879dc1dab3e6dcab9de95feb079f25eb589b3ccaef1d40f1a3ef966add0a8",
247
+ "output_hash": "ce2fadb5897911fc2ed1c29c63a76fbee303f65ae45f05b73520e785e121a979",
248
+ "trace_hash": "b59a1562a0aa383e798740b75728ad0ed3b0273846e7f8f9374c6f0aa2ad0ffa"
249
+ },
250
+ "original_aep_hash": "5bd89279d128a9c42aaae3d731cd647e027435087d1bfd2342ccde37adb84bd1",
251
+ "output_match": true,
252
+ "replay_aep_hash": "5bd89279d128a9c42aaae3d731cd647e027435087d1bfd2342ccde37adb84bd1",
253
+ "replay_consistent": true,
254
+ "replay_result_hash": "8dcc15a3f1a2ae58c5e05a18d82b1a355c6d29b958a1b9ae5daa3fb7443304a7",
255
+ "replay_status": "MATCH",
256
+ "schema_version": "intentrax.registry.replay/1.0"
257
+ },
258
+ "signature": {
259
+ "integrity": {
260
+ "hash_algorithm": "SHA-256",
261
+ "input_hash": "07cafa5293c4bb7966d72d030d8c4a14ccdec4fce947dabea94a24b8e20bb16b",
262
+ "output_hash": "bdc3db45ac79bfba60df5fd46b2ce421565fc689d26e15d589327a94d33cbcc7",
263
+ "trace_hash": "c8fe25c39148b79f8c058ed72208b811276afda112ce9251995d1916b4632fe7"
264
+ },
265
+ "payload_hash": "42733f43cbfb9b666413f60877289bea6243b203ce3c1841c341229a9e738a78",
266
+ "required_signatures": 2,
267
+ "schema_version": "intentrax.trust.signature_bundle/1.0",
268
+ "signatures": [
269
+ {
270
+ "algorithm": "ED25519",
271
+ "key_binding_hash": "5928322d2ac3afea2422ad2c36fa9a165ec3e16d4e1a30908545ab36f9fac42b",
272
+ "key_id": "sandbox-sample-a",
273
+ "key_version": "1",
274
+ "payload_hash": "42733f43cbfb9b666413f60877289bea6243b203ce3c1841c341229a9e738a78",
275
+ "public_key_hash": "51eefd500c9720011d91700e979f2c23c7aa400008fee1354b3e78bc541e0942",
276
+ "signature_hex": "4b3d690b2dab922b7d64b4cc97db574e3e4c2f25cd9258a0a5d30398b182dfc1d2743dd0370d6e03d2999ad7b975611c789e81c59eb07aea060f21b54f52ec08"
277
+ },
278
+ {
279
+ "algorithm": "ED25519",
280
+ "key_binding_hash": "97a335a85745b7051546b1586cafcb16a1781f53de9cf76d8f876097eb86fad1",
281
+ "key_id": "sandbox-sample-b",
282
+ "key_version": "1",
283
+ "payload_hash": "42733f43cbfb9b666413f60877289bea6243b203ce3c1841c341229a9e738a78",
284
+ "public_key_hash": "c3ce054e951c4fedeb8685395ecfe25a5505e66ee20c0fea98625660f3ddb070",
285
+ "signature_hex": "7257749b0fe9d2dd597f9a465a8997b09bb575c062db98369d718378e036811c498775df4fcb6043f764fcc251434ddc2b1eec4786df8c6c0b3bf8a301aa3503"
286
+ }
287
+ ],
288
+ "total_signers": 2
289
+ },
290
+ "trust_status": "VALID",
291
+ "verification_result": {
292
+ "aep_integrity_valid": true,
293
+ "integrity": {
294
+ "hash_algorithm": "SHA-256",
295
+ "input_hash": "a5b891752e7e0c49a364ca25085e020e1b13cc386340d46a788e96d4af72e1eb",
296
+ "output_hash": "8b7cb47ee17bf83bf039adcf051c8b0030cb2f0f2b6478c91916f631d18b95bc",
297
+ "trace_hash": "5f26fd948e1de1cdb9b1b66d559c51af26a729b75a1eeecfabc9716a550961c4"
298
+ },
299
+ "recomputed_aep_hash": "5bd89279d128a9c42aaae3d731cd647e027435087d1bfd2342ccde37adb84bd1",
300
+ "schema_version": "intentrax.registry.verification/1.0",
301
+ "signature_verification_valid": true,
302
+ "trust_status_reconfirmed": true,
303
+ "verification_hash": "db7d93954bb6e83318f66e36c8c33411c86a941dc502623a25f3d7d4b136bd54",
304
+ "verification_status": "VERIFIED"
305
+ }
306
+ },
307
+ "schema_version": "intentrax.registry.proof_verification_bundle/1.0"
308
+ },
309
+ "verification_hash": "8b7cb47ee17bf83bf039adcf051c8b0030cb2f0f2b6478c91916f631d18b95bc"
310
+ },
311
+ "query": {
312
+ "aep_hash": "5bd89279d128a9c42aaae3d731cd647e027435087d1bfd2342ccde37adb84bd1",
313
+ "tenant_id": "tenant-sandbox-sample"
314
+ },
315
+ "result_hash": "4df2c446cffe879b5714a18c35fbcdc1a2e73b53992f24afe8578551dc986899",
316
+ "schema_version": "intentrax.registry.proof_lookup/1.0",
317
+ "store_mode": "POSTGRESQL_APPEND_ONLY"
318
+ }
package/index.d.ts CHANGED
@@ -104,6 +104,7 @@ export declare function validateVerificationRequest(request: unknown): string[];
104
104
  export declare function verificationRequestHash(request: VerifyProofRequest): string;
105
105
  export declare function idempotencyInput(request: VerifyProofRequest): Record<string, unknown>;
106
106
  export declare function createIdempotencyKey(request: VerifyProofRequest): string;
107
+ export declare function admissionIdempotencyKeyHash(request: VerifyProofRequest): string;
107
108
  export declare function buildVerificationEnvelope(request: VerifyProofRequest): {
108
109
  status: "PASS";
109
110
  output: {
@@ -233,3 +234,86 @@ export declare function buildAgentGatewayAdmissionEnvelope(request: AgentGateway
233
234
  status: "FAIL";
234
235
  error: SDKError;
235
236
  };
237
+
238
+ // === Verification Mark response envelope (SDK/MCP machine substrate) ===
239
+
240
+ export type VerificationMarkDisplayState =
241
+ | "verified"
242
+ | "proof_available"
243
+ | "checking"
244
+ | "failed"
245
+ | "revoked"
246
+ | "not_found"
247
+ | "unavailable"
248
+ | "share_expired";
249
+
250
+ export type VerificationMarkSeverity = "green" | "neutral" | "negative";
251
+
252
+ export type VerificationMarkAssuranceLevel = 1 | 2 | 3 | 4;
253
+
254
+ /**
255
+ * The backend-produced, public-safe verification envelope carried on an SDK or
256
+ * MCP tool response. `signature` is a STATUS projection (e.g. "pass"/"fail"/
257
+ * "Not Available"), never a raw signature.
258
+ */
259
+ export type VerificationMarkEnvelope = {
260
+ display_state: VerificationMarkDisplayState;
261
+ proof_id: string;
262
+ verify_url: string;
263
+ assurance_level: VerificationMarkAssuranceLevel | null;
264
+ signature: string;
265
+ };
266
+
267
+ /** Normalized, public-safe projection of a verification envelope. */
268
+ export type NormalizedVerificationMarkEnvelope = {
269
+ schema_version: "intentrax.public_sdk.verification_mark_envelope/1.0";
270
+ display_state: VerificationMarkDisplayState;
271
+ severity: VerificationMarkSeverity;
272
+ verified: boolean;
273
+ proof_id: string | null;
274
+ verify_url: string | null;
275
+ assurance_level: VerificationMarkAssuranceLevel | null;
276
+ signature: string | null;
277
+ };
278
+
279
+ /** A verdict read off a response — the consumer-facing shape. */
280
+ export type VerificationVerdict = {
281
+ present: boolean;
282
+ valid: boolean;
283
+ verified: boolean;
284
+ display_state: VerificationMarkDisplayState | null;
285
+ severity: VerificationMarkSeverity | null;
286
+ proof_id: string | null;
287
+ verify_url: string | null;
288
+ assurance_level: VerificationMarkAssuranceLevel | null;
289
+ signature: string | null;
290
+ };
291
+
292
+ export declare const VERIFICATION_MARK_ENVELOPE_KEY: "intentrax_verification";
293
+ export declare const VERIFICATION_MARK_ENVELOPE_SCHEMA_VERSION: "intentrax.public_sdk.verification_mark_envelope/1.0";
294
+ export declare const VERIFICATION_MARK_VERIFIED_STATE: "verified";
295
+ export declare const VERIFICATION_MARK_NOT_AVAILABLE: "Not Available";
296
+ export declare const VERIFICATION_MARK_STATE_SEVERITY: Readonly<Record<VerificationMarkDisplayState, VerificationMarkSeverity>>;
297
+
298
+ export declare function isVerificationMarkDisplayState(value: unknown): value is VerificationMarkDisplayState;
299
+ export declare function verificationMarkSeverity(displayState: unknown): VerificationMarkSeverity | null;
300
+ export declare function normalizeVerificationMarkSignature(value: unknown): string | null;
301
+ export declare function validateVerificationMarkEnvelope(envelope: unknown): string[];
302
+ export declare function normalizeVerificationMarkEnvelope(envelope: unknown): NormalizedVerificationMarkEnvelope | null;
303
+ export declare function extractVerificationMarkEnvelope(response: unknown): VerificationMarkEnvelope | null;
304
+ export declare function readVerificationVerdict(response: unknown): VerificationVerdict;
305
+
306
+ // Rendered-output binding — producer side of `intentrax-content/1.0`.
307
+ export declare const CANONICAL_OUTPUT_NORMALIZATION: "intentrax-content/1.0";
308
+ export declare const CANONICAL_OUTPUT_HASH_ALGORITHM: "SHA-256";
309
+ export declare const VERIFICATION_POINTER_META_NAME: "intentrax-verification";
310
+ export declare const VERIFICATION_OUTPUT_REGION_ATTRIBUTE: "data-intentrax-output";
311
+ export interface OutputBinding {
312
+ readonly content_hash: string;
313
+ readonly hash_algorithm: "SHA-256";
314
+ readonly normalization: "intentrax-content/1.0";
315
+ }
316
+ export declare function normalizeCanonicalOutput(content: string | readonly string[]): string;
317
+ export declare function canonicalOutputHash(content: string | readonly string[]): string;
318
+ export declare function buildOutputBinding(content: string | readonly string[]): OutputBinding;
319
+ export declare function verificationPointerMetaTag(pointer: { readonly proof_id: string; readonly verify_url: string }): string | null;