xoonya 2.0.0 → 2.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 (154) hide show
  1. package/CARRIED_HANDOFF_DEMO.md +60 -0
  2. package/EXAMPLE_PATHS.md +53 -0
  3. package/FINAL_CONTRACT.md +6 -6
  4. package/OPERATIONS_RUNBOOK.md +50 -0
  5. package/OPERATOR_START_HERE.md +67 -0
  6. package/PARTNER_READY_PATH.md +67 -0
  7. package/PROGRAM_COMPLETE_RELEASE.md +52 -0
  8. package/PROGRAM_STATUS.md +57 -0
  9. package/PUBLIC_DEMO_SCRIPT.md +79 -0
  10. package/PUBLISH_PLAN.md +14 -0
  11. package/README.md +86 -2
  12. package/RELEASE_CHECKLIST.md +16 -0
  13. package/RELEASE_NOTES.md +28 -0
  14. package/START_HERE.md +28 -0
  15. package/WHY_XYTARA_XOONYA.md +43 -0
  16. package/bin/xoonya-release.js +1349 -0
  17. package/bin/xoonya-review.js +70 -0
  18. package/examples/integration_boundary_walkthrough.js +37 -0
  19. package/examples/package_quickstart.js +1007 -0
  20. package/examples/partner_proof_walkthrough.js +68 -0
  21. package/examples/proof_review_walkthrough.js +66 -0
  22. package/examples/review_carried_handoff.js +72 -0
  23. package/index.js +11 -1
  24. package/lib/announcement_pack.js +61 -0
  25. package/lib/ecosystem_entry.js +64 -0
  26. package/lib/launch_narrative.js +53 -0
  27. package/lib/outreach_proof.js +71 -0
  28. package/lib/phase_10_closeout_pack.js +45 -0
  29. package/lib/phase_10_completion_pack.js +76 -0
  30. package/lib/phase_10_decision_record_pack.js +54 -0
  31. package/lib/phase_10_decision_resolution_pack.js +53 -0
  32. package/lib/phase_10_demand_signal_adapters_proof_pack.js +74 -0
  33. package/lib/phase_10_ecosystem_backlog_triage_proof_pack.js +74 -0
  34. package/lib/phase_10_freeze_baseline_pack.js +67 -0
  35. package/lib/phase_10_freeze_review_pack.js +64 -0
  36. package/lib/phase_10_gate_pack.js +57 -0
  37. package/lib/phase_10_long_tail_continuity_pack.js +80 -0
  38. package/lib/phase_10_long_tail_ecosystem_pack.js +68 -0
  39. package/lib/phase_10_niche_extension_registry_proof_pack.js +74 -0
  40. package/lib/phase_1_claude_mcp_pack.js +60 -0
  41. package/lib/phase_1_claude_mcp_proof_pack.js +57 -0
  42. package/lib/phase_1_ecosystem_pack.js +51 -0
  43. package/lib/phase_1_openai_codex_pack.js +60 -0
  44. package/lib/phase_1_openai_codex_proof_pack.js +57 -0
  45. package/lib/phase_2_base_proof_pack.js +71 -0
  46. package/lib/phase_2_base_usdc_proof_pack.js +72 -0
  47. package/lib/phase_2_closeout_pack.js +65 -0
  48. package/lib/phase_2_completion_pack.js +113 -0
  49. package/lib/phase_2_decision_record_pack.js +66 -0
  50. package/lib/phase_2_decision_resolution_pack.js +69 -0
  51. package/lib/phase_2_eth_proof_pack.js +70 -0
  52. package/lib/phase_2_evm_base_proof_pack.js +73 -0
  53. package/lib/phase_2_evm_proof_pack.js +71 -0
  54. package/lib/phase_2_flip_preview_pack.js +60 -0
  55. package/lib/phase_2_freeze_review_pack.js +99 -0
  56. package/lib/phase_2_gate_pack.js +77 -0
  57. package/lib/phase_2_payment_rails_pack.js +71 -0
  58. package/lib/phase_2_usdc_proof_pack.js +71 -0
  59. package/lib/phase_3_brc_proof_pack.js +81 -0
  60. package/lib/phase_3_bsv_teranode_proof_pack.js +81 -0
  61. package/lib/phase_3_closeout_pack.js +62 -0
  62. package/lib/phase_3_completion_pack.js +92 -0
  63. package/lib/phase_3_decision_record_pack.js +64 -0
  64. package/lib/phase_3_decision_resolution_pack.js +69 -0
  65. package/lib/phase_3_freeze_baseline_pack.js +67 -0
  66. package/lib/phase_3_freeze_review_pack.js +80 -0
  67. package/lib/phase_3_gate_pack.js +76 -0
  68. package/lib/phase_3_metanet_proof_pack.js +81 -0
  69. package/lib/phase_3_native_bsv_pack.js +89 -0
  70. package/lib/phase_3_native_continuity_pack.js +82 -0
  71. package/lib/phase_4_attestation_proof_pack.js +75 -0
  72. package/lib/phase_4_closeout_pack.js +45 -0
  73. package/lib/phase_4_completion_pack.js +82 -0
  74. package/lib/phase_4_decision_record_pack.js +54 -0
  75. package/lib/phase_4_decision_resolution_pack.js +45 -0
  76. package/lib/phase_4_erc8004_proof_pack.js +76 -0
  77. package/lib/phase_4_freeze_baseline_pack.js +67 -0
  78. package/lib/phase_4_freeze_review_pack.js +68 -0
  79. package/lib/phase_4_gate_pack.js +58 -0
  80. package/lib/phase_4_identity_registry_proof_pack.js +75 -0
  81. package/lib/phase_4_identity_trust_pack.js +73 -0
  82. package/lib/phase_4_trust_continuity_pack.js +86 -0
  83. package/lib/phase_5_antelope_proof_pack.js +76 -0
  84. package/lib/phase_5_closeout_pack.js +44 -0
  85. package/lib/phase_5_completion_pack.js +82 -0
  86. package/lib/phase_5_decision_record_pack.js +54 -0
  87. package/lib/phase_5_decision_resolution_pack.js +45 -0
  88. package/lib/phase_5_freeze_baseline_pack.js +67 -0
  89. package/lib/phase_5_freeze_review_pack.js +68 -0
  90. package/lib/phase_5_gate_pack.js +58 -0
  91. package/lib/phase_5_major_rails_continuity_pack.js +86 -0
  92. package/lib/phase_5_major_rails_pack.js +74 -0
  93. package/lib/phase_5_proton_xpr_proof_pack.js +76 -0
  94. package/lib/phase_5_solana_proof_pack.js +76 -0
  95. package/lib/phase_6_autogen_proof_pack.js +74 -0
  96. package/lib/phase_6_closeout_pack.js +46 -0
  97. package/lib/phase_6_completion_pack.js +77 -0
  98. package/lib/phase_6_decision_record_pack.js +54 -0
  99. package/lib/phase_6_decision_resolution_pack.js +53 -0
  100. package/lib/phase_6_framework_continuity_pack.js +81 -0
  101. package/lib/phase_6_framework_runtime_pack.js +68 -0
  102. package/lib/phase_6_freeze_baseline_pack.js +68 -0
  103. package/lib/phase_6_freeze_review_pack.js +65 -0
  104. package/lib/phase_6_gate_pack.js +59 -0
  105. package/lib/phase_6_langchain_proof_pack.js +74 -0
  106. package/lib/phase_6_langgraph_proof_pack.js +74 -0
  107. package/lib/phase_6_semantic_kernel_proof_pack.js +74 -0
  108. package/lib/phase_7_closeout_pack.js +45 -0
  109. package/lib/phase_7_completion_pack.js +85 -0
  110. package/lib/phase_7_decision_record_pack.js +53 -0
  111. package/lib/phase_7_decision_resolution_pack.js +53 -0
  112. package/lib/phase_7_event_system_continuity_pack.js +89 -0
  113. package/lib/phase_7_event_system_pack.js +76 -0
  114. package/lib/phase_7_freeze_baseline_pack.js +74 -0
  115. package/lib/phase_7_freeze_review_pack.js +65 -0
  116. package/lib/phase_7_gate_pack.js +58 -0
  117. package/lib/phase_7_kafka_proof_pack.js +76 -0
  118. package/lib/phase_7_mqtt_proof_pack.js +76 -0
  119. package/lib/phase_7_nats_proof_pack.js +76 -0
  120. package/lib/phase_7_webhook_event_bus_proof_pack.js +76 -0
  121. package/lib/phase_8_closeout_pack.js +46 -0
  122. package/lib/phase_8_completion_pack.js +82 -0
  123. package/lib/phase_8_decision_record_pack.js +54 -0
  124. package/lib/phase_8_decision_resolution_pack.js +53 -0
  125. package/lib/phase_8_external_receipt_import_proof_pack.js +74 -0
  126. package/lib/phase_8_external_result_import_proof_pack.js +74 -0
  127. package/lib/phase_8_freeze_baseline_pack.js +71 -0
  128. package/lib/phase_8_freeze_review_pack.js +64 -0
  129. package/lib/phase_8_gate_pack.js +58 -0
  130. package/lib/phase_8_proof_bridge_continuity_pack.js +86 -0
  131. package/lib/phase_8_proof_bridges_pack.js +72 -0
  132. package/lib/phase_8_proof_bundle_normalization_proof_pack.js +74 -0
  133. package/lib/phase_9_closeout_pack.js +46 -0
  134. package/lib/phase_9_completion_pack.js +82 -0
  135. package/lib/phase_9_custody_refs_proof_pack.js +74 -0
  136. package/lib/phase_9_decision_record_pack.js +54 -0
  137. package/lib/phase_9_decision_resolution_pack.js +53 -0
  138. package/lib/phase_9_freeze_baseline_pack.js +71 -0
  139. package/lib/phase_9_freeze_review_pack.js +64 -0
  140. package/lib/phase_9_gate_pack.js +58 -0
  141. package/lib/phase_9_operator_accounting_bridges_proof_pack.js +74 -0
  142. package/lib/phase_9_treasury_connectivity_pack.js +72 -0
  143. package/lib/phase_9_treasury_continuity_pack.js +86 -0
  144. package/lib/phase_9_treasury_destinations_proof_pack.js +74 -0
  145. package/lib/phase_program_pack.js +47 -0
  146. package/lib/publish_plan.js +51 -0
  147. package/lib/release_candidate.js +50 -0
  148. package/lib/release_center.js +1037 -0
  149. package/lib/release_history.js +72 -0
  150. package/lib/release_manifest.js +114 -0
  151. package/lib/release_pack.js +391 -0
  152. package/package.json +26 -2
  153. package/proof_sdk.js +43 -2
  154. package/server.js +1852 -0
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildPhase9TreasuryDestinationsProofPack() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "proof-phase-9-treasury-destinations-proof-pack",
10
+ phase_ref: "phase_9",
11
+ posture: "proof_path",
12
+ ecosystems: ["treasury_destinations"],
13
+ proof_shape: {
14
+ evidence_modes: ["treasury_continuation", "custody_reference_carry", "accounting_bridge_evidence"],
15
+ destination_modes: ["destination_proof_flow", "destination_carry_flow", "destination_handoff_flow"],
16
+ proof_artifacts: ["destination_bundle", "custody_bundle", "accounting_bundle"],
17
+ proof_surfaces: [
18
+ "/v1/proof-center/bridge/summary",
19
+ "/v1/release-center/summary",
20
+ "/v1/phases/phase-9/summary"
21
+ ]
22
+ },
23
+ first_path: {
24
+ purpose: "show the first Phase 9 treasury proof path from settlement evidence into treasury and accounting continuity",
25
+ first_http_sequence: [
26
+ "/v1/phases/phase-9/summary",
27
+ "/v1/phases/phase-9/treasury-destinations/proof/summary",
28
+ "/v1/release-center/summary"
29
+ ],
30
+ first_cli_sequence: [
31
+ "xoonya-release --phase-9-treasury-destinations-proof --summary",
32
+ "xoonya-release --phase-9 --summary"
33
+ ],
34
+ expected_signals: [
35
+ "treasury destinations is a public Phase 9 proof lane",
36
+ "proof artifacts are explicit at the lane level",
37
+ "treasury proof posture is visible before broader Phase 9 expansion"
38
+ ]
39
+ },
40
+ completion: {
41
+ completion_checks: [
42
+ "treasury destinations proof lane is public and inspectable",
43
+ "proof artifacts are visible at lane level",
44
+ "proof surfaces remain attached to the treasury lane",
45
+ "the lane is ready to anchor broader treasury/operator breadth"
46
+ ]
47
+ }
48
+ };
49
+ }
50
+
51
+ function summarizePhase9TreasuryDestinationsProofPack() {
52
+ const pack = buildPhase9TreasuryDestinationsProofPack();
53
+ return {
54
+ ok: true,
55
+ product: pack.product,
56
+ category: pack.category,
57
+ phase_ref: pack.phase_ref,
58
+ ecosystem_count: pack.ecosystems.length,
59
+ evidence_mode_count: pack.proof_shape.evidence_modes.length,
60
+ destination_mode_count: pack.proof_shape.destination_modes.length,
61
+ proof_artifact_count: pack.proof_shape.proof_artifacts.length,
62
+ completion_check_count: pack.completion.completion_checks.length,
63
+ http_step_count: pack.first_path.first_http_sequence.length,
64
+ cli_step_count: pack.first_path.first_cli_sequence.length,
65
+ signal_count: pack.first_path.expected_signals.length,
66
+ proof_surface_count: pack.proof_shape.proof_surfaces.length,
67
+ first_http_step: pack.first_path.first_http_sequence[0] || null
68
+ };
69
+ }
70
+
71
+ module.exports = {
72
+ buildPhase9TreasuryDestinationsProofPack,
73
+ summarizePhase9TreasuryDestinationsProofPack
74
+ };
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildPhaseProgramPack() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "proof-phase-program-pack",
10
+ current_phase: "program_closed",
11
+ phases: [
12
+ { phase_ref: "phase_1", title: "Agent And Protocol Entry", status: "completed", main_repo_weight: "xoonya_medium_xytara_heavy", ecosystems: ["openai_codex", "claude_anthropic_mcp"], goal: "give early ecosystem users a clean proof-side continuation and review path" },
13
+ { phase_ref: "phase_2", title: "Broadly Legible Payment Rails", status: "completed", main_repo_weight: "xoonya_medium_xytara_very_heavy", ecosystems: ["evm", "base", "eth", "usdc"], goal: "normalize proof for broadly legible settlement rails" },
14
+ { phase_ref: "phase_3", title: "Native BSV Completion", status: "completed", main_repo_weight: "xoonya_heavy_xytara_heavy", ecosystems: ["bsv", "teranode", "metanet", "brc"], goal: "fully solidify native settlement proof and continuity" },
15
+ { phase_ref: "phase_4", title: "Identity And Trust Adapters", status: "completed", main_repo_weight: "xoonya_heavy_xytara_medium", ecosystems: ["erc8004", "identity_registry", "attestation"], goal: "deepen identity-aware proof and verification posture" },
16
+ { phase_ref: "phase_5", title: "Additional Major Rails", status: "completed", main_repo_weight: "xoonya_medium_xytara_heavy", ecosystems: ["solana", "antelope", "greymass", "eosio", "proton_xpr"], goal: "broaden chain-normalized proof continuity" },
17
+ { phase_ref: "phase_6", title: "Framework And Runtime Adapters", status: "completed", main_repo_weight: "xoonya_light_medium_xytara_heavy", ecosystems: ["langgraph", "langchain", "autogen", "semantic_kernel"], goal: "support production runtimes with direct proof followthrough" },
18
+ { phase_ref: "phase_7", title: "Event And System Integration", status: "completed", main_repo_weight: "xoonya_light_xytara_heavy", ecosystems: ["kafka", "nats", "mqtt", "webhook_event_bus"], goal: "accept and classify system-origin proof-relevant events cleanly" },
19
+ { phase_ref: "phase_8", title: "Proof And External Evidence Bridges", status: "completed", main_repo_weight: "xoonya_very_heavy_xytara_medium", ecosystems: ["external_result_import", "external_receipt_import", "proof_bundle_normalization"], goal: "make xoonya the universal proof-side convergence layer" },
20
+ { phase_ref: "phase_9", title: "Treasury And Operator Connectivity", status: "completed", main_repo_weight: "xoonya_light_medium_xytara_very_heavy", ecosystems: ["treasury_destinations", "custody_refs", "operator_accounting_bridges"], goal: "preserve proof continuity for real economic operations" },
21
+ { phase_ref: "phase_10", title: "Long Tail Ecosystem Breadth", status: "completed", main_repo_weight: "varies", ecosystems: ["demand_driven_niche_extensions"], goal: "extend from real demand without fragmenting proof semantics" }
22
+ ],
23
+ cross_phase_rules: [
24
+ "proof-side additions normalize external evidence into stable proof-bundle posture",
25
+ "verification, review, continuation, and evidence normalization belong first in xoonya",
26
+ "runtime and payment-specific behavior stays anchored in xytara and is carried into xoonya as facts",
27
+ "each phase should preserve one clear runtime-to-proof path for the target ecosystem"
28
+ ]
29
+ };
30
+ }
31
+
32
+ function summarizePhaseProgramPack() {
33
+ const pack = buildPhaseProgramPack();
34
+ return {
35
+ ok: true,
36
+ product: pack.product,
37
+ category: pack.category,
38
+ current_phase: pack.current_phase,
39
+ phase_count: pack.phases.length,
40
+ active_phase_count: pack.phases.filter((entry) => entry.status === "active").length,
41
+ planned_phase_count: pack.phases.filter((entry) => entry.status === "planned").length,
42
+ completed_phase_count: pack.phases.filter((entry) => entry.status === "completed").length,
43
+ rule_count: pack.cross_phase_rules.length
44
+ };
45
+ }
46
+
47
+ module.exports = { buildPhaseProgramPack, summarizePhaseProgramPack };
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildPublishPlan() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "proof-publish-plan",
10
+ version: packageJson.version,
11
+ commands: {
12
+ verify_release_candidate: "npm run verify:release-candidate",
13
+ pack_dry_run: "npm pack --dry-run --json",
14
+ publish: "npm publish --access public",
15
+ release_cli_check: "xoonya-release --candidate --summary"
16
+ },
17
+ live_checks: [
18
+ "/v1/release-candidate/summary",
19
+ "/v1/release-center/summary",
20
+ "/v1/announcement-pack/summary",
21
+ "/v1/outreach-proof/summary"
22
+ ],
23
+ publish_sequence: [
24
+ "run the release-candidate verification",
25
+ "confirm the dry-run package contents",
26
+ "publish the npm package at public access",
27
+ "redeploy the live service surfaces",
28
+ "verify the release-candidate and release-center summaries live",
29
+ "run the first public proof-side review path"
30
+ ]
31
+ };
32
+ }
33
+
34
+ function summarizePublishPlan() {
35
+ const plan = buildPublishPlan();
36
+ return {
37
+ ok: true,
38
+ product: plan.product,
39
+ category: plan.category,
40
+ version: plan.version,
41
+ command_count: Object.keys(plan.commands).length,
42
+ live_check_count: plan.live_checks.length,
43
+ publish_step_count: plan.publish_sequence.length,
44
+ publish_command: plan.commands.publish
45
+ };
46
+ }
47
+
48
+ module.exports = {
49
+ buildPublishPlan,
50
+ summarizePublishPlan
51
+ };
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildReleaseCandidatePack() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "proof-release-candidate",
10
+ version: packageJson.version,
11
+ package_posture: {
12
+ publish_access: packageJson.publishConfig && packageJson.publishConfig.access ? packageJson.publishConfig.access : null,
13
+ engine: packageJson.engines && packageJson.engines.node ? packageJson.engines.node : null,
14
+ bin_count: Object.keys(packageJson.bin || {}).length,
15
+ published_file_count: Array.isArray(packageJson.files) ? packageJson.files.length : 0
16
+ },
17
+ rehearsal: {
18
+ clean_install_command: "npm install xoonya",
19
+ dry_run_pack_command: "npm pack --dry-run --json",
20
+ release_check_command: "npm run verify:release-candidate",
21
+ first_release_view: "xoonya-release --candidate --summary"
22
+ },
23
+ checklist: [
24
+ "run npm run verify:release-candidate",
25
+ "confirm npm pack --dry-run includes public docs and bin entrypoints",
26
+ "confirm release-center and announcement-pack summaries are live after deploy",
27
+ "confirm the first public proof-side review path still succeeds",
28
+ "only then proceed to npm publish"
29
+ ]
30
+ };
31
+ }
32
+
33
+ function summarizeReleaseCandidatePack() {
34
+ const pack = buildReleaseCandidatePack();
35
+ return {
36
+ ok: true,
37
+ product: pack.product,
38
+ category: pack.category,
39
+ version: pack.version,
40
+ publish_access: pack.package_posture.publish_access,
41
+ bin_count: pack.package_posture.bin_count,
42
+ published_file_count: pack.package_posture.published_file_count,
43
+ checklist_count: pack.checklist.length
44
+ };
45
+ }
46
+
47
+ module.exports = {
48
+ buildReleaseCandidatePack,
49
+ summarizeReleaseCandidatePack
50
+ };