agent-passport-system 4.3.0 → 4.4.0

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 (323) hide show
  1. package/README.md +6 -6
  2. package/dist/src/adapters/crewai.js +2 -2
  3. package/dist/src/adapters/crewai.js.map +1 -1
  4. package/dist/src/adapters/gonka.js +5 -5
  5. package/dist/src/adapters/gonka.js.map +1 -1
  6. package/dist/src/adapters/ibac.js +2 -2
  7. package/dist/src/adapters/ibac.js.map +1 -1
  8. package/dist/src/adapters/langchain.js +2 -2
  9. package/dist/src/adapters/langchain.js.map +1 -1
  10. package/dist/src/adapters/mcp.js +2 -2
  11. package/dist/src/adapters/mcp.js.map +1 -1
  12. package/dist/src/adapters/oauth-id-jag/import-v1.js +4 -4
  13. package/dist/src/adapters/oauth-id-jag/import-v1.js.map +1 -1
  14. package/dist/src/adapters/oauth-id-jag/index.js +4 -4
  15. package/dist/src/adapters/oauth-id-jag/index.js.map +1 -1
  16. package/dist/src/cli/index.js +50 -5
  17. package/dist/src/cli/index.js.map +1 -1
  18. package/dist/src/core/a2a.js +2 -2
  19. package/dist/src/core/a2a.js.map +1 -1
  20. package/dist/src/core/action-ref.d.ts +7 -28
  21. package/dist/src/core/action-ref.d.ts.map +1 -1
  22. package/dist/src/core/action-ref.js +20 -6
  23. package/dist/src/core/action-ref.js.map +1 -1
  24. package/dist/src/core/agora.js +2 -2
  25. package/dist/src/core/agora.js.map +1 -1
  26. package/dist/src/core/aps-txt.d.ts.map +1 -1
  27. package/dist/src/core/aps-txt.js +4 -3
  28. package/dist/src/core/aps-txt.js.map +1 -1
  29. package/dist/src/core/attestation.d.ts +8 -0
  30. package/dist/src/core/attestation.d.ts.map +1 -1
  31. package/dist/src/core/attestation.js +13 -3
  32. package/dist/src/core/attestation.js.map +1 -1
  33. package/dist/src/core/behavioral-fingerprint.js +2 -2
  34. package/dist/src/core/behavioral-fingerprint.js.map +1 -1
  35. package/dist/src/core/behavioral-memory-receipt.js +2 -2
  36. package/dist/src/core/behavioral-memory-receipt.js.map +1 -1
  37. package/dist/src/core/behavioral-memory.js +3 -3
  38. package/dist/src/core/behavioral-memory.js.map +1 -1
  39. package/dist/src/core/bilateral-receipt.d.ts.map +1 -1
  40. package/dist/src/core/bilateral-receipt.js +34 -8
  41. package/dist/src/core/bilateral-receipt.js.map +1 -1
  42. package/dist/src/core/canonical-jcs.d.ts +36 -2
  43. package/dist/src/core/canonical-jcs.d.ts.map +1 -1
  44. package/dist/src/core/canonical-jcs.js +96 -7
  45. package/dist/src/core/canonical-jcs.js.map +1 -1
  46. package/dist/src/core/canonical.d.ts +26 -0
  47. package/dist/src/core/canonical.d.ts.map +1 -1
  48. package/dist/src/core/canonical.js +64 -0
  49. package/dist/src/core/canonical.js.map +1 -1
  50. package/dist/src/core/charter.d.ts.map +1 -1
  51. package/dist/src/core/charter.js +25 -17
  52. package/dist/src/core/charter.js.map +1 -1
  53. package/dist/src/core/commerce.js +2 -2
  54. package/dist/src/core/commerce.js.map +1 -1
  55. package/dist/src/core/completion.js +2 -2
  56. package/dist/src/core/completion.js.map +1 -1
  57. package/dist/src/core/coordination.js +10 -10
  58. package/dist/src/core/coordination.js.map +1 -1
  59. package/dist/src/core/credential-request.js +2 -2
  60. package/dist/src/core/credential-request.js.map +1 -1
  61. package/dist/src/core/cross-chain.d.ts +8 -0
  62. package/dist/src/core/cross-chain.d.ts.map +1 -1
  63. package/dist/src/core/cross-chain.js +23 -9
  64. package/dist/src/core/cross-chain.js.map +1 -1
  65. package/dist/src/core/data-lifecycle.js +7 -7
  66. package/dist/src/core/data-lifecycle.js.map +1 -1
  67. package/dist/src/core/data-source-attribution.js +3 -3
  68. package/dist/src/core/data-source-attribution.js.map +1 -1
  69. package/dist/src/core/data-source.js +5 -5
  70. package/dist/src/core/data-source.js.map +1 -1
  71. package/dist/src/core/decision-semantics.d.ts +9 -9
  72. package/dist/src/core/decision-semantics.d.ts.map +1 -1
  73. package/dist/src/core/decision-semantics.js +20 -6
  74. package/dist/src/core/decision-semantics.js.map +1 -1
  75. package/dist/src/core/delegation.d.ts.map +1 -1
  76. package/dist/src/core/delegation.js +3 -2
  77. package/dist/src/core/delegation.js.map +1 -1
  78. package/dist/src/core/did.js +2 -2
  79. package/dist/src/core/did.js.map +1 -1
  80. package/dist/src/core/encrypted-messaging.js +5 -5
  81. package/dist/src/core/encrypted-messaging.js.map +1 -1
  82. package/dist/src/core/escalation.js +4 -4
  83. package/dist/src/core/escalation.js.map +1 -1
  84. package/dist/src/core/evaluation-context.js +3 -3
  85. package/dist/src/core/evaluation-context.js.map +1 -1
  86. package/dist/src/core/evidence-bundle.d.ts +8 -0
  87. package/dist/src/core/evidence-bundle.d.ts.map +1 -1
  88. package/dist/src/core/evidence-bundle.js +13 -3
  89. package/dist/src/core/evidence-bundle.js.map +1 -1
  90. package/dist/src/core/execution-attestation.js +7 -7
  91. package/dist/src/core/execution-attestation.js.map +1 -1
  92. package/dist/src/core/execution-envelope.js +7 -7
  93. package/dist/src/core/execution-envelope.js.map +1 -1
  94. package/dist/src/core/federation.js +3 -3
  95. package/dist/src/core/federation.js.map +1 -1
  96. package/dist/src/core/fidelity-probe.js +2 -2
  97. package/dist/src/core/fidelity-probe.js.map +1 -1
  98. package/dist/src/core/governance-block.d.ts.map +1 -1
  99. package/dist/src/core/governance-block.js +8 -5
  100. package/dist/src/core/governance-block.js.map +1 -1
  101. package/dist/src/core/governance-consumer.d.ts.map +1 -1
  102. package/dist/src/core/governance-consumer.js +4 -1
  103. package/dist/src/core/governance-consumer.js.map +1 -1
  104. package/dist/src/core/governance.js +3 -3
  105. package/dist/src/core/governance.js.map +1 -1
  106. package/dist/src/core/identity.js +5 -5
  107. package/dist/src/core/identity.js.map +1 -1
  108. package/dist/src/core/intent.js +5 -5
  109. package/dist/src/core/intent.js.map +1 -1
  110. package/dist/src/core/key-rotation.d.ts.map +1 -1
  111. package/dist/src/core/key-rotation.js +12 -2
  112. package/dist/src/core/key-rotation.js.map +1 -1
  113. package/dist/src/core/messaging-audit.js +2 -2
  114. package/dist/src/core/messaging-audit.js.map +1 -1
  115. package/dist/src/core/obligations.js +6 -6
  116. package/dist/src/core/obligations.js.map +1 -1
  117. package/dist/src/core/oracle-witness.js +2 -2
  118. package/dist/src/core/oracle-witness.js.map +1 -1
  119. package/dist/src/core/passport.js +3 -3
  120. package/dist/src/core/passport.js.map +1 -1
  121. package/dist/src/core/policy.d.ts.map +1 -1
  122. package/dist/src/core/policy.js +12 -11
  123. package/dist/src/core/policy.js.map +1 -1
  124. package/dist/src/core/precedent.js +2 -2
  125. package/dist/src/core/precedent.js.map +1 -1
  126. package/dist/src/core/principal.js +3 -3
  127. package/dist/src/core/principal.js.map +1 -1
  128. package/dist/src/core/probe-identity.js +2 -2
  129. package/dist/src/core/probe-identity.js.map +1 -1
  130. package/dist/src/core/reserve.js +2 -2
  131. package/dist/src/core/reserve.js.map +1 -1
  132. package/dist/src/core/reversibility-fold.d.ts +8 -0
  133. package/dist/src/core/reversibility-fold.d.ts.map +1 -1
  134. package/dist/src/core/reversibility-fold.js +13 -3
  135. package/dist/src/core/reversibility-fold.js.map +1 -1
  136. package/dist/src/core/routing.js +6 -6
  137. package/dist/src/core/routing.js.map +1 -1
  138. package/dist/src/core/tool-integrity.d.ts.map +1 -1
  139. package/dist/src/core/tool-integrity.js +18 -8
  140. package/dist/src/core/tool-integrity.js.map +1 -1
  141. package/dist/src/core/transactional.js +4 -4
  142. package/dist/src/core/transactional.js.map +1 -1
  143. package/dist/src/core/values.js +3 -3
  144. package/dist/src/core/values.js.map +1 -1
  145. package/dist/src/core/vc-wrapper.js +2 -2
  146. package/dist/src/core/vc-wrapper.js.map +1 -1
  147. package/dist/src/core/vc.js +2 -2
  148. package/dist/src/core/vc.js.map +1 -1
  149. package/dist/src/core/write-policy.d.ts +37 -0
  150. package/dist/src/core/write-policy.d.ts.map +1 -0
  151. package/dist/src/core/write-policy.js +100 -0
  152. package/dist/src/core/write-policy.js.map +1 -0
  153. package/dist/src/decisionReceipt.d.ts +9 -1
  154. package/dist/src/decisionReceipt.d.ts.map +1 -1
  155. package/dist/src/decisionReceipt.js +40 -6
  156. package/dist/src/decisionReceipt.js.map +1 -1
  157. package/dist/src/interop/agent-json-bridge.js +2 -2
  158. package/dist/src/interop/agent-json-bridge.js.map +1 -1
  159. package/dist/src/profiles/a2a/identity-v1.js +2 -2
  160. package/dist/src/profiles/a2a/identity-v1.js.map +1 -1
  161. package/dist/src/storage/receipt-bundle.d.ts.map +1 -1
  162. package/dist/src/storage/receipt-bundle.js +12 -4
  163. package/dist/src/storage/receipt-bundle.js.map +1 -1
  164. package/dist/src/storage/volatile-backend.js +4 -4
  165. package/dist/src/storage/volatile-backend.js.map +1 -1
  166. package/dist/src/types/policy.d.ts +1 -1
  167. package/dist/src/types/policy.d.ts.map +1 -1
  168. package/dist/src/v2/accountability/construct/action.js +3 -3
  169. package/dist/src/v2/accountability/construct/action.js.map +1 -1
  170. package/dist/src/v2/accountability/construct/authority-boundary.js +3 -3
  171. package/dist/src/v2/accountability/construct/authority-boundary.js.map +1 -1
  172. package/dist/src/v2/accountability/construct/bundle.d.ts.map +1 -1
  173. package/dist/src/v2/accountability/construct/bundle.js +5 -3
  174. package/dist/src/v2/accountability/construct/bundle.js.map +1 -1
  175. package/dist/src/v2/accountability/construct/contestability.js +4 -4
  176. package/dist/src/v2/accountability/construct/contestability.js.map +1 -1
  177. package/dist/src/v2/accountability/construct/custody.js +3 -3
  178. package/dist/src/v2/accountability/construct/custody.js.map +1 -1
  179. package/dist/src/v2/accountability/verify/bundle.d.ts.map +1 -1
  180. package/dist/src/v2/accountability/verify/bundle.js +4 -2
  181. package/dist/src/v2/accountability/verify/bundle.js.map +1 -1
  182. package/dist/src/v2/attribution-consent/create.d.ts +12 -1
  183. package/dist/src/v2/attribution-consent/create.d.ts.map +1 -1
  184. package/dist/src/v2/attribution-consent/create.js +18 -6
  185. package/dist/src/v2/attribution-consent/create.js.map +1 -1
  186. package/dist/src/v2/attribution-consent/sign.js +2 -2
  187. package/dist/src/v2/attribution-consent/sign.js.map +1 -1
  188. package/dist/src/v2/attribution-primitive/canonical.d.ts +17 -2
  189. package/dist/src/v2/attribution-primitive/canonical.d.ts.map +1 -1
  190. package/dist/src/v2/attribution-primitive/canonical.js +27 -3
  191. package/dist/src/v2/attribution-primitive/canonical.js.map +1 -1
  192. package/dist/src/v2/attribution-primitive/construct.d.ts +0 -15
  193. package/dist/src/v2/attribution-primitive/construct.d.ts.map +1 -1
  194. package/dist/src/v2/attribution-primitive/construct.js +24 -11
  195. package/dist/src/v2/attribution-primitive/construct.js.map +1 -1
  196. package/dist/src/v2/attribution-primitive/merkle.d.ts +7 -3
  197. package/dist/src/v2/attribution-primitive/merkle.d.ts.map +1 -1
  198. package/dist/src/v2/attribution-primitive/merkle.js +18 -6
  199. package/dist/src/v2/attribution-primitive/merkle.js.map +1 -1
  200. package/dist/src/v2/attribution-primitive/residual.js +2 -2
  201. package/dist/src/v2/attribution-primitive/residual.js.map +1 -1
  202. package/dist/src/v2/attribution-settlement/aggregate.d.ts +8 -0
  203. package/dist/src/v2/attribution-settlement/aggregate.d.ts.map +1 -1
  204. package/dist/src/v2/attribution-settlement/aggregate.js +16 -6
  205. package/dist/src/v2/attribution-settlement/aggregate.js.map +1 -1
  206. package/dist/src/v2/attribution-settlement/merkle.d.ts +8 -0
  207. package/dist/src/v2/attribution-settlement/merkle.d.ts.map +1 -1
  208. package/dist/src/v2/attribution-settlement/merkle.js +11 -1
  209. package/dist/src/v2/attribution-settlement/merkle.js.map +1 -1
  210. package/dist/src/v2/attribution-settlement/sign.d.ts +9 -3
  211. package/dist/src/v2/attribution-settlement/sign.d.ts.map +1 -1
  212. package/dist/src/v2/attribution-settlement/sign.js +18 -4
  213. package/dist/src/v2/attribution-settlement/sign.js.map +1 -1
  214. package/dist/src/v2/authority-delegation/canonical.d.ts +14 -0
  215. package/dist/src/v2/authority-delegation/canonical.d.ts.map +1 -1
  216. package/dist/src/v2/authority-delegation/canonical.js +28 -2
  217. package/dist/src/v2/authority-delegation/canonical.js.map +1 -1
  218. package/dist/src/v2/authority-delegation/issue.js +2 -2
  219. package/dist/src/v2/authority-delegation/issue.js.map +1 -1
  220. package/dist/src/v2/behavioral_drift_window/envelope.d.ts +8 -0
  221. package/dist/src/v2/behavioral_drift_window/envelope.d.ts.map +1 -1
  222. package/dist/src/v2/behavioral_drift_window/envelope.js +13 -2
  223. package/dist/src/v2/behavioral_drift_window/envelope.js.map +1 -1
  224. package/dist/src/v2/bridge.d.ts +8 -0
  225. package/dist/src/v2/bridge.d.ts.map +1 -1
  226. package/dist/src/v2/bridge.js +13 -2
  227. package/dist/src/v2/bridge.js.map +1 -1
  228. package/dist/src/v2/cognitive-attestation/envelope.d.ts +9 -7
  229. package/dist/src/v2/cognitive-attestation/envelope.d.ts.map +1 -1
  230. package/dist/src/v2/cognitive-attestation/envelope.js +18 -4
  231. package/dist/src/v2/cognitive-attestation/envelope.js.map +1 -1
  232. package/dist/src/v2/cognitive_attestation/envelope.d.ts +8 -0
  233. package/dist/src/v2/cognitive_attestation/envelope.d.ts.map +1 -1
  234. package/dist/src/v2/cognitive_attestation/envelope.js +13 -2
  235. package/dist/src/v2/cognitive_attestation/envelope.js.map +1 -1
  236. package/dist/src/v2/context-provenance/cpa.d.ts +8 -0
  237. package/dist/src/v2/context-provenance/cpa.d.ts.map +1 -1
  238. package/dist/src/v2/context-provenance/cpa.js +22 -8
  239. package/dist/src/v2/context-provenance/cpa.js.map +1 -1
  240. package/dist/src/v2/context-provenance/merkle.d.ts +21 -18
  241. package/dist/src/v2/context-provenance/merkle.d.ts.map +1 -1
  242. package/dist/src/v2/context-provenance/merkle.js +38 -5
  243. package/dist/src/v2/context-provenance/merkle.js.map +1 -1
  244. package/dist/src/v2/context-provenance/types.d.ts +1 -1
  245. package/dist/src/v2/cross_issuer_attestation/envelope.d.ts +8 -0
  246. package/dist/src/v2/cross_issuer_attestation/envelope.d.ts.map +1 -1
  247. package/dist/src/v2/cross_issuer_attestation/envelope.js +13 -2
  248. package/dist/src/v2/cross_issuer_attestation/envelope.js.map +1 -1
  249. package/dist/src/v2/hash-pointer/profile.d.ts.map +1 -1
  250. package/dist/src/v2/hash-pointer/profile.js +11 -3
  251. package/dist/src/v2/hash-pointer/profile.js.map +1 -1
  252. package/dist/src/v2/human-escalation.d.ts +10 -0
  253. package/dist/src/v2/human-escalation.d.ts.map +1 -1
  254. package/dist/src/v2/human-escalation.js +15 -1
  255. package/dist/src/v2/human-escalation.js.map +1 -1
  256. package/dist/src/v2/human-oversight/index.d.ts +9 -9
  257. package/dist/src/v2/human-oversight/index.d.ts.map +1 -1
  258. package/dist/src/v2/human-oversight/index.js +18 -4
  259. package/dist/src/v2/human-oversight/index.js.map +1 -1
  260. package/dist/src/v2/instruction-provenance/canonicalize.d.ts +17 -5
  261. package/dist/src/v2/instruction-provenance/canonicalize.d.ts.map +1 -1
  262. package/dist/src/v2/instruction-provenance/canonicalize.js +28 -3
  263. package/dist/src/v2/instruction-provenance/canonicalize.js.map +1 -1
  264. package/dist/src/v2/instruction-provenance/envelope.js +3 -3
  265. package/dist/src/v2/instruction-provenance/envelope.js.map +1 -1
  266. package/dist/src/v2/memory_provenance/envelope.d.ts +8 -0
  267. package/dist/src/v2/memory_provenance/envelope.d.ts.map +1 -1
  268. package/dist/src/v2/memory_provenance/envelope.js +13 -2
  269. package/dist/src/v2/memory_provenance/envelope.js.map +1 -1
  270. package/dist/src/v2/mutual-auth/certificate.d.ts.map +1 -1
  271. package/dist/src/v2/mutual-auth/certificate.js +6 -4
  272. package/dist/src/v2/mutual-auth/certificate.js.map +1 -1
  273. package/dist/src/v2/mutual-auth/handshake.js +3 -3
  274. package/dist/src/v2/mutual-auth/handshake.js.map +1 -1
  275. package/dist/src/v2/mutual-auth/trust-bundle.d.ts.map +1 -1
  276. package/dist/src/v2/mutual-auth/trust-bundle.js +4 -3
  277. package/dist/src/v2/mutual-auth/trust-bundle.js.map +1 -1
  278. package/dist/src/v2/mutual-auth/types.d.ts +3 -3
  279. package/dist/src/v2/mutual-auth/types.d.ts.map +1 -1
  280. package/dist/src/v2/payment-rails/acp/index.d.ts.map +1 -1
  281. package/dist/src/v2/payment-rails/acp/index.js +52 -11
  282. package/dist/src/v2/payment-rails/acp/index.js.map +1 -1
  283. package/dist/src/v2/payment-rails/acp/types.d.ts +4 -4
  284. package/dist/src/v2/payment-rails/acp/types.d.ts.map +1 -1
  285. package/dist/src/v2/payment-rails/ap2/index.js +2 -2
  286. package/dist/src/v2/payment-rails/ap2/index.js.map +1 -1
  287. package/dist/src/v2/payment-rails/canonicalize.d.ts +32 -0
  288. package/dist/src/v2/payment-rails/canonicalize.d.ts.map +1 -1
  289. package/dist/src/v2/payment-rails/canonicalize.js +41 -1
  290. package/dist/src/v2/payment-rails/canonicalize.js.map +1 -1
  291. package/dist/src/v2/payment-rails/cycles/index.d.ts.map +1 -1
  292. package/dist/src/v2/payment-rails/cycles/index.js +10 -7
  293. package/dist/src/v2/payment-rails/cycles/index.js.map +1 -1
  294. package/dist/src/v2/payment-rails/cycles/types.d.ts +1 -1
  295. package/dist/src/v2/payment-rails/cycles/types.d.ts.map +1 -1
  296. package/dist/src/v2/payment-rails/hooks.d.ts.map +1 -1
  297. package/dist/src/v2/payment-rails/hooks.js +5 -5
  298. package/dist/src/v2/payment-rails/hooks.js.map +1 -1
  299. package/dist/src/v2/payment-rails/mpp/index.d.ts.map +1 -1
  300. package/dist/src/v2/payment-rails/mpp/index.js +11 -7
  301. package/dist/src/v2/payment-rails/mpp/index.js.map +1 -1
  302. package/dist/src/v2/payment-rails/mpp/types.d.ts +4 -4
  303. package/dist/src/v2/payment-rails/mpp/types.d.ts.map +1 -1
  304. package/dist/src/v2/policy-bundle/bundle.d.ts.map +1 -1
  305. package/dist/src/v2/policy-bundle/bundle.js +5 -3
  306. package/dist/src/v2/policy-bundle/bundle.js.map +1 -1
  307. package/dist/src/v2/provisional-statement/create.d.ts +13 -2
  308. package/dist/src/v2/provisional-statement/create.d.ts.map +1 -1
  309. package/dist/src/v2/provisional-statement/create.js +18 -6
  310. package/dist/src/v2/provisional-statement/create.js.map +1 -1
  311. package/dist/src/v2/read_fidelity_receipt/receipt.d.ts +8 -0
  312. package/dist/src/v2/read_fidelity_receipt/receipt.d.ts.map +1 -1
  313. package/dist/src/v2/read_fidelity_receipt/receipt.js +13 -2
  314. package/dist/src/v2/read_fidelity_receipt/receipt.js.map +1 -1
  315. package/dist/src/v2/revocation-enforcement/observation.js +2 -2
  316. package/dist/src/v2/revocation-enforcement/observation.js.map +1 -1
  317. package/dist/src/v2/trust-policy/policy.d.ts.map +1 -1
  318. package/dist/src/v2/trust-policy/policy.js +51 -3
  319. package/dist/src/v2/trust-policy/policy.js.map +1 -1
  320. package/dist/src/v2/wallet-binding/bind.d.ts.map +1 -1
  321. package/dist/src/v2/wallet-binding/bind.js +29 -9
  322. package/dist/src/v2/wallet-binding/bind.js.map +1 -1
  323. package/package.json +7 -6
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "agent-passport-system",
3
- "version": "4.3.0",
4
- "description": "Enforcement and accountability layer for AI agents. Bring your own identity (did:key, did:web, SPIFFE, OAuth, did:aps). Verifier hot path p50 = 420ns bare-metal Linux EPYC 7313P (§13.1 canonical environment per spec), 347ns AWS c7i.2xlarge, 292ns Mac M3. Gateway enforcement, monotonic narrowing, cascade revocation, Bayesian reputation, wallet binding, unified four-axis attribution primitive, per-period attribution settlement, data lifecycle, mutual authentication, Wave 1 accountability primitives (action, authority-boundary, custody, contestability, bundle), evidentiary type safety (claim/evidence registry, claim verifier with forbidden-substitution detection, contestation cascade). 4,326 tests.",
3
+ "version": "4.4.0",
4
+ "description": "Enforcement and accountability layer for AI agents. Bring your own identity (did:key, did:web, SPIFFE, OAuth, did:aps). Verifier hot path p50 = 420ns bare-metal Linux EPYC 7313P (\u00a713.1 canonical environment per spec), 347ns AWS c7i.2xlarge, 292ns Mac M3. Gateway enforcement, monotonic narrowing, cascade revocation, Bayesian reputation, wallet binding, unified four-axis attribution primitive, per-period attribution settlement, data lifecycle, mutual authentication, Wave 1 accountability primitives (action, authority-boundary, custody, contestability, bundle), evidentiary type safety (claim/evidence registry, claim verifier with forbidden-substitution detection, contestation cascade). 4,500 tests.",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
7
7
  "types": "dist/src/index.d.ts",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "scripts": {
22
22
  "build": "tsc && chmod +x dist/src/cli/index.js",
23
- "test": "npx tsx --test tests/passport.test.ts tests/adversarial.ts tests/v2.0-integration.ts tests/contract.test.ts tests/agora.test.ts tests/values.test.ts tests/delegation.test.ts tests/attribution.test.ts tests/policy.test.ts tests/canonical.test.ts tests/coordination.test.ts tests/commerce.test.ts tests/enforcement.test.ts tests/routing.test.ts tests/did-vc.test.ts tests/a2a.test.ts tests/principal.test.ts tests/adversarial-paper.test.ts tests/property-delegation.test.ts tests/property-canonical.test.ts tests/intent.test.ts tests/reputation-authority.test.ts tests/cross-chain.test.ts tests/encrypted-messaging.test.ts tests/obligations.test.ts tests/execution-envelope.test.ts tests/adversarial-causal-chain.test.ts tests/governance.test.ts tests/feasibility.test.ts tests/identity.test.ts tests/precedent.test.ts tests/reanchor.test.ts tests/escalation.test.ts tests/oracle-witness.test.ts tests/messaging-audit.test.ts tests/policy-conflict.test.ts tests/data-source.test.ts tests/decision-semantics.test.ts tests/interop-vectors.test.ts tests/v2-bridge.test.ts tests/v2-full.test.ts tests/key-storage.test.ts tests/qntm-bridge.test.ts tests/agent-json-bridge.test.ts tests/did-resolution-conformance.test.ts tests/decision-equivalence.test.ts tests/data-lifecycle.test.ts tests/campaign7-composition.test.ts tests/entity-verification.test.ts tests/conformance.test.ts tests/governance-block.test.ts tests/aps-txt.test.ts tests/governance-360.test.ts tests/storage-backend.test.ts tests/receipt-bundle.test.ts tests/reputation-confidence.test.ts tests/governance-consumer.test.ts tests/charter.test.ts tests/institutional-governance-phase2.test.ts tests/data-source-attribution.test.ts tests/canonical-jcs.test.ts tests/canonical-jcs-lone-surrogate.test.ts tests/temporal-spread.test.ts tests/fidelity-pressure.test.ts tests/denial-domains.test.ts tests/data-narrowing.test.ts tests/governance-posture.test.ts tests/anchor-state.test.ts tests/issuer-signature.test.ts tests/openshell-adapter.test.ts tests/attestation.test.ts tests/execution-attestation.test.ts tests/bilateral-receipt.test.ts tests/proof-namespace.test.ts tests/ecosystem-features.test.ts tests/persistent-passport.test.ts tests/security-av.test.ts tests/audit-fixes.test.ts tests/did-interop.test.ts tests/identity-bridge.test.ts tests/vc-wrapper.test.ts tests/identity-pipeline.test.ts tests/cross-protocol/sint-crossverify.test.ts tests/action-ref.test.ts tests/external-action-ref.test.ts tests/freshness.test.ts tests/evidence-grade.test.ts tests/key-rotation.test.ts tests/governance-regression.test.ts tests/posture-overlay.test.ts tests/feasibility-gateway.test.ts tests/trust-adapters.test.ts tests/evaluation-context.test.ts tests/health.test.ts tests/composio-adapter.test.ts tests/interop/ietf-envelope.test.ts tests/interop/signet-combined.test.ts tests/interop/moltrust-attestation.test.ts tests/interop/cross-protocol-vectors.test.ts tests/interop/receipt-chaining.test.ts tests/ibac-adapter.test.ts tests/langchain-adapter.test.ts tests/crewai-adapter.test.ts tests/mcp-adapter.test.ts tests/a2a-adapter.test.ts tests/gonka-adapter.test.ts tests/cross-algo-mismatch.test.ts tests/credential-lifecycle.test.ts tests/behavioral-memory.test.ts tests/telemetry-scope.test.ts tests/idempotency.test.ts tests/v2/wallet-binding.test.ts tests/v2/wallet-binding-fixture.test.ts tests/v2/credential-check-policy.test.ts tests/v2/delegation-escalation.test.ts tests/v2/attribution-consent.test.ts tests/v2/attribution-integration.test.ts tests/v2/attribution-primitive.test.ts tests/v2/attribution-primitive-integration.test.ts tests/v2/build-b-fractional-weights.test.ts tests/v2/build-b-cross-language.test.ts tests/v2/build-c-settlement.test.ts tests/v2/build-c-cross-language.test.ts tests/v2/build-c-end-to-end.test.ts tests/v2/provisional-statement.test.ts tests/temporal-decay.test.ts tests/confidence-breakdown.test.ts tests/behavioral-fingerprint.test.ts tests/session-boundary.test.ts tests/probe-identity.test.ts tests/v2/cognitive-attestation/envelope.test.ts tests/v2/cognitive-attestation/verify.test.ts tests/v2/cognitive-attestation/adversarial.test.ts tests/v2/mutual-auth/handshake.test.ts tests/v2/mutual-auth/adversarial.test.ts tests/v2/mutual-auth/conformance.test.ts tests/property-bilateral-receipt.test.ts tests/v2/instruction-provenance/conformance.test.ts tests/v2/instruction-provenance/adversarial.test.ts tests/v2/identity-composition-error.test.ts tests/v2/claim-evidence-types.test.ts tests/v2/claim-verifier.test.ts tests/v2/downstream-taint.test.ts tests/v2/payment-rails/nano.test.ts tests/v2/payment-rails/governance.test.ts tests/v2/payment-rails/ap2.test.ts tests/v2/payment-rails/x402.test.ts tests/v2/payment-rails/conformance/harness.test.ts tests/v2/payment-rails/binding-harness.test.ts tests/v2/payment-rails/stripe-issuing-primitives.test.ts tests/v2/payment-rails/acp.test.ts tests/v2/payment-rails/cycles.test.ts tests/v2/payment-rails/mpp.test.ts tests/v2/payment-rails/scope-resolution.test.ts tests/v2/payment-rails/accountability-bundle.test.ts tests/v2/payment-rails/did-uri-signing.test.ts tests/v2/payment-rails/cross-receipt-chain.test.ts src/v2/accountability/__tests__/action.test.ts src/v2/accountability/__tests__/authority-boundary.test.ts src/v2/accountability/__tests__/bundle.test.ts src/v2/accountability/__tests__/contestability.test.ts src/v2/accountability/__tests__/custody.test.ts src/v2/accountability/__tests__/fixtures.test.ts src/v2/cognitive_attestation/__tests__/cognitive_attestation.test.ts src/v2/delegation/__tests__/responsibility_anchor.test.ts src/v2/memory_provenance/__tests__/memory_provenance.test.ts src/v2/cross_issuer_attestation/__tests__/cross_issuer_attestation.test.ts src/v2/behavioral_drift_window/__tests__/behavioral_drift_window.test.ts tests/tool-registry-integrity.test.ts tests/v2/transport/rfc9421/request-binding.test.ts tests/v2/verifier-hardening.test.ts tests/v2/key-resolution/resolver.test.ts src/v2/feasibility/__tests__/feasibility.test.ts tests/oauth-rfc8693-bridge.test.ts tests/conformance/conformance-negatives.test.ts tests/v2/policy-bundle/policy-bundle.test.ts src/v2/scope-registry/__tests__/scope-registry.test.ts tests/check-many-parity.test.ts tests/cross-impl/jcs-equivalence.test.ts tests/remote-signer.test.ts tests/v2/assurance/descriptor.test.ts tests/v2/audience-binding/audience-binding.test.ts tests/v2/hash-pointer/bbs-composition.test.ts tests/v2/hash-pointer/profile.test.ts tests/v2/human-oversight/human-oversight.test.ts tests/v2/offline-verifier/conformance-runner.test.ts tests/v2/offline-verifier/middleware.test.ts tests/v2/offline-verifier/verify.test.ts tests/v2/payment-rails/cycles-evidence-resolution.test.ts tests/v2/payment-rails/cycles-evidence-authority.test.ts tests/v2/revocation-enforcement.test.ts tests/v2/trust-policy/trust-policy.test.ts src/v2/context-provenance/__tests__/roundtrip.test.ts src/v2/context-provenance/__tests__/disclosure.test.ts src/v2/context-provenance/__tests__/known-answer.test.ts src/v2/context-provenance/__tests__/conformance.test.ts src/v2/context-provenance/__tests__/adversarial.test.ts src/v2/context-provenance/__tests__/parity.test.ts src/v2/context-provenance/__tests__/cross-lang-parity.test.ts tests/v2/verification-source.test.ts tests/v2/producer-attestation.test.ts tests/delegation-currency-narrowing.test.ts tests/delegation-temporal-narrowing.test.ts tests/oauth-id-jag-bridge.test.ts tests/v2/regulated-action/conformance.test.ts tests/commerce-spend-accumulation.test.ts tests/delegation-spend-unit-narrowing.test.ts tests/delegation-parent-verify.test.ts tests/commerce-currency-gate.test.ts tests/v2/composition-check/conformance.test.ts src/v2/word_handles/__tests__/word_handles.test.ts src/v2/read_fidelity_receipt/__tests__/read_fidelity_receipt.test.ts tests/jurisdiction-selection.test.ts tests/v2/bilateral-pair/bilateral-pair.test.ts tests/evidence-bundle.test.ts tests/v2/verifier-null-guards.test.ts tests/merkle-domain-separation.test.ts tests/threshold-verify-before-count.test.ts tests/reversibility-fold.test.ts tests/reversibility-profile-parity.test.ts tests/reversibility-v0-vectors.test.ts tests/action-reference-v2.test.ts tests/identity-binding-v2.test.ts tests/oauth-id-jag-import-v1.test.ts tests/protocol-bindings-v1.test.ts tests/receipt-core-v1.test.ts tests/v2/authority-budget.test.ts tests/v2/authority-delegation.test.ts",
23
+ "test": "npx tsx --test tests/passport.test.ts tests/adversarial.ts tests/v2.0-integration.ts tests/contract.test.ts tests/agora.test.ts tests/values.test.ts tests/delegation.test.ts tests/attribution.test.ts tests/policy.test.ts tests/canonical.test.ts tests/coordination.test.ts tests/commerce.test.ts tests/enforcement.test.ts tests/routing.test.ts tests/did-vc.test.ts tests/a2a.test.ts tests/principal.test.ts tests/adversarial-paper.test.ts tests/property-delegation.test.ts tests/property-canonical.test.ts tests/intent.test.ts tests/reputation-authority.test.ts tests/cross-chain.test.ts tests/encrypted-messaging.test.ts tests/obligations.test.ts tests/execution-envelope.test.ts tests/adversarial-causal-chain.test.ts tests/governance.test.ts tests/feasibility.test.ts tests/identity.test.ts tests/precedent.test.ts tests/reanchor.test.ts tests/escalation.test.ts tests/oracle-witness.test.ts tests/messaging-audit.test.ts tests/policy-conflict.test.ts tests/data-source.test.ts tests/decision-semantics.test.ts tests/interop-vectors.test.ts tests/v2-bridge.test.ts tests/v2-full.test.ts tests/key-storage.test.ts tests/qntm-bridge.test.ts tests/agent-json-bridge.test.ts tests/did-resolution-conformance.test.ts tests/decision-equivalence.test.ts tests/data-lifecycle.test.ts tests/campaign7-composition.test.ts tests/entity-verification.test.ts tests/conformance.test.ts tests/governance-block.test.ts tests/aps-txt.test.ts tests/governance-360.test.ts tests/storage-backend.test.ts tests/receipt-bundle.test.ts tests/reputation-confidence.test.ts tests/governance-consumer.test.ts tests/charter.test.ts tests/institutional-governance-phase2.test.ts tests/data-source-attribution.test.ts tests/canonical-jcs.test.ts tests/write-policy-c-splits.test.ts tests/write-policy-admissibility.test.ts tests/write-policy-wallet-binding.test.ts tests/canonical-profiles.test.ts tests/canonical-jcs-lone-surrogate.test.ts tests/temporal-spread.test.ts tests/fidelity-pressure.test.ts tests/denial-domains.test.ts tests/data-narrowing.test.ts tests/governance-posture.test.ts tests/anchor-state.test.ts tests/issuer-signature.test.ts tests/openshell-adapter.test.ts tests/attestation.test.ts tests/execution-attestation.test.ts tests/bilateral-receipt.test.ts tests/proof-namespace.test.ts tests/ecosystem-features.test.ts tests/persistent-passport.test.ts tests/security-av.test.ts tests/audit-fixes.test.ts tests/did-interop.test.ts tests/identity-bridge.test.ts tests/vc-wrapper.test.ts tests/identity-pipeline.test.ts tests/cross-protocol/sint-crossverify.test.ts tests/action-ref.test.ts tests/external-action-ref.test.ts tests/freshness.test.ts tests/evidence-grade.test.ts tests/key-rotation.test.ts tests/governance-regression.test.ts tests/posture-overlay.test.ts tests/feasibility-gateway.test.ts tests/trust-adapters.test.ts tests/evaluation-context.test.ts tests/health.test.ts tests/composio-adapter.test.ts tests/interop/ietf-envelope.test.ts tests/interop/signet-combined.test.ts tests/interop/moltrust-attestation.test.ts tests/interop/cross-protocol-vectors.test.ts tests/interop/receipt-chaining.test.ts tests/ibac-adapter.test.ts tests/langchain-adapter.test.ts tests/crewai-adapter.test.ts tests/mcp-adapter.test.ts tests/a2a-adapter.test.ts tests/gonka-adapter.test.ts tests/cross-algo-mismatch.test.ts tests/credential-lifecycle.test.ts tests/behavioral-memory.test.ts tests/telemetry-scope.test.ts tests/idempotency.test.ts tests/v2/wallet-binding.test.ts tests/v2/wallet-binding-fixture.test.ts tests/v2/credential-check-policy.test.ts tests/v2/delegation-escalation.test.ts tests/v2/attribution-consent.test.ts tests/v2/attribution-integration.test.ts tests/v2/attribution-primitive.test.ts tests/v2/attribution-primitive-integration.test.ts tests/v2/build-b-fractional-weights.test.ts tests/v2/build-b-cross-language.test.ts tests/v2/build-c-settlement.test.ts tests/v2/build-c-cross-language.test.ts tests/v2/build-c-end-to-end.test.ts tests/v2/provisional-statement.test.ts tests/temporal-decay.test.ts tests/confidence-breakdown.test.ts tests/behavioral-fingerprint.test.ts tests/session-boundary.test.ts tests/probe-identity.test.ts tests/v2/cognitive-attestation/envelope.test.ts tests/v2/cognitive-attestation/verify.test.ts tests/v2/cognitive-attestation/adversarial.test.ts tests/v2/mutual-auth/handshake.test.ts tests/v2/mutual-auth/adversarial.test.ts tests/v2/mutual-auth/conformance.test.ts tests/property-bilateral-receipt.test.ts tests/v2/instruction-provenance/conformance.test.ts tests/v2/instruction-provenance/adversarial.test.ts tests/v2/identity-composition-error.test.ts tests/v2/claim-evidence-types.test.ts tests/v2/claim-verifier.test.ts tests/v2/downstream-taint.test.ts tests/v2/payment-rails/nano.test.ts tests/v2/payment-rails/governance.test.ts tests/v2/payment-rails/ap2.test.ts tests/v2/payment-rails/x402.test.ts tests/v2/payment-rails/conformance/harness.test.ts tests/v2/payment-rails/binding-harness.test.ts tests/v2/payment-rails/stripe-issuing-primitives.test.ts tests/v2/payment-rails/acp.test.ts tests/v2/payment-rails/cycles.test.ts tests/v2/payment-rails/mpp.test.ts tests/v2/payment-rails/scope-resolution.test.ts tests/v2/payment-rails/accountability-bundle.test.ts tests/v2/payment-rails/did-uri-signing.test.ts tests/v2/payment-rails/cross-receipt-chain.test.ts src/v2/accountability/__tests__/action.test.ts src/v2/accountability/__tests__/authority-boundary.test.ts src/v2/accountability/__tests__/bundle.test.ts src/v2/accountability/__tests__/contestability.test.ts src/v2/accountability/__tests__/custody.test.ts src/v2/accountability/__tests__/fixtures.test.ts src/v2/cognitive_attestation/__tests__/cognitive_attestation.test.ts src/v2/delegation/__tests__/responsibility_anchor.test.ts src/v2/memory_provenance/__tests__/memory_provenance.test.ts src/v2/cross_issuer_attestation/__tests__/cross_issuer_attestation.test.ts src/v2/behavioral_drift_window/__tests__/behavioral_drift_window.test.ts tests/tool-registry-integrity.test.ts tests/v2/transport/rfc9421/request-binding.test.ts tests/v2/verifier-hardening.test.ts tests/v2/key-resolution/resolver.test.ts src/v2/feasibility/__tests__/feasibility.test.ts tests/oauth-rfc8693-bridge.test.ts tests/conformance/conformance-negatives.test.ts tests/v2/policy-bundle/policy-bundle.test.ts src/v2/scope-registry/__tests__/scope-registry.test.ts tests/check-many-parity.test.ts tests/cross-impl/jcs-equivalence.test.ts tests/remote-signer.test.ts tests/v2/assurance/descriptor.test.ts tests/v2/audience-binding/audience-binding.test.ts tests/v2/hash-pointer/bbs-composition.test.ts tests/v2/hash-pointer/profile.test.ts tests/v2/human-oversight/human-oversight.test.ts tests/v2/offline-verifier/conformance-runner.test.ts tests/v2/offline-verifier/middleware.test.ts tests/v2/offline-verifier/verify.test.ts tests/v2/payment-rails/cycles-evidence-resolution.test.ts tests/v2/payment-rails/cycles-evidence-authority.test.ts tests/v2/revocation-enforcement.test.ts tests/v2/trust-policy/trust-policy.test.ts src/v2/context-provenance/__tests__/roundtrip.test.ts src/v2/context-provenance/__tests__/disclosure.test.ts src/v2/context-provenance/__tests__/known-answer.test.ts src/v2/context-provenance/__tests__/conformance.test.ts src/v2/context-provenance/__tests__/adversarial.test.ts src/v2/context-provenance/__tests__/parity.test.ts src/v2/context-provenance/__tests__/cross-lang-parity.test.ts tests/v2/verification-source.test.ts tests/v2/producer-attestation.test.ts tests/delegation-currency-narrowing.test.ts tests/delegation-temporal-narrowing.test.ts tests/oauth-id-jag-bridge.test.ts tests/v2/regulated-action/conformance.test.ts tests/commerce-spend-accumulation.test.ts tests/delegation-spend-unit-narrowing.test.ts tests/delegation-parent-verify.test.ts tests/commerce-currency-gate.test.ts tests/v2/composition-check/conformance.test.ts src/v2/word_handles/__tests__/word_handles.test.ts src/v2/read_fidelity_receipt/__tests__/read_fidelity_receipt.test.ts tests/jurisdiction-selection.test.ts tests/v2/bilateral-pair/bilateral-pair.test.ts tests/evidence-bundle.test.ts tests/v2/verifier-null-guards.test.ts tests/merkle-domain-separation.test.ts tests/threshold-verify-before-count.test.ts tests/reversibility-fold.test.ts tests/reversibility-profile-parity.test.ts tests/reversibility-v0-vectors.test.ts tests/action-reference-v2.test.ts tests/identity-binding-v2.test.ts tests/oauth-id-jag-import-v1.test.ts tests/protocol-bindings-v1.test.ts tests/receipt-core-v1.test.ts tests/v2/authority-budget.test.ts tests/v2/authority-delegation.test.ts tests/cli-delegate-limit.test.ts",
24
24
  "test:interop": "npx tsx --test tests/interop/ietf-envelope.test.ts tests/interop/signet-combined.test.ts tests/interop/moltrust-attestation.test.ts tests/interop/cross-protocol-vectors.test.ts tests/interop/receipt-chaining.test.ts",
25
25
  "test:quick": "tsx --test tests/passport.test.ts",
26
26
  "test:fixtures": "tsx fixtures/bilateral-delegation/test-canonicalize.ts",
@@ -30,19 +30,20 @@
30
30
  "prepublishOnly": "npm run build && npm test",
31
31
  "postversion": "if [ -f ~/aps-web/scripts/sync-project-state.mjs ]; then node ~/aps-web/scripts/sync-project-state.mjs sdk $npm_package_version; else echo 'postversion: ~/aps-web/scripts/sync-project-state.mjs not found, skipping project-state sync'; fi",
32
32
  "postpublish": "if [ -d ~/aps-web ]; then cd ~/aps-web && node scripts/propagate.mjs --apply --skip-roadmap-build; else echo 'postpublish: ~/aps-web not found, skipping propagation'; fi",
33
- "test:coverage": "npx tsx --test --experimental-test-coverage tests/passport.test.ts tests/adversarial.ts tests/v2.0-integration.ts tests/contract.test.ts tests/agora.test.ts tests/values.test.ts tests/delegation.test.ts tests/attribution.test.ts tests/policy.test.ts tests/canonical.test.ts tests/coordination.test.ts tests/commerce.test.ts tests/enforcement.test.ts tests/routing.test.ts tests/did-vc.test.ts tests/a2a.test.ts tests/principal.test.ts tests/adversarial-paper.test.ts tests/property-delegation.test.ts tests/property-canonical.test.ts tests/intent.test.ts tests/reputation-authority.test.ts tests/cross-chain.test.ts tests/encrypted-messaging.test.ts tests/obligations.test.ts tests/execution-envelope.test.ts tests/adversarial-causal-chain.test.ts tests/governance.test.ts tests/feasibility.test.ts tests/identity.test.ts tests/precedent.test.ts tests/reanchor.test.ts tests/escalation.test.ts tests/oracle-witness.test.ts tests/messaging-audit.test.ts tests/policy-conflict.test.ts tests/data-source.test.ts tests/decision-semantics.test.ts tests/interop-vectors.test.ts tests/v2-bridge.test.ts tests/v2-full.test.ts tests/key-storage.test.ts tests/qntm-bridge.test.ts tests/agent-json-bridge.test.ts tests/did-resolution-conformance.test.ts tests/decision-equivalence.test.ts tests/data-lifecycle.test.ts tests/campaign7-composition.test.ts tests/entity-verification.test.ts tests/conformance.test.ts tests/governance-block.test.ts tests/aps-txt.test.ts tests/governance-360.test.ts tests/storage-backend.test.ts tests/receipt-bundle.test.ts tests/reputation-confidence.test.ts tests/governance-consumer.test.ts tests/charter.test.ts tests/institutional-governance-phase2.test.ts tests/data-source-attribution.test.ts tests/canonical-jcs.test.ts tests/canonical-jcs-lone-surrogate.test.ts tests/temporal-spread.test.ts tests/fidelity-pressure.test.ts tests/denial-domains.test.ts tests/data-narrowing.test.ts tests/governance-posture.test.ts tests/anchor-state.test.ts tests/issuer-signature.test.ts tests/openshell-adapter.test.ts tests/attestation.test.ts tests/execution-attestation.test.ts tests/bilateral-receipt.test.ts tests/proof-namespace.test.ts tests/ecosystem-features.test.ts tests/persistent-passport.test.ts tests/security-av.test.ts tests/audit-fixes.test.ts tests/did-interop.test.ts tests/identity-bridge.test.ts tests/vc-wrapper.test.ts tests/identity-pipeline.test.ts tests/cross-protocol/sint-crossverify.test.ts tests/action-ref.test.ts tests/external-action-ref.test.ts tests/freshness.test.ts tests/evidence-grade.test.ts tests/key-rotation.test.ts tests/governance-regression.test.ts tests/posture-overlay.test.ts tests/feasibility-gateway.test.ts tests/trust-adapters.test.ts tests/evaluation-context.test.ts tests/health.test.ts tests/composio-adapter.test.ts tests/interop/ietf-envelope.test.ts tests/interop/signet-combined.test.ts tests/interop/moltrust-attestation.test.ts tests/interop/cross-protocol-vectors.test.ts tests/interop/receipt-chaining.test.ts tests/ibac-adapter.test.ts tests/langchain-adapter.test.ts tests/crewai-adapter.test.ts tests/mcp-adapter.test.ts tests/a2a-adapter.test.ts tests/gonka-adapter.test.ts tests/cross-algo-mismatch.test.ts tests/credential-lifecycle.test.ts tests/behavioral-memory.test.ts tests/telemetry-scope.test.ts tests/idempotency.test.ts tests/v2/wallet-binding.test.ts tests/v2/wallet-binding-fixture.test.ts tests/v2/credential-check-policy.test.ts tests/v2/delegation-escalation.test.ts tests/v2/attribution-consent.test.ts tests/v2/attribution-integration.test.ts tests/v2/attribution-primitive.test.ts tests/v2/attribution-primitive-integration.test.ts tests/v2/build-b-fractional-weights.test.ts tests/v2/build-b-cross-language.test.ts tests/v2/build-c-settlement.test.ts tests/v2/build-c-cross-language.test.ts tests/v2/build-c-end-to-end.test.ts tests/v2/provisional-statement.test.ts tests/temporal-decay.test.ts tests/confidence-breakdown.test.ts tests/behavioral-fingerprint.test.ts tests/session-boundary.test.ts tests/probe-identity.test.ts tests/v2/cognitive-attestation/envelope.test.ts tests/v2/cognitive-attestation/verify.test.ts tests/v2/cognitive-attestation/adversarial.test.ts tests/v2/mutual-auth/handshake.test.ts tests/v2/mutual-auth/adversarial.test.ts tests/v2/mutual-auth/conformance.test.ts tests/property-bilateral-receipt.test.ts tests/v2/instruction-provenance/conformance.test.ts tests/v2/instruction-provenance/adversarial.test.ts tests/v2/identity-composition-error.test.ts tests/v2/claim-evidence-types.test.ts tests/v2/claim-verifier.test.ts tests/v2/downstream-taint.test.ts tests/v2/payment-rails/nano.test.ts tests/v2/payment-rails/governance.test.ts tests/v2/payment-rails/ap2.test.ts tests/v2/payment-rails/x402.test.ts tests/v2/payment-rails/conformance/harness.test.ts tests/v2/payment-rails/binding-harness.test.ts tests/v2/payment-rails/stripe-issuing-primitives.test.ts tests/v2/payment-rails/acp.test.ts tests/v2/payment-rails/cycles.test.ts tests/v2/payment-rails/mpp.test.ts tests/v2/payment-rails/scope-resolution.test.ts tests/v2/payment-rails/accountability-bundle.test.ts tests/v2/payment-rails/did-uri-signing.test.ts tests/v2/payment-rails/cross-receipt-chain.test.ts src/v2/accountability/__tests__/action.test.ts src/v2/accountability/__tests__/authority-boundary.test.ts src/v2/accountability/__tests__/bundle.test.ts src/v2/accountability/__tests__/contestability.test.ts src/v2/accountability/__tests__/custody.test.ts src/v2/accountability/__tests__/fixtures.test.ts src/v2/cognitive_attestation/__tests__/cognitive_attestation.test.ts src/v2/delegation/__tests__/responsibility_anchor.test.ts src/v2/memory_provenance/__tests__/memory_provenance.test.ts src/v2/cross_issuer_attestation/__tests__/cross_issuer_attestation.test.ts src/v2/behavioral_drift_window/__tests__/behavioral_drift_window.test.ts tests/tool-registry-integrity.test.ts tests/v2/transport/rfc9421/request-binding.test.ts tests/v2/verifier-hardening.test.ts tests/v2/key-resolution/resolver.test.ts src/v2/feasibility/__tests__/feasibility.test.ts tests/oauth-rfc8693-bridge.test.ts tests/conformance/conformance-negatives.test.ts tests/v2/policy-bundle/policy-bundle.test.ts src/v2/scope-registry/__tests__/scope-registry.test.ts tests/check-many-parity.test.ts tests/cross-impl/jcs-equivalence.test.ts tests/remote-signer.test.ts tests/v2/assurance/descriptor.test.ts tests/v2/audience-binding/audience-binding.test.ts tests/v2/hash-pointer/bbs-composition.test.ts tests/v2/hash-pointer/profile.test.ts tests/v2/human-oversight/human-oversight.test.ts tests/v2/offline-verifier/conformance-runner.test.ts tests/v2/offline-verifier/middleware.test.ts tests/v2/offline-verifier/verify.test.ts tests/v2/payment-rails/cycles-evidence-resolution.test.ts tests/v2/payment-rails/cycles-evidence-authority.test.ts tests/v2/revocation-enforcement.test.ts tests/v2/trust-policy/trust-policy.test.ts src/v2/context-provenance/__tests__/roundtrip.test.ts src/v2/context-provenance/__tests__/disclosure.test.ts src/v2/context-provenance/__tests__/known-answer.test.ts src/v2/context-provenance/__tests__/conformance.test.ts src/v2/context-provenance/__tests__/adversarial.test.ts src/v2/context-provenance/__tests__/parity.test.ts src/v2/context-provenance/__tests__/cross-lang-parity.test.ts tests/v2/verification-source.test.ts tests/v2/producer-attestation.test.ts tests/delegation-currency-narrowing.test.ts tests/delegation-temporal-narrowing.test.ts tests/oauth-id-jag-bridge.test.ts tests/v2/regulated-action/conformance.test.ts tests/commerce-spend-accumulation.test.ts tests/delegation-spend-unit-narrowing.test.ts tests/delegation-parent-verify.test.ts tests/commerce-currency-gate.test.ts tests/v2/composition-check/conformance.test.ts src/v2/word_handles/__tests__/word_handles.test.ts src/v2/read_fidelity_receipt/__tests__/read_fidelity_receipt.test.ts tests/jurisdiction-selection.test.ts tests/v2/bilateral-pair/bilateral-pair.test.ts tests/evidence-bundle.test.ts tests/action-reference-v2.test.ts tests/identity-binding-v2.test.ts tests/oauth-id-jag-import-v1.test.ts tests/protocol-bindings-v1.test.ts tests/receipt-core-v1.test.ts tests/v2/authority-budget.test.ts tests/v2/authority-delegation.test.ts"
33
+ "test:coverage": "npx tsx --test --experimental-test-coverage tests/passport.test.ts tests/adversarial.ts tests/v2.0-integration.ts tests/contract.test.ts tests/agora.test.ts tests/values.test.ts tests/delegation.test.ts tests/attribution.test.ts tests/policy.test.ts tests/canonical.test.ts tests/coordination.test.ts tests/commerce.test.ts tests/enforcement.test.ts tests/routing.test.ts tests/did-vc.test.ts tests/a2a.test.ts tests/principal.test.ts tests/adversarial-paper.test.ts tests/property-delegation.test.ts tests/property-canonical.test.ts tests/intent.test.ts tests/reputation-authority.test.ts tests/cross-chain.test.ts tests/encrypted-messaging.test.ts tests/obligations.test.ts tests/execution-envelope.test.ts tests/adversarial-causal-chain.test.ts tests/governance.test.ts tests/feasibility.test.ts tests/identity.test.ts tests/precedent.test.ts tests/reanchor.test.ts tests/escalation.test.ts tests/oracle-witness.test.ts tests/messaging-audit.test.ts tests/policy-conflict.test.ts tests/data-source.test.ts tests/decision-semantics.test.ts tests/interop-vectors.test.ts tests/v2-bridge.test.ts tests/v2-full.test.ts tests/key-storage.test.ts tests/qntm-bridge.test.ts tests/agent-json-bridge.test.ts tests/did-resolution-conformance.test.ts tests/decision-equivalence.test.ts tests/data-lifecycle.test.ts tests/campaign7-composition.test.ts tests/entity-verification.test.ts tests/conformance.test.ts tests/governance-block.test.ts tests/aps-txt.test.ts tests/governance-360.test.ts tests/storage-backend.test.ts tests/receipt-bundle.test.ts tests/reputation-confidence.test.ts tests/governance-consumer.test.ts tests/charter.test.ts tests/institutional-governance-phase2.test.ts tests/data-source-attribution.test.ts tests/canonical-jcs.test.ts tests/write-policy-c-splits.test.ts tests/write-policy-admissibility.test.ts tests/write-policy-wallet-binding.test.ts tests/canonical-jcs-lone-surrogate.test.ts tests/temporal-spread.test.ts tests/fidelity-pressure.test.ts tests/denial-domains.test.ts tests/data-narrowing.test.ts tests/governance-posture.test.ts tests/anchor-state.test.ts tests/issuer-signature.test.ts tests/openshell-adapter.test.ts tests/attestation.test.ts tests/execution-attestation.test.ts tests/bilateral-receipt.test.ts tests/proof-namespace.test.ts tests/ecosystem-features.test.ts tests/persistent-passport.test.ts tests/security-av.test.ts tests/audit-fixes.test.ts tests/did-interop.test.ts tests/identity-bridge.test.ts tests/vc-wrapper.test.ts tests/identity-pipeline.test.ts tests/cross-protocol/sint-crossverify.test.ts tests/action-ref.test.ts tests/external-action-ref.test.ts tests/freshness.test.ts tests/evidence-grade.test.ts tests/key-rotation.test.ts tests/governance-regression.test.ts tests/posture-overlay.test.ts tests/feasibility-gateway.test.ts tests/trust-adapters.test.ts tests/evaluation-context.test.ts tests/health.test.ts tests/composio-adapter.test.ts tests/interop/ietf-envelope.test.ts tests/interop/signet-combined.test.ts tests/interop/moltrust-attestation.test.ts tests/interop/cross-protocol-vectors.test.ts tests/interop/receipt-chaining.test.ts tests/ibac-adapter.test.ts tests/langchain-adapter.test.ts tests/crewai-adapter.test.ts tests/mcp-adapter.test.ts tests/a2a-adapter.test.ts tests/gonka-adapter.test.ts tests/cross-algo-mismatch.test.ts tests/credential-lifecycle.test.ts tests/behavioral-memory.test.ts tests/telemetry-scope.test.ts tests/idempotency.test.ts tests/v2/wallet-binding.test.ts tests/v2/wallet-binding-fixture.test.ts tests/v2/credential-check-policy.test.ts tests/v2/delegation-escalation.test.ts tests/v2/attribution-consent.test.ts tests/v2/attribution-integration.test.ts tests/v2/attribution-primitive.test.ts tests/v2/attribution-primitive-integration.test.ts tests/v2/build-b-fractional-weights.test.ts tests/v2/build-b-cross-language.test.ts tests/v2/build-c-settlement.test.ts tests/v2/build-c-cross-language.test.ts tests/v2/build-c-end-to-end.test.ts tests/v2/provisional-statement.test.ts tests/temporal-decay.test.ts tests/confidence-breakdown.test.ts tests/behavioral-fingerprint.test.ts tests/session-boundary.test.ts tests/probe-identity.test.ts tests/v2/cognitive-attestation/envelope.test.ts tests/v2/cognitive-attestation/verify.test.ts tests/v2/cognitive-attestation/adversarial.test.ts tests/v2/mutual-auth/handshake.test.ts tests/v2/mutual-auth/adversarial.test.ts tests/v2/mutual-auth/conformance.test.ts tests/property-bilateral-receipt.test.ts tests/v2/instruction-provenance/conformance.test.ts tests/v2/instruction-provenance/adversarial.test.ts tests/v2/identity-composition-error.test.ts tests/v2/claim-evidence-types.test.ts tests/v2/claim-verifier.test.ts tests/v2/downstream-taint.test.ts tests/v2/payment-rails/nano.test.ts tests/v2/payment-rails/governance.test.ts tests/v2/payment-rails/ap2.test.ts tests/v2/payment-rails/x402.test.ts tests/v2/payment-rails/conformance/harness.test.ts tests/v2/payment-rails/binding-harness.test.ts tests/v2/payment-rails/stripe-issuing-primitives.test.ts tests/v2/payment-rails/acp.test.ts tests/v2/payment-rails/cycles.test.ts tests/v2/payment-rails/mpp.test.ts tests/v2/payment-rails/scope-resolution.test.ts tests/v2/payment-rails/accountability-bundle.test.ts tests/v2/payment-rails/did-uri-signing.test.ts tests/v2/payment-rails/cross-receipt-chain.test.ts src/v2/accountability/__tests__/action.test.ts src/v2/accountability/__tests__/authority-boundary.test.ts src/v2/accountability/__tests__/bundle.test.ts src/v2/accountability/__tests__/contestability.test.ts src/v2/accountability/__tests__/custody.test.ts src/v2/accountability/__tests__/fixtures.test.ts src/v2/cognitive_attestation/__tests__/cognitive_attestation.test.ts src/v2/delegation/__tests__/responsibility_anchor.test.ts src/v2/memory_provenance/__tests__/memory_provenance.test.ts src/v2/cross_issuer_attestation/__tests__/cross_issuer_attestation.test.ts src/v2/behavioral_drift_window/__tests__/behavioral_drift_window.test.ts tests/tool-registry-integrity.test.ts tests/v2/transport/rfc9421/request-binding.test.ts tests/v2/verifier-hardening.test.ts tests/v2/key-resolution/resolver.test.ts src/v2/feasibility/__tests__/feasibility.test.ts tests/oauth-rfc8693-bridge.test.ts tests/conformance/conformance-negatives.test.ts tests/v2/policy-bundle/policy-bundle.test.ts src/v2/scope-registry/__tests__/scope-registry.test.ts tests/check-many-parity.test.ts tests/cross-impl/jcs-equivalence.test.ts tests/remote-signer.test.ts tests/v2/assurance/descriptor.test.ts tests/v2/audience-binding/audience-binding.test.ts tests/v2/hash-pointer/bbs-composition.test.ts tests/v2/hash-pointer/profile.test.ts tests/v2/human-oversight/human-oversight.test.ts tests/v2/offline-verifier/conformance-runner.test.ts tests/v2/offline-verifier/middleware.test.ts tests/v2/offline-verifier/verify.test.ts tests/v2/payment-rails/cycles-evidence-resolution.test.ts tests/v2/payment-rails/cycles-evidence-authority.test.ts tests/v2/revocation-enforcement.test.ts tests/v2/trust-policy/trust-policy.test.ts src/v2/context-provenance/__tests__/roundtrip.test.ts src/v2/context-provenance/__tests__/disclosure.test.ts src/v2/context-provenance/__tests__/known-answer.test.ts src/v2/context-provenance/__tests__/conformance.test.ts src/v2/context-provenance/__tests__/adversarial.test.ts src/v2/context-provenance/__tests__/parity.test.ts src/v2/context-provenance/__tests__/cross-lang-parity.test.ts tests/v2/verification-source.test.ts tests/v2/producer-attestation.test.ts tests/delegation-currency-narrowing.test.ts tests/delegation-temporal-narrowing.test.ts tests/oauth-id-jag-bridge.test.ts tests/v2/regulated-action/conformance.test.ts tests/commerce-spend-accumulation.test.ts tests/delegation-spend-unit-narrowing.test.ts tests/delegation-parent-verify.test.ts tests/commerce-currency-gate.test.ts tests/v2/composition-check/conformance.test.ts src/v2/word_handles/__tests__/word_handles.test.ts src/v2/read_fidelity_receipt/__tests__/read_fidelity_receipt.test.ts tests/jurisdiction-selection.test.ts tests/v2/bilateral-pair/bilateral-pair.test.ts tests/evidence-bundle.test.ts tests/action-reference-v2.test.ts tests/identity-binding-v2.test.ts tests/oauth-id-jag-import-v1.test.ts tests/protocol-bindings-v1.test.ts tests/receipt-core-v1.test.ts tests/v2/authority-budget.test.ts tests/v2/authority-delegation.test.ts"
34
34
  },
35
35
  "dependencies": {
36
36
  "libsodium-wrappers": "^0.8.4",
37
37
  "uuid": "^14.0.1"
38
38
  },
39
39
  "devDependencies": {
40
+ "@grottonetworking/bbs-signatures": "0.1.5",
40
41
  "@jazzer.js/core": "^4.0.0",
41
42
  "@types/libsodium-wrappers": "^0.8.2",
42
- "@types/node": "^20.11.0",
43
+ "@types/node": "^20.19.43",
43
44
  "canonicalize": "3.0.0",
44
45
  "fast-check": "^4.9.0",
45
- "tsx": "^4.23.1",
46
+ "tsx": "^4.23.12",
46
47
  "typescript": "^7.0.2"
47
48
  },
48
49
  "keywords": [