xoonya 3.1.17 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/README.md +97 -74
  2. package/RELEASE_NOTES.md +1 -1
  3. package/START_HERE.md +38 -134
  4. package/bin/xoonya-first-run.js +22 -10
  5. package/bin/xoonya.js +61 -29
  6. package/lib/native_verify.js +1918 -0
  7. package/package.json +19 -42
  8. package/scripts/verify_release_candidate.js +243 -116
  9. package/scripts/verify_vectors.js +351 -104
  10. package/verify.js +95 -0
  11. package/.env.example +0 -10
  12. package/CARRIED_HANDOFF_DEMO.md +0 -60
  13. package/COMPATIBILITY_NOTE.md +0 -27
  14. package/CROSS_RUNTIME_POSTURE.md +0 -77
  15. package/EXAMPLE_PATHS.md +0 -53
  16. package/FINAL_CONTRACT.md +0 -445
  17. package/PARTNER_READY_PATH.md +0 -67
  18. package/PUBLIC_DEMO_SCRIPT.md +0 -79
  19. package/SERVICE_CONTRACT.md +0 -207
  20. package/TERMINOLOGY.md +0 -55
  21. package/WHY_XYTARA_XOONYA.md +0 -43
  22. package/XNYA_CONFORMANCE_MARK.md +0 -78
  23. package/XNYA_REFERENCE_IMPLEMENTATIONS.md +0 -157
  24. package/XOONYA_DEFAULT_PATH_MODEL.md +0 -63
  25. package/XOONYA_FOLLOWTHROUGH_TRUTH_MODEL.md +0 -63
  26. package/XOONYA_NATIVE_ATOM_SPEC.md +0 -184
  27. package/XOONYA_NATIVE_PROOF_FORMAT.md +0 -570
  28. package/XOONYA_NATIVE_STANDARD_GOVERNANCE.md +0 -119
  29. package/XOONYA_PROOF_TRUTH_MODEL.md +0 -58
  30. package/bin/xoonya-release.js +0 -1367
  31. package/bin/xoonya-review.js +0 -70
  32. package/examples/integration_boundary_walkthrough.js +0 -37
  33. package/examples/package_quickstart.js +0 -1007
  34. package/examples/partner_proof_walkthrough.js +0 -68
  35. package/examples/proof_review_walkthrough.js +0 -66
  36. package/examples/review_carried_handoff.js +0 -72
  37. package/index.js +0 -31
  38. package/integrations/PROOF_INTEGRATION_PROCESS.md +0 -45
  39. package/integrations/examples/example-third-party-verifier-registration.record.json +0 -22
  40. package/integrations/registration-record.schema.json +0 -99
  41. package/integrations/registry-snapshot.schema.json +0 -36
  42. package/integrations/registry.js +0 -636
  43. package/integrations/views.js +0 -36
  44. package/lib/adapter_certification_contract.js +0 -90
  45. package/lib/announcement_pack.js +0 -61
  46. package/lib/artifact_distribution_lane_contract.js +0 -54
  47. package/lib/asyncapi_contract.js +0 -135
  48. package/lib/auth_interop_contract.js +0 -69
  49. package/lib/authority_binding_lifecycle_contract.js +0 -182
  50. package/lib/bridge_intelligence.js +0 -102
  51. package/lib/cloudevents_contract.js +0 -79
  52. package/lib/crypto_agility_matrix.js +0 -131
  53. package/lib/default_path_contract.js +0 -380
  54. package/lib/ecosystem_entry.js +0 -64
  55. package/lib/erc8004_proof_lane_contract.js +0 -64
  56. package/lib/event_system_lane_contract.js +0 -76
  57. package/lib/external_proof_import_lane_contract.js +0 -87
  58. package/lib/feature_control_lane_contract.js +0 -54
  59. package/lib/followthrough_truth_contract.js +0 -214
  60. package/lib/framework_lane_contract.js +0 -76
  61. package/lib/governance_disputes_summary.js +0 -36
  62. package/lib/governance_intelligence.js +0 -108
  63. package/lib/identity_interop_contract.js +0 -83
  64. package/lib/integration_matrix_contract.js +0 -81
  65. package/lib/launch_narrative.js +0 -53
  66. package/lib/machine_identity_registry_contract.js +0 -199
  67. package/lib/major_rails_proof_lane_contract.js +0 -87
  68. package/lib/offline_verifiability_recovery_contract.js +0 -155
  69. package/lib/openapi_contract.js +0 -227
  70. package/lib/operational_receipt_contract.js +0 -165
  71. package/lib/outreach_proof.js +0 -71
  72. package/lib/phase_10_closeout_pack.js +0 -45
  73. package/lib/phase_10_completion_pack.js +0 -76
  74. package/lib/phase_10_decision_record_pack.js +0 -54
  75. package/lib/phase_10_decision_resolution_pack.js +0 -53
  76. package/lib/phase_10_demand_signal_adapters_proof_pack.js +0 -74
  77. package/lib/phase_10_ecosystem_backlog_triage_proof_pack.js +0 -74
  78. package/lib/phase_10_freeze_baseline_pack.js +0 -67
  79. package/lib/phase_10_freeze_review_pack.js +0 -64
  80. package/lib/phase_10_gate_pack.js +0 -57
  81. package/lib/phase_10_long_tail_continuity_pack.js +0 -80
  82. package/lib/phase_10_long_tail_ecosystem_pack.js +0 -68
  83. package/lib/phase_10_niche_extension_registry_proof_pack.js +0 -74
  84. package/lib/phase_1_claude_mcp_pack.js +0 -60
  85. package/lib/phase_1_claude_mcp_proof_pack.js +0 -57
  86. package/lib/phase_1_ecosystem_pack.js +0 -51
  87. package/lib/phase_1_openai_codex_pack.js +0 -60
  88. package/lib/phase_1_openai_codex_proof_pack.js +0 -57
  89. package/lib/phase_2_base_proof_pack.js +0 -71
  90. package/lib/phase_2_base_usdc_proof_pack.js +0 -72
  91. package/lib/phase_2_closeout_pack.js +0 -65
  92. package/lib/phase_2_completion_pack.js +0 -113
  93. package/lib/phase_2_decision_record_pack.js +0 -66
  94. package/lib/phase_2_decision_resolution_pack.js +0 -69
  95. package/lib/phase_2_eth_proof_pack.js +0 -70
  96. package/lib/phase_2_evm_base_proof_pack.js +0 -73
  97. package/lib/phase_2_evm_proof_pack.js +0 -71
  98. package/lib/phase_2_flip_preview_pack.js +0 -60
  99. package/lib/phase_2_freeze_review_pack.js +0 -99
  100. package/lib/phase_2_gate_pack.js +0 -77
  101. package/lib/phase_2_payment_rails_pack.js +0 -71
  102. package/lib/phase_2_usdc_proof_pack.js +0 -71
  103. package/lib/phase_3_brc_proof_pack.js +0 -81
  104. package/lib/phase_3_bsv_teranode_proof_pack.js +0 -81
  105. package/lib/phase_3_closeout_pack.js +0 -62
  106. package/lib/phase_3_completion_pack.js +0 -92
  107. package/lib/phase_3_decision_record_pack.js +0 -64
  108. package/lib/phase_3_decision_resolution_pack.js +0 -69
  109. package/lib/phase_3_freeze_baseline_pack.js +0 -67
  110. package/lib/phase_3_freeze_review_pack.js +0 -80
  111. package/lib/phase_3_gate_pack.js +0 -76
  112. package/lib/phase_3_metanet_proof_pack.js +0 -81
  113. package/lib/phase_3_native_bsv_pack.js +0 -89
  114. package/lib/phase_3_native_continuity_pack.js +0 -82
  115. package/lib/phase_4_attestation_proof_pack.js +0 -75
  116. package/lib/phase_4_closeout_pack.js +0 -45
  117. package/lib/phase_4_completion_pack.js +0 -82
  118. package/lib/phase_4_decision_record_pack.js +0 -54
  119. package/lib/phase_4_decision_resolution_pack.js +0 -45
  120. package/lib/phase_4_erc8004_proof_pack.js +0 -76
  121. package/lib/phase_4_freeze_baseline_pack.js +0 -67
  122. package/lib/phase_4_freeze_review_pack.js +0 -68
  123. package/lib/phase_4_gate_pack.js +0 -58
  124. package/lib/phase_4_identity_registry_proof_pack.js +0 -75
  125. package/lib/phase_4_identity_trust_pack.js +0 -73
  126. package/lib/phase_4_trust_continuity_pack.js +0 -86
  127. package/lib/phase_5_antelope_proof_pack.js +0 -76
  128. package/lib/phase_5_closeout_pack.js +0 -44
  129. package/lib/phase_5_completion_pack.js +0 -82
  130. package/lib/phase_5_decision_record_pack.js +0 -54
  131. package/lib/phase_5_decision_resolution_pack.js +0 -45
  132. package/lib/phase_5_freeze_baseline_pack.js +0 -67
  133. package/lib/phase_5_freeze_review_pack.js +0 -68
  134. package/lib/phase_5_gate_pack.js +0 -58
  135. package/lib/phase_5_major_rails_continuity_pack.js +0 -86
  136. package/lib/phase_5_major_rails_pack.js +0 -74
  137. package/lib/phase_5_proton_xpr_proof_pack.js +0 -76
  138. package/lib/phase_5_solana_proof_pack.js +0 -76
  139. package/lib/phase_6_autogen_proof_pack.js +0 -74
  140. package/lib/phase_6_closeout_pack.js +0 -46
  141. package/lib/phase_6_completion_pack.js +0 -77
  142. package/lib/phase_6_decision_record_pack.js +0 -54
  143. package/lib/phase_6_decision_resolution_pack.js +0 -53
  144. package/lib/phase_6_framework_continuity_pack.js +0 -81
  145. package/lib/phase_6_framework_runtime_pack.js +0 -68
  146. package/lib/phase_6_freeze_baseline_pack.js +0 -68
  147. package/lib/phase_6_freeze_review_pack.js +0 -65
  148. package/lib/phase_6_gate_pack.js +0 -59
  149. package/lib/phase_6_langchain_proof_pack.js +0 -74
  150. package/lib/phase_6_langgraph_proof_pack.js +0 -74
  151. package/lib/phase_6_semantic_kernel_proof_pack.js +0 -74
  152. package/lib/phase_7_closeout_pack.js +0 -45
  153. package/lib/phase_7_completion_pack.js +0 -85
  154. package/lib/phase_7_decision_record_pack.js +0 -53
  155. package/lib/phase_7_decision_resolution_pack.js +0 -53
  156. package/lib/phase_7_event_system_continuity_pack.js +0 -89
  157. package/lib/phase_7_event_system_pack.js +0 -76
  158. package/lib/phase_7_freeze_baseline_pack.js +0 -74
  159. package/lib/phase_7_freeze_review_pack.js +0 -65
  160. package/lib/phase_7_gate_pack.js +0 -58
  161. package/lib/phase_7_kafka_proof_pack.js +0 -76
  162. package/lib/phase_7_mqtt_proof_pack.js +0 -76
  163. package/lib/phase_7_nats_proof_pack.js +0 -76
  164. package/lib/phase_7_webhook_event_bus_proof_pack.js +0 -76
  165. package/lib/phase_8_closeout_pack.js +0 -46
  166. package/lib/phase_8_completion_pack.js +0 -82
  167. package/lib/phase_8_decision_record_pack.js +0 -54
  168. package/lib/phase_8_decision_resolution_pack.js +0 -53
  169. package/lib/phase_8_external_receipt_import_proof_pack.js +0 -74
  170. package/lib/phase_8_external_result_import_proof_pack.js +0 -74
  171. package/lib/phase_8_freeze_baseline_pack.js +0 -71
  172. package/lib/phase_8_freeze_review_pack.js +0 -64
  173. package/lib/phase_8_gate_pack.js +0 -58
  174. package/lib/phase_8_proof_bridge_continuity_pack.js +0 -86
  175. package/lib/phase_8_proof_bridges_pack.js +0 -72
  176. package/lib/phase_8_proof_bundle_normalization_proof_pack.js +0 -74
  177. package/lib/phase_9_closeout_pack.js +0 -46
  178. package/lib/phase_9_completion_pack.js +0 -82
  179. package/lib/phase_9_custody_refs_proof_pack.js +0 -74
  180. package/lib/phase_9_decision_record_pack.js +0 -54
  181. package/lib/phase_9_decision_resolution_pack.js +0 -53
  182. package/lib/phase_9_freeze_baseline_pack.js +0 -71
  183. package/lib/phase_9_freeze_review_pack.js +0 -64
  184. package/lib/phase_9_gate_pack.js +0 -58
  185. package/lib/phase_9_operator_accounting_bridges_proof_pack.js +0 -74
  186. package/lib/phase_9_treasury_connectivity_pack.js +0 -72
  187. package/lib/phase_9_treasury_continuity_pack.js +0 -86
  188. package/lib/phase_9_treasury_destinations_proof_pack.js +0 -74
  189. package/lib/phase_program_pack.js +0 -47
  190. package/lib/proof_bridge_lane_contract.js +0 -82
  191. package/lib/proof_truth_contract.js +0 -224
  192. package/lib/provenance_lane_contract.js +0 -54
  193. package/lib/provider_lane_contract.js +0 -67
  194. package/lib/public_surface_policy_contract.js +0 -111
  195. package/lib/publish_plan.js +0 -51
  196. package/lib/release_candidate.js +0 -50
  197. package/lib/release_center.js +0 -1037
  198. package/lib/release_history.js +0 -206
  199. package/lib/release_manifest.js +0 -114
  200. package/lib/release_pack.js +0 -391
  201. package/lib/result_package_trust_lane_contract.js +0 -74
  202. package/lib/review_intelligence.js +0 -100
  203. package/lib/role_freeze.js +0 -436
  204. package/lib/shared_signals_lane_contract.js +0 -54
  205. package/lib/signed_audit_provenance_contract.js +0 -93
  206. package/lib/telemetry_lane_contract.js +0 -54
  207. package/lib/treasury_proof_lane_contract.js +0 -83
  208. package/lib/trust_intelligence.js +0 -106
  209. package/lib/trust_portability_boundary_contract.js +0 -66
  210. package/lib/trust_portability_pack.js +0 -224
  211. package/lib/verification_service_pack.js +0 -149
  212. package/proof_sdk.js +0 -6692
  213. package/reference/python/README.md +0 -35
  214. package/reference/python/requirements-optional.txt +0 -1
  215. package/reference/python/verify_vectors.py +0 -223
  216. package/reference/python/xnya_reference.py +0 -810
  217. package/reference/rust/Cargo.toml +0 -11
  218. package/reference/rust/README.md +0 -28
  219. package/reference/rust/src/lib.rs +0 -87
  220. package/scripts/registry_cli.js +0 -157
  221. package/scripts/verify_all.js +0 -603
  222. package/scripts/verify_control_plane_contracts.js +0 -34
  223. package/scripts/verify_control_plane_routes.js +0 -70
  224. package/scripts/verify_examples.js +0 -19
  225. package/scripts/verify_external_proof_import_gate.js +0 -84
  226. package/scripts/verify_external_proof_signature.js +0 -142
  227. package/scripts/verify_forgery_resistance.js +0 -281
  228. package/scripts/verify_integrations.js +0 -170
  229. package/scripts/verify_native_hybrid_design_gate.js +0 -114
  230. package/scripts/verify_paid_execute.js +0 -133
  231. package/scripts/verify_paywall_flag.js +0 -86
  232. package/scripts/verify_reference_promotion_gate.js +0 -74
  233. package/scripts/verify_reference_python.js +0 -49
  234. package/scripts/verify_reference_python_crypto.js +0 -87
  235. package/scripts/verify_reference_rust_scaffold.js +0 -50
  236. package/scripts/verify_service.js +0 -3038
  237. package/scripts/verify_tooling.js +0 -1251
  238. package/scripts/verify_trust_portability.js +0 -56
  239. package/scripts/verify_verification_services.js +0 -56
  240. package/server.js +0 -4430
