xoonya 3.1.17 → 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 (240) hide show
  1. package/README.md +97 -74
  2. package/RELEASE_NOTES.md +7 -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,102 +0,0 @@
1
- "use strict";
2
-
3
- const packageJson = require("../package.json");
4
- const proofSdk = require("../proof_sdk");
5
-
6
- function classifyBridgeCoverageState(bridgeSummary) {
7
- if (bridgeSummary.capability_count >= 8 && bridgeSummary.profile_count >= 3) return "broad";
8
- if (bridgeSummary.capability_count >= 4 && bridgeSummary.profile_count >= 2) return "working";
9
- return "thin";
10
- }
11
-
12
- function classifyCompatibilityStrengthState(compatibilityPack) {
13
- const preservedRouteCount = Array.isArray(compatibilityPack.preserved_routes)
14
- ? compatibilityPack.preserved_routes.length
15
- : 0;
16
- const preservedHelperCount = Array.isArray(compatibilityPack.preserved_helpers)
17
- ? compatibilityPack.preserved_helpers.length
18
- : 0;
19
- if (preservedRouteCount >= 5 && preservedHelperCount >= 8) return "strong";
20
- if (preservedRouteCount >= 3 && preservedHelperCount >= 5) return "working";
21
- return "thin";
22
- }
23
-
24
- function classifyHandoffDependencyState(operatorReviewPack, handoffCenterSummary) {
25
- const includedSectionCount = Array.isArray(operatorReviewPack.included_sections)
26
- ? operatorReviewPack.included_sections.length
27
- : 0;
28
- if (includedSectionCount >= 6 && handoffCenterSummary.source_ref_count >= 3) return "strong";
29
- if (includedSectionCount >= 4 && handoffCenterSummary.source_ref_count >= 2) return "working";
30
- return "thin";
31
- }
32
-
33
- function buildBridgeIntelligencePack(input) {
34
- const payload = input && typeof input === "object" && !Array.isArray(input) ? input : {};
35
- const bridgeSummary = proofSdk.summarizeBridgeCenter();
36
- const compatibilityPack = proofSdk.buildBridgeCompatibilityPack(payload);
37
- const operatorReviewPack = proofSdk.buildBridgeOperatorReviewPack(payload);
38
- const handoffCenterSummary = proofSdk.summarizeInteractionResultPackageHandoffCenter();
39
-
40
- const bridgeCoverageState = classifyBridgeCoverageState(bridgeSummary);
41
- const compatibilityStrengthState = classifyCompatibilityStrengthState(compatibilityPack);
42
- const handoffDependencyState = classifyHandoffDependencyState(operatorReviewPack, handoffCenterSummary);
43
-
44
- let nextBestAction = "continue_bridge_review_motion";
45
- if (bridgeCoverageState === "thin") {
46
- nextBestAction = "strengthen_bridge_coverage";
47
- } else if (compatibilityStrengthState === "thin") {
48
- nextBestAction = "strengthen_compatibility_posture";
49
- } else if (handoffDependencyState !== "strong") {
50
- nextBestAction = "strengthen_bridge_handoff_continuity";
51
- } else if (compatibilityStrengthState === "working" || handoffDependencyState === "working") {
52
- nextBestAction = "inspect_bridge_operator_pack";
53
- }
54
-
55
- return {
56
- ok: true,
57
- product: packageJson.name,
58
- category: "proof-bridge-intelligence-pack",
59
- bridge_coverage_state: bridgeCoverageState,
60
- compatibility_strength_state: compatibilityStrengthState,
61
- handoff_dependency_state: handoffDependencyState,
62
- recommended_bridge_motion: "bridge_operator_review_and_handoff_followthrough",
63
- next_best_action: nextBestAction,
64
- explanation_signals: {
65
- bridge_capability_count: bridgeSummary.capability_count,
66
- bridge_profile_count: bridgeSummary.profile_count,
67
- compatibility_route_count: Array.isArray(compatibilityPack.preserved_routes) ? compatibilityPack.preserved_routes.length : 0,
68
- compatibility_helper_count: Array.isArray(compatibilityPack.preserved_helpers) ? compatibilityPack.preserved_helpers.length : 0,
69
- compatibility_profile_version_count: Array.isArray(compatibilityPack.profile_versions) ? compatibilityPack.profile_versions.length : 0,
70
- operator_pack_section_count: Array.isArray(operatorReviewPack.included_sections) ? operatorReviewPack.included_sections.length : 0,
71
- handoff_source_ref_count: handoffCenterSummary.source_ref_count,
72
- handoff_mode_count: handoffCenterSummary.handoff_mode_count
73
- },
74
- linked_surfaces: {
75
- bridge_summary_ref: "/v1/proof-center/bridge/summary",
76
- bridge_operator_review_pack_ref: "/v1/proof-center/bridge/operator-review-pack",
77
- bridge_compatibility_pack_ref: "/v1/proof-center/bridge/compatibility-pack",
78
- bridge_workflow_pack_ref: "/v1/proof-center/bridge/workflow-pack",
79
- result_package_handoff_summary_ref: "/v1/proof-center/result-package-handoff/summary",
80
- result_package_handoff_run_ref: "/v1/proof-center/result-package-handoff/run"
81
- }
82
- };
83
- }
84
-
85
- function summarizeBridgeIntelligencePack(input) {
86
- const pack = buildBridgeIntelligencePack(input);
87
- return {
88
- ok: true,
89
- product: pack.product,
90
- category: pack.category,
91
- bridge_coverage_state: pack.bridge_coverage_state,
92
- compatibility_strength_state: pack.compatibility_strength_state,
93
- handoff_dependency_state: pack.handoff_dependency_state,
94
- next_best_action: pack.next_best_action,
95
- signal_count: Object.keys(pack.explanation_signals).length
96
- };
97
- }
98
-
99
- module.exports = {
100
- buildBridgeIntelligencePack,
101
- summarizeBridgeIntelligencePack
102
- };
@@ -1,79 +0,0 @@
1
- "use strict";
2
-
3
- const pkg = require("../package.json");
4
-
5
- function buildCloudEventsContract() {
6
- return {
7
- product: "xoonya",
8
- category: "proof-cloudevents-contract",
9
- contract_version: "xoonya-cloudevents-contract-v1",
10
- specversion: "1.0",
11
- service_version: pkg.version,
12
- envelope: {
13
- required_attributes: ["specversion", "id", "source", "type", "time", "subject", "datacontenttype", "data"],
14
- datacontenttype_default: "application/json",
15
- source_prefix: "urn:naxytra:xoonya",
16
- id_shape: "evt_<opaque_id>",
17
- time_format: "RFC3339"
18
- },
19
- event_families: [
20
- {
21
- type: "io.naxytra.xoonya.event.canonicalized",
22
- source: "urn:naxytra:xoonya:events",
23
- subject: "event.canonicalized"
24
- },
25
- {
26
- type: "io.naxytra.xoonya.event.hashed",
27
- source: "urn:naxytra:xoonya:events",
28
- subject: "event.hashed"
29
- },
30
- {
31
- type: "io.naxytra.xoonya.receipt.emitted",
32
- source: "urn:naxytra:xoonya:receipts",
33
- subject: "receipt.emitted"
34
- },
35
- {
36
- type: "io.naxytra.xoonya.proof_bundle.built",
37
- source: "urn:naxytra:xoonya:proof_bundles",
38
- subject: "proof_bundle.built"
39
- },
40
- {
41
- type: "io.naxytra.xoonya.bridge.economic_handoff.accepted",
42
- source: "urn:naxytra:xoonya:bridge",
43
- subject: "bridge.economic_handoff"
44
- }
45
- ],
46
- stable_http_surfaces: [
47
- "/v1/events/canonicalize",
48
- "/v1/events/hash",
49
- "/v1/receipts/emit",
50
- "/v1/proof-bundles/build",
51
- "/v1/proof-center/bridge/economic-handoff"
52
- ],
53
- linked_surfaces: {
54
- openapi_ref: "/openapi.json",
55
- asyncapi_ref: "/asyncapi.json",
56
- service_contract_ref: "SERVICE_CONTRACT.md"
57
- }
58
- };
59
- }
60
-
61
- function summarizeCloudEventsContract() {
62
- const contract = buildCloudEventsContract();
63
- return {
64
- product: "xoonya",
65
- category: "proof-cloudevents-contract-summary",
66
- summary_version: "xoonya-cloudevents-contract-summary-v1",
67
- specversion: contract.specversion,
68
- contract_version: contract.contract_version,
69
- event_family_count: contract.event_families.length,
70
- stable_surface_count: contract.stable_http_surfaces.length,
71
- primary_event_lanes: ["canonicalization", "proof_bundle", "bridge"],
72
- linked_surfaces: contract.linked_surfaces
73
- };
74
- }
75
-
76
- module.exports = {
77
- buildCloudEventsContract,
78
- summarizeCloudEventsContract
79
- };
@@ -1,131 +0,0 @@
1
- "use strict";
2
-
3
- const packageJson = require("../package.json");
4
-
5
- function buildCryptoAgilityMatrixPack() {
6
- return {
7
- ok: true,
8
- product: packageJson.name,
9
- category: "naxytra-crypto-agility-matrix",
10
- pack_version: "naxytra-crypto-agility-matrix-v1",
11
- doctrine: "xoonya_verifies_crypto_agility_boundaries_without_claiming_unverified_future_algorithms_as_current_proof_truth",
12
- model_state: "core_now",
13
- core_claim: "the proof stack must be explicit about which algorithms are core today, supported today, future lane, blocked, or never core",
14
- lane_classes: [
15
- {
16
- lane_class: "core_today",
17
- description: "verified and claimable today",
18
- items: [
19
- "sha256_domain_separated_commitments",
20
- "ed25519",
21
- "secp256k1",
22
- "p256",
23
- "native_anchor_binding",
24
- "line_rate_transport_frame"
25
- ]
26
- },
27
- {
28
- lane_class: "supported_today",
29
- description: "supported as interop or external verification lanes today",
30
- items: [
31
- "jwt",
32
- "jws",
33
- "jwk",
34
- "did",
35
- "vc",
36
- "sd_jwt_vc",
37
- "webauthn_cose_when_verifier_present"
38
- ]
39
- },
40
- {
41
- lane_class: "runtime_supported_vector_covered",
42
- description: "post-quantum suites implemented in the proof SDK as classical+PQ hybrids with conformance vectors; claimable only for vector-covered suites. The Ed25519 + ML-DSA-65 hybrid is additionally exercised live via the paid x402 lane; SLH-DSA hybrids are implemented and vector-covered but not yet exercised through the paid lane. Machine-evidence verification only — not identity, custody, or chain truth.",
43
- items: [
44
- "ml_dsa",
45
- "slh_dsa"
46
- ]
47
- },
48
- {
49
- lane_class: "future_lane",
50
- description: "explicit future cryptographic direction, not claimable as the current core",
51
- items: [
52
- "xoonya_native_hybrid_v1",
53
- "xoonya_native_atom_v2"
54
- ]
55
- },
56
- {
57
- lane_class: "blocked_until_vectors",
58
- description: "not claimable until validators and vectors exist",
59
- items: [
60
- "webauthn_cose",
61
- "dilithium",
62
- "falcon",
63
- "sphincs_plus"
64
- ]
65
- },
66
- {
67
- lane_class: "never_core",
68
- description: "must never become implicit or silent core behavior",
69
- items: [
70
- "silent_algorithm_negotiation",
71
- "implicit_downgrade",
72
- "unversioned_signature_assumptions",
73
- "hidden_verifier_boundaries"
74
- ]
75
- }
76
- ],
77
- signature_suites: [
78
- { suite_id: "ed25519", state: "core_today" },
79
- { suite_id: "secp256k1", state: "core_today" },
80
- { suite_id: "p256", state: "core_today" },
81
- { suite_id: "webauthn-cose", state: "blocked_until_vectors" },
82
- { suite_id: "dilithium", state: "blocked_until_vectors" },
83
- { suite_id: "falcon", state: "blocked_until_vectors" },
84
- { suite_id: "sphincs-plus", state: "blocked_until_vectors" },
85
- { suite_id: "ml-dsa", state: "runtime_supported_vector_covered" },
86
- { suite_id: "slh-dsa", state: "runtime_supported_vector_covered" }
87
- ],
88
- proof_envelope_rules: [
89
- "signature_suite_must_be_explicit",
90
- "unsupported_suites_must_not_be_claimed_as_verified",
91
- "native_proof_methods_remain_optional",
92
- "envelopes_must_not_redefine_receipt_validity",
93
- "envelope_claims_must_stay_bounded_to_verified_behavior"
94
- ],
95
- linked_surfaces: {
96
- native_standard_ref: "/v1/proof-center/native-standard",
97
- native_standard_summary_ref: "/v1/proof-center/native-standard/summary",
98
- native_atom_spec_ref: "/v1/proof-center/native-atom-spec",
99
- native_payload_profile_ref: "/v1/proof-center/native-payload-profile",
100
- native_anchor_profile_ref: "/v1/proof-center/native-anchor-profile"
101
- },
102
- claim_boundary: "claim_the_crypto_agility_policy_for_xoonya_only_without_claiming_unverified_future_algorithms_as_current_core_truth"
103
- };
104
- }
105
-
106
- function summarizeCryptoAgilityMatrixPack() {
107
- const pack = buildCryptoAgilityMatrixPack();
108
- return {
109
- ok: true,
110
- product: pack.product,
111
- category: pack.category,
112
- summary_version: "naxytra-crypto-agility-matrix-summary-v1",
113
- pack_version: pack.pack_version,
114
- model_state: pack.model_state,
115
- lane_class_count: pack.lane_classes.length,
116
- signature_suite_count: pack.signature_suites.length,
117
- rule_count: pack.proof_envelope_rules.length,
118
- linked_surfaces: pack.linked_surfaces
119
- };
120
- }
121
-
122
- function getCryptoAgilitySuiteDetail(suiteId) {
123
- const normalized = String(suiteId || "").trim().toLowerCase();
124
- return (buildCryptoAgilityMatrixPack().signature_suites || []).find((entry) => entry.suite_id === normalized) || null;
125
- }
126
-
127
- module.exports = {
128
- buildCryptoAgilityMatrixPack,
129
- summarizeCryptoAgilityMatrixPack,
130
- getCryptoAgilitySuiteDetail
131
- };