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.
- package/README.md +97 -74
- package/RELEASE_NOTES.md +7 -1
- package/START_HERE.md +38 -134
- package/bin/xoonya-first-run.js +22 -10
- package/bin/xoonya.js +61 -29
- package/lib/native_verify.js +1918 -0
- package/package.json +19 -42
- package/scripts/verify_release_candidate.js +243 -116
- package/scripts/verify_vectors.js +351 -104
- package/verify.js +95 -0
- package/.env.example +0 -10
- package/CARRIED_HANDOFF_DEMO.md +0 -60
- package/COMPATIBILITY_NOTE.md +0 -27
- package/CROSS_RUNTIME_POSTURE.md +0 -77
- package/EXAMPLE_PATHS.md +0 -53
- package/FINAL_CONTRACT.md +0 -445
- package/PARTNER_READY_PATH.md +0 -67
- package/PUBLIC_DEMO_SCRIPT.md +0 -79
- package/SERVICE_CONTRACT.md +0 -207
- package/TERMINOLOGY.md +0 -55
- package/WHY_XYTARA_XOONYA.md +0 -43
- package/XNYA_CONFORMANCE_MARK.md +0 -78
- package/XNYA_REFERENCE_IMPLEMENTATIONS.md +0 -157
- package/XOONYA_DEFAULT_PATH_MODEL.md +0 -63
- package/XOONYA_FOLLOWTHROUGH_TRUTH_MODEL.md +0 -63
- package/XOONYA_NATIVE_ATOM_SPEC.md +0 -184
- package/XOONYA_NATIVE_PROOF_FORMAT.md +0 -570
- package/XOONYA_NATIVE_STANDARD_GOVERNANCE.md +0 -119
- package/XOONYA_PROOF_TRUTH_MODEL.md +0 -58
- package/bin/xoonya-release.js +0 -1367
- package/bin/xoonya-review.js +0 -70
- package/examples/integration_boundary_walkthrough.js +0 -37
- package/examples/package_quickstart.js +0 -1007
- package/examples/partner_proof_walkthrough.js +0 -68
- package/examples/proof_review_walkthrough.js +0 -66
- package/examples/review_carried_handoff.js +0 -72
- package/index.js +0 -31
- package/integrations/PROOF_INTEGRATION_PROCESS.md +0 -45
- package/integrations/examples/example-third-party-verifier-registration.record.json +0 -22
- package/integrations/registration-record.schema.json +0 -99
- package/integrations/registry-snapshot.schema.json +0 -36
- package/integrations/registry.js +0 -636
- package/integrations/views.js +0 -36
- package/lib/adapter_certification_contract.js +0 -90
- package/lib/announcement_pack.js +0 -61
- package/lib/artifact_distribution_lane_contract.js +0 -54
- package/lib/asyncapi_contract.js +0 -135
- package/lib/auth_interop_contract.js +0 -69
- package/lib/authority_binding_lifecycle_contract.js +0 -182
- package/lib/bridge_intelligence.js +0 -102
- package/lib/cloudevents_contract.js +0 -79
- package/lib/crypto_agility_matrix.js +0 -131
- package/lib/default_path_contract.js +0 -380
- package/lib/ecosystem_entry.js +0 -64
- package/lib/erc8004_proof_lane_contract.js +0 -64
- package/lib/event_system_lane_contract.js +0 -76
- package/lib/external_proof_import_lane_contract.js +0 -87
- package/lib/feature_control_lane_contract.js +0 -54
- package/lib/followthrough_truth_contract.js +0 -214
- package/lib/framework_lane_contract.js +0 -76
- package/lib/governance_disputes_summary.js +0 -36
- package/lib/governance_intelligence.js +0 -108
- package/lib/identity_interop_contract.js +0 -83
- package/lib/integration_matrix_contract.js +0 -81
- package/lib/launch_narrative.js +0 -53
- package/lib/machine_identity_registry_contract.js +0 -199
- package/lib/major_rails_proof_lane_contract.js +0 -87
- package/lib/offline_verifiability_recovery_contract.js +0 -155
- package/lib/openapi_contract.js +0 -227
- package/lib/operational_receipt_contract.js +0 -165
- package/lib/outreach_proof.js +0 -71
- package/lib/phase_10_closeout_pack.js +0 -45
- package/lib/phase_10_completion_pack.js +0 -76
- package/lib/phase_10_decision_record_pack.js +0 -54
- package/lib/phase_10_decision_resolution_pack.js +0 -53
- package/lib/phase_10_demand_signal_adapters_proof_pack.js +0 -74
- package/lib/phase_10_ecosystem_backlog_triage_proof_pack.js +0 -74
- package/lib/phase_10_freeze_baseline_pack.js +0 -67
- package/lib/phase_10_freeze_review_pack.js +0 -64
- package/lib/phase_10_gate_pack.js +0 -57
- package/lib/phase_10_long_tail_continuity_pack.js +0 -80
- package/lib/phase_10_long_tail_ecosystem_pack.js +0 -68
- package/lib/phase_10_niche_extension_registry_proof_pack.js +0 -74
- package/lib/phase_1_claude_mcp_pack.js +0 -60
- package/lib/phase_1_claude_mcp_proof_pack.js +0 -57
- package/lib/phase_1_ecosystem_pack.js +0 -51
- package/lib/phase_1_openai_codex_pack.js +0 -60
- package/lib/phase_1_openai_codex_proof_pack.js +0 -57
- package/lib/phase_2_base_proof_pack.js +0 -71
- package/lib/phase_2_base_usdc_proof_pack.js +0 -72
- package/lib/phase_2_closeout_pack.js +0 -65
- package/lib/phase_2_completion_pack.js +0 -113
- package/lib/phase_2_decision_record_pack.js +0 -66
- package/lib/phase_2_decision_resolution_pack.js +0 -69
- package/lib/phase_2_eth_proof_pack.js +0 -70
- package/lib/phase_2_evm_base_proof_pack.js +0 -73
- package/lib/phase_2_evm_proof_pack.js +0 -71
- package/lib/phase_2_flip_preview_pack.js +0 -60
- package/lib/phase_2_freeze_review_pack.js +0 -99
- package/lib/phase_2_gate_pack.js +0 -77
- package/lib/phase_2_payment_rails_pack.js +0 -71
- package/lib/phase_2_usdc_proof_pack.js +0 -71
- package/lib/phase_3_brc_proof_pack.js +0 -81
- package/lib/phase_3_bsv_teranode_proof_pack.js +0 -81
- package/lib/phase_3_closeout_pack.js +0 -62
- package/lib/phase_3_completion_pack.js +0 -92
- package/lib/phase_3_decision_record_pack.js +0 -64
- package/lib/phase_3_decision_resolution_pack.js +0 -69
- package/lib/phase_3_freeze_baseline_pack.js +0 -67
- package/lib/phase_3_freeze_review_pack.js +0 -80
- package/lib/phase_3_gate_pack.js +0 -76
- package/lib/phase_3_metanet_proof_pack.js +0 -81
- package/lib/phase_3_native_bsv_pack.js +0 -89
- package/lib/phase_3_native_continuity_pack.js +0 -82
- package/lib/phase_4_attestation_proof_pack.js +0 -75
- package/lib/phase_4_closeout_pack.js +0 -45
- package/lib/phase_4_completion_pack.js +0 -82
- package/lib/phase_4_decision_record_pack.js +0 -54
- package/lib/phase_4_decision_resolution_pack.js +0 -45
- package/lib/phase_4_erc8004_proof_pack.js +0 -76
- package/lib/phase_4_freeze_baseline_pack.js +0 -67
- package/lib/phase_4_freeze_review_pack.js +0 -68
- package/lib/phase_4_gate_pack.js +0 -58
- package/lib/phase_4_identity_registry_proof_pack.js +0 -75
- package/lib/phase_4_identity_trust_pack.js +0 -73
- package/lib/phase_4_trust_continuity_pack.js +0 -86
- package/lib/phase_5_antelope_proof_pack.js +0 -76
- package/lib/phase_5_closeout_pack.js +0 -44
- package/lib/phase_5_completion_pack.js +0 -82
- package/lib/phase_5_decision_record_pack.js +0 -54
- package/lib/phase_5_decision_resolution_pack.js +0 -45
- package/lib/phase_5_freeze_baseline_pack.js +0 -67
- package/lib/phase_5_freeze_review_pack.js +0 -68
- package/lib/phase_5_gate_pack.js +0 -58
- package/lib/phase_5_major_rails_continuity_pack.js +0 -86
- package/lib/phase_5_major_rails_pack.js +0 -74
- package/lib/phase_5_proton_xpr_proof_pack.js +0 -76
- package/lib/phase_5_solana_proof_pack.js +0 -76
- package/lib/phase_6_autogen_proof_pack.js +0 -74
- package/lib/phase_6_closeout_pack.js +0 -46
- package/lib/phase_6_completion_pack.js +0 -77
- package/lib/phase_6_decision_record_pack.js +0 -54
- package/lib/phase_6_decision_resolution_pack.js +0 -53
- package/lib/phase_6_framework_continuity_pack.js +0 -81
- package/lib/phase_6_framework_runtime_pack.js +0 -68
- package/lib/phase_6_freeze_baseline_pack.js +0 -68
- package/lib/phase_6_freeze_review_pack.js +0 -65
- package/lib/phase_6_gate_pack.js +0 -59
- package/lib/phase_6_langchain_proof_pack.js +0 -74
- package/lib/phase_6_langgraph_proof_pack.js +0 -74
- package/lib/phase_6_semantic_kernel_proof_pack.js +0 -74
- package/lib/phase_7_closeout_pack.js +0 -45
- package/lib/phase_7_completion_pack.js +0 -85
- package/lib/phase_7_decision_record_pack.js +0 -53
- package/lib/phase_7_decision_resolution_pack.js +0 -53
- package/lib/phase_7_event_system_continuity_pack.js +0 -89
- package/lib/phase_7_event_system_pack.js +0 -76
- package/lib/phase_7_freeze_baseline_pack.js +0 -74
- package/lib/phase_7_freeze_review_pack.js +0 -65
- package/lib/phase_7_gate_pack.js +0 -58
- package/lib/phase_7_kafka_proof_pack.js +0 -76
- package/lib/phase_7_mqtt_proof_pack.js +0 -76
- package/lib/phase_7_nats_proof_pack.js +0 -76
- package/lib/phase_7_webhook_event_bus_proof_pack.js +0 -76
- package/lib/phase_8_closeout_pack.js +0 -46
- package/lib/phase_8_completion_pack.js +0 -82
- package/lib/phase_8_decision_record_pack.js +0 -54
- package/lib/phase_8_decision_resolution_pack.js +0 -53
- package/lib/phase_8_external_receipt_import_proof_pack.js +0 -74
- package/lib/phase_8_external_result_import_proof_pack.js +0 -74
- package/lib/phase_8_freeze_baseline_pack.js +0 -71
- package/lib/phase_8_freeze_review_pack.js +0 -64
- package/lib/phase_8_gate_pack.js +0 -58
- package/lib/phase_8_proof_bridge_continuity_pack.js +0 -86
- package/lib/phase_8_proof_bridges_pack.js +0 -72
- package/lib/phase_8_proof_bundle_normalization_proof_pack.js +0 -74
- package/lib/phase_9_closeout_pack.js +0 -46
- package/lib/phase_9_completion_pack.js +0 -82
- package/lib/phase_9_custody_refs_proof_pack.js +0 -74
- package/lib/phase_9_decision_record_pack.js +0 -54
- package/lib/phase_9_decision_resolution_pack.js +0 -53
- package/lib/phase_9_freeze_baseline_pack.js +0 -71
- package/lib/phase_9_freeze_review_pack.js +0 -64
- package/lib/phase_9_gate_pack.js +0 -58
- package/lib/phase_9_operator_accounting_bridges_proof_pack.js +0 -74
- package/lib/phase_9_treasury_connectivity_pack.js +0 -72
- package/lib/phase_9_treasury_continuity_pack.js +0 -86
- package/lib/phase_9_treasury_destinations_proof_pack.js +0 -74
- package/lib/phase_program_pack.js +0 -47
- package/lib/proof_bridge_lane_contract.js +0 -82
- package/lib/proof_truth_contract.js +0 -224
- package/lib/provenance_lane_contract.js +0 -54
- package/lib/provider_lane_contract.js +0 -67
- package/lib/public_surface_policy_contract.js +0 -111
- package/lib/publish_plan.js +0 -51
- package/lib/release_candidate.js +0 -50
- package/lib/release_center.js +0 -1037
- package/lib/release_history.js +0 -206
- package/lib/release_manifest.js +0 -114
- package/lib/release_pack.js +0 -391
- package/lib/result_package_trust_lane_contract.js +0 -74
- package/lib/review_intelligence.js +0 -100
- package/lib/role_freeze.js +0 -436
- package/lib/shared_signals_lane_contract.js +0 -54
- package/lib/signed_audit_provenance_contract.js +0 -93
- package/lib/telemetry_lane_contract.js +0 -54
- package/lib/treasury_proof_lane_contract.js +0 -83
- package/lib/trust_intelligence.js +0 -106
- package/lib/trust_portability_boundary_contract.js +0 -66
- package/lib/trust_portability_pack.js +0 -224
- package/lib/verification_service_pack.js +0 -149
- package/proof_sdk.js +0 -6692
- package/reference/python/README.md +0 -35
- package/reference/python/requirements-optional.txt +0 -1
- package/reference/python/verify_vectors.py +0 -223
- package/reference/python/xnya_reference.py +0 -810
- package/reference/rust/Cargo.toml +0 -11
- package/reference/rust/README.md +0 -28
- package/reference/rust/src/lib.rs +0 -87
- package/scripts/registry_cli.js +0 -157
- package/scripts/verify_all.js +0 -603
- package/scripts/verify_control_plane_contracts.js +0 -34
- package/scripts/verify_control_plane_routes.js +0 -70
- package/scripts/verify_examples.js +0 -19
- package/scripts/verify_external_proof_import_gate.js +0 -84
- package/scripts/verify_external_proof_signature.js +0 -142
- package/scripts/verify_forgery_resistance.js +0 -281
- package/scripts/verify_integrations.js +0 -170
- package/scripts/verify_native_hybrid_design_gate.js +0 -114
- package/scripts/verify_paid_execute.js +0 -133
- package/scripts/verify_paywall_flag.js +0 -86
- package/scripts/verify_reference_promotion_gate.js +0 -74
- package/scripts/verify_reference_python.js +0 -49
- package/scripts/verify_reference_python_crypto.js +0 -87
- package/scripts/verify_reference_rust_scaffold.js +0 -50
- package/scripts/verify_service.js +0 -3038
- package/scripts/verify_tooling.js +0 -1251
- package/scripts/verify_trust_portability.js +0 -56
- package/scripts/verify_verification_services.js +0 -56
- package/server.js +0 -4430
package/PARTNER_READY_PATH.md
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
# xoonya Partner-Ready Path
|
|
2
|
-
|
|
3
|
-
Use this path when you want to evaluate `xoonya` as an external proof-side integration surface without relying on private milestone history.
|
|
4
|
-
|
|
5
|
-
## What this path is for
|
|
6
|
-
|
|
7
|
-
This is the shortest partner-facing route for teams that need to:
|
|
8
|
-
|
|
9
|
-
- review the proof-side boundary after runtime execution
|
|
10
|
-
- understand what belongs in `xoonya` versus `xytara`
|
|
11
|
-
- confirm how proof-adjacent integrations stay narrow and reviewable
|
|
12
|
-
- leave with one concrete demo path, one proof contract path, and one lightweight integration path
|
|
13
|
-
|
|
14
|
-
## Recommended reading order
|
|
15
|
-
|
|
16
|
-
1. Read `START_HERE.md`.
|
|
17
|
-
2. Read `CARRIED_HANDOFF_DEMO.md`.
|
|
18
|
-
3. Read `CROSS_RUNTIME_POSTURE.md`.
|
|
19
|
-
4. Read `integrations/PROOF_INTEGRATION_PROCESS.md`.
|
|
20
|
-
5. Read `COMPATIBILITY_NOTE.md` if you need the narrower legacy bridge posture.
|
|
21
|
-
|
|
22
|
-
## Recommended first commands
|
|
23
|
-
|
|
24
|
-
Run these from a cloned `xoonya` repository:
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
node examples/package_quickstart.js
|
|
28
|
-
npm run verify:examples
|
|
29
|
-
npm run verify:release-candidate
|
|
30
|
-
node scripts/registry_cli.js validate-registration --example verifier
|
|
31
|
-
node scripts/registry_cli.js promotion-readiness --integration partner.verifier.lattice_notary
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Recommended first surfaces
|
|
35
|
-
|
|
36
|
-
- `/v1/release-center/summary`
|
|
37
|
-
- `/v1/proof-center/summary`
|
|
38
|
-
- `/v1/proof-center/result-package-handoff/summary`
|
|
39
|
-
- `/v1/integrations/summary`
|
|
40
|
-
- `/v1/integrations/promotion-readiness`
|
|
41
|
-
|
|
42
|
-
## First success standard
|
|
43
|
-
|
|
44
|
-
First success is not "expand proof scope until it acts like the runtime."
|
|
45
|
-
|
|
46
|
-
First success is:
|
|
47
|
-
|
|
48
|
-
1. receive one reviewable handoff from `xytara`
|
|
49
|
-
2. inspect proof-side review posture
|
|
50
|
-
3. emit one proof-native completion path
|
|
51
|
-
4. validate one lightweight proof-adjacent integration boundary
|
|
52
|
-
5. keep commerce, pricing, workflow, and settlement semantics outside the proof kernel
|
|
53
|
-
|
|
54
|
-
## Boundary rule
|
|
55
|
-
|
|
56
|
-
If an integration needs pricing, funding, workflow orchestration, or settlement logic to make sense, it belongs in `xytara`.
|
|
57
|
-
|
|
58
|
-
If it can remain a narrow proof helper, registry reference, or verifier-facing addition, it can belong in `xoonya`.
|
|
59
|
-
|
|
60
|
-
## Hand-off rule
|
|
61
|
-
|
|
62
|
-
If an outside team leaves this path with only four references, they should be these:
|
|
63
|
-
|
|
64
|
-
- `START_HERE.md`
|
|
65
|
-
- `CARRIED_HANDOFF_DEMO.md`
|
|
66
|
-
- `CROSS_RUNTIME_POSTURE.md`
|
|
67
|
-
- `integrations/PROOF_INTEGRATION_PROCESS.md`
|
package/PUBLIC_DEMO_SCRIPT.md
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
# xoonya Public Demo Script
|
|
2
|
-
|
|
3
|
-
Use this script when you need a short external-facing walkthrough of `xoonya` that does not depend on milestone history.
|
|
4
|
-
|
|
5
|
-
## Goal
|
|
6
|
-
|
|
7
|
-
Show the proof side of the public stack in one compact flow:
|
|
8
|
-
|
|
9
|
-
1. package is live
|
|
10
|
-
2. proof center is understandable
|
|
11
|
-
3. runtime handoff review is concrete
|
|
12
|
-
4. proof-side integration posture is narrow and explicit
|
|
13
|
-
|
|
14
|
-
## Recommended order
|
|
15
|
-
|
|
16
|
-
### 1. Release posture
|
|
17
|
-
|
|
18
|
-
Run:
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
xoonya-release --center --summary
|
|
22
|
-
xoonya-release --candidate --summary
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Or inspect:
|
|
26
|
-
|
|
27
|
-
- `/v1/release-center/summary`
|
|
28
|
-
- `/v1/release-candidate/summary`
|
|
29
|
-
|
|
30
|
-
### 2. Proof center posture
|
|
31
|
-
|
|
32
|
-
Inspect:
|
|
33
|
-
|
|
34
|
-
- `/v1/proof-center/summary`
|
|
35
|
-
- `/v1/proof-center/result-package-handoff/review/summary`
|
|
36
|
-
|
|
37
|
-
Key sentence to say out loud:
|
|
38
|
-
|
|
39
|
-
`xoonya` is the proof-native completion layer, not a second runtime.
|
|
40
|
-
|
|
41
|
-
### 3. Public proof walkthrough
|
|
42
|
-
|
|
43
|
-
Run:
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
node examples/partner_proof_walkthrough.js
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
Then, if you want the broader package tour:
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
node examples/package_quickstart.js
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
### 4. Partner adoption path
|
|
56
|
-
|
|
57
|
-
Open:
|
|
58
|
-
|
|
59
|
-
- `PARTNER_READY_PATH.md`
|
|
60
|
-
- `integrations/PROOF_INTEGRATION_PROCESS.md`
|
|
61
|
-
|
|
62
|
-
Key sentence to say out loud:
|
|
63
|
-
|
|
64
|
-
Proof-adjacent integrations stay narrow and reviewable instead of absorbing commerce logic.
|
|
65
|
-
|
|
66
|
-
### 5. Stack positioning
|
|
67
|
-
|
|
68
|
-
Open:
|
|
69
|
-
|
|
70
|
-
- `CARRIED_HANDOFF_DEMO.md`
|
|
71
|
-
- `WHY_XYTARA_XOONYA.md`
|
|
72
|
-
|
|
73
|
-
Key sentence to say out loud:
|
|
74
|
-
|
|
75
|
-
`xoonya` receives carry from `xytara`, reviews it, and emits deterministic proof-native completion.
|
|
76
|
-
|
|
77
|
-
## Good ending line
|
|
78
|
-
|
|
79
|
-
`xoonya` is the public proof system: receive carry, review posture, emit proof, verify the final bundle.
|
package/SERVICE_CONTRACT.md
DELETED
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
# xoonya Service Contract
|
|
2
|
-
|
|
3
|
-
This file freezes the public service contract for `xoonya`.
|
|
4
|
-
|
|
5
|
-
## Public Routes
|
|
6
|
-
|
|
7
|
-
Primary proof-model routes:
|
|
8
|
-
|
|
9
|
-
- `GET /health`
|
|
10
|
-
- `GET /openapi.json`
|
|
11
|
-
- `GET /v1/openapi`
|
|
12
|
-
- `GET /v1/openapi/summary`
|
|
13
|
-
- `GET /asyncapi.json`
|
|
14
|
-
- `GET /v1/asyncapi`
|
|
15
|
-
- `GET /v1/asyncapi/summary`
|
|
16
|
-
- `GET /cloudevents.json`
|
|
17
|
-
- `GET /v1/cloudevents`
|
|
18
|
-
- `GET /v1/cloudevents/summary`
|
|
19
|
-
- `GET /v1/auth-profiles`
|
|
20
|
-
- `GET /v1/auth-profiles/summary`
|
|
21
|
-
- `GET /v1/identity-interop`
|
|
22
|
-
- `GET /v1/identity-interop/summary`
|
|
23
|
-
- `GET /v1/providers`
|
|
24
|
-
- `GET /v1/providers/summary`
|
|
25
|
-
- `GET /v1/frameworks`
|
|
26
|
-
- `GET /v1/frameworks/summary`
|
|
27
|
-
- `GET /v1/integration-matrix`
|
|
28
|
-
- `GET /v1/integration-matrix/summary`
|
|
29
|
-
- `GET /v1/major-rails`
|
|
30
|
-
- `GET /v1/major-rails/summary`
|
|
31
|
-
- `GET /v1/treasury`
|
|
32
|
-
- `GET /v1/treasury/summary`
|
|
33
|
-
- `GET /v1/erc8004`
|
|
34
|
-
- `GET /v1/erc8004/summary`
|
|
35
|
-
- `GET /v1/proof-bridge`
|
|
36
|
-
- `GET /v1/proof-bridge/summary`
|
|
37
|
-
- `GET /v1/external-proof-import`
|
|
38
|
-
- `GET /v1/external-proof-import/summary`
|
|
39
|
-
- `GET /v1/result-package-trust`
|
|
40
|
-
- `GET /v1/result-package-trust/summary`
|
|
41
|
-
- `GET /v1/event-systems`
|
|
42
|
-
- `GET /v1/event-systems/summary`
|
|
43
|
-
- `GET /v1/telemetry`
|
|
44
|
-
- `GET /v1/telemetry/summary`
|
|
45
|
-
- `GET /v1/provenance`
|
|
46
|
-
- `GET /v1/provenance/summary`
|
|
47
|
-
- `GET /v1/artifact-distribution`
|
|
48
|
-
- `GET /v1/artifact-distribution/summary`
|
|
49
|
-
- `GET /v1/shared-signals`
|
|
50
|
-
- `GET /v1/shared-signals/summary`
|
|
51
|
-
- `GET /v1/feature-control`
|
|
52
|
-
- `GET /v1/feature-control/summary`
|
|
53
|
-
- `GET /v1/adapter-certification`
|
|
54
|
-
- `GET /v1/adapter-certification/summary`
|
|
55
|
-
- `GET /v1/adapter-certification/:front_id`
|
|
56
|
-
- `GET /v1/trust-portability-boundary`
|
|
57
|
-
- `GET /v1/trust-portability-boundary/summary`
|
|
58
|
-
- `GET /v1/trust-portability-boundary/:axis_id`
|
|
59
|
-
- `GET /v1/signed-audit-provenance`
|
|
60
|
-
- `GET /v1/signed-audit-provenance/summary`
|
|
61
|
-
- `GET /v1/signed-audit-provenance/:surface_id`
|
|
62
|
-
- `GET /v1/integrations`
|
|
63
|
-
- `GET /v1/integrations/summary`
|
|
64
|
-
- `GET /v1/integrations/snapshot`
|
|
65
|
-
- `GET /v1/integrations/promotion-readiness`
|
|
66
|
-
- `GET /v1/integrations/promotion-workflow`
|
|
67
|
-
- `GET /v1/proof-center`
|
|
68
|
-
- `GET /v1/proof-center/summary`
|
|
69
|
-
- `GET /v1/proof-center/native-standard`
|
|
70
|
-
- `GET /v1/proof-center/native-standard/summary`
|
|
71
|
-
- `GET /v1/proof-center/native-hybrid-readiness`
|
|
72
|
-
- `GET /v1/proof-center/native-hybrid-readiness/summary`
|
|
73
|
-
- `GET /v1/proof-center/native-standardization`
|
|
74
|
-
- `GET /v1/proof-center/native-standardization/summary`
|
|
75
|
-
- `GET /v1/proof-center/native-conformance-mark`
|
|
76
|
-
- `GET /v1/proof-center/native-conformance-mark/summary`
|
|
77
|
-
- `GET /v1/proof-center/native-reference-implementations`
|
|
78
|
-
- `GET /v1/proof-center/native-reference-implementations/summary`
|
|
79
|
-
- `GET /v1/proof-center/native-atom-spec`
|
|
80
|
-
- `GET /v1/proof-center/native-atom-spec/summary`
|
|
81
|
-
- `GET /v1/proof-center/native-atom-conformance`
|
|
82
|
-
- `GET /v1/proof-center/native-atom-conformance/summary`
|
|
83
|
-
- `GET /v1/proof-center/native-anchor-profile`
|
|
84
|
-
- `GET /v1/proof-center/native-anchor-profile/summary`
|
|
85
|
-
- `GET /v1/proof-center/native-payload-profile`
|
|
86
|
-
- `GET /v1/proof-center/native-payload-profile/summary`
|
|
87
|
-
- `GET /v1/proof-center/native-line-rate-frame`
|
|
88
|
-
- `GET /v1/proof-center/native-line-rate-frame/summary`
|
|
89
|
-
- `GET /v1/proof-center/import-adapter`
|
|
90
|
-
- `GET /v1/proof-center/import-adapter/summary`
|
|
91
|
-
- `POST /v1/proof-center/import-adapter/review`
|
|
92
|
-
- `POST /v1/proof-center/import-adapter/review/summary`
|
|
93
|
-
- `POST /v1/proof-center/import-adapter/run`
|
|
94
|
-
- `GET /v1/proof-center/governance`
|
|
95
|
-
- `GET /v1/proof-center/governance/summary`
|
|
96
|
-
- `GET /v1/proof-center/bridge`
|
|
97
|
-
- `GET /v1/proof-center/bridge/summary`
|
|
98
|
-
- `GET /v1/proof-center/bridge/profile-support`
|
|
99
|
-
- `POST /v1/proof-center/governance/interpretation-validate`
|
|
100
|
-
- `POST /v1/proof-center/governance/coordination`
|
|
101
|
-
- `POST /v1/proof-center/governance/dashboard`
|
|
102
|
-
- `POST /v1/proof-center/governance/operator-view`
|
|
103
|
-
- `POST /v1/proof-center/governance/admin-view`
|
|
104
|
-
- `POST /v1/proof-center/governance/dashboard-pack`
|
|
105
|
-
- `POST /v1/proof-center/governance/workflow-pack`
|
|
106
|
-
- `POST /v1/proof-center/governance/signoff-pack`
|
|
107
|
-
- `POST /v1/proof-center/governance/disputes/summary`
|
|
108
|
-
- `POST /v1/proof-center/governance/disputes/case-review`
|
|
109
|
-
- `POST /v1/proof-center/governance/disputes/action`
|
|
110
|
-
- `POST /v1/proof-center/governance/disputes/case-bundle`
|
|
111
|
-
- `POST /v1/proof-center/governance/disputes/resolution-pack`
|
|
112
|
-
- `POST /v1/proof-center/governance/console-pack`
|
|
113
|
-
- `POST /v1/proof-center/governance/handoff-bundle`
|
|
114
|
-
- `POST /v1/proof-center/governance/review-link`
|
|
115
|
-
- `POST /v1/proof-center/bridge/receipt-wrap`
|
|
116
|
-
- `POST /v1/proof-center/bridge/validator-verify`
|
|
117
|
-
- `POST /v1/proof-center/bridge/receipt-ledger-handoff`
|
|
118
|
-
- `POST /v1/proof-center/bridge/economic-handoff`
|
|
119
|
-
- `POST /v1/proof-center/bridge/economic-conformance-pack`
|
|
120
|
-
- `POST /v1/proof-center/bridge/operator-review-pack`
|
|
121
|
-
- `POST /v1/proof-center/bridge/compatibility-pack`
|
|
122
|
-
- `POST /v1/proof-center/bridge/workflow-pack`
|
|
123
|
-
- `POST /v1/proof-center/bridge/admin-pack`
|
|
124
|
-
- `POST /v1/events/canonicalize`
|
|
125
|
-
- `POST /v1/events/hash`
|
|
126
|
-
- `POST /v1/receipts/emit`
|
|
127
|
-
- `POST /v1/proof-bundles/build`
|
|
128
|
-
- `POST /v1/proof-bundles/verify`
|
|
129
|
-
|
|
130
|
-
Compatibility routes:
|
|
131
|
-
|
|
132
|
-
- `POST /validate`
|
|
133
|
-
- `POST /v1/receipts/verify`
|
|
134
|
-
- `POST /v1/receipts/inspect`
|
|
135
|
-
- `POST /v1/proofs/verify`
|
|
136
|
-
- `POST /v1/profiles/economic/verify`
|
|
137
|
-
- `POST /v1/profiles/registry/verify`
|
|
138
|
-
|
|
139
|
-
## Error-Shape Expectations
|
|
140
|
-
|
|
141
|
-
Primary error posture:
|
|
142
|
-
|
|
143
|
-
- invalid request payloads return `400`
|
|
144
|
-
- unknown routes return `404`
|
|
145
|
-
- unexpected server failures return `500`
|
|
146
|
-
|
|
147
|
-
Expected error shapes:
|
|
148
|
-
|
|
149
|
-
- validation-style failures:
|
|
150
|
-
- `{ "valid": false, "reason": "<message>" }`
|
|
151
|
-
- not found:
|
|
152
|
-
- `{ "status": "not_found", "path": "<path>" }`
|
|
153
|
-
- server failure:
|
|
154
|
-
- `{ "status": "error", "reason": "<message>" }`
|
|
155
|
-
|
|
156
|
-
Compatibility routes may return proof/profile-specific verification payloads, but the top-level shape should still remain predictable.
|
|
157
|
-
|
|
158
|
-
Interop note:
|
|
159
|
-
|
|
160
|
-
- `GET /v1/identity-interop` exposes how native proof, attestation, and bridge surfaces map to `JWT`, `DID/VC`, and `SD-JWT VC` interop lanes without replacing canonical proof truth inside `xoonya`
|
|
161
|
-
- `GET /v1/major-rails` exposes the Solana and Antelope/Proton XPR/Metal proof family as one practical settlement-evidence lane
|
|
162
|
-
- `GET /v1/treasury` exposes treasury destination/accounting evidence continuity while keeping DAI/USDC and Monero reserve doctrine clearly internal
|
|
163
|
-
- `GET /v1/external-proof-import` exposes the result, receipt, and proof-bundle import family as one builder-trust lane
|
|
164
|
-
- `GET /v1/result-package-trust` exposes the carried result-package trust continuity posture as a first-class proof-side lane
|
|
165
|
-
- `GET /v1/providers` exposes the OpenAI Codex and Claude/MCP family as first-class provider-origin proof lanes
|
|
166
|
-
- `GET /v1/frameworks` exposes LangGraph, LangChain, AutoGen, and Semantic Kernel as first-class framework followthrough lanes
|
|
167
|
-
- `GET /v1/integration-matrix` exposes the canonical public view across providers, frameworks, proof lanes, and registry-backed proof integrations
|
|
168
|
-
- `GET /v1/telemetry` exposes the OpenTelemetry-aligned proof observability posture across review, verification, bridge, and proof event signals
|
|
169
|
-
- `GET /v1/provenance` exposes the SLSA-aligned provenance posture for proof artifacts, release trust, and bundle followthrough confidence
|
|
170
|
-
- `GET /v1/artifact-distribution` exposes OCI-style artifact distribution posture for proof bundles, handoff bundles, snapshots, and release artifacts
|
|
171
|
-
- `GET /v1/shared-signals` exposes OpenID Shared Signals and CAEP-aligned review, bridge, import, and trust event exchange posture
|
|
172
|
-
- `GET /v1/feature-control` exposes OpenFeature/OFREP-aligned rollout and review portability posture around role freeze, bridge, trust, and release gates
|
|
173
|
-
- `GET /v1/adapter-certification` exposes the front-specific adapter certification contract and its machine-readable compatibility states
|
|
174
|
-
- `GET /v1/trust-portability-boundary` exposes the bounded trust portability contract for identity, delegation, delivery, and settlement-linked followthrough
|
|
175
|
-
- `GET /v1/signed-audit-provenance` exposes the signed audit and provenance surface map for selected evidence-bearing proof and release lanes
|
|
176
|
-
|
|
177
|
-
## Final-Loop Verification
|
|
178
|
-
|
|
179
|
-
The constitutional proof loop for `xoonya` is:
|
|
180
|
-
|
|
181
|
-
1. canonicalize event
|
|
182
|
-
2. hash event
|
|
183
|
-
3. emit receipt
|
|
184
|
-
4. build proof bundle
|
|
185
|
-
5. verify proof bundle
|
|
186
|
-
|
|
187
|
-
Bridge-side economic carry should use:
|
|
188
|
-
|
|
189
|
-
1. pass deterministic runtime economics through `POST /v1/proof-center/bridge/economic-handoff`
|
|
190
|
-
2. prefer the canonical `handoff_bundle` wrapper emitted by `xytara`
|
|
191
|
-
3. review the preserved usage-meter and credit-spend consequence through `POST /v1/proof-center/bridge/economic-conformance-pack`
|
|
192
|
-
4. keep proof itself minimal while preserving the economic handoff as a bounded bridge/export surface
|
|
193
|
-
|
|
194
|
-
Normal result-package handoff should also accept carried economics when present:
|
|
195
|
-
|
|
196
|
-
1. send the normal result-package `handoff_bundle`
|
|
197
|
-
2. include `handoff_bundle.economic_consequence_handoff_bundle` when the transaction-side path was credit-backed and metered
|
|
198
|
-
3. expect `POST /v1/proof-center/result-package-handoff/run` and review-summary surfaces to expose compact economic-conformance review data automatically
|
|
199
|
-
4. omit that bundle entirely on direct-pay or non-metered paths without changing proof intake behavior
|
|
200
|
-
|
|
201
|
-
This loop is exercised through:
|
|
202
|
-
|
|
203
|
-
- package verification
|
|
204
|
-
- example verification
|
|
205
|
-
- service verification
|
|
206
|
-
- conformance/adversarial vector verification
|
|
207
|
-
- public `xoonya conformance` and `xoonya conformance --json` commands
|
package/TERMINOLOGY.md
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# xoonya Terminology
|
|
2
|
-
|
|
3
|
-
This file freezes the public terminology used by `xoonya`.
|
|
4
|
-
|
|
5
|
-
The goal is simple:
|
|
6
|
-
|
|
7
|
-
- one public name for the repo
|
|
8
|
-
- one stable set of proof terms
|
|
9
|
-
- no private-lineage naming leakage
|
|
10
|
-
|
|
11
|
-
## Public Name
|
|
12
|
-
|
|
13
|
-
- repo name: `xoonya`
|
|
14
|
-
- package name: `xoonya`
|
|
15
|
-
- service name: `xoonya`
|
|
16
|
-
|
|
17
|
-
Use `xoonya` only for this repo and its public proof product identity.
|
|
18
|
-
|
|
19
|
-
## Preferred Proof Terms
|
|
20
|
-
|
|
21
|
-
Use these terms consistently:
|
|
22
|
-
|
|
23
|
-
- `Canonical Event Bundle`
|
|
24
|
-
- `Receipt`
|
|
25
|
-
- `Proof Bundle`
|
|
26
|
-
- `Profiles`
|
|
27
|
-
- `deterministic canonicalization`
|
|
28
|
-
- `deterministic hashing`
|
|
29
|
-
- `conformance vectors`
|
|
30
|
-
- `adversarial vectors`
|
|
31
|
-
|
|
32
|
-
## Terms To Avoid In Public Copy
|
|
33
|
-
|
|
34
|
-
Avoid older private-lineage naming in release-facing docs unless explicitly discussing lineage.
|
|
35
|
-
|
|
36
|
-
Avoid:
|
|
37
|
-
|
|
38
|
-
- internal project names as product labels
|
|
39
|
-
- multiple public names for the same proof object
|
|
40
|
-
- receipt-first wording that hides the canonical event model
|
|
41
|
-
|
|
42
|
-
## Cross-Repo Reference Rule
|
|
43
|
-
|
|
44
|
-
If this repo needs to mention the other repo, use generic wording:
|
|
45
|
-
|
|
46
|
-
- `the commerce repo`
|
|
47
|
-
- `the commerce layer`
|
|
48
|
-
|
|
49
|
-
Do not brand the other repo inside this repo's core public copy.
|
|
50
|
-
|
|
51
|
-
## Naming Rule
|
|
52
|
-
|
|
53
|
-
This repo should read like a self-contained public proof product.
|
|
54
|
-
|
|
55
|
-
If wording does not strengthen that outcome, keep it generic.
|
package/WHY_XYTARA_XOONYA.md
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# Why xytara And xoonya
|
|
2
|
-
|
|
3
|
-
The public stack is intentionally split because machine runtime and canonical proof should not collapse into one confused boundary.
|
|
4
|
-
|
|
5
|
-
## xytara
|
|
6
|
-
|
|
7
|
-
`xytara` handles the runtime side:
|
|
8
|
-
|
|
9
|
-
- discover
|
|
10
|
-
- quote
|
|
11
|
-
- fund or spend
|
|
12
|
-
- execute
|
|
13
|
-
- inspect
|
|
14
|
-
- export carry
|
|
15
|
-
|
|
16
|
-
## xoonya
|
|
17
|
-
|
|
18
|
-
`xoonya` handles the proof side:
|
|
19
|
-
|
|
20
|
-
- receive carry
|
|
21
|
-
- review preserved context
|
|
22
|
-
- emit canonical proof artifacts
|
|
23
|
-
- verify the final proof bundle
|
|
24
|
-
|
|
25
|
-
## Why this matters
|
|
26
|
-
|
|
27
|
-
If proof owns payment and settlement logic, it stops being a clean proof kernel.
|
|
28
|
-
|
|
29
|
-
If runtime owns canonical proof semantics, it becomes harder to keep the proof boundary stable and reusable.
|
|
30
|
-
|
|
31
|
-
The split preserves both:
|
|
32
|
-
|
|
33
|
-
- runtime remains operational and economics-aware
|
|
34
|
-
- proof remains deterministic and narrow
|
|
35
|
-
|
|
36
|
-
## Public stack outcome
|
|
37
|
-
|
|
38
|
-
Builders should think about the stack like this:
|
|
39
|
-
|
|
40
|
-
1. `xytara` gets the work done
|
|
41
|
-
2. `xoonya` makes the resulting evidence durable and reviewable
|
|
42
|
-
|
|
43
|
-
That separation is the reason the stack can stay broad on the runtime side and disciplined on the proof side at the same time.
|
package/XNYA_CONFORMANCE_MARK.md
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
# XNYA Conformance Mark
|
|
2
|
-
|
|
3
|
-
`XNYA-compatible` is the compatibility mark for implementations that preserve the xoonya Native atom, payload, proof-envelope, and vector behavior exactly enough for deterministic machine evidence to remain portable.
|
|
4
|
-
|
|
5
|
-
The mark is not an identity, auth, custody, transport-security, settlement, chain-finality, or external-provider truth claim.
|
|
6
|
-
|
|
7
|
-
## Required Meaning
|
|
8
|
-
|
|
9
|
-
An implementation may claim `XNYA-compatible` only when it can show:
|
|
10
|
-
|
|
11
|
-
- the native atom magic is exactly `XNYA`
|
|
12
|
-
- atom versions and fixed sizes match the published spec
|
|
13
|
-
- payload and identity hash derivation match the published vectors
|
|
14
|
-
- required native methods either verify or are explicitly declared unsupported
|
|
15
|
-
- adversarial vectors fail with stable error codes
|
|
16
|
-
- `algorithm: "none"` is rejected for production proof
|
|
17
|
-
- anchor binding does not claim independent external chain or provider truth
|
|
18
|
-
|
|
19
|
-
## Required Artifacts
|
|
20
|
-
|
|
21
|
-
The following artifacts define the current conformance floor:
|
|
22
|
-
|
|
23
|
-
- `XOONYA_NATIVE_PROOF_FORMAT.md`
|
|
24
|
-
- `XOONYA_NATIVE_ATOM_SPEC.md`
|
|
25
|
-
- `XOONYA_NATIVE_STANDARD_GOVERNANCE.md`
|
|
26
|
-
- `XNYA_CONFORMANCE_MARK.md`
|
|
27
|
-
- `vectors/conformance-vectors.json`
|
|
28
|
-
- `vectors/adversarial-vectors.json`
|
|
29
|
-
- `vectors/native-atom-vectors.json`
|
|
30
|
-
- `vectors/native-payload-profile-vectors.json`
|
|
31
|
-
|
|
32
|
-
## Required Checks
|
|
33
|
-
|
|
34
|
-
At minimum, a compatible implementation must pass equivalent checks to:
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
xoonya first-run --verify-native --pretty
|
|
38
|
-
xoonya conformance --json
|
|
39
|
-
npm run verify:release-candidate
|
|
40
|
-
npm run verify:service
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
Non-JavaScript implementations should publish deterministic pass/fail output against the same vector IDs, byte layouts, and error-code expectations.
|
|
44
|
-
|
|
45
|
-
## Allowed Claim Classes
|
|
46
|
-
|
|
47
|
-
`xnya_atom_compatible` means the implementation preserves `XNYA` atom bytes, lengths, versions, record types, hash derivation, and reject codes.
|
|
48
|
-
|
|
49
|
-
`xnya_payload_profile_compatible` means the implementation preserves the `XNYP` binary payload profile: typed fields, canonical ordering, fixed-width integers, explicit unknown-field policy, and no loose JSON or float semantics.
|
|
50
|
-
|
|
51
|
-
`xnya_native_proof_compatible` means registered native methods verify through the declared suite registry, reject `algorithm: "none"`, and keep signatures, anchors, and external references outside the atom core.
|
|
52
|
-
|
|
53
|
-
`xnya_external_interop_compatible` means external proof envelopes are bound to canonical xoonya receipts without claiming issuer, DID, JWT, SD-JWT, chain, or partner-provider truth unless an external verifier is declared and bound.
|
|
54
|
-
|
|
55
|
-
## Forbidden Claims
|
|
56
|
-
|
|
57
|
-
Do not claim the mark if:
|
|
58
|
-
|
|
59
|
-
- `XNYA` magic, fixed sizes, version semantics, or atom layout are changed
|
|
60
|
-
- `algorithm: "none"` verifies as production proof
|
|
61
|
-
- happy-path vectors pass but adversarial vectors are skipped
|
|
62
|
-
- PQ/hybrid support is claimed without validators, vectors, downgrade tests, and deterministic error codes
|
|
63
|
-
- external issuer, chain, finality, custody, or provider truth is claimed as xoonya-verified without a declared external verifier
|
|
64
|
-
- the mark is used to imply login, session, wallet, custody, payment, transport, or regulatory compliance behavior
|
|
65
|
-
|
|
66
|
-
## Extra Evidence Gates
|
|
67
|
-
|
|
68
|
-
PQ/hybrid native verification requires non-experimental validators, suite-specific public-key rules, positive conformance vectors, adversarial downgrade vectors, and deterministic error codes.
|
|
69
|
-
|
|
70
|
-
Live external framework-provider compatibility requires real external endpoints, auth boundaries, health checks, failure behavior, latency evidence, and live execution checks.
|
|
71
|
-
|
|
72
|
-
New signature suites require suite-specific validators plus wrong-key, wrong-method, tamper, and downgrade vectors before they can move from registry/planned status to implemented status.
|
|
73
|
-
|
|
74
|
-
## Governance
|
|
75
|
-
|
|
76
|
-
The mark should stay tied to concrete artifacts, not brand aspiration. New public mark claims require docs, vectors, deterministic error codes, release-candidate checks, and service surfaces before public use.
|
|
77
|
-
|
|
78
|
-
The reference implementation ships inside the `xoonya` npm package until external adoption or governance pressure justifies a separate standards repository.
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
# XNYA Reference Implementations
|
|
2
|
-
|
|
3
|
-
`XNYA-compatible` needs independent implementations, not only one JavaScript package. This document defines how xoonya treats reference implementations without overclaiming maturity before vector parity exists.
|
|
4
|
-
|
|
5
|
-
## Current Reference
|
|
6
|
-
|
|
7
|
-
The current canonical reference implementation ships inside the `xoonya` npm package:
|
|
8
|
-
|
|
9
|
-
- `proof_sdk.js` contains the canonical JavaScript helpers, validators, proof builders, and pack generators.
|
|
10
|
-
- `vectors/` contains the positive and adversarial conformance inputs.
|
|
11
|
-
- `bin/xoonya.js` exposes first-run and conformance checks.
|
|
12
|
-
- `bin/xoonya-release.js` exposes public release and standardization artifacts.
|
|
13
|
-
- `server.js` exposes the proof-center JSON surfaces.
|
|
14
|
-
|
|
15
|
-
Required checks:
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
npm run verify:release-candidate
|
|
19
|
-
npm run verify:all
|
|
20
|
-
xoonya conformance --json
|
|
21
|
-
xoonya first-run --verify-native --pretty
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Planned Independent References
|
|
25
|
-
|
|
26
|
-
Python and Rust reference implementations are planned, but they are not public compatibility claims until they pass the same vector floor independently.
|
|
27
|
-
|
|
28
|
-
Candidate names:
|
|
29
|
-
|
|
30
|
-
- `xoonya-native-python`
|
|
31
|
-
- `xoonya-native-rust`
|
|
32
|
-
|
|
33
|
-
Each candidate must implement its own byte parser and verifier. Wrapping the JavaScript runtime is useful for demos, but it is not an independent reference implementation.
|
|
34
|
-
|
|
35
|
-
Promotion evidence is checked separately from scaffold parity:
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
npm run verify:reference-promotion-gate
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
That verifier proves a complete candidate promotion packet can pass validation, while incomplete packets fail with deterministic rejection codes. The gate requires repository/package evidence, all required vector sets, deterministic error-code parity, independent parser evidence, native signature-suite crypto parity, cross-language round-trip evidence, conformance-mark review, forbidden-claim review, and no secret material.
|
|
42
|
-
|
|
43
|
-
## Python Candidate Scaffold
|
|
44
|
-
|
|
45
|
-
The Python candidate scaffold lives in `reference/python`.
|
|
46
|
-
|
|
47
|
-
It currently covers:
|
|
48
|
-
|
|
49
|
-
- XNYA atom v1 and v2 creation
|
|
50
|
-
- XNYA atom parsing and verification
|
|
51
|
-
- native atom adversarial reject codes
|
|
52
|
-
- XNYP payload profile encoding and parsing
|
|
53
|
-
- line-rate frame checksum verification
|
|
54
|
-
- canonical event hash parity
|
|
55
|
-
- receipt emission for external assertion, native digest, legacy OP_RETURN, and native anchored methods
|
|
56
|
-
- proof-bundle build/verify parity for non-signed native methods
|
|
57
|
-
- adversarial reason parity for non-signed proof-bundle checks
|
|
58
|
-
- bounded hybrid-method awareness without yet claiming independent PQ/hybrid validator parity
|
|
59
|
-
- optional Ed25519 native signed verification when the Python `cryptography` package is available
|
|
60
|
-
- deterministic `native_signature_crypto_dependency_missing` when the optional crypto dependency is absent
|
|
61
|
-
|
|
62
|
-
Run:
|
|
63
|
-
|
|
64
|
-
```bash
|
|
65
|
-
npm run verify:reference-python
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
This is vector-parity progress, not a full reference promotion. Python does not yet claim always-on native signature-suite cryptographic verification, secp256k1/P-256 parity, external method import, independent PQ/hybrid signature parity, or all native signed proof-bundle round-trip behavior.
|
|
69
|
-
|
|
70
|
-
Optional Ed25519 crypto check:
|
|
71
|
-
|
|
72
|
-
```bash
|
|
73
|
-
npm run verify:reference-python-crypto
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
This command creates an isolated temporary Python virtual environment, installs `reference/python/requirements-optional.txt`, runs the same vector verifier, and requires `verified_signature_suite_count = 1`.
|
|
77
|
-
|
|
78
|
-
Without the optional dependency, the default verifier still passes by proving the explicit dependency boundary.
|
|
79
|
-
|
|
80
|
-
## Rust Candidate Scaffold
|
|
81
|
-
|
|
82
|
-
The Rust candidate scaffold lives in `reference/rust`.
|
|
83
|
-
|
|
84
|
-
It currently covers:
|
|
85
|
-
|
|
86
|
-
- source-only package boundary for `xoonya-native-rust`
|
|
87
|
-
- fixed-size `XNYA` atom constants
|
|
88
|
-
- v1/v2 atom byte-length checks
|
|
89
|
-
- deterministic atom parser error codes
|
|
90
|
-
- `publish = false` until vector parity and promotion gates exist
|
|
91
|
-
|
|
92
|
-
Run:
|
|
93
|
-
|
|
94
|
-
```bash
|
|
95
|
-
npm run verify:reference-rust-scaffold
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
This is a packaging and boundary guard only. It does not compile Rust in the
|
|
99
|
-
current release path, does not run positive/adversarial vectors, and does not
|
|
100
|
-
claim `XNYA-compatible` status for Rust.
|
|
101
|
-
|
|
102
|
-
## Required Vector Floor
|
|
103
|
-
|
|
104
|
-
An independent implementation must pass:
|
|
105
|
-
|
|
106
|
-
- `vectors/conformance-vectors.json`
|
|
107
|
-
- `vectors/adversarial-vectors.json`
|
|
108
|
-
- `vectors/native-atom-vectors.json`
|
|
109
|
-
- `vectors/native-payload-profile-vectors.json`
|
|
110
|
-
|
|
111
|
-
The implementation must also produce stable reject reasons equivalent to the published deterministic error codes.
|
|
112
|
-
|
|
113
|
-
## Required Behavior
|
|
114
|
-
|
|
115
|
-
An implementation may claim `XNYA-compatible` only when it:
|
|
116
|
-
|
|
117
|
-
- parses `XNYA` atoms exactly by byte layout and fixed size
|
|
118
|
-
- preserves `XNYA` atom v1 and v2 domain separation
|
|
119
|
-
- parses `XNYP` payload profiles without loose JSON, floats, or implicit type coercion
|
|
120
|
-
- rejects unsupported or malformed native atoms with deterministic errors
|
|
121
|
-
- rejects `algorithm: "none"` as a production proof method
|
|
122
|
-
- verifies only implemented signature suites with suite-specific validators
|
|
123
|
-
- treats PQ/hybrid methods as independently unverified until that runtime has its own validators and vector parity
|
|
124
|
-
- binds external proof formats without claiming external issuer truth
|
|
125
|
-
- binds anchor references without claiming external chain or provider finality truth
|
|
126
|
-
|
|
127
|
-
## Promotion Gates
|
|
128
|
-
|
|
129
|
-
Independent references become public reference implementations only after:
|
|
130
|
-
|
|
131
|
-
1. A package or repository exists with public source, license, docs, and test commands.
|
|
132
|
-
2. The candidate passes all positive and adversarial vector sets.
|
|
133
|
-
3. The candidate emits deterministic errors that match the JavaScript reference.
|
|
134
|
-
4. The candidate can generate artifacts verified by the JavaScript reference.
|
|
135
|
-
5. The JavaScript reference can generate artifacts verified by the candidate.
|
|
136
|
-
6. The candidate satisfies the `XNYA-compatible` mark without forbidden claims.
|
|
137
|
-
7. The candidate passes `npm run verify:reference-promotion-gate` with promotion evidence that does not contain private keys, access tokens, credentials, or authorization material.
|
|
138
|
-
|
|
139
|
-
## Non-Claims
|
|
140
|
-
|
|
141
|
-
The reference implementation plan does not claim:
|
|
142
|
-
|
|
143
|
-
- PQ or hybrid runtime validation
|
|
144
|
-
- live external provider execution
|
|
145
|
-
- identity, authentication, custody, transport, or settlement security
|
|
146
|
-
- Rust vector parity or full Rust reference status
|
|
147
|
-
- external issuer truth for JWT, DID/VC, SD-JWT VC, signed-envelope, or partner proofs
|
|
148
|
-
- external chain or provider finality truth
|
|
149
|
-
|
|
150
|
-
Those claims require separate validators, policies, and evidence.
|
|
151
|
-
|
|
152
|
-
## Service Surface
|
|
153
|
-
|
|
154
|
-
The machine-readable pack is exposed at:
|
|
155
|
-
|
|
156
|
-
- `GET /v1/proof-center/native-reference-implementations`
|
|
157
|
-
- `GET /v1/proof-center/native-reference-implementations/summary`
|