@@ -1,74 +0,0 @@
1
- "use strict";
2
-
3
- const packageJson = require("../package.json");
4
-
5
- function buildPhase9TreasuryDestinationsProofPack() {
6
- return {
7
- ok: true,
8
- product: packageJson.name,
9
- category: "proof-phase-9-treasury-destinations-proof-pack",
10
- phase_ref: "phase_9",
11
- posture: "proof_path",
12
- ecosystems: ["treasury_destinations"],
13
- proof_shape: {
14
- evidence_modes: ["treasury_continuation", "custody_reference_carry", "accounting_bridge_evidence"],
15
- destination_modes: ["destination_proof_flow", "destination_carry_flow", "destination_handoff_flow"],
16
- proof_artifacts: ["destination_bundle", "custody_bundle", "accounting_bundle"],
17
- proof_surfaces: [
18
- "/v1/proof-center/bridge/summary",
19
- "/v1/release-center/summary",
20
- "/v1/phases/phase-9/summary"
21
- ]
22
- },
23
- first_path: {
24
- purpose: "show the first Phase 9 treasury proof path from settlement evidence into treasury and accounting continuity",
25
- first_http_sequence: [
26
- "/v1/phases/phase-9/summary",
27
- "/v1/phases/phase-9/treasury-destinations/proof/summary",
28
- "/v1/release-center/summary"
29
- ],
30
- first_cli_sequence: [
31
- "xoonya-release --phase-9-treasury-destinations-proof --summary",
32
- "xoonya-release --phase-9 --summary"
33
- ],
34
- expected_signals: [
35
- "treasury destinations is a public Phase 9 proof lane",
36
- "proof artifacts are explicit at the lane level",
37
- "treasury proof posture is visible before broader Phase 9 expansion"
38
- ]
39
- },
40
- completion: {
41
- completion_checks: [
42
- "treasury destinations proof lane is public and inspectable",
43
- "proof artifacts are visible at lane level",
44
- "proof surfaces remain attached to the treasury lane",
45
- "the lane is ready to anchor broader treasury/operator breadth"
46
- ]
47
- }
48
- };
49
- }
50
-
51
- function summarizePhase9TreasuryDestinationsProofPack() {
52
- const pack = buildPhase9TreasuryDestinationsProofPack();
53
- return {
54
- ok: true,
55
- product: pack.product,
56
- category: pack.category,
57
- phase_ref: pack.phase_ref,
58
- ecosystem_count: pack.ecosystems.length,
59
- evidence_mode_count: pack.proof_shape.evidence_modes.length,
60
- destination_mode_count: pack.proof_shape.destination_modes.length,
61
- proof_artifact_count: pack.proof_shape.proof_artifacts.length,
62
- completion_check_count: pack.completion.completion_checks.length,
63
- http_step_count: pack.first_path.first_http_sequence.length,
64
- cli_step_count: pack.first_path.first_cli_sequence.length,
65
- signal_count: pack.first_path.expected_signals.length,
66
- proof_surface_count: pack.proof_shape.proof_surfaces.length,
67
- first_http_step: pack.first_path.first_http_sequence[0] || null
68
- };
69
- }
70
-
71
- module.exports = {
72
- buildPhase9TreasuryDestinationsProofPack,
73
- summarizePhase9TreasuryDestinationsProofPack
74
- };
@@ -1,47 +0,0 @@
1
- "use strict";
2
-
3
- const packageJson = require("../package.json");
4
-
5
- function buildPhaseProgramPack() {
6
- return {
7
- ok: true,
8
- product: packageJson.name,
9
- category: "proof-phase-program-pack",
10
- current_phase: "program_closed",
11
- phases: [
12
- { phase_ref: "phase_1", title: "Agent And Protocol Entry", status: "completed", main_repo_weight: "xoonya_medium_xytara_heavy", ecosystems: ["openai_codex", "claude_anthropic_mcp"], goal: "give early ecosystem users a clean proof-side continuation and review path" },
13
- { phase_ref: "phase_2", title: "Broadly Legible Payment Rails", status: "completed", main_repo_weight: "xoonya_medium_xytara_very_heavy", ecosystems: ["evm", "base", "eth", "usdc"], goal: "normalize proof for broadly legible settlement rails" },
14
- { phase_ref: "phase_3", title: "Native BSV Completion", status: "completed", main_repo_weight: "xoonya_heavy_xytara_heavy", ecosystems: ["bsv", "teranode", "metanet", "brc"], goal: "fully solidify native settlement proof and continuity" },
15
- { phase_ref: "phase_4", title: "Identity And Trust Adapters", status: "completed", main_repo_weight: "xoonya_heavy_xytara_medium", ecosystems: ["erc8004", "identity_registry", "attestation"], goal: "deepen identity-aware proof and verification posture" },
16
- { phase_ref: "phase_5", title: "Additional Major Rails", status: "completed", main_repo_weight: "xoonya_medium_xytara_heavy", ecosystems: ["solana", "antelope", "greymass", "eosio", "proton_xpr"], goal: "broaden chain-normalized proof continuity" },
17
- { phase_ref: "phase_6", title: "Framework And Runtime Adapters", status: "completed", main_repo_weight: "xoonya_light_medium_xytara_heavy", ecosystems: ["langgraph", "langchain", "autogen", "semantic_kernel"], goal: "support production runtimes with direct proof followthrough" },
18
- { phase_ref: "phase_7", title: "Event And System Integration", status: "completed", main_repo_weight: "xoonya_light_xytara_heavy", ecosystems: ["kafka", "nats", "mqtt", "webhook_event_bus"], goal: "accept and classify system-origin proof-relevant events cleanly" },
19
- { phase_ref: "phase_8", title: "Proof And External Evidence Bridges", status: "completed", main_repo_weight: "xoonya_very_heavy_xytara_medium", ecosystems: ["external_result_import", "external_receipt_import", "proof_bundle_normalization"], goal: "make xoonya the universal proof-side convergence layer" },
20
- { phase_ref: "phase_9", title: "Treasury And Operator Connectivity", status: "completed", main_repo_weight: "xoonya_light_medium_xytara_very_heavy", ecosystems: ["treasury_destinations", "custody_refs", "operator_accounting_bridges"], goal: "preserve proof continuity for real economic operations" },
21
- { phase_ref: "phase_10", title: "Long Tail Ecosystem Breadth", status: "completed", main_repo_weight: "varies", ecosystems: ["demand_driven_niche_extensions"], goal: "extend from real demand without fragmenting proof semantics" }
22
- ],
23
- cross_phase_rules: [
24
- "proof-side additions normalize external evidence into stable proof-bundle posture",
25
- "verification, review, continuation, and evidence normalization belong first in xoonya",
26
- "runtime and payment-specific behavior stays anchored in xytara and is carried into xoonya as facts",
27
- "each phase should preserve one clear runtime-to-proof path for the target ecosystem"
28
- ]
29
- };
30
- }
31
-
32
- function summarizePhaseProgramPack() {
33
- const pack = buildPhaseProgramPack();
34
- return {
35
- ok: true,
36
- product: pack.product,
37
- category: pack.category,
38
- current_phase: pack.current_phase,
39
- phase_count: pack.phases.length,
40
- active_phase_count: pack.phases.filter((entry) => entry.status === "active").length,
41
- planned_phase_count: pack.phases.filter((entry) => entry.status === "planned").length,
42
- completed_phase_count: pack.phases.filter((entry) => entry.status === "completed").length,
43
- rule_count: pack.cross_phase_rules.length
44
- };
45
- }
46
-
47
- module.exports = { buildPhaseProgramPack, summarizePhaseProgramPack };
@@ -1,82 +0,0 @@
1
- "use strict";
2
-
3
- const {
4
- buildBridgeIntelligencePack,
5
- summarizeBridgeIntelligencePack
6
- } = require("./bridge_intelligence");
7
- const {
8
- buildTrustIntelligencePack,
9
- summarizeTrustIntelligencePack
10
- } = require("./trust_intelligence");
11
-
12
- function buildProofBridgeLanePack() {
13
- const bridgeIntelligence = buildBridgeIntelligencePack();
14
- const trustIntelligence = buildTrustIntelligencePack();
15
- return {
16
- product: "xoonya",
17
- category: "proof-bridge-lane-pack",
18
- pack_version: "xoonya-proof-bridge-lane-pack-v1",
19
- lane_state: "first_party_proof_bridge_present",
20
- posture: "runtime_to_proof_handoff_and_external_proof_bridge_lane",
21
- bridge_intelligence: bridgeIntelligence,
22
- trust_intelligence: trustIntelligence,
23
- supported_surfaces: {
24
- bridge_summary_ref: "/v1/proof-center/bridge/summary",
25
- bridge_profile_support_ref: "/v1/proof-center/bridge/profile-support",
26
- bridge_operator_review_pack_ref: "/v1/proof-center/bridge/operator-review-pack",
27
- bridge_compatibility_pack_ref: "/v1/proof-center/bridge/compatibility-pack",
28
- bridge_economic_handoff_ref: "/v1/proof-center/bridge/economic-handoff",
29
- bridge_workflow_pack_ref: "/v1/proof-center/bridge/workflow-pack",
30
- trust_intelligence_ref: "/v1/trust-intelligence/summary",
31
- bridge_intelligence_ref: "/v1/bridge-intelligence/summary",
32
- phase_8_continuity_ref: "/v1/phases/phase-8/proof-bridge-continuity/summary"
33
- },
34
- first_run_flows: [
35
- {
36
- flow_ref: "runtime_to_proof_bridge",
37
- recommended_reason: "best first bridge path for carrying bounded runtime consequence into proof review",
38
- sequence: [
39
- "inspect_bridge_lane_summary",
40
- "inspect_bridge_profile_support",
41
- "submit_economic_handoff",
42
- "inspect_compatibility_and_operator_review_posture"
43
- ]
44
- },
45
- {
46
- flow_ref: "external_proof_bridge_review",
47
- recommended_reason: "best first external proof compatibility path for imported result, receipt, or normalized proof bundles",
48
- sequence: [
49
- "inspect_phase_8_continuity_summary",
50
- "inspect_bridge_intelligence",
51
- "inspect_operator_review_pack",
52
- "inspect_trust_intelligence"
53
- ]
54
- }
55
- ],
56
- guardrails: [
57
- "bridge surfaces remain bounded followthrough rather than a second runtime core",
58
- "compatibility and handoff carry must remain subordinate to proof review and governance checks",
59
- "the bridge lane should increase builder trust without widening xoonya into uncontrolled orchestration"
60
- ]
61
- };
62
- }
63
-
64
- function summarizeProofBridgeLanePack() {
65
- const pack = buildProofBridgeLanePack();
66
- return {
67
- product: "xoonya",
68
- category: "proof-bridge-lane-pack-summary",
69
- summary_version: "xoonya-proof-bridge-lane-pack-summary-v1",
70
- lane_state: pack.lane_state,
71
- posture: pack.posture,
72
- bridge_coverage_state: pack.bridge_intelligence.bridge_coverage_state,
73
- trust_readiness_state: pack.trust_intelligence.proof_readiness_state,
74
- first_run_flow_count: pack.first_run_flows.length,
75
- linked_surfaces: pack.supported_surfaces
76
- };
77
- }
78
-
79
- module.exports = {
80
- buildProofBridgeLanePack,
81
- summarizeProofBridgeLanePack
82
- };
@@ -1,224 +0,0 @@
1
- "use strict";
2
-
3
- const packageJson = require("../package.json");
4
- const proofSdk = require("../proof_sdk");
5
- const { summarizeVerificationServicesPack } = require("./verification_service_pack");
6
- const { summarizeTrustPortabilityPack } = require("./trust_portability_pack");
7
-
8
- function buildProofTruthModelPack() {
9
- const proofCenter = proofSdk.summarizeDefaultProofCenter();
10
- const nativeStandard = proofSdk.summarizexoonyaNativeProofStandard();
11
- const nativeAtom = proofSdk.summarizexoonyaNativeAtomSpec();
12
- const nativePayloadProfile = proofSdk.summarizexoonyaNativePayloadProfilePack();
13
- const nativeAnchorProfile = proofSdk.summarizexoonyaNativeAnchorProfile();
14
- const verificationServices = summarizeVerificationServicesPack();
15
- const trustPortability = summarizeTrustPortabilityPack();
16
- const transactionHandoff = proofSdk.summarizeTransactionProofHandoffCenter();
17
- const interactionHandoff = proofSdk.summarizeInteractionSpineProofHandoffCenter();
18
- const resultPackageHandoff = proofSdk.summarizeInteractionResultPackageHandoffCenter();
19
- const bridge = proofSdk.summarizeBridgeCenter();
20
- const governance = proofSdk.summarizeGovernanceCenter();
21
-
22
- return {
23
- ok: true,
24
- product: packageJson.name,
25
- category: "xoonya-proof-truth-model",
26
- pack_version: "xoonya-proof-truth-model-v1",
27
- posture: "deterministic_proof_truth_plus_reviewable_followthrough",
28
- model_state: "frozen_for_3_0_0_closeout",
29
- doctrine: "xoonya_owns_proof_truth_verification_reviewable_handoff_followthrough_and_governance_without_reabsorbing_runtime_commerce_semantics",
30
- core_claim: "xoonya is the canonical proof-side fact model linking canonical events, receipts, proof bundles, native XNYA artifacts, verification services, handoff continuation, bridge carry, and governance followthrough",
31
- canonical_objects: [
32
- {
33
- object_id: "canonical_event_bundle",
34
- role: "deterministic_hot_input_for_proof_construction",
35
- required_fields: [
36
- "event",
37
- "event_hash_sha256"
38
- ],
39
- primary_surfaces: [
40
- "/v1/events/canonicalize",
41
- "/v1/events/hash"
42
- ]
43
- },
44
- {
45
- object_id: "receipt",
46
- role: "canonical_intermediate_statement_of_what_is_being_proved",
47
- required_fields: [
48
- "receipt_id",
49
- "event_hash_sha256",
50
- "verification_method"
51
- ],
52
- primary_surfaces: [
53
- "/v1/receipts/emit",
54
- "/v1/receipts/verify"
55
- ]
56
- },
57
- {
58
- object_id: "proof_bundle",
59
- role: "portable_replayable_verifiable_proof_output",
60
- required_fields: [
61
- "version",
62
- "ceb",
63
- "receipt",
64
- "proof"
65
- ],
66
- primary_surfaces: [
67
- "/v1/proof-bundles/build",
68
- "/v1/proof-bundles/verify"
69
- ]
70
- },
71
- {
72
- object_id: "xnya_native_artifact",
73
- role: "native_compact_machine_evidence_artifact",
74
- required_fields: [
75
- "method",
76
- "native_atom_magic",
77
- "payload_hash_or_binding"
78
- ],
79
- primary_surfaces: [
80
- "/v1/proof-center/native-standard",
81
- "/v1/proof-center/native-atom-spec",
82
- "/v1/proof-center/native-payload-profile",
83
- "/v1/proof-center/native-anchor-profile"
84
- ]
85
- },
86
- {
87
- object_id: "proof_handoff_review",
88
- role: "reviewable_runtime_to_proof_continuation_boundary",
89
- required_fields: [
90
- "source_ref",
91
- "proof_ref",
92
- "review_summary"
93
- ],
94
- primary_surfaces: [
95
- "/v1/proof-center/transaction-handoff/summary",
96
- "/v1/proof-center/interaction-spine-handoff/summary",
97
- "/v1/proof-center/result-package-handoff/review/summary"
98
- ]
99
- },
100
- {
101
- object_id: "bridge_and_governance_followthrough",
102
- role: "operator_review_bridge_and_dispute_followthrough_bundle",
103
- required_fields: [
104
- "bridge_ref_or_bundle",
105
- "governance_review_ref_or_case"
106
- ],
107
- primary_surfaces: [
108
- "/v1/proof-center/bridge/summary",
109
- "/v1/proof-center/governance/summary",
110
- "/v1/proof-center/governance/disputes/summary"
111
- ]
112
- }
113
- ],
114
- layer_model: [
115
- {
116
- layer_id: "proof_core",
117
- order_index: 1,
118
- objects: ["canonical_event_bundle", "receipt", "proof_bundle"],
119
- invariants: [
120
- "proof_core_stays_deterministic_portable_and_replayable",
121
- "proof_bundle_verification_is_canonical_xoonya_truth"
122
- ]
123
- },
124
- {
125
- layer_id: "native_xnya",
126
- order_index: 2,
127
- objects: ["xnya_native_artifact"],
128
- invariants: [
129
- "xnya_is_the_native_compact_machine_evidence_family",
130
- "native_artifacts_do_not_replace_runtime_or_identity_control_planes"
131
- ]
132
- },
133
- {
134
- layer_id: "verification_services",
135
- order_index: 3,
136
- objects: ["proof_bundle", "proof_handoff_review"],
137
- invariants: [
138
- "verification_surfaces_stay_first_class_services",
139
- "external_signature_or_chain_truth_requires_bounded_claim_language"
140
- ]
141
- },
142
- {
143
- layer_id: "handoff_and_bridge_continuity",
144
- order_index: 4,
145
- objects: ["proof_handoff_review", "bridge_and_governance_followthrough"],
146
- invariants: [
147
- "runtime_outputs_can_continue_into_proof_without_dead_end_loss",
148
- "bridge_carry_preserves_reviewable_context_without_becoming_runtime_truth"
149
- ]
150
- },
151
- {
152
- layer_id: "governance_followthrough",
153
- order_index: 5,
154
- objects: ["bridge_and_governance_followthrough"],
155
- invariants: [
156
- "governance_preserves_reviewable_dispute_and_resolution_posture",
157
- "xoonya_does_not_claim_universal_external_judgment_truth"
158
- ]
159
- }
160
- ],
161
- proof_truth_invariants: [
162
- "canonical_event_bundle_precedes_receipt_and_bundle_verification",
163
- "receipt_is_a_canonical_proof_intermediate_not_runtime_commerce_truth",
164
- "proof_bundle_is_the_portable_verifiable_output",
165
- "xnya_is_the_native_compact_evidence_family",
166
- "handoff_review_is_first_class_not_optional_afterthought",
167
- "bridge_and_governance_surfaces_extend_proof_followthrough_without_redefining_runtime_truth"
168
- ],
169
- linked_summaries: {
170
- proof_center_summary: proofCenter,
171
- native_standard_summary: nativeStandard,
172
- native_atom_summary: nativeAtom,
173
- native_payload_profile_summary: nativePayloadProfile,
174
- native_anchor_profile_summary: nativeAnchorProfile,
175
- verification_services_summary: verificationServices,
176
- trust_portability_summary: trustPortability,
177
- transaction_handoff_summary: transactionHandoff,
178
- interaction_handoff_summary: interactionHandoff,
179
- result_package_handoff_summary: resultPackageHandoff,
180
- bridge_summary: bridge,
181
- governance_summary: governance
182
- },
183
- linked_surfaces: {
184
- proof_center_ref: "/v1/proof-center",
185
- proof_center_summary_ref: "/v1/proof-center/summary",
186
- native_standard_summary_ref: "/v1/proof-center/native-standard/summary",
187
- verification_services_summary_ref: "/v1/proof-center/verification-services/summary",
188
- trust_portability_summary_ref: "/v1/proof-center/trust-portability/summary",
189
- transaction_handoff_summary_ref: "/v1/proof-center/transaction-handoff/summary",
190
- interaction_handoff_summary_ref: "/v1/proof-center/interaction-spine-handoff/summary",
191
- result_package_handoff_review_summary_ref: "/v1/proof-center/result-package-handoff/review/summary",
192
- bridge_summary_ref: "/v1/proof-center/bridge/summary",
193
- governance_summary_ref: "/v1/proof-center/governance/summary"
194
- },
195
- claim_boundary: "claim_the_proof_side_fact_model_verification_and_reviewable_followthrough_only_without_reclaiming_runtime_commerce_truth_or_unbounded_external_chain_identity_or_judgment_truth"
196
- };
197
- }
198
-
199
- function summarizeProofTruthModelPack() {
200
- const pack = buildProofTruthModelPack();
201
- return {
202
- ok: true,
203
- product: pack.product,
204
- category: pack.category,
205
- summary_version: "xoonya-proof-truth-model-summary-v1",
206
- pack_version: pack.pack_version,
207
- model_state: pack.model_state,
208
- canonical_object_count: pack.canonical_objects.length,
209
- layer_count: pack.layer_model.length,
210
- invariant_count: pack.proof_truth_invariants.length,
211
- linked_surfaces: pack.linked_surfaces
212
- };
213
- }
214
-
215
- function getProofTruthObjectDetail(objectId) {
216
- const normalized = String(objectId || "").trim().toLowerCase();
217
- return (buildProofTruthModelPack().canonical_objects || []).find((entry) => entry.object_id === normalized) || null;
218
- }
219
-
220
- module.exports = {
221
- buildProofTruthModelPack,
222
- summarizeProofTruthModelPack,
223
- getProofTruthObjectDetail
224
- };
@@ -1,54 +0,0 @@
1
- "use strict";
2
-
3
- function buildProvenanceLanePack() {
4
- return {
5
- product: "xoonya",
6
- category: "proof-provenance-lane-pack",
7
- pack_version: "xoonya-provenance-lane-pack-v1",
8
- lane_state: "first_party_provenance_lane_present",
9
- posture: "proof_release_and_bundle_supply_chain_trust_lane",
10
- standards: ["slsa"],
11
- focal_surfaces: ["release_candidate", "release_manifest", "proof_bridge", "result_package_trust"],
12
- supported_surfaces: {
13
- release_candidate_ref: "/v1/release-candidate",
14
- release_manifest_ref: "/v1/release-manifest",
15
- release_center_ref: "/v1/release-center",
16
- proof_bridge_ref: "/v1/proof-bridge",
17
- result_package_trust_ref: "/v1/result-package-trust"
18
- },
19
- first_run_flows: [
20
- {
21
- flow_ref: "proof_provenance_review",
22
- recommended_reason: "best path for teams that need trust in proof artifacts, release posture, and imported evidence before wider rollout",
23
- sequence: [
24
- "inspect_provenance_lane_summary",
25
- "inspect_release_candidate_and_manifest",
26
- "inspect proof_bridge and result_package_trust surfaces",
27
- "treat proof artifacts and release posture as provenance-carrying trust anchors"
28
- ]
29
- }
30
- ],
31
- guardrails: [
32
- "provenance should strengthen trust in proof artifacts without replacing proof verification itself",
33
- "supply-chain trust remains complementary to canonical proof semantics"
34
- ]
35
- };
36
- }
37
-
38
- function summarizeProvenanceLanePack() {
39
- const pack = buildProvenanceLanePack();
40
- return {
41
- product: "xoonya",
42
- category: "proof-provenance-lane-pack-summary",
43
- summary_version: "xoonya-provenance-lane-pack-summary-v1",
44
- lane_state: pack.lane_state,
45
- standard_count: pack.standards.length,
46
- focal_surface_count: pack.focal_surfaces.length,
47
- linked_surfaces: pack.supported_surfaces
48
- };
49
- }
50
-
51
- module.exports = {
52
- buildProvenanceLanePack,
53
- summarizeProvenanceLanePack
54
- };
@@ -1,67 +0,0 @@
1
- "use strict";
2
-
3
- const {
4
- buildPhase1OpenaiCodexProofPack,
5
- summarizePhase1OpenaiCodexProofPack
6
- } = require("./phase_1_openai_codex_proof_pack");
7
- const {
8
- buildPhase1ClaudeMcpProofPack,
9
- summarizePhase1ClaudeMcpProofPack
10
- } = require("./phase_1_claude_mcp_proof_pack");
11
-
12
- function buildProviderLanePack() {
13
- return {
14
- product: "xoonya",
15
- category: "proof-provider-lane-pack",
16
- pack_version: "xoonya-provider-lane-pack-v1",
17
- lane_state: "first_party_provider_family_present",
18
- posture: "provider_entry_and_proof_followthrough_family",
19
- featured_providers: {
20
- openai_codex: {
21
- pack: buildPhase1OpenaiCodexProofPack(),
22
- summary: summarizePhase1OpenaiCodexProofPack()
23
- },
24
- claude_mcp: {
25
- pack: buildPhase1ClaudeMcpProofPack(),
26
- summary: summarizePhase1ClaudeMcpProofPack()
27
- }
28
- },
29
- supported_surfaces: {
30
- phase_1_summary_ref: "/v1/phases/phase-1/summary",
31
- openai_codex_summary_ref: "/v1/phases/phase-1/openai-codex/proof/summary",
32
- claude_mcp_summary_ref: "/v1/phases/phase-1/claude-mcp/proof/summary",
33
- proof_bridge_ref: "/v1/proof-bridge",
34
- integrations_ref: "/v1/integrations"
35
- },
36
- first_run_flows: [
37
- {
38
- flow_ref: "provider_family_proof_selection",
39
- recommended_reason: "best first path for understanding how named provider-originated runs enter the canonical proof and review system",
40
- sequence: [
41
- "inspect_provider_lane_summary",
42
- "inspect_openai_codex_and_claude_mcp_proof_profiles",
43
- "choose_the_followthrough_shape",
44
- "continue_into_bridge_and_result_package_review"
45
- ]
46
- }
47
- ]
48
- };
49
- }
50
-
51
- function summarizeProviderLanePack() {
52
- const pack = buildProviderLanePack();
53
- return {
54
- product: "xoonya",
55
- category: "proof-provider-lane-pack-summary",
56
- summary_version: "xoonya-provider-lane-pack-summary-v1",
57
- lane_state: pack.lane_state,
58
- featured_provider_count: Object.keys(pack.featured_providers).length,
59
- first_run_flow_count: pack.first_run_flows.length,
60
- linked_surfaces: pack.supported_surfaces
61
- };
62
- }
63
-
64
- module.exports = {
65
- buildProviderLanePack,
66
- summarizeProviderLanePack
67
- };
@@ -1,111 +0,0 @@
1
- "use strict";
2
-
3
- const packageJson = require("../package.json");
4
-
5
- function buildPublicSurfacePolicyContractPack() {
6
- return {
7
- ok: true,
8
- product: packageJson.name,
9
- category: "naxytra-public-surface-policy-contract",
10
- pack_version: "naxytra-public-surface-policy-contract-v1",
11
- doctrine: "xoonya_respects_public_surface_classification_before_accepting_or_reviewing_any_surface",
12
- model_state: "core_now",
13
- core_claim: "every public surface must declare discovery paid proof_review or operator_only policy before it is treated as part of the public stack",
14
- surface_classes: [
15
- {
16
- surface_class: "discovery_only",
17
- description: "public informational and machine-discoverable surfaces",
18
- examples: [
19
- "/health",
20
- "/server.json",
21
- "/.well-known/mcp-server.json",
22
- "/.well-known/glama.json",
23
- "/v1/agent-discovery-index",
24
- "/v1/agent-discovery-index/summary"
25
- ]
26
- },
27
- {
28
- surface_class: "paid",
29
- description: "machine work or runtime invocation surfaces",
30
- examples: [
31
- "POST /v1/commands/execute",
32
- "POST /x402/commands/execute",
33
- "POST /v1/mcp/tools/invoke",
34
- "POST /x402/mcp/tools/invoke"
35
- ]
36
- },
37
- {
38
- surface_class: "proof_review",
39
- description: "proof and evidence review surfaces",
40
- examples: [
41
- "/v1/proof-truth",
42
- "/v1/proof-truth/summary",
43
- "/v1/followthrough-truth",
44
- "/v1/followthrough-truth/summary",
45
- "/v1/receipts",
46
- "/v1/receipts/:receipt_id"
47
- ]
48
- },
49
- {
50
- surface_class: "operator_only",
51
- description: "internal control or mutable operator surfaces",
52
- examples: [
53
- "/v1/business-cockpit",
54
- "/business-cockpit",
55
- "/v1/operator-shell",
56
- "/v1/agent-accounts"
57
- ]
58
- }
59
- ],
60
- enforcement_rules: [
61
- "discovery_only_surfaces_must_not_require_payment",
62
- "paid_surfaces_must_carry_payment_or_challenge_metadata_when_public",
63
- "proof_review_surfaces_must_not_mutate_runtime_or_treasury_truth",
64
- "operator_only_surfaces_must_not_be_listed_as_public_discovery",
65
- "every_new_surface_must_choose_a_class_before_release"
66
- ],
67
- route_fields: [
68
- "surface_path",
69
- "surface_class",
70
- "requires_payment",
71
- "requires_operator_auth",
72
- "proof_boundary",
73
- "claim_boundary"
74
- ],
75
- linked_surfaces: {
76
- discovery_index_ref: "/v1/agent-discovery-index",
77
- discovery_index_summary_ref: "/v1/agent-discovery-index/summary",
78
- proof_truth_ref: "/v1/proof-truth",
79
- followthrough_truth_ref: "/v1/followthrough-truth",
80
- operator_cockpit_ref: "/v1/business-cockpit"
81
- },
82
- claim_boundary: "claim_the_public_surface_policy_for_xoonya_only_without_claiming_runtime_payment_or_proof_truth_beyond_the_listed_surfaces"
83
- };
84
- }
85
-
86
- function summarizePublicSurfacePolicyContractPack() {
87
- const pack = buildPublicSurfacePolicyContractPack();
88
- return {
89
- ok: true,
90
- product: pack.product,
91
- category: pack.category,
92
- summary_version: "naxytra-public-surface-policy-contract-summary-v1",
93
- pack_version: pack.pack_version,
94
- model_state: pack.model_state,
95
- surface_class_count: pack.surface_classes.length,
96
- rule_count: pack.enforcement_rules.length,
97
- route_field_count: pack.route_fields.length,
98
- linked_surfaces: pack.linked_surfaces
99
- };
100
- }
101
-
102
- function getPublicSurfaceClassDetail(surfaceClass) {
103
- const normalized = String(surfaceClass || "").trim().toLowerCase();
104
- return (buildPublicSurfacePolicyContractPack().surface_classes || []).find((entry) => entry.surface_class === normalized) || null;
105
- }
106
-
107
- module.exports = {
108
- buildPublicSurfacePolicyContractPack,
109
- summarizePublicSurfacePolicyContractPack,
110
- getPublicSurfaceClassDetail
111
- };