xytara 3.1.16 → 3.2.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 (390) hide show
  1. package/README.md +120 -92
  2. package/RELEASE_NOTES.md +7 -3
  3. package/START_HERE.md +56 -224
  4. package/bin/xytara.js +21 -8
  5. package/client.js +79 -1
  6. package/lib/{delivery_receipt.js → delivery_receipt_verify.js} +14 -100
  7. package/package.json +25 -35
  8. package/scripts/verify_client.js +418 -0
  9. package/scripts/verify_release_candidate.js +146 -45
  10. package/.env.example +0 -173
  11. package/ADAPTER_START_HERE.md +0 -56
  12. package/BSV_TERANODE_PLATFORM_DISCONTINUITY_RUNBOOK.md +0 -126
  13. package/CARRIED_HANDOFF_DEMO.md +0 -60
  14. package/EXAMPLE_PATHS.md +0 -53
  15. package/FINAL_CONTRACT.md +0 -498
  16. package/PARTNER_READY_PATH.md +0 -71
  17. package/PUBLIC_DEMO_SCRIPT.md +0 -78
  18. package/REAL_PAYMENT_SETUP.md +0 -320
  19. package/SERVICE_CONTRACT.md +0 -419
  20. package/SUPABASE_RUNTIME_STATE_SETUP.md +0 -61
  21. package/TERMINOLOGY.md +0 -50
  22. package/WHY_XYTARA_XOONYA.md +0 -63
  23. package/XT1_EXECUTION_TRUTH_STANDARD.md +0 -78
  24. package/XYTARA_ADAPTER_PROTOCOL_TRUTH_MODEL.md +0 -75
  25. package/XYTARA_AUTONOMOUS_ENTRY_MODEL.md +0 -124
  26. package/XYTARA_DEFAULT_PATH_MODEL.md +0 -84
  27. package/XYTARA_EXECUTION_TRUTH_MODEL.md +0 -171
  28. package/XYTARA_PAYMENT_RAIL_TRUTH_MODEL.md +0 -68
  29. package/adapters/AUTHORING_GUIDE.md +0 -244
  30. package/adapters/ONBOARDING_POSTURE.md +0 -61
  31. package/adapters/THIRD_PARTY_SUBMISSION_PROCESS.md +0 -84
  32. package/adapters/adapter-manifest.schema.json +0 -283
  33. package/adapters/examples/example-execution-adapter.js +0 -61
  34. package/adapters/examples/example-execution-adapter.manifest.json +0 -81
  35. package/adapters/examples/example-settlement-adapter.js +0 -55
  36. package/adapters/examples/example-settlement-adapter.manifest.json +0 -78
  37. package/adapters/examples/example-third-party-acp-registration.submission-bundle.json +0 -124
  38. package/adapters/examples/example-third-party-erc8004-registration.submission-bundle.json +0 -121
  39. package/adapters/examples/example-third-party-identity-registration.certification-pack.json +0 -22
  40. package/adapters/examples/example-third-party-identity-registration.record.json +0 -26
  41. package/adapters/examples/example-third-party-identity-registration.submission-bundle.json +0 -126
  42. package/adapters/examples/example-third-party-langchain-registration.submission-bundle.json +0 -124
  43. package/adapters/examples/example-third-party-mpp-registration.submission-bundle.json +0 -120
  44. package/adapters/examples/example-third-party-registration.certification-pack.json +0 -22
  45. package/adapters/examples/example-third-party-registration.record.json +0 -28
  46. package/adapters/examples/example-third-party-registration.submission-bundle.json +0 -126
  47. package/adapters/examples/example-third-party-settlement-registration.certification-pack.json +0 -22
  48. package/adapters/examples/example-third-party-settlement-registration.record.json +0 -26
  49. package/adapters/examples/example-third-party-settlement-registration.submission-bundle.json +0 -127
  50. package/adapters/examples/langchain-reference-execution-adapter.js +0 -81
  51. package/adapters/examples/langchain-reference-execution-adapter.manifest.json +0 -79
  52. package/adapters/examples/langgraph-reference-execution-adapter.js +0 -81
  53. package/adapters/examples/langgraph-reference-execution-adapter.manifest.json +0 -79
  54. package/adapters/examples/minimal-third-party-execution-adapter.js +0 -61
  55. package/adapters/examples/minimal-third-party-execution-adapter.manifest.json +0 -79
  56. package/adapters/examples/minimal-third-party-execution-registration.record.json +0 -26
  57. package/adapters/examples/minimal-third-party-execution.certification-pack.json +0 -22
  58. package/adapters/examples/minimal-third-party-execution.submission-bundle.json +0 -126
  59. package/adapters/integration-certification-pack.schema.json +0 -82
  60. package/adapters/integration-registration-record.schema.json +0 -114
  61. package/adapters/integration-submission-bundle-set.schema.json +0 -39
  62. package/adapters/integration-submission-bundle.schema.json +0 -34
  63. package/adapters/interfaces.js +0 -56
  64. package/bin/xytara-release.js +0 -1429
  65. package/examples/_demo_env.js +0 -40
  66. package/examples/adapter_review_walkthrough.js +0 -54
  67. package/examples/export_carried_handoff.js +0 -81
  68. package/examples/funded_runtime_walkthrough.js +0 -71
  69. package/examples/partner_launch_walkthrough.js +0 -44
  70. package/examples/quickstart.js +0 -3256
  71. package/fixtures/catalog.js +0 -1156
  72. package/index.js +0 -395
  73. package/integrations/dispatch.js +0 -276
  74. package/integrations/registry-snapshot.schema.json +0 -36
  75. package/integrations/registry.js +0 -2261
  76. package/integrations/views.js +0 -28
  77. package/lib/a2a_lane_contract.js +0 -104
  78. package/lib/a2a_rpc.js +0 -287
  79. package/lib/a2c_lane_contract.js +0 -111
  80. package/lib/account_auth.js +0 -585
  81. package/lib/acp_lane_contract.js +0 -54
  82. package/lib/activity_audit_contract.js +0 -322
  83. package/lib/adapter_certification_contract.js +0 -130
  84. package/lib/adapter_depth_contract.js +0 -218
  85. package/lib/adapter_pack.js +0 -118
  86. package/lib/adapter_partner_pack.js +0 -89
  87. package/lib/adapter_promotion_pack.js +0 -89
  88. package/lib/adapter_protocol_truth_contract.js +0 -229
  89. package/lib/agent_identity.js +0 -162
  90. package/lib/announcement_pack.js +0 -61
  91. package/lib/artifact_distribution_lane_contract.js +0 -54
  92. package/lib/asyncapi_contract.js +0 -150
  93. package/lib/auth_interop_contract.js +0 -80
  94. package/lib/authority_binding_lifecycle_contract.js +0 -182
  95. package/lib/autonomous_entry_contract.js +0 -409
  96. package/lib/bolt_adapter.js +0 -187
  97. package/lib/bolt_lane_contract.js +0 -55
  98. package/lib/bolt_payment_front.js +0 -224
  99. package/lib/business_cockpit.js +0 -378
  100. package/lib/buyer_event_log.js +0 -230
  101. package/lib/buyer_safety_policy.js +0 -132
  102. package/lib/capability_execution_truth.js +0 -276
  103. package/lib/capability_registry.js +0 -633
  104. package/lib/catalog_contract.js +0 -966
  105. package/lib/catalog_family_model.js +0 -193
  106. package/lib/catalog_views.js +0 -55
  107. package/lib/cdp_jwt.js +0 -57
  108. package/lib/checkout_event_security.js +0 -142
  109. package/lib/checkout_processor_adapter.js +0 -217
  110. package/lib/cloudevents_contract.js +0 -80
  111. package/lib/command_flow.js +0 -911
  112. package/lib/commerce_artifacts.js +0 -591
  113. package/lib/commerce_authority.js +0 -449
  114. package/lib/commerce_bridge.js +0 -274
  115. package/lib/commerce_cases.js +0 -399
  116. package/lib/commerce_checkout.js +0 -509
  117. package/lib/commerce_coordination.js +0 -346
  118. package/lib/commerce_economics.js +0 -4017
  119. package/lib/commerce_identity.js +0 -578
  120. package/lib/commerce_quotes.js +0 -266
  121. package/lib/commerce_reports.js +0 -14461
  122. package/lib/commerce_runtime.js +0 -322
  123. package/lib/commerce_shell.js +0 -257
  124. package/lib/crypto_agility_matrix.js +0 -125
  125. package/lib/default_path_contract.js +0 -412
  126. package/lib/delivery_summary_contract.js +0 -95
  127. package/lib/ecosystem_entry.js +0 -64
  128. package/lib/erc8004_lane_contract.js +0 -65
  129. package/lib/event_system_lane_contract.js +0 -75
  130. package/lib/execution_dedupe.js +0 -86
  131. package/lib/execution_truth_contract.js +0 -234
  132. package/lib/external_credit_bridge.js +0 -142
  133. package/lib/external_execution_policy.js +0 -143
  134. package/lib/external_execution_runtime.js +0 -238
  135. package/lib/feature_control_lane_contract.js +0 -54
  136. package/lib/first_run_conversion_contract.js +0 -290
  137. package/lib/framework_lane_contract.js +0 -89
  138. package/lib/framework_provider_promotion.js +0 -235
  139. package/lib/full_catalog_contract.js +0 -525
  140. package/lib/go_live_operator_pack.js +0 -391
  141. package/lib/http_transport.js +0 -99
  142. package/lib/identity_auth.js +0 -175
  143. package/lib/identity_interop_contract.js +0 -82
  144. package/lib/integration_matrix_contract.js +0 -102
  145. package/lib/l402_adapter.js +0 -241
  146. package/lib/l402_lane_contract.js +0 -55
  147. package/lib/l402_payment_front.js +0 -265
  148. package/lib/launch_narrative.js +0 -53
  149. package/lib/lifecycle_continuity_contract.js +0 -115
  150. package/lib/machine_identity_registry_contract.js +0 -199
  151. package/lib/major_rails_lane_contract.js +0 -150
  152. package/lib/market_lane_contract.js +0 -467
  153. package/lib/market_lane_depth_contract.js +0 -182
  154. package/lib/market_lane_promotion_contract.js +0 -210
  155. package/lib/market_lane_trace_contract.js +0 -278
  156. package/lib/mcp_lane_contract.js +0 -137
  157. package/lib/mpp_adapter.js +0 -237
  158. package/lib/network_transport.js +0 -110
  159. package/lib/offline_verifiability_recovery_contract.js +0 -155
  160. package/lib/openapi_contract.js +0 -300
  161. package/lib/operational_receipt_contract.js +0 -165
  162. package/lib/operator_intelligence.js +0 -407
  163. package/lib/outreach_copy_pack.js +0 -51
  164. package/lib/outreach_message_pack.js +0 -71
  165. package/lib/outreach_proof.js +0 -71
  166. package/lib/outreach_target_pack.js +0 -60
  167. package/lib/partner_intelligence.js +0 -105
  168. package/lib/payment_config.js +0 -257
  169. package/lib/payment_front_registry.js +0 -53
  170. package/lib/payment_protocol_contract.js +0 -165
  171. package/lib/payment_rail_truth_contract.js +0 -324
  172. package/lib/payment_verification.js +0 -357
  173. package/lib/phase_10_closeout_pack.js +0 -45
  174. package/lib/phase_10_completion_pack.js +0 -76
  175. package/lib/phase_10_decision_record_pack.js +0 -54
  176. package/lib/phase_10_decision_resolution_pack.js +0 -53
  177. package/lib/phase_10_demand_signal_adapters_runtime_pack.js +0 -74
  178. package/lib/phase_10_ecosystem_backlog_triage_runtime_pack.js +0 -74
  179. package/lib/phase_10_freeze_baseline_pack.js +0 -67
  180. package/lib/phase_10_freeze_review_pack.js +0 -64
  181. package/lib/phase_10_gate_pack.js +0 -57
  182. package/lib/phase_10_long_tail_continuity_pack.js +0 -80
  183. package/lib/phase_10_long_tail_ecosystem_pack.js +0 -66
  184. package/lib/phase_10_niche_extension_registry_runtime_pack.js +0 -74
  185. package/lib/phase_1_claude_mcp_pack.js +0 -60
  186. package/lib/phase_1_claude_mcp_runtime_pack.js +0 -52
  187. package/lib/phase_1_ecosystem_pack.js +0 -67
  188. package/lib/phase_1_openai_codex_pack.js +0 -60
  189. package/lib/phase_1_openai_codex_runtime_pack.js +0 -52
  190. package/lib/phase_2_base_runtime_pack.js +0 -71
  191. package/lib/phase_2_base_usdc_runtime_pack.js +0 -72
  192. package/lib/phase_2_closeout_pack.js +0 -65
  193. package/lib/phase_2_completion_pack.js +0 -113
  194. package/lib/phase_2_decision_record_pack.js +0 -66
  195. package/lib/phase_2_decision_resolution_pack.js +0 -69
  196. package/lib/phase_2_eth_runtime_pack.js +0 -70
  197. package/lib/phase_2_evm_base_runtime_pack.js +0 -73
  198. package/lib/phase_2_evm_runtime_pack.js +0 -71
  199. package/lib/phase_2_flip_preview_pack.js +0 -60
  200. package/lib/phase_2_freeze_review_pack.js +0 -99
  201. package/lib/phase_2_gate_pack.js +0 -77
  202. package/lib/phase_2_payment_rails_pack.js +0 -71
  203. package/lib/phase_2_usdc_runtime_pack.js +0 -71
  204. package/lib/phase_3_brc_runtime_pack.js +0 -81
  205. package/lib/phase_3_bsv_teranode_runtime_pack.js +0 -83
  206. package/lib/phase_3_closeout_pack.js +0 -62
  207. package/lib/phase_3_completion_pack.js +0 -94
  208. package/lib/phase_3_decision_record_pack.js +0 -64
  209. package/lib/phase_3_decision_resolution_pack.js +0 -69
  210. package/lib/phase_3_freeze_baseline_pack.js +0 -67
  211. package/lib/phase_3_freeze_review_pack.js +0 -80
  212. package/lib/phase_3_gate_pack.js +0 -76
  213. package/lib/phase_3_metanet_runtime_pack.js +0 -81
  214. package/lib/phase_3_native_bsv_pack.js +0 -91
  215. package/lib/phase_3_native_continuity_pack.js +0 -82
  216. package/lib/phase_4_attestation_runtime_pack.js +0 -75
  217. package/lib/phase_4_closeout_pack.js +0 -45
  218. package/lib/phase_4_completion_pack.js +0 -94
  219. package/lib/phase_4_decision_record_pack.js +0 -54
  220. package/lib/phase_4_decision_resolution_pack.js +0 -45
  221. package/lib/phase_4_erc8004_runtime_pack.js +0 -76
  222. package/lib/phase_4_freeze_baseline_pack.js +0 -67
  223. package/lib/phase_4_freeze_review_pack.js +0 -68
  224. package/lib/phase_4_gate_pack.js +0 -58
  225. package/lib/phase_4_identity_registry_runtime_pack.js +0 -75
  226. package/lib/phase_4_identity_trust_pack.js +0 -73
  227. package/lib/phase_4_trust_continuity_pack.js +0 -86
  228. package/lib/phase_5_antelope_runtime_pack.js +0 -76
  229. package/lib/phase_5_closeout_pack.js +0 -44
  230. package/lib/phase_5_completion_pack.js +0 -82
  231. package/lib/phase_5_constellation_dag_runtime_pack.js +0 -76
  232. package/lib/phase_5_decision_record_pack.js +0 -54
  233. package/lib/phase_5_decision_resolution_pack.js +0 -45
  234. package/lib/phase_5_digibyte_dgb_runtime_pack.js +0 -76
  235. package/lib/phase_5_freeze_baseline_pack.js +0 -67
  236. package/lib/phase_5_freeze_review_pack.js +0 -68
  237. package/lib/phase_5_gate_pack.js +0 -58
  238. package/lib/phase_5_hedera_hbar_runtime_pack.js +0 -76
  239. package/lib/phase_5_kaspa_kas_runtime_pack.js +0 -76
  240. package/lib/phase_5_major_rails_continuity_pack.js +0 -86
  241. package/lib/phase_5_major_rails_pack.js +0 -110
  242. package/lib/phase_5_metal_runtime_pack.js +0 -76
  243. package/lib/phase_5_polkadot_dot_runtime_pack.js +0 -76
  244. package/lib/phase_5_proton_xpr_runtime_pack.js +0 -76
  245. package/lib/phase_5_solana_runtime_pack.js +0 -76
  246. package/lib/phase_6_autogen_runtime_pack.js +0 -72
  247. package/lib/phase_6_closeout_pack.js +0 -46
  248. package/lib/phase_6_completion_pack.js +0 -77
  249. package/lib/phase_6_decision_record_pack.js +0 -54
  250. package/lib/phase_6_decision_resolution_pack.js +0 -53
  251. package/lib/phase_6_framework_continuity_pack.js +0 -81
  252. package/lib/phase_6_framework_runtime_pack.js +0 -68
  253. package/lib/phase_6_freeze_baseline_pack.js +0 -68
  254. package/lib/phase_6_freeze_review_pack.js +0 -65
  255. package/lib/phase_6_gate_pack.js +0 -59
  256. package/lib/phase_6_langchain_runtime_pack.js +0 -72
  257. package/lib/phase_6_langgraph_runtime_pack.js +0 -72
  258. package/lib/phase_6_semantic_kernel_runtime_pack.js +0 -72
  259. package/lib/phase_7_closeout_pack.js +0 -45
  260. package/lib/phase_7_completion_pack.js +0 -85
  261. package/lib/phase_7_decision_record_pack.js +0 -53
  262. package/lib/phase_7_decision_resolution_pack.js +0 -53
  263. package/lib/phase_7_event_system_continuity_pack.js +0 -89
  264. package/lib/phase_7_event_system_pack.js +0 -76
  265. package/lib/phase_7_freeze_baseline_pack.js +0 -74
  266. package/lib/phase_7_freeze_review_pack.js +0 -65
  267. package/lib/phase_7_gate_pack.js +0 -58
  268. package/lib/phase_7_kafka_runtime_pack.js +0 -74
  269. package/lib/phase_7_mqtt_runtime_pack.js +0 -74
  270. package/lib/phase_7_nats_runtime_pack.js +0 -74
  271. package/lib/phase_7_webhook_event_bus_runtime_pack.js +0 -74
  272. package/lib/phase_8_closeout_pack.js +0 -46
  273. package/lib/phase_8_completion_pack.js +0 -82
  274. package/lib/phase_8_decision_record_pack.js +0 -54
  275. package/lib/phase_8_decision_resolution_pack.js +0 -53
  276. package/lib/phase_8_external_receipt_import_runtime_pack.js +0 -74
  277. package/lib/phase_8_external_result_import_runtime_pack.js +0 -74
  278. package/lib/phase_8_freeze_baseline_pack.js +0 -71
  279. package/lib/phase_8_freeze_review_pack.js +0 -64
  280. package/lib/phase_8_gate_pack.js +0 -58
  281. package/lib/phase_8_proof_bridge_continuity_pack.js +0 -86
  282. package/lib/phase_8_proof_bridges_pack.js +0 -72
  283. package/lib/phase_8_proof_bundle_normalization_runtime_pack.js +0 -74
  284. package/lib/phase_9_closeout_pack.js +0 -46
  285. package/lib/phase_9_completion_pack.js +0 -82
  286. package/lib/phase_9_custody_refs_runtime_pack.js +0 -74
  287. package/lib/phase_9_decision_record_pack.js +0 -54
  288. package/lib/phase_9_decision_resolution_pack.js +0 -53
  289. package/lib/phase_9_freeze_baseline_pack.js +0 -71
  290. package/lib/phase_9_freeze_review_pack.js +0 -64
  291. package/lib/phase_9_gate_pack.js +0 -58
  292. package/lib/phase_9_operator_accounting_bridges_runtime_pack.js +0 -74
  293. package/lib/phase_9_treasury_connectivity_pack.js +0 -72
  294. package/lib/phase_9_treasury_continuity_pack.js +0 -86
  295. package/lib/phase_9_treasury_destinations_runtime_pack.js +0 -74
  296. package/lib/phase_program_pack.js +0 -120
  297. package/lib/pricing_optimization_contract.js +0 -775
  298. package/lib/protocol_lane_contract.js +0 -117
  299. package/lib/provenance_lane_contract.js +0 -54
  300. package/lib/provider_lane_contract.js +0 -240
  301. package/lib/provider_network_contract.js +0 -149
  302. package/lib/provider_payout_execution.js +0 -155
  303. package/lib/provider_registry.js +0 -852
  304. package/lib/provider_runtime_journey_contract.js +0 -183
  305. package/lib/public_surface_policy_contract.js +0 -111
  306. package/lib/publish_plan.js +0 -51
  307. package/lib/rate_limiter.js +0 -81
  308. package/lib/record_queries.js +0 -48
  309. package/lib/release_candidate.js +0 -50
  310. package/lib/release_center.js +0 -1093
  311. package/lib/release_history.js +0 -205
  312. package/lib/release_manifest.js +0 -113
  313. package/lib/release_pack.js +0 -453
  314. package/lib/request_rate_limit.js +0 -144
  315. package/lib/resource_views.js +0 -31
  316. package/lib/revenue_launch_path_contract.js +0 -326
  317. package/lib/route_matchers.js +0 -34
  318. package/lib/route_params.js +0 -19
  319. package/lib/runtime_bridge.js +0 -124
  320. package/lib/runtime_operations_worker.js +0 -282
  321. package/lib/runtime_state_store.js +0 -495
  322. package/lib/settlement_bsv_live.js +0 -600
  323. package/lib/settlement_bsv_teranode.js +0 -117
  324. package/lib/settlement_lane_contract.js +0 -111
  325. package/lib/shared_signals_lane_contract.js +0 -54
  326. package/lib/signed_audit_provenance_contract.js +0 -83
  327. package/lib/soft_launch_pack.js +0 -78
  328. package/lib/stablecoin_lane_contract.js +0 -76
  329. package/lib/stripe_mpp_lane_contract.js +0 -96
  330. package/lib/stripe_mpp_payment_front.js +0 -258
  331. package/lib/telemetry_lane_contract.js +0 -54
  332. package/lib/treasury_destinations_contract.js +0 -764
  333. package/lib/treasury_egress_policy_contract.js +0 -91
  334. package/lib/treasury_lane_contract.js +0 -84
  335. package/lib/trust_portability_boundary_contract.js +0 -72
  336. package/lib/x402_facilitator.js +0 -198
  337. package/lib/x402_lane_contract.js +0 -136
  338. package/lib/x402_settlement_recovery.js +0 -175
  339. package/scripts/buyer_events_daily_report.js +0 -79
  340. package/scripts/registry_cli.js +0 -275
  341. package/scripts/state_backup_offsite.js +0 -196
  342. package/scripts/verify_a2a_rpc.js +0 -131
  343. package/scripts/verify_adapters.js +0 -554
  344. package/scripts/verify_agent_identity.js +0 -153
  345. package/scripts/verify_all.js +0 -4963
  346. package/scripts/verify_bolt_adapter.js +0 -128
  347. package/scripts/verify_buyer_event_log.js +0 -128
  348. package/scripts/verify_buyer_safety.js +0 -141
  349. package/scripts/verify_cdp_facilitator.js +0 -110
  350. package/scripts/verify_checkout_processor.js +0 -109
  351. package/scripts/verify_commerce_bridge.js +0 -177
  352. package/scripts/verify_control_plane_contracts.js +0 -34
  353. package/scripts/verify_control_plane_routes.js +0 -70
  354. package/scripts/verify_delivery_summary.js +0 -112
  355. package/scripts/verify_examples.js +0 -19
  356. package/scripts/verify_execution_dedupe.js +0 -189
  357. package/scripts/verify_execution_surfacing.js +0 -76
  358. package/scripts/verify_external_execution_retry.js +0 -140
  359. package/scripts/verify_final_activation.js +0 -191
  360. package/scripts/verify_first_run_conversions.js +0 -81
  361. package/scripts/verify_framework_provider_promotion.js +0 -152
  362. package/scripts/verify_full_catalog.js +0 -174
  363. package/scripts/verify_integrations.js +0 -620
  364. package/scripts/verify_l402_adapter.js +0 -86
  365. package/scripts/verify_lifecycle_continuity.js +0 -96
  366. package/scripts/verify_lifecycle_spend_binding.js +0 -88
  367. package/scripts/verify_market_lane_depth.js +0 -94
  368. package/scripts/verify_market_lane_promotion.js +0 -103
  369. package/scripts/verify_market_lane_traces.js +0 -98
  370. package/scripts/verify_market_lanes.js +0 -102
  371. package/scripts/verify_mpp_adapter.js +0 -128
  372. package/scripts/verify_operator_observability_boundary.js +0 -83
  373. package/scripts/verify_pricing_experiment_plan.js +0 -124
  374. package/scripts/verify_production_readiness.js +0 -268
  375. package/scripts/verify_provider_network.js +0 -819
  376. package/scripts/verify_provider_runtime_breadth.js +0 -109
  377. package/scripts/verify_provider_runtime_journeys.js +0 -111
  378. package/scripts/verify_rate_limiter.js +0 -52
  379. package/scripts/verify_refund_credit.js +0 -106
  380. package/scripts/verify_revenue_launch_paths.js +0 -105
  381. package/scripts/verify_runtime_durability.js +0 -52
  382. package/scripts/verify_runtime_state_guard.js +0 -117
  383. package/scripts/verify_service.js +0 -15421
  384. package/scripts/verify_settlement.js +0 -116
  385. package/scripts/verify_tooling.js +0 -1412
  386. package/scripts/verify_treasury_public_boundary.js +0 -97
  387. package/scripts/verify_verify_execute_settle.js +0 -209
  388. package/scripts/verify_x402_facilitator.js +0 -307
  389. package/scripts/verify_x402_settlement_recovery.js +0 -153
  390. package/server.js +0 -12245
