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,70 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+
4
+ const fs = require("fs");
5
+ const path = require("path");
6
+ const sdk = require("../index.js");
7
+
8
+ function parseArgs(argv) {
9
+ const args = {};
10
+ for (let index = 0; index < argv.length; index += 1) {
11
+ const token = argv[index];
12
+ if (!token.startsWith("--")) continue;
13
+ const key = token.slice(2);
14
+ const next = argv[index + 1];
15
+ if (!next || next.startsWith("--")) {
16
+ args[key] = true;
17
+ continue;
18
+ }
19
+ args[key] = next;
20
+ index += 1;
21
+ }
22
+ return args;
23
+ }
24
+
25
+ function printUsage() {
26
+ process.stdout.write([
27
+ "Usage: xoonya-review (--file <handoff.json> | --json <json>) [--summary] [--pretty]",
28
+ "",
29
+ "Options:",
30
+ " --file <path> Read the handoff payload from a JSON file",
31
+ " --json <json> Read the handoff payload from an inline JSON string",
32
+ " --summary Return the compact review summary instead of full review",
33
+ " --pretty Pretty-print JSON output",
34
+ " --help Show this help message"
35
+ ].join("\n"));
36
+ }
37
+
38
+ function loadInput(args) {
39
+ if (args.file) {
40
+ return JSON.parse(fs.readFileSync(path.resolve(process.cwd(), args.file), "utf8"));
41
+ }
42
+ if (args.json) {
43
+ return JSON.parse(args.json);
44
+ }
45
+ throw new Error("file_or_json_required");
46
+ }
47
+
48
+ function writeOutput(payload, pretty) {
49
+ process.stdout.write(JSON.stringify(payload, null, pretty ? 2 : 0));
50
+ }
51
+
52
+ function main() {
53
+ const args = parseArgs(process.argv.slice(2));
54
+ if (args.help) {
55
+ printUsage();
56
+ return;
57
+ }
58
+ const input = loadInput(args);
59
+ const payload = args.summary === true
60
+ ? sdk.summarizeReviewedInteractionResultPackageHandoff(input)
61
+ : sdk.reviewInteractionResultPackageHandoff(input);
62
+ writeOutput(payload, args.pretty === true);
63
+ }
64
+
65
+ try {
66
+ main();
67
+ } catch (error) {
68
+ process.stderr.write(`${error.message}\n`);
69
+ process.exitCode = 1;
70
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+
3
+ const assert = require("assert");
4
+ const { createServer } = require("../server");
5
+
6
+ async function fetchJson(url) {
7
+ const response = await fetch(url);
8
+ assert.strictEqual(response.ok, true, `request failed: ${url}`);
9
+ return response.json();
10
+ }
11
+
12
+ async function main() {
13
+ const server = createServer();
14
+ await new Promise((resolve) => server.listen(0, "127.0.0.1", resolve));
15
+ const { port } = server.address();
16
+ const baseUrl = `http://127.0.0.1:${port}`;
17
+
18
+ try {
19
+ const integrations = await fetchJson(`${baseUrl}/v1/integrations/summary`);
20
+ assert.strictEqual(integrations.ok, true, "integration summary missing");
21
+
22
+ const readiness = await fetchJson(`${baseUrl}/v1/integrations/promotion-readiness`);
23
+ assert.strictEqual(readiness.ok, true, "promotion readiness missing");
24
+
25
+ const workflow = await fetchJson(`${baseUrl}/v1/integrations/promotion-workflow`);
26
+ assert.strictEqual(workflow.ok, true, "promotion workflow missing");
27
+
28
+ console.log("xoonya integration boundary walkthrough passed");
29
+ } finally {
30
+ await new Promise((resolve, reject) => server.close((error) => (error ? reject(error) : resolve())));
31
+ }
32
+ }
33
+
34
+ main().catch((error) => {
35
+ console.error(error);
36
+ process.exitCode = 1;
37
+ });