xytara 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 (176) hide show
  1. package/.env.example +6 -0
  2. package/ADAPTER_START_HERE.md +56 -0
  3. package/BSV_TERANODE_SETUP.md +30 -1
  4. package/CARRIED_HANDOFF_DEMO.md +60 -0
  5. package/EXAMPLE_PATHS.md +53 -0
  6. package/FINAL_CONTRACT.md +6 -6
  7. package/OPERATIONS_RUNBOOK.md +65 -0
  8. package/OPERATOR_START_HERE.md +63 -0
  9. package/PARTNER_READY_PATH.md +71 -0
  10. package/PROGRAM_COMPLETE_RELEASE.md +63 -0
  11. package/PROGRAM_STATUS.md +57 -0
  12. package/PUBLIC_DEMO_SCRIPT.md +78 -0
  13. package/PUBLISH_PLAN.md +14 -0
  14. package/README.md +142 -6
  15. package/RELEASE_CHECKLIST.md +16 -0
  16. package/RELEASE_NOTES.md +28 -0
  17. package/SERVICE_CONTRACT.md +4 -4
  18. package/START_HERE.md +32 -0
  19. package/SUPABASE_RUNTIME_STATE_SETUP.md +61 -0
  20. package/WHY_XYTARA_XOONYA.md +63 -0
  21. package/adapters/examples/minimal-third-party-execution-adapter.js +61 -0
  22. package/adapters/examples/minimal-third-party-execution-adapter.manifest.json +79 -0
  23. package/adapters/examples/minimal-third-party-execution-registration.record.json +26 -0
  24. package/adapters/examples/minimal-third-party-execution.certification-pack.json +22 -0
  25. package/adapters/examples/minimal-third-party-execution.submission-bundle.json +126 -0
  26. package/bin/xytara-release.js +1419 -0
  27. package/bin/xytara-run.js +186 -0
  28. package/examples/adapter_review_walkthrough.js +53 -0
  29. package/examples/export_carried_handoff.js +80 -0
  30. package/examples/funded_runtime_walkthrough.js +70 -0
  31. package/examples/partner_launch_walkthrough.js +43 -0
  32. package/examples/quickstart.js +3255 -0
  33. package/index.js +87 -1
  34. package/lib/adapter_pack.js +118 -0
  35. package/lib/adapter_partner_pack.js +89 -0
  36. package/lib/adapter_promotion_pack.js +89 -0
  37. package/lib/announcement_pack.js +61 -0
  38. package/lib/commerce_artifacts.js +3 -0
  39. package/lib/commerce_economics.js +14 -0
  40. package/lib/commerce_reports.js +26 -1
  41. package/lib/commerce_shell.js +18 -2
  42. package/lib/ecosystem_entry.js +64 -0
  43. package/lib/launch_narrative.js +53 -0
  44. package/lib/outreach_copy_pack.js +51 -0
  45. package/lib/outreach_message_pack.js +71 -0
  46. package/lib/outreach_proof.js +71 -0
  47. package/lib/outreach_target_pack.js +60 -0
  48. package/lib/phase_10_closeout_pack.js +45 -0
  49. package/lib/phase_10_completion_pack.js +76 -0
  50. package/lib/phase_10_decision_record_pack.js +54 -0
  51. package/lib/phase_10_decision_resolution_pack.js +53 -0
  52. package/lib/phase_10_demand_signal_adapters_runtime_pack.js +74 -0
  53. package/lib/phase_10_ecosystem_backlog_triage_runtime_pack.js +74 -0
  54. package/lib/phase_10_freeze_baseline_pack.js +67 -0
  55. package/lib/phase_10_freeze_review_pack.js +64 -0
  56. package/lib/phase_10_gate_pack.js +57 -0
  57. package/lib/phase_10_long_tail_continuity_pack.js +80 -0
  58. package/lib/phase_10_long_tail_ecosystem_pack.js +66 -0
  59. package/lib/phase_10_niche_extension_registry_runtime_pack.js +74 -0
  60. package/lib/phase_1_claude_mcp_pack.js +60 -0
  61. package/lib/phase_1_claude_mcp_runtime_pack.js +52 -0
  62. package/lib/phase_1_ecosystem_pack.js +67 -0
  63. package/lib/phase_1_openai_codex_pack.js +60 -0
  64. package/lib/phase_1_openai_codex_runtime_pack.js +52 -0
  65. package/lib/phase_2_base_runtime_pack.js +71 -0
  66. package/lib/phase_2_base_usdc_runtime_pack.js +72 -0
  67. package/lib/phase_2_closeout_pack.js +65 -0
  68. package/lib/phase_2_completion_pack.js +113 -0
  69. package/lib/phase_2_decision_record_pack.js +66 -0
  70. package/lib/phase_2_decision_resolution_pack.js +69 -0
  71. package/lib/phase_2_eth_runtime_pack.js +70 -0
  72. package/lib/phase_2_evm_base_runtime_pack.js +73 -0
  73. package/lib/phase_2_evm_runtime_pack.js +71 -0
  74. package/lib/phase_2_flip_preview_pack.js +60 -0
  75. package/lib/phase_2_freeze_review_pack.js +99 -0
  76. package/lib/phase_2_gate_pack.js +77 -0
  77. package/lib/phase_2_payment_rails_pack.js +71 -0
  78. package/lib/phase_2_usdc_runtime_pack.js +71 -0
  79. package/lib/phase_3_brc_runtime_pack.js +81 -0
  80. package/lib/phase_3_bsv_teranode_runtime_pack.js +83 -0
  81. package/lib/phase_3_closeout_pack.js +62 -0
  82. package/lib/phase_3_completion_pack.js +94 -0
  83. package/lib/phase_3_decision_record_pack.js +64 -0
  84. package/lib/phase_3_decision_resolution_pack.js +69 -0
  85. package/lib/phase_3_freeze_baseline_pack.js +67 -0
  86. package/lib/phase_3_freeze_review_pack.js +80 -0
  87. package/lib/phase_3_gate_pack.js +76 -0
  88. package/lib/phase_3_metanet_runtime_pack.js +81 -0
  89. package/lib/phase_3_native_bsv_pack.js +91 -0
  90. package/lib/phase_3_native_continuity_pack.js +82 -0
  91. package/lib/phase_4_attestation_runtime_pack.js +75 -0
  92. package/lib/phase_4_closeout_pack.js +45 -0
  93. package/lib/phase_4_completion_pack.js +94 -0
  94. package/lib/phase_4_decision_record_pack.js +54 -0
  95. package/lib/phase_4_decision_resolution_pack.js +45 -0
  96. package/lib/phase_4_erc8004_runtime_pack.js +76 -0
  97. package/lib/phase_4_freeze_baseline_pack.js +67 -0
  98. package/lib/phase_4_freeze_review_pack.js +68 -0
  99. package/lib/phase_4_gate_pack.js +58 -0
  100. package/lib/phase_4_identity_registry_runtime_pack.js +75 -0
  101. package/lib/phase_4_identity_trust_pack.js +73 -0
  102. package/lib/phase_4_trust_continuity_pack.js +86 -0
  103. package/lib/phase_5_antelope_runtime_pack.js +76 -0
  104. package/lib/phase_5_closeout_pack.js +44 -0
  105. package/lib/phase_5_completion_pack.js +82 -0
  106. package/lib/phase_5_decision_record_pack.js +54 -0
  107. package/lib/phase_5_decision_resolution_pack.js +45 -0
  108. package/lib/phase_5_freeze_baseline_pack.js +67 -0
  109. package/lib/phase_5_freeze_review_pack.js +68 -0
  110. package/lib/phase_5_gate_pack.js +58 -0
  111. package/lib/phase_5_major_rails_continuity_pack.js +86 -0
  112. package/lib/phase_5_major_rails_pack.js +74 -0
  113. package/lib/phase_5_proton_xpr_runtime_pack.js +76 -0
  114. package/lib/phase_5_solana_runtime_pack.js +76 -0
  115. package/lib/phase_6_autogen_runtime_pack.js +72 -0
  116. package/lib/phase_6_closeout_pack.js +46 -0
  117. package/lib/phase_6_completion_pack.js +77 -0
  118. package/lib/phase_6_decision_record_pack.js +54 -0
  119. package/lib/phase_6_decision_resolution_pack.js +53 -0
  120. package/lib/phase_6_framework_continuity_pack.js +81 -0
  121. package/lib/phase_6_framework_runtime_pack.js +68 -0
  122. package/lib/phase_6_freeze_baseline_pack.js +68 -0
  123. package/lib/phase_6_freeze_review_pack.js +65 -0
  124. package/lib/phase_6_gate_pack.js +59 -0
  125. package/lib/phase_6_langchain_runtime_pack.js +72 -0
  126. package/lib/phase_6_langgraph_runtime_pack.js +72 -0
  127. package/lib/phase_6_semantic_kernel_runtime_pack.js +72 -0
  128. package/lib/phase_7_closeout_pack.js +45 -0
  129. package/lib/phase_7_completion_pack.js +85 -0
  130. package/lib/phase_7_decision_record_pack.js +53 -0
  131. package/lib/phase_7_decision_resolution_pack.js +53 -0
  132. package/lib/phase_7_event_system_continuity_pack.js +89 -0
  133. package/lib/phase_7_event_system_pack.js +76 -0
  134. package/lib/phase_7_freeze_baseline_pack.js +74 -0
  135. package/lib/phase_7_freeze_review_pack.js +65 -0
  136. package/lib/phase_7_gate_pack.js +58 -0
  137. package/lib/phase_7_kafka_runtime_pack.js +74 -0
  138. package/lib/phase_7_mqtt_runtime_pack.js +74 -0
  139. package/lib/phase_7_nats_runtime_pack.js +74 -0
  140. package/lib/phase_7_webhook_event_bus_runtime_pack.js +74 -0
  141. package/lib/phase_8_closeout_pack.js +46 -0
  142. package/lib/phase_8_completion_pack.js +82 -0
  143. package/lib/phase_8_decision_record_pack.js +54 -0
  144. package/lib/phase_8_decision_resolution_pack.js +53 -0
  145. package/lib/phase_8_external_receipt_import_runtime_pack.js +74 -0
  146. package/lib/phase_8_external_result_import_runtime_pack.js +74 -0
  147. package/lib/phase_8_freeze_baseline_pack.js +71 -0
  148. package/lib/phase_8_freeze_review_pack.js +64 -0
  149. package/lib/phase_8_gate_pack.js +58 -0
  150. package/lib/phase_8_proof_bridge_continuity_pack.js +86 -0
  151. package/lib/phase_8_proof_bridges_pack.js +72 -0
  152. package/lib/phase_8_proof_bundle_normalization_runtime_pack.js +74 -0
  153. package/lib/phase_9_closeout_pack.js +46 -0
  154. package/lib/phase_9_completion_pack.js +82 -0
  155. package/lib/phase_9_custody_refs_runtime_pack.js +74 -0
  156. package/lib/phase_9_decision_record_pack.js +54 -0
  157. package/lib/phase_9_decision_resolution_pack.js +53 -0
  158. package/lib/phase_9_freeze_baseline_pack.js +71 -0
  159. package/lib/phase_9_freeze_review_pack.js +64 -0
  160. package/lib/phase_9_gate_pack.js +58 -0
  161. package/lib/phase_9_operator_accounting_bridges_runtime_pack.js +74 -0
  162. package/lib/phase_9_treasury_connectivity_pack.js +72 -0
  163. package/lib/phase_9_treasury_continuity_pack.js +86 -0
  164. package/lib/phase_9_treasury_destinations_runtime_pack.js +74 -0
  165. package/lib/phase_program_pack.js +120 -0
  166. package/lib/publish_plan.js +51 -0
  167. package/lib/release_candidate.js +50 -0
  168. package/lib/release_center.js +1085 -0
  169. package/lib/release_history.js +72 -0
  170. package/lib/release_manifest.js +114 -0
  171. package/lib/release_pack.js +454 -0
  172. package/lib/runtime_state_store.js +354 -0
  173. package/lib/settlement_bsv_live.js +262 -13
  174. package/lib/soft_launch_pack.js +78 -0
  175. package/package.json +24 -2
  176. package/server.js +2562 -220
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildLaunchNarrativePack() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "machine-commerce-launch-narrative",
10
+ why_now: "agents and machine systems increasingly need to cross weak-trust boundaries where payment, execution, proof, and replayability cannot stay disconnected",
11
+ problem_patchwork_misses: [
12
+ "runtime-only stacks do not carry pricing, settlement, and proof continuity together",
13
+ "payment-only stacks do not stay attached to real machine work and reusable spend posture",
14
+ "ad hoc glue leaves operators to reconstruct trust and consequence after the fact"
15
+ ],
16
+ strongest_public_claim: "quote pay execute prove in one governed machine flow",
17
+ first_proof_to_run: {
18
+ path_ref: "scenario.direct_pay.trust_verify",
19
+ why_this_first: "smallest strong-signal run that shows paid machine execution, inspectable records, and proof-aware followthrough",
20
+ cli: "xytara-run --url https://xytara.onrender.com --account acct_demo --command \"cli-run\" --task trust.verify --body-json '{\"subject_id\":\"subject-1\"}' --wallet-id merchant_wallet_main --wallet-secret YOUR_LOCAL_SIGNED_SECRET --txid YOUR_BSV_TXID"
21
+ },
22
+ first_success_looks_like: [
23
+ "one capability is discovered and quoted",
24
+ "payment or credits admission succeeds",
25
+ "transaction, payment, and settlement records are inspectable",
26
+ "result output can continue into xoonya instead of ending as runtime exhaust"
27
+ ],
28
+ immediate_should_care: [
29
+ "agent builders needing paid capability execution",
30
+ "tool and marketplace authors needing neutral transaction handling",
31
+ "operators needing credits-first repeat machine use",
32
+ "runtime teams needing proof-aware continuation"
33
+ ]
34
+ };
35
+ }
36
+
37
+ function summarizeLaunchNarrativePack() {
38
+ const pack = buildLaunchNarrativePack();
39
+ return {
40
+ ok: true,
41
+ product: pack.product,
42
+ category: pack.category,
43
+ patchwork_gap_count: pack.problem_patchwork_misses.length,
44
+ success_signal_count: pack.first_success_looks_like.length,
45
+ immediate_audience_count: pack.immediate_should_care.length,
46
+ first_path_ref: pack.first_proof_to_run.path_ref
47
+ };
48
+ }
49
+
50
+ module.exports = {
51
+ buildLaunchNarrativePack,
52
+ summarizeLaunchNarrativePack
53
+ };
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildOutreachCopyPack() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "machine-commerce-outreach-copy-pack",
10
+ short_post: {
11
+ headline: "xytara is live",
12
+ body: "xytara is a machine-commerce spine for builders who need quote, pay, execute, inspect, and continue into proof without stitching together separate systems. It supports direct paid execution, reusable credits, adapter-first extension, and proof-aware followthrough."
13
+ },
14
+ direct_message: {
15
+ subject: "xytara: paid execution plus proof-aware followthrough",
16
+ body: "We built xytara for agent builders, tool authors, and runtime teams that need a real machine-commerce path instead of patchwork glue. If you want, start with `xytara-release --center --summary` and then run one paid path with `xytara-run`."
17
+ },
18
+ adapter_partner_message: {
19
+ subject: "xytara adapter partner path",
20
+ body: "If you build tools or integrations, xytara now has a public third-party adapter starter, promotion path, and partner path. You can copy the minimal starter, validate it locally, inspect the promotion workflow, and see exactly what still blocks broader trust."
21
+ },
22
+ first_links: [
23
+ "/v1/release-center/summary",
24
+ "/v1/soft-launch/summary",
25
+ "/v1/adapter-partners/summary",
26
+ "/v1/outreach-proof/summary"
27
+ ],
28
+ first_ctas: [
29
+ "run xytara-release --center --summary",
30
+ "run one direct paid path with xytara-run",
31
+ "inspect the adapter partner path if you build integrations"
32
+ ]
33
+ };
34
+ }
35
+
36
+ function summarizeOutreachCopyPack() {
37
+ const pack = buildOutreachCopyPack();
38
+ return {
39
+ ok: true,
40
+ product: pack.product,
41
+ category: pack.category,
42
+ link_count: pack.first_links.length,
43
+ cta_count: pack.first_ctas.length,
44
+ headline: pack.short_post.headline
45
+ };
46
+ }
47
+
48
+ module.exports = {
49
+ buildOutreachCopyPack,
50
+ summarizeOutreachCopyPack
51
+ };
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildOutreachMessagePack() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "machine-commerce-outreach-message-pack",
10
+ messages: [
11
+ {
12
+ message_ref: "public_launch_post",
13
+ audience_ref: "general_builder",
14
+ channel: "public_post",
15
+ subject: "xytara is live",
16
+ body: "xytara is live. It is a machine-commerce spine for builders who need quote, pay, execute, inspect, and continue into proof without stitching together separate systems. Start with `/v1/release-center/summary` or run `xytara-release --center --summary`."
17
+ },
18
+ {
19
+ message_ref: "agent_builder_intro",
20
+ audience_ref: "agent_builder",
21
+ channel: "direct_message",
22
+ subject: "xytara for paid agent execution",
23
+ body: "If you need a real paid capability path for agents, xytara now gives you quote, pay, execute, inspect, and proof-aware followthrough on one public spine. Best first step: run `xytara-run` once, then inspect `/v1/release-center/summary`."
24
+ },
25
+ {
26
+ message_ref: "adapter_partner_intro",
27
+ audience_ref: "adapter_author",
28
+ channel: "direct_message",
29
+ subject: "xytara adapter partner path",
30
+ body: "If you build tools or integrations, xytara now has a public third-party adapter starter, promotion path, and partner path. You can copy the minimal starter, validate it locally, inspect promotion workflow, and see what still blocks broader trust."
31
+ },
32
+ {
33
+ message_ref: "runtime_team_intro",
34
+ audience_ref: "proof_aware_runtime_team",
35
+ channel: "direct_message",
36
+ subject: "xytara for runtime-to-proof followthrough",
37
+ body: "If your runtime results currently stop at logs, xytara gives you a machine-commerce path that can continue into proof review cleanly. Best first check: `/v1/outreach-proof/summary` and `xytara-release --outreach-proof --summary`."
38
+ }
39
+ ],
40
+ first_artifacts: [
41
+ "/v1/release-center/summary",
42
+ "/v1/adapter-partners/summary",
43
+ "/v1/outreach-proof/summary",
44
+ "/v1/soft-launch/summary"
45
+ ],
46
+ first_commands: [
47
+ "xytara-release --center --summary",
48
+ "xytara-release --adapter-partners --summary",
49
+ "xytara-release --outreach-proof --summary",
50
+ "xytara-run --url https://xytara.onrender.com --account acct_demo --command \"cli-run\" --task trust.verify --body-json '{\"subject_id\":\"subject-1\"}' --wallet-id merchant_wallet_main --wallet-secret YOUR_LOCAL_SIGNED_SECRET --txid YOUR_BSV_TXID"
51
+ ]
52
+ };
53
+ }
54
+
55
+ function summarizeOutreachMessagePack() {
56
+ const pack = buildOutreachMessagePack();
57
+ return {
58
+ ok: true,
59
+ product: pack.product,
60
+ category: pack.category,
61
+ message_count: pack.messages.length,
62
+ artifact_count: pack.first_artifacts.length,
63
+ command_count: pack.first_commands.length,
64
+ first_message: pack.messages[0] ? pack.messages[0].message_ref : null
65
+ };
66
+ }
67
+
68
+ module.exports = {
69
+ buildOutreachMessagePack,
70
+ summarizeOutreachMessagePack
71
+ };
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildOutreachProofPack() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "machine-commerce-outreach-proof",
10
+ proven_live_today: [
11
+ "x402 payment admission for direct machine execution",
12
+ "native BSV settlement observe path with finalized state",
13
+ "credits-first account-funded spend and deterministic usage metering",
14
+ "operator inspection across payment, settlement, treasury, and proof carry"
15
+ ],
16
+ live_rails: [
17
+ {
18
+ rail_ref: "direct_machine_payment",
19
+ status: "proven_live",
20
+ trust_signal: "payment admitted, transaction recorded, settlement-linked execution path present"
21
+ },
22
+ {
23
+ rail_ref: "credits_first_repeat_use",
24
+ status: "proven_live",
25
+ trust_signal: "account credits consume against real runs with deterministic usage meters"
26
+ },
27
+ {
28
+ rail_ref: "native_bsv_settlement_observe",
29
+ status: "proven_live",
30
+ trust_signal: "observe runtime finalized against a real txid with confirmations"
31
+ }
32
+ ],
33
+ credible_public_proof_path: {
34
+ path_ref: "scenario.direct_pay.trust_verify",
35
+ why_credible: "smallest public run that already aligns with the demonstrated live payment and settlement posture",
36
+ cli: "xytara-run --url https://xytara.onrender.com --account acct_demo --command \"cli-run\" --task trust.verify --body-json '{\"subject_id\":\"subject-1\"}' --wallet-id merchant_wallet_main --wallet-secret YOUR_LOCAL_SIGNED_SECRET --txid YOUR_BSV_TXID"
37
+ },
38
+ trust_today_vs_later: {
39
+ trust_today: [
40
+ "direct paid machine execution",
41
+ "credits-first repeat usage",
42
+ "operator and launch surfaces",
43
+ "proof-aware runtime followthrough"
44
+ ],
45
+ later_depth: [
46
+ "broader ecosystem adoption after release",
47
+ "deeper settlement-path breadth beyond current proven posture",
48
+ "continued release-line expansion after public package launch"
49
+ ]
50
+ }
51
+ };
52
+ }
53
+
54
+ function summarizeOutreachProofPack() {
55
+ const pack = buildOutreachProofPack();
56
+ return {
57
+ ok: true,
58
+ product: pack.product,
59
+ category: pack.category,
60
+ proven_count: pack.proven_live_today.length,
61
+ live_rail_count: pack.live_rails.length,
62
+ trust_today_count: pack.trust_today_vs_later.trust_today.length,
63
+ later_depth_count: pack.trust_today_vs_later.later_depth.length,
64
+ first_path_ref: pack.credible_public_proof_path.path_ref
65
+ };
66
+ }
67
+
68
+ module.exports = {
69
+ buildOutreachProofPack,
70
+ summarizeOutreachProofPack
71
+ };
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildOutreachTargetPack() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "machine-commerce-outreach-target-pack",
10
+ target_groups: [
11
+ {
12
+ target_ref: "agent_builders",
13
+ why_now: "need a first paid capability path with governed execution and proof-aware followthrough",
14
+ first_artifact: "/v1/release-center/summary",
15
+ first_cli: "xytara-run --url https://xytara.onrender.com --account acct_demo --command \"cli-run\" --task trust.verify --body-json '{\"subject_id\":\"subject-1\"}' --wallet-id merchant_wallet_main --wallet-secret YOUR_LOCAL_SIGNED_SECRET --txid YOUR_BSV_TXID"
16
+ },
17
+ {
18
+ target_ref: "adapter_authors",
19
+ why_now: "need a public starter plus a visible promotion path",
20
+ first_artifact: "/v1/adapter-partners/summary",
21
+ first_cli: "xytara-release --adapter-partners --summary"
22
+ },
23
+ {
24
+ target_ref: "tool_and_marketplace_authors",
25
+ why_now: "need a machine-commerce layer without stitching together payment, execution, and review",
26
+ first_artifact: "/v1/launch-narrative/summary",
27
+ first_cli: "xytara-release --launch --summary"
28
+ },
29
+ {
30
+ target_ref: "proof_aware_runtime_teams",
31
+ why_now: "need runtime results that continue cleanly into proof instead of stopping at logs",
32
+ first_artifact: "/v1/outreach-proof/summary",
33
+ first_cli: "xytara-release --outreach-proof --summary"
34
+ }
35
+ ],
36
+ first_wave_guidance: [
37
+ "start with a small technically strong set, not a broad audience",
38
+ "lead each target to one first artifact, not the whole surface map",
39
+ "watch which first cli or route they actually use",
40
+ "tighten language before expanding beyond the first wave"
41
+ ]
42
+ };
43
+ }
44
+
45
+ function summarizeOutreachTargetPack() {
46
+ const pack = buildOutreachTargetPack();
47
+ return {
48
+ ok: true,
49
+ product: pack.product,
50
+ category: pack.category,
51
+ target_count: pack.target_groups.length,
52
+ first_target: pack.target_groups[0] ? pack.target_groups[0].target_ref : null,
53
+ guidance_count: pack.first_wave_guidance.length
54
+ };
55
+ }
56
+
57
+ module.exports = {
58
+ buildOutreachTargetPack,
59
+ summarizeOutreachTargetPack
60
+ };
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildPhase10CloseoutPack() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "machine-commerce-phase-10-closeout-pack",
10
+ phase_ref: "phase_10",
11
+ posture: "closeout_plan",
12
+ current_decision: "ready_for_program_closeout",
13
+ blocking_actions: [],
14
+ action_steps: [
15
+ "confirm the current long-tail lane family is the intended final Phase 10 shape",
16
+ "record the terminal program closeout review",
17
+ "recheck phase-10 gate summary for zero unsatisfied conditions",
18
+ "advance only once phase-10 gate resolves to ready_for_program_closeout"
19
+ ],
20
+ completion_signals: [
21
+ "phase-10 completion shows no remaining focus",
22
+ "phase-10 decision record shows no pending records",
23
+ "phase-10 gate resolves to ready_for_program_closeout"
24
+ ]
25
+ };
26
+ }
27
+
28
+ function summarizePhase10CloseoutPack() {
29
+ const pack = buildPhase10CloseoutPack();
30
+ return {
31
+ ok: true,
32
+ product: pack.product,
33
+ category: pack.category,
34
+ phase_ref: pack.phase_ref,
35
+ blocking_action_count: pack.blocking_actions.length,
36
+ action_step_count: pack.action_steps.length,
37
+ completion_signal_count: pack.completion_signals.length,
38
+ current_decision: pack.current_decision
39
+ };
40
+ }
41
+
42
+ module.exports = {
43
+ buildPhase10CloseoutPack,
44
+ summarizePhase10CloseoutPack
45
+ };
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildPhase10CompletionPack() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "machine-commerce-phase-10-completion-pack",
10
+ phase_ref: "phase_10",
11
+ posture: "completion_review",
12
+ coverage: {
13
+ ecosystem_refs: ["demand_signal_adapters", "niche_extension_registry", "ecosystem_backlog_triage"],
14
+ lane_refs: [
15
+ "/v1/phases/phase-10/demand-signal-adapters/summary",
16
+ "/v1/phases/phase-10/niche-extension-registry/summary",
17
+ "/v1/phases/phase-10/ecosystem-backlog-triage/summary"
18
+ ],
19
+ extension_modes: ["demand_signal_capture", "extension_registry_mapping", "backlog_triage"],
20
+ demand_modes: ["partner_signal_flow", "extension_fit_flow", "queue_handoff_flow"],
21
+ extension_artifacts: ["demand_signal_ref", "extension_registry_ref", "triage_queue_ref"],
22
+ operator_surfaces: [
23
+ "/v1/release-center/summary",
24
+ "/v1/publish-plan/summary",
25
+ "/v1/phases/phase-10/long-tail-continuity/summary"
26
+ ]
27
+ },
28
+ completion: {
29
+ checks: [
30
+ "broad Phase 10 long-tail ecosystem pack is public and inspectable",
31
+ "all current Phase 10 long-tail lanes are public and inspectable",
32
+ "extension posture is visible at phase level",
33
+ "long-tail continuity is explicit across the lane family",
34
+ "release-center summary reflects Phase 10 breadth and lane coverage",
35
+ "Phase 10 closeout criteria are explicit before final program closeout"
36
+ ],
37
+ readiness_criteria: [
38
+ { ref: "criterion.phase_surface_public", label: "Phase 10 broad summary is live and inspectable", satisfied: true },
39
+ { ref: "criterion.long_tail_lane_coverage", label: "All current long-tail lanes are live and inspectable", satisfied: true },
40
+ { ref: "criterion.long_tail_continuity_visible", label: "Long-tail continuity is visible at phase level", satisfied: true },
41
+ { ref: "criterion.operator_surfaces_attached", label: "Operator surfaces remain attached to the long-tail family", satisfied: true },
42
+ { ref: "criterion.freeze_shape_confirmed", label: "The final Phase 10 long-tail lane shape is explicitly frozen", satisfied: true },
43
+ { ref: "criterion.program_closeout_reviewed", label: "A final program closeout review has been recorded", satisfied: true }
44
+ ],
45
+ ready_for_next_phase: false,
46
+ remaining_focus: []
47
+ }
48
+ };
49
+ }
50
+
51
+ function summarizePhase10CompletionPack() {
52
+ const pack = buildPhase10CompletionPack();
53
+ return {
54
+ ok: true,
55
+ product: pack.product,
56
+ category: pack.category,
57
+ phase_ref: pack.phase_ref,
58
+ ecosystem_count: pack.coverage.ecosystem_refs.length,
59
+ lane_count: pack.coverage.lane_refs.length,
60
+ extension_mode_count: pack.coverage.extension_modes.length,
61
+ demand_mode_count: pack.coverage.demand_modes.length,
62
+ extension_artifact_count: pack.coverage.extension_artifacts.length,
63
+ operator_surface_count: pack.coverage.operator_surfaces.length,
64
+ completion_check_count: pack.completion.checks.length,
65
+ readiness_criteria_count: pack.completion.readiness_criteria.length,
66
+ satisfied_criteria_count: pack.completion.readiness_criteria.filter((criterion) => criterion.satisfied === true).length,
67
+ unsatisfied_criteria_count: pack.completion.readiness_criteria.filter((criterion) => criterion.satisfied !== true).length,
68
+ remaining_focus_count: pack.completion.remaining_focus.length,
69
+ ready_for_next_phase: pack.completion.ready_for_next_phase
70
+ };
71
+ }
72
+
73
+ module.exports = {
74
+ buildPhase10CompletionPack,
75
+ summarizePhase10CompletionPack
76
+ };
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildPhase10DecisionRecordPack() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "machine-commerce-phase-10-decision-record-pack",
10
+ phase_ref: "phase_10",
11
+ posture: "decision_record",
12
+ records: {
13
+ freeze_decision: {
14
+ status: "recorded",
15
+ description: "record the final long-tail lane shape as the frozen Phase 10 baseline"
16
+ },
17
+ program_closeout_review: {
18
+ status: "recorded",
19
+ description: "record the final review that authorizes terminal program closeout"
20
+ }
21
+ },
22
+ record_steps: [
23
+ "confirm the current long-tail lane family matches the intended final Phase 10 shape",
24
+ "record the freeze decision outcome",
25
+ "record the program closeout review outcome",
26
+ "recheck phase-10 gate summary for the remaining terminal blockers"
27
+ ],
28
+ outputs: [
29
+ "freeze decision status is recorded and inspectable",
30
+ "program closeout review status is recorded and inspectable",
31
+ "phase-10 terminal gate can be flipped deliberately"
32
+ ]
33
+ };
34
+ }
35
+
36
+ function summarizePhase10DecisionRecordPack() {
37
+ const pack = buildPhase10DecisionRecordPack();
38
+ return {
39
+ ok: true,
40
+ product: pack.product,
41
+ category: pack.category,
42
+ phase_ref: pack.phase_ref,
43
+ pending_record_count: Object.values(pack.records).filter((record) => record.status === "pending_record").length,
44
+ record_step_count: pack.record_steps.length,
45
+ output_count: pack.outputs.length,
46
+ freeze_decision_status: pack.records.freeze_decision.status,
47
+ program_closeout_review_status: pack.records.program_closeout_review.status
48
+ };
49
+ }
50
+
51
+ module.exports = {
52
+ buildPhase10DecisionRecordPack,
53
+ summarizePhase10DecisionRecordPack
54
+ };
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildPhase10DecisionResolutionPack() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "machine-commerce-phase-10-decision-resolution-pack",
10
+ phase_ref: "phase_10",
11
+ posture: "decision_resolution",
12
+ transitions: [
13
+ {
14
+ ref: "freeze_decision",
15
+ from: "pending_record",
16
+ to: "recorded"
17
+ },
18
+ {
19
+ ref: "program_closeout_review",
20
+ from: "pending_record",
21
+ to: "recorded"
22
+ }
23
+ ],
24
+ resolution_steps: [
25
+ "confirm the long-tail lane family is the intended final Phase 10 shape",
26
+ "record the freeze decision outcome",
27
+ "record the terminal program closeout review outcome",
28
+ "recheck phase-10 completion and freeze-review summaries",
29
+ "confirm phase-10 gate resolves to ready_for_program_closeout"
30
+ ],
31
+ target_gate_decision: "ready_for_program_closeout",
32
+ target_ready_for_next_phase: false
33
+ };
34
+ }
35
+
36
+ function summarizePhase10DecisionResolutionPack() {
37
+ const pack = buildPhase10DecisionResolutionPack();
38
+ return {
39
+ ok: true,
40
+ product: pack.product,
41
+ category: pack.category,
42
+ phase_ref: pack.phase_ref,
43
+ transition_count: pack.transitions.length,
44
+ resolution_step_count: pack.resolution_steps.length,
45
+ target_gate_decision: pack.target_gate_decision,
46
+ target_ready_for_next_phase: pack.target_ready_for_next_phase
47
+ };
48
+ }
49
+
50
+ module.exports = {
51
+ buildPhase10DecisionResolutionPack,
52
+ summarizePhase10DecisionResolutionPack
53
+ };
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+
5
+ function buildPhase10DemandSignalAdaptersRuntimePack() {
6
+ return {
7
+ ok: true,
8
+ product: packageJson.name,
9
+ category: "machine-commerce-phase-10-demand-signal-adapters-runtime-pack",
10
+ phase_ref: "phase_10",
11
+ posture: "runtime_path",
12
+ ecosystems: ["demand_signal_adapters"],
13
+ runtime_shape: {
14
+ extension_modes: ["demand_signal_capture", "extension_registry_mapping", "backlog_triage"],
15
+ demand_modes: ["partner_signal_flow", "extension_fit_flow", "queue_handoff_flow"],
16
+ extension_artifacts: ["signal_ref", "fit_ref", "triage_ref"],
17
+ operator_surfaces: [
18
+ "/v1/release-center/summary",
19
+ "/v1/publish-plan/summary",
20
+ "/v1/phases/phase-10/summary"
21
+ ]
22
+ },
23
+ first_path: {
24
+ purpose: "show the first Phase 10 path from incoming ecosystem demand into governed extension triage",
25
+ first_http_sequence: [
26
+ "/v1/phases/phase-10/summary",
27
+ "/v1/phases/phase-10/demand-signal-adapters/summary",
28
+ "/v1/release-center/summary"
29
+ ],
30
+ first_cli_sequence: [
31
+ "xytara-release --phase-10-demand-signal-adapters-runtime --summary",
32
+ "xytara-release --phase-10 --summary"
33
+ ],
34
+ expected_signals: [
35
+ "demand signal adapters is a public Phase 10 lane",
36
+ "extension artifacts are explicit at the lane level",
37
+ "extension posture is visible before broader Phase 10 expansion"
38
+ ]
39
+ },
40
+ completion: {
41
+ completion_checks: [
42
+ "demand signal adapters lane is public and inspectable",
43
+ "extension artifacts are visible at lane level",
44
+ "operator surfaces remain attached to the extension lane",
45
+ "the lane is ready to anchor broader long-tail ecosystem breadth"
46
+ ]
47
+ }
48
+ };
49
+ }
50
+
51
+ function summarizePhase10DemandSignalAdaptersRuntimePack() {
52
+ const pack = buildPhase10DemandSignalAdaptersRuntimePack();
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
+ extension_mode_count: pack.runtime_shape.extension_modes.length,
60
+ demand_mode_count: pack.runtime_shape.demand_modes.length,
61
+ extension_artifact_count: pack.runtime_shape.extension_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
+ buildPhase10DemandSignalAdaptersRuntimePack,
73
+ summarizePhase10DemandSignalAdaptersRuntimePack
74
+ };