xytara 2.1.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 (159) hide show
  1. package/.env.example +5 -1
  2. package/ADAPTER_START_HERE.md +56 -0
  3. package/CARRIED_HANDOFF_DEMO.md +60 -0
  4. package/EXAMPLE_PATHS.md +53 -0
  5. package/OPERATIONS_RUNBOOK.md +65 -0
  6. package/OPERATOR_START_HERE.md +63 -0
  7. package/PARTNER_READY_PATH.md +71 -0
  8. package/PROGRAM_COMPLETE_RELEASE.md +63 -0
  9. package/PROGRAM_STATUS.md +57 -0
  10. package/PUBLIC_DEMO_SCRIPT.md +78 -0
  11. package/PUBLISH_PLAN.md +7 -5
  12. package/README.md +66 -0
  13. package/RELEASE_CHECKLIST.md +8 -2
  14. package/RELEASE_NOTES.md +12 -3
  15. package/START_HERE.md +32 -0
  16. package/SUPABASE_RUNTIME_STATE_SETUP.md +61 -0
  17. package/WHY_XYTARA_XOONYA.md +63 -0
  18. package/adapters/examples/minimal-third-party-execution-adapter.js +61 -0
  19. package/adapters/examples/minimal-third-party-execution-adapter.manifest.json +79 -0
  20. package/adapters/examples/minimal-third-party-execution-registration.record.json +26 -0
  21. package/adapters/examples/minimal-third-party-execution.certification-pack.json +22 -0
  22. package/adapters/examples/minimal-third-party-execution.submission-bundle.json +126 -0
  23. package/bin/xytara-release.js +1251 -1
  24. package/examples/adapter_review_walkthrough.js +53 -0
  25. package/examples/export_carried_handoff.js +80 -0
  26. package/examples/funded_runtime_walkthrough.js +70 -0
  27. package/examples/partner_launch_walkthrough.js +43 -0
  28. package/examples/quickstart.js +3255 -0
  29. package/index.js +7 -1
  30. package/lib/adapter_pack.js +118 -0
  31. package/lib/adapter_partner_pack.js +89 -0
  32. package/lib/adapter_promotion_pack.js +89 -0
  33. package/lib/outreach_copy_pack.js +51 -0
  34. package/lib/outreach_message_pack.js +71 -0
  35. package/lib/outreach_target_pack.js +60 -0
  36. package/lib/phase_10_closeout_pack.js +45 -0
  37. package/lib/phase_10_completion_pack.js +76 -0
  38. package/lib/phase_10_decision_record_pack.js +54 -0
  39. package/lib/phase_10_decision_resolution_pack.js +53 -0
  40. package/lib/phase_10_demand_signal_adapters_runtime_pack.js +74 -0
  41. package/lib/phase_10_ecosystem_backlog_triage_runtime_pack.js +74 -0
  42. package/lib/phase_10_freeze_baseline_pack.js +67 -0
  43. package/lib/phase_10_freeze_review_pack.js +64 -0
  44. package/lib/phase_10_gate_pack.js +57 -0
  45. package/lib/phase_10_long_tail_continuity_pack.js +80 -0
  46. package/lib/phase_10_long_tail_ecosystem_pack.js +66 -0
  47. package/lib/phase_10_niche_extension_registry_runtime_pack.js +74 -0
  48. package/lib/phase_1_claude_mcp_pack.js +60 -0
  49. package/lib/phase_1_claude_mcp_runtime_pack.js +52 -0
  50. package/lib/phase_1_ecosystem_pack.js +67 -0
  51. package/lib/phase_1_openai_codex_pack.js +60 -0
  52. package/lib/phase_1_openai_codex_runtime_pack.js +52 -0
  53. package/lib/phase_2_base_runtime_pack.js +71 -0
  54. package/lib/phase_2_base_usdc_runtime_pack.js +72 -0
  55. package/lib/phase_2_closeout_pack.js +65 -0
  56. package/lib/phase_2_completion_pack.js +113 -0
  57. package/lib/phase_2_decision_record_pack.js +66 -0
  58. package/lib/phase_2_decision_resolution_pack.js +69 -0
  59. package/lib/phase_2_eth_runtime_pack.js +70 -0
  60. package/lib/phase_2_evm_base_runtime_pack.js +73 -0
  61. package/lib/phase_2_evm_runtime_pack.js +71 -0
  62. package/lib/phase_2_flip_preview_pack.js +60 -0
  63. package/lib/phase_2_freeze_review_pack.js +99 -0
  64. package/lib/phase_2_gate_pack.js +77 -0
  65. package/lib/phase_2_payment_rails_pack.js +71 -0
  66. package/lib/phase_2_usdc_runtime_pack.js +71 -0
  67. package/lib/phase_3_brc_runtime_pack.js +81 -0
  68. package/lib/phase_3_bsv_teranode_runtime_pack.js +83 -0
  69. package/lib/phase_3_closeout_pack.js +62 -0
  70. package/lib/phase_3_completion_pack.js +94 -0
  71. package/lib/phase_3_decision_record_pack.js +64 -0
  72. package/lib/phase_3_decision_resolution_pack.js +69 -0
  73. package/lib/phase_3_freeze_baseline_pack.js +67 -0
  74. package/lib/phase_3_freeze_review_pack.js +80 -0
  75. package/lib/phase_3_gate_pack.js +76 -0
  76. package/lib/phase_3_metanet_runtime_pack.js +81 -0
  77. package/lib/phase_3_native_bsv_pack.js +91 -0
  78. package/lib/phase_3_native_continuity_pack.js +82 -0
  79. package/lib/phase_4_attestation_runtime_pack.js +75 -0
  80. package/lib/phase_4_closeout_pack.js +45 -0
  81. package/lib/phase_4_completion_pack.js +94 -0
  82. package/lib/phase_4_decision_record_pack.js +54 -0
  83. package/lib/phase_4_decision_resolution_pack.js +45 -0
  84. package/lib/phase_4_erc8004_runtime_pack.js +76 -0
  85. package/lib/phase_4_freeze_baseline_pack.js +67 -0
  86. package/lib/phase_4_freeze_review_pack.js +68 -0
  87. package/lib/phase_4_gate_pack.js +58 -0
  88. package/lib/phase_4_identity_registry_runtime_pack.js +75 -0
  89. package/lib/phase_4_identity_trust_pack.js +73 -0
  90. package/lib/phase_4_trust_continuity_pack.js +86 -0
  91. package/lib/phase_5_antelope_runtime_pack.js +76 -0
  92. package/lib/phase_5_closeout_pack.js +44 -0
  93. package/lib/phase_5_completion_pack.js +82 -0
  94. package/lib/phase_5_decision_record_pack.js +54 -0
  95. package/lib/phase_5_decision_resolution_pack.js +45 -0
  96. package/lib/phase_5_freeze_baseline_pack.js +67 -0
  97. package/lib/phase_5_freeze_review_pack.js +68 -0
  98. package/lib/phase_5_gate_pack.js +58 -0
  99. package/lib/phase_5_major_rails_continuity_pack.js +86 -0
  100. package/lib/phase_5_major_rails_pack.js +74 -0
  101. package/lib/phase_5_proton_xpr_runtime_pack.js +76 -0
  102. package/lib/phase_5_solana_runtime_pack.js +76 -0
  103. package/lib/phase_6_autogen_runtime_pack.js +72 -0
  104. package/lib/phase_6_closeout_pack.js +46 -0
  105. package/lib/phase_6_completion_pack.js +77 -0
  106. package/lib/phase_6_decision_record_pack.js +54 -0
  107. package/lib/phase_6_decision_resolution_pack.js +53 -0
  108. package/lib/phase_6_framework_continuity_pack.js +81 -0
  109. package/lib/phase_6_framework_runtime_pack.js +68 -0
  110. package/lib/phase_6_freeze_baseline_pack.js +68 -0
  111. package/lib/phase_6_freeze_review_pack.js +65 -0
  112. package/lib/phase_6_gate_pack.js +59 -0
  113. package/lib/phase_6_langchain_runtime_pack.js +72 -0
  114. package/lib/phase_6_langgraph_runtime_pack.js +72 -0
  115. package/lib/phase_6_semantic_kernel_runtime_pack.js +72 -0
  116. package/lib/phase_7_closeout_pack.js +45 -0
  117. package/lib/phase_7_completion_pack.js +85 -0
  118. package/lib/phase_7_decision_record_pack.js +53 -0
  119. package/lib/phase_7_decision_resolution_pack.js +53 -0
  120. package/lib/phase_7_event_system_continuity_pack.js +89 -0
  121. package/lib/phase_7_event_system_pack.js +76 -0
  122. package/lib/phase_7_freeze_baseline_pack.js +74 -0
  123. package/lib/phase_7_freeze_review_pack.js +65 -0
  124. package/lib/phase_7_gate_pack.js +58 -0
  125. package/lib/phase_7_kafka_runtime_pack.js +74 -0
  126. package/lib/phase_7_mqtt_runtime_pack.js +74 -0
  127. package/lib/phase_7_nats_runtime_pack.js +74 -0
  128. package/lib/phase_7_webhook_event_bus_runtime_pack.js +74 -0
  129. package/lib/phase_8_closeout_pack.js +46 -0
  130. package/lib/phase_8_completion_pack.js +82 -0
  131. package/lib/phase_8_decision_record_pack.js +54 -0
  132. package/lib/phase_8_decision_resolution_pack.js +53 -0
  133. package/lib/phase_8_external_receipt_import_runtime_pack.js +74 -0
  134. package/lib/phase_8_external_result_import_runtime_pack.js +74 -0
  135. package/lib/phase_8_freeze_baseline_pack.js +71 -0
  136. package/lib/phase_8_freeze_review_pack.js +64 -0
  137. package/lib/phase_8_gate_pack.js +58 -0
  138. package/lib/phase_8_proof_bridge_continuity_pack.js +86 -0
  139. package/lib/phase_8_proof_bridges_pack.js +72 -0
  140. package/lib/phase_8_proof_bundle_normalization_runtime_pack.js +74 -0
  141. package/lib/phase_9_closeout_pack.js +46 -0
  142. package/lib/phase_9_completion_pack.js +82 -0
  143. package/lib/phase_9_custody_refs_runtime_pack.js +74 -0
  144. package/lib/phase_9_decision_record_pack.js +54 -0
  145. package/lib/phase_9_decision_resolution_pack.js +53 -0
  146. package/lib/phase_9_freeze_baseline_pack.js +71 -0
  147. package/lib/phase_9_freeze_review_pack.js +64 -0
  148. package/lib/phase_9_gate_pack.js +58 -0
  149. package/lib/phase_9_operator_accounting_bridges_runtime_pack.js +74 -0
  150. package/lib/phase_9_treasury_connectivity_pack.js +72 -0
  151. package/lib/phase_9_treasury_continuity_pack.js +86 -0
  152. package/lib/phase_9_treasury_destinations_runtime_pack.js +74 -0
  153. package/lib/phase_program_pack.js +120 -0
  154. package/lib/release_center.js +970 -0
  155. package/lib/release_history.js +1 -1
  156. package/lib/runtime_state_store.js +212 -27
  157. package/lib/soft_launch_pack.js +78 -0
  158. package/package.json +13 -1
  159. package/server.js +2055 -252
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildPhase9TreasuryContinuityPack() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "machine-commerce-phase-9-treasury-continuity-pack",
10
+ phase_ref: "phase_9",
11
+ posture: "continuity_review",
12
+ continuity: {
13
+ lane_refs: [
14
+ "/v1/phases/phase-9/treasury-destinations/summary",
15
+ "/v1/phases/phase-9/custody-refs/summary",
16
+ "/v1/phases/phase-9/operator-accounting-bridges/summary"
17
+ ],
18
+ continuity_refs: ["/v1/phases/phase-9/summary"],
19
+ treasury_modes: ["treasury_destination_routing", "custody_reference_handoff", "operator_accounting_bridge"],
20
+ connectivity_modes: ["destination_connectivity", "custody_connectivity", "accounting_connectivity"],
21
+ destination_modes: ["destination_selection_flow", "destination_routing_flow", "destination_handoff_flow"],
22
+ custody_modes: ["custody_ref_flow", "handoff_ref_flow", "reconciliation_ref_flow"],
23
+ accounting_modes: ["accounting_bridge_flow", "statement_bridge_flow", "handoff_bridge_flow"],
24
+ continuity_surfaces: [
25
+ "/v1/release-center/summary",
26
+ "/v1/publish-plan/summary",
27
+ "/v1/phases/phase-9/summary"
28
+ ]
29
+ },
30
+ completion_shape: {
31
+ completion_checks: [
32
+ "all current treasury connectivity lanes are public and inspectable",
33
+ "treasury posture is visible at phase level",
34
+ "cross-lane continuity is explicit across destinations, custody refs, and operator accounting bridges",
35
+ "release-center summary reflects the treasury family as one coherent slice"
36
+ ]
37
+ },
38
+ first_path: {
39
+ purpose: "show that the treasury family is coherent across destination routing, custody references, and operator accounting bridges rather than isolated summaries",
40
+ first_http_sequence: [
41
+ "/v1/phases/phase-9/summary",
42
+ "/v1/phases/phase-9/treasury-continuity/summary",
43
+ "/v1/release-center/summary",
44
+ "/v1/publish-plan/summary"
45
+ ],
46
+ first_cli_sequence: [
47
+ "xytara-release --phase-9-treasury-continuity --summary",
48
+ "xytara-release --phase-9 --summary"
49
+ ],
50
+ expected_signals: [
51
+ "treasury destinations, custody refs, and operator accounting bridges are linked as one treasury family",
52
+ "treasury roles are legible without collapsing into one lane",
53
+ "operator surfaces stay attached to the Phase 9 lane family",
54
+ "Phase 9 reads as one coherent treasury connectivity slice"
55
+ ]
56
+ }
57
+ };
58
+ }
59
+
60
+ function summarizePhase9TreasuryContinuityPack() {
61
+ const pack = buildPhase9TreasuryContinuityPack();
62
+ return {
63
+ ok: true,
64
+ product: pack.product,
65
+ category: pack.category,
66
+ phase_ref: pack.phase_ref,
67
+ lane_count: pack.continuity.lane_refs.length,
68
+ continuity_ref_count: pack.continuity.continuity_refs.length,
69
+ treasury_mode_count: pack.continuity.treasury_modes.length,
70
+ connectivity_mode_count: pack.continuity.connectivity_modes.length,
71
+ destination_mode_count: pack.continuity.destination_modes.length,
72
+ custody_mode_count: pack.continuity.custody_modes.length,
73
+ accounting_mode_count: pack.continuity.accounting_modes.length,
74
+ continuity_surface_count: pack.continuity.continuity_surfaces.length,
75
+ completion_check_count: pack.completion_shape.completion_checks.length,
76
+ http_step_count: pack.first_path.first_http_sequence.length,
77
+ cli_step_count: pack.first_path.first_cli_sequence.length,
78
+ signal_count: pack.first_path.expected_signals.length,
79
+ first_http_step: pack.first_path.first_http_sequence[0] || null
80
+ };
81
+ }
82
+
83
+ module.exports = {
84
+ buildPhase9TreasuryContinuityPack,
85
+ summarizePhase9TreasuryContinuityPack
86
+ };
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildPhase9TreasuryDestinationsRuntimePack() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "machine-commerce-phase-9-treasury-destinations-runtime-pack",
10
+ phase_ref: "phase_9",
11
+ posture: "runtime_path",
12
+ ecosystems: ["treasury_destinations"],
13
+ runtime_shape: {
14
+ treasury_modes: ["destination_routing", "custody_handoff", "operator_accounting_bridge"],
15
+ destination_modes: ["destination_selection_flow", "destination_routing_flow", "destination_handoff_flow"],
16
+ ledger_artifacts: ["destination_ref", "custody_ref", "accounting_ref"],
17
+ operator_surfaces: [
18
+ "/v1/release-center/summary",
19
+ "/v1/publish-plan/summary",
20
+ "/v1/phases/phase-9/summary"
21
+ ]
22
+ },
23
+ first_path: {
24
+ purpose: "show the first Phase 9 treasury path from machine settlement outputs into treasury and accounting destinations",
25
+ first_http_sequence: [
26
+ "/v1/phases/phase-9/summary",
27
+ "/v1/phases/phase-9/treasury-destinations/summary",
28
+ "/v1/release-center/summary"
29
+ ],
30
+ first_cli_sequence: [
31
+ "xytara-release --phase-9-treasury-destinations-runtime --summary",
32
+ "xytara-release --phase-9 --summary"
33
+ ],
34
+ expected_signals: [
35
+ "treasury destinations is a public Phase 9 lane",
36
+ "ledger artifacts are explicit at the lane level",
37
+ "treasury posture is visible before broader Phase 9 expansion"
38
+ ]
39
+ },
40
+ completion: {
41
+ completion_checks: [
42
+ "treasury destinations lane is public and inspectable",
43
+ "ledger artifacts are visible at lane level",
44
+ "operator 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 summarizePhase9TreasuryDestinationsRuntimePack() {
52
+ const pack = buildPhase9TreasuryDestinationsRuntimePack();
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
+ treasury_mode_count: pack.runtime_shape.treasury_modes.length,
60
+ destination_mode_count: pack.runtime_shape.destination_modes.length,
61
+ ledger_artifact_count: pack.runtime_shape.ledger_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
+ operator_surface_count: pack.runtime_shape.operator_surfaces.length,
67
+ first_http_step: pack.first_path.first_http_sequence[0] || null
68
+ };
69
+ }
70
+
71
+ module.exports = {
72
+ buildPhase9TreasuryDestinationsRuntimePack,
73
+ summarizePhase9TreasuryDestinationsRuntimePack
74
+ };
@@ -0,0 +1,120 @@
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: "machine-commerce-phase-program-pack",
10
+ current_phase: "program_closed",
11
+ phases: [
12
+ {
13
+ phase_ref: "phase_1",
14
+ title: "Agent And Protocol Entry",
15
+ status: "completed",
16
+ main_repo_weight: "xytara_heavy_xoonya_medium",
17
+ ecosystems: ["openai_codex", "claude_anthropic_mcp"],
18
+ goal: "win the first real agent-builder and protocol-builder adoption paths"
19
+ },
20
+ {
21
+ phase_ref: "phase_2",
22
+ title: "Broadly Legible Payment Rails",
23
+ status: "completed",
24
+ main_repo_weight: "xytara_very_heavy_xoonya_medium",
25
+ ecosystems: ["evm", "base", "eth", "usdc"],
26
+ goal: "make multi-rail machine commerce commercially legible outside one chain context"
27
+ },
28
+ {
29
+ phase_ref: "phase_3",
30
+ title: "Native BSV Completion",
31
+ status: "completed",
32
+ main_repo_weight: "xytara_heavy_xoonya_heavy",
33
+ ecosystems: ["bsv", "teranode", "metanet", "brc"],
34
+ goal: "fully solidify the native differentiated rail"
35
+ },
36
+ {
37
+ phase_ref: "phase_4",
38
+ title: "Identity And Trust Adapters",
39
+ status: "completed",
40
+ main_repo_weight: "xytara_medium_xoonya_heavy",
41
+ ecosystems: ["erc8004", "identity_registry", "attestation"],
42
+ goal: "deepen governed trust and registry-aware interaction posture"
43
+ },
44
+ {
45
+ phase_ref: "phase_5",
46
+ title: "Additional Major Rails",
47
+ status: "completed",
48
+ main_repo_weight: "xytara_heavy_xoonya_medium",
49
+ ecosystems: ["solana", "antelope", "greymass", "eosio", "proton_xpr"],
50
+ goal: "broaden serious multi-ecosystem rail support"
51
+ },
52
+ {
53
+ phase_ref: "phase_6",
54
+ title: "Framework And Runtime Adapters",
55
+ status: "completed",
56
+ main_repo_weight: "xytara_heavy_xoonya_light_medium",
57
+ ecosystems: ["langgraph", "langchain", "autogen", "semantic_kernel"],
58
+ goal: "slot into production agent runtimes and orchestration stacks"
59
+ },
60
+ {
61
+ phase_ref: "phase_7",
62
+ title: "Event And System Integration",
63
+ status: "completed",
64
+ main_repo_weight: "xytara_heavy_xoonya_light",
65
+ ecosystems: ["kafka", "nats", "mqtt", "webhook_event_bus"],
66
+ goal: "make the stack easier to integrate into enterprise system flows"
67
+ },
68
+ {
69
+ phase_ref: "phase_8",
70
+ title: "Proof And External Evidence Bridges",
71
+ status: "completed",
72
+ main_repo_weight: "xoonya_very_heavy_xytara_medium",
73
+ ecosystems: ["external_result_import", "external_receipt_import", "proof_bundle_normalization"],
74
+ goal: "make xoonya the universal proof-side convergence layer"
75
+ },
76
+ {
77
+ phase_ref: "phase_9",
78
+ title: "Treasury And Operator Connectivity",
79
+ status: "completed",
80
+ main_repo_weight: "xytara_very_heavy_xoonya_light_medium",
81
+ ecosystems: ["treasury_destinations", "custody_refs", "operator_accounting_bridges"],
82
+ goal: "harden real economic operations across the multi-rail stack"
83
+ },
84
+ {
85
+ phase_ref: "phase_10",
86
+ title: "Long Tail Ecosystem Breadth",
87
+ status: "completed",
88
+ main_repo_weight: "varies",
89
+ ecosystems: ["demand_driven_niche_extensions"],
90
+ goal: "extend carefully from real demand without breaking coherence"
91
+ }
92
+ ],
93
+ cross_phase_rules: [
94
+ "every adapter enters through manifest, registration, certification, promotion, and review",
95
+ "runtime, payment, settlement, treasury, and metering belong first in xytara",
96
+ "proof bundle, verification, review, continuation, and evidence normalization belong first in xoonya",
97
+ "trust continuity is designed across both repos from the start"
98
+ ]
99
+ };
100
+ }
101
+
102
+ function summarizePhaseProgramPack() {
103
+ const pack = buildPhaseProgramPack();
104
+ return {
105
+ ok: true,
106
+ product: pack.product,
107
+ category: pack.category,
108
+ current_phase: pack.current_phase,
109
+ phase_count: pack.phases.length,
110
+ active_phase_count: pack.phases.filter((entry) => entry.status === "active").length,
111
+ planned_phase_count: pack.phases.filter((entry) => entry.status === "planned").length,
112
+ completed_phase_count: pack.phases.filter((entry) => entry.status === "completed").length,
113
+ rule_count: pack.cross_phase_rules.length
114
+ };
115
+ }
116
+
117
+ module.exports = {
118
+ buildPhaseProgramPack,
119
+ summarizePhaseProgramPack
120
+ };