@@ -1,244 +0,0 @@
1
- # Adapter Authoring Guide
2
-
3
- This guide describes the minimum process for a third party to build an adapter on top of `xytara`.
4
-
5
- ## 1. Choose an adapter class
6
-
7
- Supported starter classes:
8
-
9
- - `execution_adapter`
10
- - `payment_rail_adapter`
11
- - `settlement_adapter`
12
- - `agent_protocol_adapter`
13
- - `identity_registry_adapter`
14
-
15
- Pick the class that matches the boundary you are integrating.
16
-
17
- ## 2. Start from the manifest schema
18
-
19
- Use:
20
-
21
- - adapter-manifest.schema.json
22
- - integration-registration-record.schema.json
23
- - integration-certification-pack.schema.json
24
- - integration-submission-bundle.schema.json
25
- - integration-submission-bundle-set.schema.json
26
-
27
- Every adapter must publish a manifest that defines:
28
-
29
- - adapter identity
30
- - adapter class
31
- - interface version
32
- - registration contract
33
- - certification contract
34
- - compatibility
35
- - health contract
36
- - idempotency contract
37
- - failure contract
38
- - proof contract
39
-
40
- ## 3. Implement the interface contract
41
-
42
- Use:
43
-
44
- - interfaces.js
45
-
46
- All adapters must provide:
47
-
48
- - `manifest`
49
- - `getHealth()`
50
- - `describeCapabilities()`
51
-
52
- Execution adapters should also provide:
53
-
54
- - `preview()`
55
- - `execute()`
56
-
57
- Settlement adapters should also provide:
58
-
59
- - `settle()`
60
- - `getFinality()`
61
-
62
- ## 4. Start from an example
63
-
64
- Current examples:
65
-
66
- - example-execution-adapter.manifest.json
67
- - example-execution-adapter.js
68
- - example-settlement-adapter.manifest.json
69
- - example-settlement-adapter.js
70
- - example-third-party-registration.submission-bundle.json
71
- - example-third-party-acp-registration.submission-bundle.json
72
- - example-third-party-identity-registration.submission-bundle.json
73
- - example-third-party-erc8004-registration.submission-bundle.json
74
- - example-third-party-langchain-registration.submission-bundle.json
75
- - example-third-party-mpp-registration.submission-bundle.json
76
- - example-third-party-settlement-registration.submission-bundle.json
77
-
78
- If you want the shortest reviewable end-to-end path, use:
79
-
80
- - THIRD_PARTY_SUBMISSION_PROCESS.md
81
-
82
- ## 5. Run certification
83
-
84
- Run:
85
-
86
- ```bash
87
- npm run verify:adapters
88
- ```
89
-
90
- That currently validates:
91
-
92
- - manifest shape
93
- - interface version
94
- - manifest/implementation agreement
95
- - representative health/capability behavior
96
- - representative method behavior for example adapters
97
-
98
- ## 6. Declare registration posture
99
-
100
- Each manifest should also declare how the integration is intended to enter runtime selection:
101
-
102
- - `registration_contract.integration_id`
103
- - `registration_contract.integration_maturity`
104
- - `registration_contract.bundled`
105
- - `registration_contract.default_selection_enabled`
106
- - optional selection controls such as priority and explicit-selection posture
107
-
108
- This keeps registration explicit and makes future third-party promotion predictable.
109
-
110
- ## 7. Declare certification posture
111
-
112
- Each manifest should say what level of trust it is claiming:
113
-
114
- - `reference_example`
115
- - `self_attested`
116
- - `certified`
117
-
118
- and which checks that claim is based on through:
119
-
120
- - `certification_contract.certification_scope`
121
- - `certification_contract.verified_with`
122
- - `certification_contract.last_verified_contract_version`
123
-
124
- This lets discovery and promotion make trust visible instead of hidden.
125
-
126
- ## 8. Prepare a registration record
127
-
128
- Before an adapter is promoted into staging or production, create a registration record that captures:
129
-
130
- - registration state
131
- - maturity
132
- - certification state
133
- - bundled vs third-party posture
134
- - default-selection posture
135
- - who registered it and when
136
-
137
- Use:
138
-
139
- - integration-registration-record.schema.json
140
- - example-third-party-registration.record.json
141
- - example-third-party-settlement-registration.record.json
142
-
143
- This keeps promotion explicit and gives future registry services a stable data shape to adopt.
144
-
145
- Toolkit helpers are also available in the package surface for registry-side tooling:
146
-
147
- - `validateIntegrationRegistration(...)`
148
- - `validateIntegrationCertificationPack(...)`
149
- - `validateIntegrationSubmission(...)`
150
- - `importRegisteredIntegration(...)`
151
- - `createIntegrationRegistrySnapshot(...)`
152
- - `exportIntegrationRegistrySnapshot(...)`
153
- - `validateIntegrationSubmissionBundle(...)`
154
- - `createIntegrationSubmissionBundle(...)`
155
- - `importIntegrationSubmissionBundle(...)`
156
- - `exportIntegrationSubmissionBundles(...)`
157
- - `createIntegrationRegistrySnapshotFromBundles(...)`
158
- - `createIntegrationSubmissionBundleSet(...)`
159
- - `validateIntegrationSubmissionBundleSet(...)`
160
- - `exportIntegrationSubmissionBundleSet(...)`
161
-
162
- That means future registry automation can validate and normalize a manifest + registration-record pair without reimplementing the rules.
163
-
164
- ## 9. Prepare a certification pack
165
-
166
- Before a staged or production registration is trusted, assemble a certification pack that records:
167
-
168
- - claimed certification state
169
- - certification scope
170
- - verification evidence and reports
171
- - submission timestamp and operator
172
-
173
- Use:
174
-
175
- - integration-certification-pack.schema.json
176
- - example-third-party-registration.certification-pack.json
177
- - example-third-party-settlement-registration.certification-pack.json
178
-
179
- This keeps certification evidence explicit instead of leaving it as an undocumented side channel.
180
-
181
- ## 10. Assemble a submission bundle
182
-
183
- When you want one reusable handoff artifact for staging or review, combine:
184
-
185
- - manifest
186
- - registration record
187
- - certification pack
188
- - optional normalized snapshot entry
189
-
190
- Use:
191
-
192
- - integration-submission-bundle.schema.json
193
- - example-third-party-registration.submission-bundle.json
194
- - example-third-party-settlement-registration.submission-bundle.json
195
-
196
- This gives future integrations one predictable artifact for authoring review, staging review, or registry import.
197
-
198
- Public posture rule:
199
-
200
- - native support means `xytara` ships a bundled first-party integration in the registry
201
- - adapter support means the public contract and authoring path are available for that class or lane
202
- - third-party plugin posture means the integration should normally enter through explicit submission bundles and staged registration before default rollout
203
-
204
- Bundle-driven staging/export is also supported, so a set of reviewed third-party integrations can be turned into a normalized registry snapshot without custom glue code.
205
-
206
- If you need to hand off multiple reviewed integrations together, package them as a bundle set rather than inventing a one-off folder convention each time.
207
-
208
- Practical rule:
209
-
210
- - staged third-party integrations can be visible in discovery
211
- - staged third-party integrations should normally require explicit selection
212
- - becoming visible is not the same thing as becoming a default
213
-
214
- That keeps reviewable integrations easy to inspect without letting them quietly replace bundled defaults.
215
-
216
- ## 11. Bundle-set review flow
217
-
218
- For a small multi-integration review pass, the clean sequence is:
219
-
220
- 1. validate each submission bundle
221
- 2. export a submission bundle set
222
- 3. derive a registry snapshot from that reviewed set
223
- 4. only then consider staging or production registration
224
-
225
- The repo-local CLI supports that review loop directly when working from a cloned `xytara` repository:
226
-
227
- ```bash
228
- node scripts/registry_cli.js validate-bundle --example protocol
229
- node scripts/registry_cli.js validate-bundle --example identity
230
- node scripts/registry_cli.js validate-bundle --example settlement
231
- node scripts/registry_cli.js export-bundle-set --notes "review batch"
232
- node scripts/registry_cli.js export-snapshot
233
- ```
234
-
235
- ## 12. Keep the boundary clean
236
-
237
- Adapters should integrate external systems without redefining:
238
-
239
- - proof semantics
240
- - quote semantics
241
- - core commerce lifecycle semantics
242
-
243
- They translate external systems into the stack contract. They do not replace the stack contract.
244
-
@@ -1,61 +0,0 @@
1
- # Adapter Onboarding Posture
2
-
3
- This note captures the current intended onboarding flow for third-party adapters.
4
-
5
- ## Current onboarding path
6
-
7
- 1. implement adapter against the public interface version
8
- 2. publish a manifest that satisfies the schema
9
- 3. validate implementation behavior with the adapter verifier
10
- 4. confirm compatibility with the current commerce and proof contracts
11
- 5. declare registration and certification posture in the manifest
12
- 6. add the adapter into catalog/runtime registration only after certification passes
13
-
14
- ## Current registration stance
15
-
16
- This repo does not yet provide a full public adapter registry service.
17
-
18
- The current posture is:
19
-
20
- - adapter manifests and implementations can be authored against the public contract
21
- - certification begins locally with `npm run verify:adapters`
22
- - registration posture should be declared explicitly through manifest metadata
23
- - promotion should also create a normalized registration record
24
- - runtime registration remains an explicit product step, not an implicit side effect of dropping files into the repo
25
-
26
- ## Promotion model
27
-
28
- Recommended promotion flow:
29
-
30
- 1. local development
31
- 2. local certification
32
- 3. self-attested or certified manifest posture
33
- 4. registration record creation
34
- 5. staging/runtime integration
35
- 6. production registration
36
-
37
- ## Review checkpoints
38
-
39
- Before a third-party integration is treated as operationally serious, we should be able to answer:
40
-
41
- - is it review-ready?
42
- - is it default-eligible?
43
- - is it production-default-ready?
44
- - what blockers are still present?
45
-
46
- Those answers should come from the artifact model and review helpers, not from private judgment calls.
47
-
48
- Use:
49
-
50
- - THIRD_PARTY_SUBMISSION_PROCESS.md
51
-
52
- to keep that process repeatable for external builders and internal reviewers.
53
-
54
- ## Why this matters
55
-
56
- This keeps adapter support:
57
-
58
- - flexible
59
- - testable
60
- - explicit
61
- - less likely to drift into hidden private assumptions
@@ -1,84 +0,0 @@
1
- # Third-Party Submission Process
2
-
3
- This note is the shortest end-to-end path for a third party building on `xytara`.
4
-
5
- ## Goal
6
-
7
- Produce one reviewable integration package that can move from local development to staging review without inventing custom process per adapter.
8
-
9
- ## Submission artifact stack
10
-
11
- Every serious third-party integration should converge on four artifacts:
12
-
13
- 1. adapter manifest
14
- 2. registration record
15
- 3. certification pack
16
- 4. submission bundle
17
-
18
- If multiple integrations are being reviewed together, package them as a submission bundle set.
19
-
20
- ## Recommended flow
21
-
22
- 1. Choose the adapter class.
23
- 2. Implement the adapter against the public interface contract.
24
- 3. Build the manifest against the public schema.
25
- 4. Run local verification with `npm run verify:adapters`.
26
- 5. Create the registration record.
27
- 6. Create the certification pack.
28
- 7. Assemble the submission bundle.
29
- 8. Review the bundle locally.
30
- 9. Export a bundle set if multiple integrations are being reviewed together.
31
- 10. Derive a registry snapshot from the reviewed bundle set.
32
- 11. Only then consider staging registration or production-default promotion.
33
-
34
- ## Review commands
35
-
36
- From a cloned `xytara` repo:
37
-
38
- ```bash
39
- node scripts/registry_cli.js validate-bundle --example protocol
40
- node scripts/registry_cli.js validate-bundle --example identity
41
- node scripts/registry_cli.js validate-bundle --example settlement
42
- node scripts/registry_cli.js review-bundle --example protocol
43
- node scripts/registry_cli.js review-bundle --example identity
44
- node scripts/registry_cli.js review-bundle --example settlement
45
- node scripts/registry_cli.js review-bundle-set --notes "review batch"
46
- node scripts/registry_cli.js review-snapshot
47
- node scripts/registry_cli.js promotion-readiness --integration partner.protocol.acme_mcp
48
- ```
49
-
50
- ## Promotion posture
51
-
52
- These states should stay explicit:
53
-
54
- - `review_ready`
55
- - `default_eligible`
56
- - `production_default_ready`
57
-
58
- Typical staged third-party posture:
59
-
60
- - discoverable: yes
61
- - reviewable: yes
62
- - explicitly selectable: yes
63
- - default-eligible: no
64
- - production-default-ready: no
65
-
66
- That is the safe default. Promotion should be intentional.
67
-
68
- ## What not to do
69
-
70
- - Do not assume discovery means default selection.
71
- - Do not skip the registration record and jump straight from manifest to runtime use.
72
- - Do not treat certification evidence as an undocumented side channel.
73
- - Do not add adapter-specific workflow rules when the registry model can already express the posture.
74
-
75
- ## Clean handoff rule
76
-
77
- If another team receives only the submission bundle and bundle-set artifacts, they should still be able to:
78
-
79
- - validate the integration
80
- - inspect the claimed posture
81
- - understand blockers
82
- - derive a normalized registry snapshot
83
-
84
- That is the standard we want to preserve as the integration surface grows.
@@ -1,283 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "xytara/adapter-manifest.schema.json",
4
- "title": "xytara Adapter Manifest",
5
- "type": "object",
6
- "additionalProperties": false,
7
- "required": [
8
- "adapter_id",
9
- "adapter_class",
10
- "adapter_version",
11
- "interface_version",
12
- "display_name",
13
- "description",
14
- "capabilities",
15
- "compatibility",
16
- "health_contract",
17
- "idempotency_contract",
18
- "failure_contract",
19
- "proof_contract"
20
- ],
21
- "properties": {
22
- "adapter_id": {
23
- "type": "string",
24
- "minLength": 1
25
- },
26
- "adapter_class": {
27
- "type": "string",
28
- "enum": [
29
- "execution_adapter",
30
- "payment_rail_adapter",
31
- "settlement_adapter",
32
- "agent_protocol_adapter",
33
- "identity_registry_adapter"
34
- ]
35
- },
36
- "adapter_version": {
37
- "type": "string",
38
- "minLength": 1
39
- },
40
- "interface_version": {
41
- "type": "string",
42
- "minLength": 1
43
- },
44
- "display_name": {
45
- "type": "string",
46
- "minLength": 1
47
- },
48
- "description": {
49
- "type": "string",
50
- "minLength": 1
51
- },
52
- "capabilities": {
53
- "type": "array",
54
- "minItems": 1,
55
- "items": {
56
- "type": "string",
57
- "minLength": 1
58
- }
59
- },
60
- "compatibility": {
61
- "type": "object",
62
- "additionalProperties": false,
63
- "required": [
64
- "node",
65
- "commerce_contract",
66
- "proof_contract"
67
- ],
68
- "properties": {
69
- "node": {
70
- "type": "string",
71
- "minLength": 1
72
- },
73
- "commerce_contract": {
74
- "type": "string",
75
- "minLength": 1
76
- },
77
- "proof_contract": {
78
- "type": "string",
79
- "minLength": 1
80
- }
81
- }
82
- },
83
- "health_contract": {
84
- "type": "object",
85
- "additionalProperties": false,
86
- "required": [
87
- "check_kind",
88
- "supports_readiness"
89
- ],
90
- "properties": {
91
- "check_kind": {
92
- "type": "string",
93
- "minLength": 1
94
- },
95
- "supports_readiness": {
96
- "type": "boolean"
97
- }
98
- }
99
- },
100
- "idempotency_contract": {
101
- "type": "object",
102
- "additionalProperties": false,
103
- "required": [
104
- "strategy",
105
- "scope"
106
- ],
107
- "properties": {
108
- "strategy": {
109
- "type": "string",
110
- "minLength": 1
111
- },
112
- "scope": {
113
- "type": "string",
114
- "minLength": 1
115
- }
116
- }
117
- },
118
- "failure_contract": {
119
- "type": "object",
120
- "additionalProperties": false,
121
- "required": [
122
- "categories",
123
- "retryable_categories"
124
- ],
125
- "properties": {
126
- "categories": {
127
- "type": "array",
128
- "minItems": 1,
129
- "items": {
130
- "type": "string",
131
- "minLength": 1
132
- }
133
- },
134
- "retryable_categories": {
135
- "type": "array",
136
- "items": {
137
- "type": "string",
138
- "minLength": 1
139
- }
140
- }
141
- }
142
- },
143
- "proof_contract": {
144
- "type": "object",
145
- "additionalProperties": false,
146
- "required": [
147
- "emits_proof_compatible_facts",
148
- "proof_mode"
149
- ],
150
- "properties": {
151
- "emits_proof_compatible_facts": {
152
- "type": "boolean"
153
- },
154
- "proof_mode": {
155
- "type": "string",
156
- "minLength": 1
157
- }
158
- }
159
- },
160
- "latency_class": {
161
- "type": "string"
162
- },
163
- "pricing_basis": {
164
- "type": "string"
165
- },
166
- "execution_modes": {
167
- "type": "array",
168
- "items": {
169
- "type": "string",
170
- "minLength": 1
171
- }
172
- },
173
- "required_secrets": {
174
- "type": "array",
175
- "items": {
176
- "type": "string",
177
- "minLength": 1
178
- }
179
- },
180
- "required_permissions": {
181
- "type": "array",
182
- "items": {
183
- "type": "string",
184
- "minLength": 1
185
- }
186
- },
187
- "supported_profiles": {
188
- "type": "array",
189
- "items": {
190
- "type": "string",
191
- "minLength": 1
192
- }
193
- },
194
- "supported_regions": {
195
- "type": "array",
196
- "items": {
197
- "type": "string",
198
- "minLength": 1
199
- }
200
- },
201
- "supported_settlement_modes": {
202
- "type": "array",
203
- "items": {
204
- "type": "string",
205
- "minLength": 1
206
- }
207
- },
208
- "registration_contract": {
209
- "type": "object",
210
- "additionalProperties": false,
211
- "required": [
212
- "integration_id",
213
- "integration_maturity",
214
- "bundled",
215
- "default_selection_enabled"
216
- ],
217
- "properties": {
218
- "integration_id": {
219
- "type": "string",
220
- "minLength": 1
221
- },
222
- "integration_maturity": {
223
- "type": "string",
224
- "enum": [
225
- "reference_example",
226
- "staging_candidate",
227
- "production_default"
228
- ]
229
- },
230
- "bundled": {
231
- "type": "boolean"
232
- },
233
- "default_selection_enabled": {
234
- "type": "boolean"
235
- },
236
- "selection_priority": {
237
- "type": "integer",
238
- "minimum": 0
239
- },
240
- "requires_explicit_selection": {
241
- "type": "boolean"
242
- }
243
- }
244
- },
245
- "certification_contract": {
246
- "type": "object",
247
- "additionalProperties": false,
248
- "required": [
249
- "certification_state",
250
- "certification_scope"
251
- ],
252
- "properties": {
253
- "certification_state": {
254
- "type": "string",
255
- "enum": [
256
- "reference_example",
257
- "self_attested",
258
- "certified"
259
- ]
260
- },
261
- "certification_scope": {
262
- "type": "array",
263
- "minItems": 1,
264
- "items": {
265
- "type": "string",
266
- "minLength": 1
267
- }
268
- },
269
- "verified_with": {
270
- "type": "array",
271
- "items": {
272
- "type": "string",
273
- "minLength": 1
274
- }
275
- },
276
- "last_verified_contract_version": {
277
- "type": "string",
278
- "minLength": 1
279
- }
280
- }
281
- }
282
- }
283
- }