xoonya 2.4.0 → 2.6.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 (43) hide show
  1. package/README.md +135 -7
  2. package/RELEASE_NOTES.md +27 -18
  3. package/SERVICE_CONTRACT.md +86 -0
  4. package/START_HERE.md +39 -0
  5. package/XOONYA_NATIVE_ATOM_SPEC.md +184 -0
  6. package/XOONYA_NATIVE_PROOF_FORMAT.md +502 -0
  7. package/XOONYA_NATIVE_STANDARD_GOVERNANCE.md +116 -0
  8. package/bin/xoonya-first-run.js +184 -0
  9. package/bin/xoonya.js +81 -0
  10. package/lib/artifact_distribution_lane_contract.js +54 -0
  11. package/lib/asyncapi_contract.js +135 -0
  12. package/lib/auth_interop_contract.js +69 -0
  13. package/lib/cloudevents_contract.js +79 -0
  14. package/lib/erc8004_proof_lane_contract.js +64 -0
  15. package/lib/event_system_lane_contract.js +76 -0
  16. package/lib/external_proof_import_lane_contract.js +87 -0
  17. package/lib/feature_control_lane_contract.js +54 -0
  18. package/lib/framework_lane_contract.js +76 -0
  19. package/lib/identity_interop_contract.js +83 -0
  20. package/lib/integration_matrix_contract.js +81 -0
  21. package/lib/major_rails_proof_lane_contract.js +87 -0
  22. package/lib/openapi_contract.js +227 -0
  23. package/lib/proof_bridge_lane_contract.js +82 -0
  24. package/lib/provenance_lane_contract.js +54 -0
  25. package/lib/provider_lane_contract.js +67 -0
  26. package/lib/release_history.js +32 -0
  27. package/lib/result_package_trust_lane_contract.js +74 -0
  28. package/lib/shared_signals_lane_contract.js +54 -0
  29. package/lib/telemetry_lane_contract.js +54 -0
  30. package/lib/treasury_proof_lane_contract.js +83 -0
  31. package/package.json +13 -17
  32. package/proof_sdk.js +2391 -44
  33. package/server.js +406 -2
  34. package/vectors/adversarial-vectors.json +373 -2
  35. package/vectors/conformance-vectors.json +342 -1
  36. package/vectors/native-atom-vectors.json +101 -0
  37. package/vectors/native-payload-profile-vectors.json +50 -0
  38. package/OPERATIONS_RUNBOOK.md +0 -50
  39. package/OPERATOR_START_HERE.md +0 -67
  40. package/PROGRAM_COMPLETE_RELEASE.md +0 -52
  41. package/PROGRAM_STATUS.md +0 -57
  42. package/PUBLISH_PLAN.md +0 -14
  43. package/RELEASE_CHECKLIST.md +0 -16
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+ const {
4
+ buildPhase7EventSystemPack,
5
+ summarizePhase7EventSystemPack
6
+ } = require("./phase_7_event_system_pack");
7
+ const {
8
+ buildPhase7NatsProofPack,
9
+ summarizePhase7NatsProofPack
10
+ } = require("./phase_7_nats_proof_pack");
11
+
12
+ function buildEventSystemLanePack() {
13
+ const phasePack = buildPhase7EventSystemPack();
14
+ const natsPack = buildPhase7NatsProofPack();
15
+ return {
16
+ product: "xoonya",
17
+ category: "proof-event-system-lane-pack",
18
+ pack_version: "xoonya-event-system-lane-pack-v1",
19
+ lane_state: "first_party_event_system_family_present",
20
+ posture: "event_and_system_integration_proof_lane",
21
+ phase_alignment: {
22
+ phase_ref: phasePack.phase_ref,
23
+ phase_pack: phasePack,
24
+ phase_summary: summarizePhase7EventSystemPack(),
25
+ featured_lane: {
26
+ pack: natsPack,
27
+ summary: summarizePhase7NatsProofPack()
28
+ }
29
+ },
30
+ supported_surfaces: {
31
+ phase_summary_ref: "/v1/phases/phase-7/summary",
32
+ nats_proof_summary_ref: "/v1/phases/phase-7/nats/proof/summary",
33
+ kafka_proof_summary_ref: "/v1/phases/phase-7/kafka/proof/summary",
34
+ mqtt_proof_summary_ref: "/v1/phases/phase-7/mqtt/proof/summary",
35
+ webhook_proof_summary_ref: "/v1/phases/phase-7/webhook-event-bus/proof/summary",
36
+ continuity_summary_ref: "/v1/phases/phase-7/event-system-continuity/summary",
37
+ asyncapi_ref: "/asyncapi.json",
38
+ cloudevents_ref: "/cloudevents.json",
39
+ proof_bridge_ref: "/v1/proof-bridge/summary"
40
+ },
41
+ first_run_flows: [
42
+ {
43
+ flow_ref: "nats_subject_mesh_proof",
44
+ recommended_reason: "best first durable event-system lane for proof-bearing subject ingress and ack-carry review with NATS plus JetStream-style persistence posture",
45
+ sequence: [
46
+ "inspect_event_system_lane_summary",
47
+ "inspect_nats_proof_summary",
48
+ "inspect_asyncapi_and_cloudevents_contracts",
49
+ "inspect_proof_bridge_summary_for_followthrough"
50
+ ]
51
+ }
52
+ ],
53
+ guardrails: [
54
+ "event-system proof lanes extend bridge and followthrough rather than replace canonical proof review",
55
+ "nats and jetstream style durability should improve external proof interoperability without widening xoonya into a generic event bus"
56
+ ]
57
+ };
58
+ }
59
+
60
+ function summarizeEventSystemLanePack() {
61
+ const pack = buildEventSystemLanePack();
62
+ return {
63
+ product: "xoonya",
64
+ category: "proof-event-system-lane-pack-summary",
65
+ summary_version: "xoonya-event-system-lane-pack-summary-v1",
66
+ lane_state: pack.lane_state,
67
+ posture: pack.posture,
68
+ first_run_flow_count: pack.first_run_flows.length,
69
+ linked_surfaces: pack.supported_surfaces
70
+ };
71
+ }
72
+
73
+ module.exports = {
74
+ buildEventSystemLanePack,
75
+ summarizeEventSystemLanePack
76
+ };
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+
3
+ const {
4
+ buildPhase8ExternalResultImportProofPack,
5
+ summarizePhase8ExternalResultImportProofPack
6
+ } = require("./phase_8_external_result_import_proof_pack");
7
+ const {
8
+ buildPhase8ExternalReceiptImportProofPack,
9
+ summarizePhase8ExternalReceiptImportProofPack
10
+ } = require("./phase_8_external_receipt_import_proof_pack");
11
+ const {
12
+ buildPhase8ProofBundleNormalizationProofPack,
13
+ summarizePhase8ProofBundleNormalizationProofPack
14
+ } = require("./phase_8_proof_bundle_normalization_proof_pack");
15
+ const {
16
+ buildProofBridgeLanePack,
17
+ summarizeProofBridgeLanePack
18
+ } = require("./proof_bridge_lane_contract");
19
+
20
+ function buildExternalProofImportLanePack() {
21
+ return {
22
+ product: "xoonya",
23
+ category: "proof-external-proof-import-lane-pack",
24
+ pack_version: "xoonya-external-proof-import-lane-pack-v1",
25
+ lane_state: "first_party_external_proof_import_family_present",
26
+ posture: "external_result_receipt_and_bundle_import_followthrough_lane",
27
+ phase_alignment: {
28
+ external_result_import: {
29
+ pack: buildPhase8ExternalResultImportProofPack(),
30
+ summary: summarizePhase8ExternalResultImportProofPack()
31
+ },
32
+ external_receipt_import: {
33
+ pack: buildPhase8ExternalReceiptImportProofPack(),
34
+ summary: summarizePhase8ExternalReceiptImportProofPack()
35
+ },
36
+ proof_bundle_normalization: {
37
+ pack: buildPhase8ProofBundleNormalizationProofPack(),
38
+ summary: summarizePhase8ProofBundleNormalizationProofPack()
39
+ },
40
+ proof_bridge: {
41
+ pack: buildProofBridgeLanePack(),
42
+ summary: summarizeProofBridgeLanePack()
43
+ }
44
+ },
45
+ supported_surfaces: {
46
+ phase_summary_ref: "/v1/phases/phase-8/summary",
47
+ external_result_import_ref: "/v1/phases/phase-8/external-result-import/proof/summary",
48
+ external_receipt_import_ref: "/v1/phases/phase-8/external-receipt-import/proof/summary",
49
+ proof_bundle_normalization_ref: "/v1/phases/phase-8/proof-bundle-normalization/proof/summary",
50
+ proof_bridge_ref: "/v1/proof-bridge/summary"
51
+ },
52
+ first_run_flows: [
53
+ {
54
+ flow_ref: "external_proof_import_review",
55
+ recommended_reason: "best first path for showing outside builders that imported result, receipt, and bundle material can enter xoonya cleanly",
56
+ sequence: [
57
+ "inspect_external_proof_import_lane_summary",
58
+ "inspect_result_and_receipt_import_summaries",
59
+ "inspect_bundle_normalization_summary",
60
+ "inspect_proof_bridge_followthrough"
61
+ ]
62
+ }
63
+ ],
64
+ guardrails: [
65
+ "external proof import should strengthen builder trust rather than widen xoonya into arbitrary ingestion",
66
+ "imported material remains subordinate to review, governance, and bridge compatibility posture"
67
+ ]
68
+ };
69
+ }
70
+
71
+ function summarizeExternalProofImportLanePack() {
72
+ const pack = buildExternalProofImportLanePack();
73
+ return {
74
+ product: "xoonya",
75
+ category: "proof-external-proof-import-lane-pack-summary",
76
+ summary_version: "xoonya-external-proof-import-lane-pack-summary-v1",
77
+ lane_state: pack.lane_state,
78
+ phase_surface_count: Object.keys(pack.supported_surfaces).length,
79
+ first_run_flow_count: pack.first_run_flows.length,
80
+ linked_surfaces: pack.supported_surfaces
81
+ };
82
+ }
83
+
84
+ module.exports = {
85
+ buildExternalProofImportLanePack,
86
+ summarizeExternalProofImportLanePack
87
+ };
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ function buildFeatureControlLanePack() {
4
+ return {
5
+ product: "xoonya",
6
+ category: "proof-feature-control-lane-pack",
7
+ pack_version: "xoonya-feature-control-lane-pack-v1",
8
+ lane_state: "first_party_feature_control_lane_present",
9
+ posture: "portable_review_and_rollout_control_lane",
10
+ standards: ["openfeature", "ofrep"],
11
+ focal_controls: ["role_freeze_policy", "proof_bridge_policy", "result_package_trust_policy", "review_and_governance_gates", "release_candidate_gates"],
12
+ supported_surfaces: {
13
+ role_freeze_ref: "/v1/role-freeze",
14
+ proof_bridge_ref: "/v1/proof-bridge",
15
+ result_package_trust_ref: "/v1/result-package-trust",
16
+ release_candidate_ref: "/v1/release-candidate",
17
+ integration_matrix_ref: "/v1/integration-matrix"
18
+ },
19
+ first_run_flows: [
20
+ {
21
+ flow_ref: "portable_proof_rollout_control_alignment",
22
+ recommended_reason: "best path for teams that need portable rollout and review posture without creating a second proof control plane",
23
+ sequence: [
24
+ "inspect_feature_control_lane_summary",
25
+ "map native role, bridge, and trust posture to portable feature-control semantics",
26
+ "use release and review gates as rollout-compatible control surfaces",
27
+ "keep xoonya proof and governance truth canonical beneath external control adapters"
28
+ ]
29
+ }
30
+ ],
31
+ guardrails: [
32
+ "feature control should expose rollout posture without replacing native proof, bridge, or governance truth",
33
+ "policy portability should remain bounded to avoid split-brain review semantics"
34
+ ]
35
+ };
36
+ }
37
+
38
+ function summarizeFeatureControlLanePack() {
39
+ const pack = buildFeatureControlLanePack();
40
+ return {
41
+ product: "xoonya",
42
+ category: "proof-feature-control-lane-pack-summary",
43
+ summary_version: "xoonya-feature-control-lane-pack-summary-v1",
44
+ lane_state: pack.lane_state,
45
+ standard_count: pack.standards.length,
46
+ focal_control_count: pack.focal_controls.length,
47
+ linked_surfaces: pack.supported_surfaces
48
+ };
49
+ }
50
+
51
+ module.exports = {
52
+ buildFeatureControlLanePack,
53
+ summarizeFeatureControlLanePack
54
+ };
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+ const {
4
+ buildPhase6FrameworkRuntimePack,
5
+ summarizePhase6FrameworkRuntimePack
6
+ } = require("./phase_6_framework_runtime_pack");
7
+ const {
8
+ summarizePhase6LanggraphProofPack
9
+ } = require("./phase_6_langgraph_proof_pack");
10
+ const {
11
+ summarizePhase6LangchainProofPack
12
+ } = require("./phase_6_langchain_proof_pack");
13
+ const {
14
+ summarizePhase6AutogenProofPack
15
+ } = require("./phase_6_autogen_proof_pack");
16
+ const {
17
+ summarizePhase6SemanticKernelProofPack
18
+ } = require("./phase_6_semantic_kernel_proof_pack");
19
+
20
+ function buildFrameworkLanePack() {
21
+ return {
22
+ product: "xoonya",
23
+ category: "proof-framework-lane-pack",
24
+ pack_version: "xoonya-framework-lane-pack-v1",
25
+ lane_state: "first_party_framework_family_present",
26
+ posture: "framework_followthrough_and_proof_carry_family",
27
+ framework_family: {
28
+ pack: buildPhase6FrameworkRuntimePack(),
29
+ summary: summarizePhase6FrameworkRuntimePack()
30
+ },
31
+ featured_frameworks: {
32
+ langgraph: summarizePhase6LanggraphProofPack(),
33
+ langchain: summarizePhase6LangchainProofPack(),
34
+ autogen: summarizePhase6AutogenProofPack(),
35
+ semantic_kernel: summarizePhase6SemanticKernelProofPack()
36
+ },
37
+ supported_surfaces: {
38
+ phase_6_summary_ref: "/v1/phases/phase-6/summary",
39
+ langgraph_summary_ref: "/v1/phases/phase-6/langgraph/proof/summary",
40
+ langchain_summary_ref: "/v1/phases/phase-6/langchain/proof/summary",
41
+ autogen_summary_ref: "/v1/phases/phase-6/autogen/proof/summary",
42
+ semantic_kernel_summary_ref: "/v1/phases/phase-6/semantic-kernel/proof/summary",
43
+ integrations_ref: "/v1/integrations"
44
+ },
45
+ first_run_flows: [
46
+ {
47
+ flow_ref: "framework_family_proof_selection",
48
+ recommended_reason: "best first path for understanding how orchestration frameworks retain proof continuity instead of becoming isolated compatibility notes",
49
+ sequence: [
50
+ "inspect_framework_lane_summary",
51
+ "inspect_phase_6_framework_summary",
52
+ "inspect_named_framework_proof_profiles",
53
+ "choose_framework_followthrough_shape"
54
+ ]
55
+ }
56
+ ]
57
+ };
58
+ }
59
+
60
+ function summarizeFrameworkLanePack() {
61
+ const pack = buildFrameworkLanePack();
62
+ return {
63
+ product: "xoonya",
64
+ category: "proof-framework-lane-pack-summary",
65
+ summary_version: "xoonya-framework-lane-pack-summary-v1",
66
+ lane_state: pack.lane_state,
67
+ featured_framework_count: Object.keys(pack.featured_frameworks).length,
68
+ first_run_flow_count: pack.first_run_flows.length,
69
+ linked_surfaces: pack.supported_surfaces
70
+ };
71
+ }
72
+
73
+ module.exports = {
74
+ buildFrameworkLanePack,
75
+ summarizeFrameworkLanePack
76
+ };
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+
3
+ const pkg = require("../package.json");
4
+
5
+ function buildIdentityInteropContract() {
6
+ return {
7
+ product: "xoonya",
8
+ category: "proof-identity-interop-contract",
9
+ contract_version: "xoonya-identity-interop-contract-v1",
10
+ service_version: pkg.version,
11
+ primary_posture: "native_proof_and_attestation_followthrough_with_jwt_and_did_vc_interop",
12
+ supported_interop_profiles: [
13
+ {
14
+ profile_id: "jwt_jws_jwk_proof_assertions",
15
+ standards: ["jwt", "jws", "jwk"],
16
+ intended_use: "signed proof-side assertions and compact interop around verification and bridge intake",
17
+ primary_routes: ["/v1/proof-bundles/verify", "/v1/auth-profiles"]
18
+ },
19
+ {
20
+ profile_id: "did_vc_attestation_bridge",
21
+ standards: ["did_core", "vc_data_model"],
22
+ intended_use: "portable attestation and proof-bearing identity exchange around proof review and external verification",
23
+ primary_routes: ["/v1/phases/phase-4/identity-registry/proof", "/v1/phases/phase-4/attestation/proof"]
24
+ },
25
+ {
26
+ profile_id: "sd_jwt_vc_selective_review_disclosure",
27
+ standards: ["sd-jwt-vc", "jwt", "jws"],
28
+ intended_use: "bounded selective disclosure for proof-side review and bridge compatibility contexts",
29
+ primary_routes: ["/v1/proof-center/bridge/compatibility-pack", "/v1/proof-center/bridge/economic-handoff"]
30
+ },
31
+ {
32
+ profile_id: "oidc4vc_oidc4vp_wallet_verifier_optional",
33
+ standards: ["oidc4vc", "oidc4vp"],
34
+ intended_use: "optional verifier and wallet interoperability for external proof presentation ecosystems",
35
+ primary_routes: ["/v1/identity-interop", "/v1/proof-center/bridge/profile-support"]
36
+ }
37
+ ],
38
+ deferred_or_optional_profiles: [
39
+ { profile_id: "cose_cbor_compact_proof_artifacts", standards: ["cose", "cbor"], status: "later_or_environment_specific" },
40
+ { profile_id: "json_ld_vc_semantic_attestation_line", standards: ["json-ld-vc"], status: "later_or_ecosystem_specific" }
41
+ ],
42
+ native_mapping: {
43
+ proof_verify: "/v1/proof-bundles/verify",
44
+ receipt_verify: "/v1/receipts/verify",
45
+ bridge_economic_handoff: "/v1/proof-center/bridge/economic-handoff",
46
+ bridge_compatibility_pack: "/v1/proof-center/bridge/compatibility-pack",
47
+ phase_4_identity_registry_proof: "/v1/phases/phase-4/identity-registry/proof",
48
+ phase_4_attestation_proof: "/v1/phases/phase-4/attestation/proof"
49
+ },
50
+ guardrails: [
51
+ "proof and attestation semantics remain canonical inside xoonya rather than inside external credential formats",
52
+ "jwt and vc interop may carry proof-bearing identity claims but must not redefine proof truth",
53
+ "did or vc interoperability must remain subordinate to proof review and governance checks",
54
+ "selective disclosure may narrow disclosure scope but must not weaken proof-side reviewability"
55
+ ],
56
+ linked_surfaces: {
57
+ auth_interop_ref: "/v1/auth-profiles",
58
+ openapi_ref: "/openapi.json",
59
+ asyncapi_ref: "/asyncapi.json",
60
+ cloudevents_ref: "/cloudevents.json",
61
+ service_contract_ref: "SERVICE_CONTRACT.md"
62
+ }
63
+ };
64
+ }
65
+
66
+ function summarizeIdentityInteropContract() {
67
+ const contract = buildIdentityInteropContract();
68
+ return {
69
+ product: "xoonya",
70
+ category: "proof-identity-interop-contract-summary",
71
+ summary_version: "xoonya-identity-interop-contract-summary-v1",
72
+ contract_version: contract.contract_version,
73
+ profile_count: contract.supported_interop_profiles.length,
74
+ deferred_profile_count: contract.deferred_or_optional_profiles.length,
75
+ primary_posture: contract.primary_posture,
76
+ linked_surfaces: contract.linked_surfaces
77
+ };
78
+ }
79
+
80
+ module.exports = {
81
+ buildIdentityInteropContract,
82
+ summarizeIdentityInteropContract
83
+ };
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+
3
+ const { summarizeProviderLanePack } = require("./provider_lane_contract");
4
+ const { summarizeFrameworkLanePack } = require("./framework_lane_contract");
5
+ const { summarizeMajorRailsProofLanePack } = require("./major_rails_proof_lane_contract");
6
+ const { summarizeTreasuryProofLanePack } = require("./treasury_proof_lane_contract");
7
+ const { summarizeErc8004ProofLanePack } = require("./erc8004_proof_lane_contract");
8
+ const { summarizeProofBridgeLanePack } = require("./proof_bridge_lane_contract");
9
+ const { summarizeExternalProofImportLanePack } = require("./external_proof_import_lane_contract");
10
+ const { summarizeResultPackageTrustLanePack } = require("./result_package_trust_lane_contract");
11
+ const { summarizeEventSystemLanePack } = require("./event_system_lane_contract");
12
+ const { summarizeTelemetryLanePack } = require("./telemetry_lane_contract");
13
+ const { summarizeProvenanceLanePack } = require("./provenance_lane_contract");
14
+ const { summarizeArtifactDistributionLanePack } = require("./artifact_distribution_lane_contract");
15
+ const { summarizeSharedSignalsLanePack } = require("./shared_signals_lane_contract");
16
+ const { summarizeFeatureControlLanePack } = require("./feature_control_lane_contract");
17
+
18
+ function buildIntegrationMatrixPack(integrations = []) {
19
+ const rows = Array.isArray(integrations) ? integrations : [];
20
+ return {
21
+ product: "xoonya",
22
+ category: "proof-integration-matrix-pack",
23
+ pack_version: "xoonya-integration-matrix-pack-v1",
24
+ posture: "canonical_public_view_of_provider_framework_proof_bridge_registry_and_trust_breadth",
25
+ counts: {
26
+ integration_count: rows.length,
27
+ builtin_count: rows.filter((entry) => entry.source === "builtin").length,
28
+ third_party_example_count: rows.filter((entry) => entry.source === "third_party_example").length,
29
+ production_default_count: rows.filter((entry) => entry.integration_maturity === "production_default").length,
30
+ certified_count: rows.filter((entry) => entry.certification_state === "certified").length
31
+ },
32
+ top_level_lanes: {
33
+ providers: summarizeProviderLanePack(),
34
+ frameworks: summarizeFrameworkLanePack(),
35
+ major_rails: summarizeMajorRailsProofLanePack(),
36
+ treasury: summarizeTreasuryProofLanePack(),
37
+ erc8004: summarizeErc8004ProofLanePack(),
38
+ proof_bridge: summarizeProofBridgeLanePack(),
39
+ external_proof_import: summarizeExternalProofImportLanePack(),
40
+ result_package_trust: summarizeResultPackageTrustLanePack(),
41
+ event_systems: summarizeEventSystemLanePack(),
42
+ telemetry: summarizeTelemetryLanePack(),
43
+ provenance: summarizeProvenanceLanePack(),
44
+ artifact_distribution: summarizeArtifactDistributionLanePack(),
45
+ shared_signals: summarizeSharedSignalsLanePack(),
46
+ feature_control: summarizeFeatureControlLanePack()
47
+ },
48
+ supported_surfaces: {
49
+ integrations_ref: "/v1/integrations",
50
+ integration_summary_ref: "/v1/integrations/summary",
51
+ provider_lane_ref: "/v1/providers",
52
+ framework_lane_ref: "/v1/frameworks",
53
+ proof_bridge_ref: "/v1/proof-bridge",
54
+ external_proof_import_ref: "/v1/external-proof-import",
55
+ telemetry_lane_ref: "/v1/telemetry",
56
+ provenance_lane_ref: "/v1/provenance",
57
+ artifact_distribution_lane_ref: "/v1/artifact-distribution",
58
+ shared_signals_lane_ref: "/v1/shared-signals",
59
+ feature_control_lane_ref: "/v1/feature-control"
60
+ }
61
+ };
62
+ }
63
+
64
+ function summarizeIntegrationMatrixPack(integrations = []) {
65
+ const pack = buildIntegrationMatrixPack(integrations);
66
+ return {
67
+ product: "xoonya",
68
+ category: "proof-integration-matrix-pack-summary",
69
+ summary_version: "xoonya-integration-matrix-pack-summary-v1",
70
+ integration_count: pack.counts.integration_count,
71
+ production_default_count: pack.counts.production_default_count,
72
+ certified_count: pack.counts.certified_count,
73
+ lane_count: Object.keys(pack.top_level_lanes).length,
74
+ linked_surfaces: pack.supported_surfaces
75
+ };
76
+ }
77
+
78
+ module.exports = {
79
+ buildIntegrationMatrixPack,
80
+ summarizeIntegrationMatrixPack
81
+ };
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+
3
+ const {
4
+ buildPhase5MajorRailsPack,
5
+ summarizePhase5MajorRailsPack
6
+ } = require("./phase_5_major_rails_pack");
7
+ const {
8
+ buildPhase5SolanaProofPack,
9
+ summarizePhase5SolanaProofPack
10
+ } = require("./phase_5_solana_proof_pack");
11
+ const {
12
+ buildPhase5AntelopeProofPack,
13
+ summarizePhase5AntelopeProofPack
14
+ } = require("./phase_5_antelope_proof_pack");
15
+ const {
16
+ buildPhase5ProtonXprProofPack,
17
+ summarizePhase5ProtonXprProofPack
18
+ } = require("./phase_5_proton_xpr_proof_pack");
19
+
20
+ function buildMajorRailsProofLanePack() {
21
+ return {
22
+ product: "xoonya",
23
+ category: "proof-major-rails-lane-pack",
24
+ pack_version: "xoonya-major-rails-lane-pack-v1",
25
+ lane_state: "first_party_major_rails_proof_family_present",
26
+ posture: "practical_settlement_evidence_breadth_lane",
27
+ family_summary: summarizePhase5MajorRailsPack(),
28
+ featured_lanes: {
29
+ solana: {
30
+ pack: buildPhase5SolanaProofPack(),
31
+ summary: summarizePhase5SolanaProofPack()
32
+ },
33
+ antelope: {
34
+ pack: buildPhase5AntelopeProofPack(),
35
+ summary: summarizePhase5AntelopeProofPack()
36
+ },
37
+ proton_xpr_and_metal: {
38
+ pack: buildPhase5ProtonXprProofPack(),
39
+ summary: summarizePhase5ProtonXprProofPack(),
40
+ named_family_members: ["proton_xpr", "metal"]
41
+ }
42
+ },
43
+ supported_surfaces: {
44
+ phase_summary_ref: "/v1/phases/phase-5/summary",
45
+ major_rails_summary_ref: "/v1/phases/phase-5/major-rails-continuity/summary",
46
+ solana_proof_summary_ref: "/v1/phases/phase-5/solana/proof/summary",
47
+ antelope_proof_summary_ref: "/v1/phases/phase-5/antelope/proof/summary",
48
+ proton_xpr_proof_summary_ref: "/v1/phases/phase-5/proton-xpr/proof/summary",
49
+ proof_bridge_ref: "/v1/proof-bridge/summary"
50
+ },
51
+ first_run_flows: [
52
+ {
53
+ flow_ref: "major_rails_proof_selection",
54
+ recommended_reason: "best first path for understanding practical settlement-evidence breadth across non-default rail families",
55
+ sequence: [
56
+ "inspect_major_rails_proof_lane_summary",
57
+ "inspect_phase_5_major_rails_summary",
58
+ "inspect_solana_antelope_and_proton_xpr_proof_profiles",
59
+ "choose_the_proof_lane_that_matches_external_settlement_evidence_shape"
60
+ ]
61
+ }
62
+ ],
63
+ guardrails: [
64
+ "major rails proof lanes should strengthen trust and compatibility rather than widen xoonya into a generic chain toolkit",
65
+ "named ecosystems help adoption only when they remain subordinate to canonical proof review and bridge followthrough"
66
+ ]
67
+ };
68
+ }
69
+
70
+ function summarizeMajorRailsProofLanePack() {
71
+ const pack = buildMajorRailsProofLanePack();
72
+ return {
73
+ product: "xoonya",
74
+ category: "proof-major-rails-lane-pack-summary",
75
+ summary_version: "xoonya-major-rails-lane-pack-summary-v1",
76
+ lane_state: pack.lane_state,
77
+ posture: pack.posture,
78
+ featured_lane_count: Object.keys(pack.featured_lanes).length,
79
+ first_run_flow_count: pack.first_run_flows.length,
80
+ linked_surfaces: pack.supported_surfaces
81
+ };
82
+ }
83
+
84
+ module.exports = {
85
+ buildMajorRailsProofLanePack,
86
+ summarizeMajorRailsProofLanePack
87
+ };