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.
- package/.env.example +6 -0
- package/ADAPTER_START_HERE.md +56 -0
- package/BSV_TERANODE_SETUP.md +30 -1
- package/CARRIED_HANDOFF_DEMO.md +60 -0
- package/EXAMPLE_PATHS.md +53 -0
- package/FINAL_CONTRACT.md +6 -6
- package/OPERATIONS_RUNBOOK.md +65 -0
- package/OPERATOR_START_HERE.md +63 -0
- package/PARTNER_READY_PATH.md +71 -0
- package/PROGRAM_COMPLETE_RELEASE.md +63 -0
- package/PROGRAM_STATUS.md +57 -0
- package/PUBLIC_DEMO_SCRIPT.md +78 -0
- package/PUBLISH_PLAN.md +14 -0
- package/README.md +142 -6
- package/RELEASE_CHECKLIST.md +16 -0
- package/RELEASE_NOTES.md +28 -0
- package/SERVICE_CONTRACT.md +4 -4
- package/START_HERE.md +32 -0
- package/SUPABASE_RUNTIME_STATE_SETUP.md +61 -0
- package/WHY_XYTARA_XOONYA.md +63 -0
- package/adapters/examples/minimal-third-party-execution-adapter.js +61 -0
- package/adapters/examples/minimal-third-party-execution-adapter.manifest.json +79 -0
- package/adapters/examples/minimal-third-party-execution-registration.record.json +26 -0
- package/adapters/examples/minimal-third-party-execution.certification-pack.json +22 -0
- package/adapters/examples/minimal-third-party-execution.submission-bundle.json +126 -0
- package/bin/xytara-release.js +1419 -0
- package/bin/xytara-run.js +186 -0
- package/examples/adapter_review_walkthrough.js +53 -0
- package/examples/export_carried_handoff.js +80 -0
- package/examples/funded_runtime_walkthrough.js +70 -0
- package/examples/partner_launch_walkthrough.js +43 -0
- package/examples/quickstart.js +3255 -0
- package/index.js +87 -1
- package/lib/adapter_pack.js +118 -0
- package/lib/adapter_partner_pack.js +89 -0
- package/lib/adapter_promotion_pack.js +89 -0
- package/lib/announcement_pack.js +61 -0
- package/lib/commerce_artifacts.js +3 -0
- package/lib/commerce_economics.js +14 -0
- package/lib/commerce_reports.js +26 -1
- package/lib/commerce_shell.js +18 -2
- package/lib/ecosystem_entry.js +64 -0
- package/lib/launch_narrative.js +53 -0
- package/lib/outreach_copy_pack.js +51 -0
- package/lib/outreach_message_pack.js +71 -0
- package/lib/outreach_proof.js +71 -0
- package/lib/outreach_target_pack.js +60 -0
- package/lib/phase_10_closeout_pack.js +45 -0
- package/lib/phase_10_completion_pack.js +76 -0
- package/lib/phase_10_decision_record_pack.js +54 -0
- package/lib/phase_10_decision_resolution_pack.js +53 -0
- package/lib/phase_10_demand_signal_adapters_runtime_pack.js +74 -0
- package/lib/phase_10_ecosystem_backlog_triage_runtime_pack.js +74 -0
- package/lib/phase_10_freeze_baseline_pack.js +67 -0
- package/lib/phase_10_freeze_review_pack.js +64 -0
- package/lib/phase_10_gate_pack.js +57 -0
- package/lib/phase_10_long_tail_continuity_pack.js +80 -0
- package/lib/phase_10_long_tail_ecosystem_pack.js +66 -0
- package/lib/phase_10_niche_extension_registry_runtime_pack.js +74 -0
- package/lib/phase_1_claude_mcp_pack.js +60 -0
- package/lib/phase_1_claude_mcp_runtime_pack.js +52 -0
- package/lib/phase_1_ecosystem_pack.js +67 -0
- package/lib/phase_1_openai_codex_pack.js +60 -0
- package/lib/phase_1_openai_codex_runtime_pack.js +52 -0
- package/lib/phase_2_base_runtime_pack.js +71 -0
- package/lib/phase_2_base_usdc_runtime_pack.js +72 -0
- package/lib/phase_2_closeout_pack.js +65 -0
- package/lib/phase_2_completion_pack.js +113 -0
- package/lib/phase_2_decision_record_pack.js +66 -0
- package/lib/phase_2_decision_resolution_pack.js +69 -0
- package/lib/phase_2_eth_runtime_pack.js +70 -0
- package/lib/phase_2_evm_base_runtime_pack.js +73 -0
- package/lib/phase_2_evm_runtime_pack.js +71 -0
- package/lib/phase_2_flip_preview_pack.js +60 -0
- package/lib/phase_2_freeze_review_pack.js +99 -0
- package/lib/phase_2_gate_pack.js +77 -0
- package/lib/phase_2_payment_rails_pack.js +71 -0
- package/lib/phase_2_usdc_runtime_pack.js +71 -0
- package/lib/phase_3_brc_runtime_pack.js +81 -0
- package/lib/phase_3_bsv_teranode_runtime_pack.js +83 -0
- package/lib/phase_3_closeout_pack.js +62 -0
- package/lib/phase_3_completion_pack.js +94 -0
- package/lib/phase_3_decision_record_pack.js +64 -0
- package/lib/phase_3_decision_resolution_pack.js +69 -0
- package/lib/phase_3_freeze_baseline_pack.js +67 -0
- package/lib/phase_3_freeze_review_pack.js +80 -0
- package/lib/phase_3_gate_pack.js +76 -0
- package/lib/phase_3_metanet_runtime_pack.js +81 -0
- package/lib/phase_3_native_bsv_pack.js +91 -0
- package/lib/phase_3_native_continuity_pack.js +82 -0
- package/lib/phase_4_attestation_runtime_pack.js +75 -0
- package/lib/phase_4_closeout_pack.js +45 -0
- package/lib/phase_4_completion_pack.js +94 -0
- package/lib/phase_4_decision_record_pack.js +54 -0
- package/lib/phase_4_decision_resolution_pack.js +45 -0
- package/lib/phase_4_erc8004_runtime_pack.js +76 -0
- package/lib/phase_4_freeze_baseline_pack.js +67 -0
- package/lib/phase_4_freeze_review_pack.js +68 -0
- package/lib/phase_4_gate_pack.js +58 -0
- package/lib/phase_4_identity_registry_runtime_pack.js +75 -0
- package/lib/phase_4_identity_trust_pack.js +73 -0
- package/lib/phase_4_trust_continuity_pack.js +86 -0
- package/lib/phase_5_antelope_runtime_pack.js +76 -0
- package/lib/phase_5_closeout_pack.js +44 -0
- package/lib/phase_5_completion_pack.js +82 -0
- package/lib/phase_5_decision_record_pack.js +54 -0
- package/lib/phase_5_decision_resolution_pack.js +45 -0
- package/lib/phase_5_freeze_baseline_pack.js +67 -0
- package/lib/phase_5_freeze_review_pack.js +68 -0
- package/lib/phase_5_gate_pack.js +58 -0
- package/lib/phase_5_major_rails_continuity_pack.js +86 -0
- package/lib/phase_5_major_rails_pack.js +74 -0
- package/lib/phase_5_proton_xpr_runtime_pack.js +76 -0
- package/lib/phase_5_solana_runtime_pack.js +76 -0
- package/lib/phase_6_autogen_runtime_pack.js +72 -0
- package/lib/phase_6_closeout_pack.js +46 -0
- package/lib/phase_6_completion_pack.js +77 -0
- package/lib/phase_6_decision_record_pack.js +54 -0
- package/lib/phase_6_decision_resolution_pack.js +53 -0
- package/lib/phase_6_framework_continuity_pack.js +81 -0
- package/lib/phase_6_framework_runtime_pack.js +68 -0
- package/lib/phase_6_freeze_baseline_pack.js +68 -0
- package/lib/phase_6_freeze_review_pack.js +65 -0
- package/lib/phase_6_gate_pack.js +59 -0
- package/lib/phase_6_langchain_runtime_pack.js +72 -0
- package/lib/phase_6_langgraph_runtime_pack.js +72 -0
- package/lib/phase_6_semantic_kernel_runtime_pack.js +72 -0
- package/lib/phase_7_closeout_pack.js +45 -0
- package/lib/phase_7_completion_pack.js +85 -0
- package/lib/phase_7_decision_record_pack.js +53 -0
- package/lib/phase_7_decision_resolution_pack.js +53 -0
- package/lib/phase_7_event_system_continuity_pack.js +89 -0
- package/lib/phase_7_event_system_pack.js +76 -0
- package/lib/phase_7_freeze_baseline_pack.js +74 -0
- package/lib/phase_7_freeze_review_pack.js +65 -0
- package/lib/phase_7_gate_pack.js +58 -0
- package/lib/phase_7_kafka_runtime_pack.js +74 -0
- package/lib/phase_7_mqtt_runtime_pack.js +74 -0
- package/lib/phase_7_nats_runtime_pack.js +74 -0
- package/lib/phase_7_webhook_event_bus_runtime_pack.js +74 -0
- package/lib/phase_8_closeout_pack.js +46 -0
- package/lib/phase_8_completion_pack.js +82 -0
- package/lib/phase_8_decision_record_pack.js +54 -0
- package/lib/phase_8_decision_resolution_pack.js +53 -0
- package/lib/phase_8_external_receipt_import_runtime_pack.js +74 -0
- package/lib/phase_8_external_result_import_runtime_pack.js +74 -0
- package/lib/phase_8_freeze_baseline_pack.js +71 -0
- package/lib/phase_8_freeze_review_pack.js +64 -0
- package/lib/phase_8_gate_pack.js +58 -0
- package/lib/phase_8_proof_bridge_continuity_pack.js +86 -0
- package/lib/phase_8_proof_bridges_pack.js +72 -0
- package/lib/phase_8_proof_bundle_normalization_runtime_pack.js +74 -0
- package/lib/phase_9_closeout_pack.js +46 -0
- package/lib/phase_9_completion_pack.js +82 -0
- package/lib/phase_9_custody_refs_runtime_pack.js +74 -0
- package/lib/phase_9_decision_record_pack.js +54 -0
- package/lib/phase_9_decision_resolution_pack.js +53 -0
- package/lib/phase_9_freeze_baseline_pack.js +71 -0
- package/lib/phase_9_freeze_review_pack.js +64 -0
- package/lib/phase_9_gate_pack.js +58 -0
- package/lib/phase_9_operator_accounting_bridges_runtime_pack.js +74 -0
- package/lib/phase_9_treasury_connectivity_pack.js +72 -0
- package/lib/phase_9_treasury_continuity_pack.js +86 -0
- package/lib/phase_9_treasury_destinations_runtime_pack.js +74 -0
- package/lib/phase_program_pack.js +120 -0
- package/lib/publish_plan.js +51 -0
- package/lib/release_candidate.js +50 -0
- package/lib/release_center.js +1085 -0
- package/lib/release_history.js +72 -0
- package/lib/release_manifest.js +114 -0
- package/lib/release_pack.js +454 -0
- package/lib/runtime_state_store.js +354 -0
- package/lib/settlement_bsv_live.js +262 -13
- package/lib/soft_launch_pack.js +78 -0
- package/package.json +24 -2
- package/server.js +2562 -220
package/.env.example
CHANGED
|
@@ -21,3 +21,9 @@ XYTARA_BSV_TERANODE_SATS_PER_USD_CENT=100
|
|
|
21
21
|
XYTARA_BSV_TERANODE_SETTLEMENT_RUNTIME_MODE=mock
|
|
22
22
|
XYTARA_CREDIT_BRIDGE_BEARER_TOKEN=
|
|
23
23
|
XYTARA_ACCOUNT_AUTH_BEARER_TOKEN=
|
|
24
|
+
XYTARA_STATE_FILE=./var/xytara/runtime-state.json
|
|
25
|
+
XYTARA_STATE_SNAPSHOT_INTERVAL_MS=5000
|
|
26
|
+
XYTARA_SUPABASE_URL=
|
|
27
|
+
XYTARA_SUPABASE_SERVICE_ROLE_KEY=
|
|
28
|
+
XYTARA_SUPABASE_STATE_TABLE=xytara_runtime_state
|
|
29
|
+
XYTARA_SUPABASE_STATE_KEY=default
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# xytara Adapter Start Here
|
|
2
|
+
|
|
3
|
+
Use this path if you want to build a third-party adapter against public `xytara`.
|
|
4
|
+
|
|
5
|
+
## Recommended order
|
|
6
|
+
|
|
7
|
+
1. Read `adapters/AUTHORING_GUIDE.md`.
|
|
8
|
+
2. Read `adapters/ONBOARDING_POSTURE.md`.
|
|
9
|
+
3. Read `adapters/THIRD_PARTY_SUBMISSION_PROCESS.md`.
|
|
10
|
+
4. Run `npm run verify:adapters`.
|
|
11
|
+
5. Validate and review one example bundle:
|
|
12
|
+
- `node scripts/registry_cli.js validate-bundle --example protocol`
|
|
13
|
+
- `node scripts/registry_cli.js review-bundle --example protocol`
|
|
14
|
+
6. Inspect promotion posture:
|
|
15
|
+
- `node scripts/registry_cli.js promotion-readiness --integration partner.protocol.acme_mcp`
|
|
16
|
+
- `node scripts/registry_cli.js promotion-action-set --integration partner.protocol.acme_mcp`
|
|
17
|
+
7. When you want the explicit staged-to-trusted walkthrough, continue with:
|
|
18
|
+
- `ADAPTER_PROMOTION_START_HERE.md`
|
|
19
|
+
|
|
20
|
+
## Fastest copy-and-adapt starter
|
|
21
|
+
|
|
22
|
+
If you want the shortest third-party starter path, copy these and rename them:
|
|
23
|
+
|
|
24
|
+
- `adapters/examples/minimal-third-party-execution-adapter.manifest.json`
|
|
25
|
+
- `adapters/examples/minimal-third-party-execution-adapter.js`
|
|
26
|
+
- `adapters/examples/minimal-third-party-execution-registration.record.json`
|
|
27
|
+
- `adapters/examples/minimal-third-party-execution.certification-pack.json`
|
|
28
|
+
- `adapters/examples/minimal-third-party-execution.submission-bundle.json`
|
|
29
|
+
|
|
30
|
+
## Adapter classes
|
|
31
|
+
|
|
32
|
+
- `execution_adapter`
|
|
33
|
+
- `payment_rail_adapter`
|
|
34
|
+
- `settlement_adapter`
|
|
35
|
+
- `agent_protocol_adapter`
|
|
36
|
+
- `identity_registry_adapter`
|
|
37
|
+
|
|
38
|
+
## Artifact stack
|
|
39
|
+
|
|
40
|
+
Every serious third-party integration should converge on:
|
|
41
|
+
|
|
42
|
+
1. adapter manifest
|
|
43
|
+
2. registration record
|
|
44
|
+
3. certification pack
|
|
45
|
+
4. submission bundle
|
|
46
|
+
5. submission bundle set when multiple integrations are reviewed together
|
|
47
|
+
6. registry snapshot for normalized review/import posture
|
|
48
|
+
|
|
49
|
+
## Public review surfaces
|
|
50
|
+
|
|
51
|
+
- `/v1/integrations/summary`
|
|
52
|
+
- `/v1/integrations/promotion-readiness`
|
|
53
|
+
- `/v1/integrations/promotion-actions`
|
|
54
|
+
- `/v1/integrations/review/submission-bundle`
|
|
55
|
+
- `/v1/integrations/review/submission-bundle-set`
|
|
56
|
+
- `/v1/integrations/review/registry-snapshot`
|
package/BSV_TERANODE_SETUP.md
CHANGED
|
@@ -26,12 +26,29 @@ XYTARA_BSV_TERANODE_MERCHANT_LABEL=naxytra-runtime
|
|
|
26
26
|
XYTARA_BSV_TERANODE_USE_METANET=false
|
|
27
27
|
XYTARA_BSV_TERANODE_SATS_PER_USD_CENT=100
|
|
28
28
|
XYTARA_BSV_TERANODE_SETTLEMENT_RUNTIME_MODE=mock
|
|
29
|
+
XYTARA_BSV_TERANODE_RPC_URL=
|
|
30
|
+
XYTARA_BSV_TERANODE_RPC_API_KEY=
|
|
31
|
+
XYTARA_BSV_TERANODE_RPC_AUTH_HEADER=authorization
|
|
32
|
+
XYTARA_BSV_TERANODE_RPC_AUTH_SCHEME=
|
|
33
|
+
XYTARA_BSV_TERANODE_OBSERVER_URL=
|
|
29
34
|
```
|
|
30
35
|
|
|
31
36
|
Optional:
|
|
32
37
|
|
|
38
|
+
- `XYTARA_BSV_TERANODE_SETTLEMENT_RUNTIME_MODE`
|
|
39
|
+
- `mock` keeps the old simulated submit/refresh loop
|
|
40
|
+
- `observe` accepts a payment-provided `txid` and performs real live confirmation refresh
|
|
41
|
+
- `arc` submits `raw_tx` through ARC and then performs real live confirmation refresh
|
|
33
42
|
- `XYTARA_BSV_TERANODE_RPC_URL`
|
|
34
|
-
-
|
|
43
|
+
- use your ARC submit endpoint, for example `https://arc.taal.com/v1/tx`
|
|
44
|
+
- `XYTARA_BSV_TERANODE_RPC_API_KEY`
|
|
45
|
+
- required when your ARC provider expects authenticated submission
|
|
46
|
+
- `XYTARA_BSV_TERANODE_RPC_AUTH_HEADER`
|
|
47
|
+
- defaults to `authorization`
|
|
48
|
+
- `XYTARA_BSV_TERANODE_RPC_AUTH_SCHEME`
|
|
49
|
+
- leave blank for TAAL-style raw API-key auth, or set `Bearer` if your provider expects it
|
|
50
|
+
- `XYTARA_BSV_TERANODE_OBSERVER_URL`
|
|
51
|
+
- optional transaction observer base; defaults to `https://api.whatsonchain.com/v1/bsv/<network>`
|
|
35
52
|
|
|
36
53
|
## Merchant Destination Routing
|
|
37
54
|
|
|
@@ -70,6 +87,18 @@ For live settlement follow-through after payment acceptance, use:
|
|
|
70
87
|
- `POST /v1/settlement/bsv-teranode/:settlement_id/submit`
|
|
71
88
|
- `POST /v1/settlement/bsv-teranode/:settlement_id/refresh`
|
|
72
89
|
|
|
90
|
+
If the signed payment payload already carries:
|
|
91
|
+
|
|
92
|
+
- `bsv_teranode.txid`
|
|
93
|
+
|
|
94
|
+
then `observe` mode is enough to turn `xytara` into a live confirmation tracker.
|
|
95
|
+
|
|
96
|
+
If the signed payment payload also carries:
|
|
97
|
+
|
|
98
|
+
- `bsv_teranode.raw_tx`
|
|
99
|
+
|
|
100
|
+
then `arc` mode can submit the raw transaction through ARC before refresh.
|
|
101
|
+
|
|
73
102
|
## Notes
|
|
74
103
|
|
|
75
104
|
- `bsv_teranode` is the canonical public settlement name
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# xytara Carried Handoff Demo
|
|
2
|
+
|
|
3
|
+
This is the fastest concrete cross-repo path after the phase program closed.
|
|
4
|
+
|
|
5
|
+
The goal is simple:
|
|
6
|
+
|
|
7
|
+
1. export a result-package handoff from `xytara`
|
|
8
|
+
2. review it with `xoonya`
|
|
9
|
+
3. run the proof-side continuation
|
|
10
|
+
|
|
11
|
+
## 1. Export A Real Handoff Bundle
|
|
12
|
+
|
|
13
|
+
From the `xytara` repo root, run:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
node examples/export_carried_handoff.js
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
This writes:
|
|
20
|
+
|
|
21
|
+
```text
|
|
22
|
+
examples/generated.carried-handoff.json
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
The file is already shaped for `xoonya-review`.
|
|
26
|
+
|
|
27
|
+
## 2. Review It In xoonya
|
|
28
|
+
|
|
29
|
+
From the `xoonya` repo root, run:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
xoonya-review --file ../xytara/examples/generated.carried-handoff.json --summary
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Or run the packaged example:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
node examples/review_carried_handoff.js --file ../xytara/examples/generated.carried-handoff.json
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## 3. What This Proves
|
|
42
|
+
|
|
43
|
+
This is the clearest public adoption story now that the phase program is complete:
|
|
44
|
+
|
|
45
|
+
- `xytara` does discovery, execution, and handoff export
|
|
46
|
+
- `xoonya` does carried review and proof-side followthrough
|
|
47
|
+
- the cross-repo seam is an inspectable bundle, not an undocumented internal jump
|
|
48
|
+
|
|
49
|
+
## 4. Related Surfaces
|
|
50
|
+
|
|
51
|
+
Runtime side:
|
|
52
|
+
|
|
53
|
+
- `POST /v1/transaction-center/result-packages/export`
|
|
54
|
+
- `GET /v1/transaction-center/result-package/export-template`
|
|
55
|
+
|
|
56
|
+
Proof side:
|
|
57
|
+
|
|
58
|
+
- `POST /v1/proof-center/result-package-handoff/review/summary`
|
|
59
|
+
- `POST /v1/proof-center/result-package-handoff/run`
|
|
60
|
+
- `xoonya-review --file ./handoff.json --summary`
|
package/EXAMPLE_PATHS.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# xytara Example Paths
|
|
2
|
+
|
|
3
|
+
These are the recommended public examples for `xytara`.
|
|
4
|
+
|
|
5
|
+
## Broad package tour
|
|
6
|
+
|
|
7
|
+
Run:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
node examples/quickstart.js
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Use this when you want the widest package-level walkthrough.
|
|
14
|
+
|
|
15
|
+
## Cross-repo carried handoff
|
|
16
|
+
|
|
17
|
+
Run:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
node examples/export_carried_handoff.js
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Use this when you want the clearest handoff into `xoonya`.
|
|
24
|
+
|
|
25
|
+
## Partner launch walkthrough
|
|
26
|
+
|
|
27
|
+
Run:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
node examples/partner_launch_walkthrough.js
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Use this when you want the shortest release and launch oriented runtime story.
|
|
34
|
+
|
|
35
|
+
## Funded runtime walkthrough
|
|
36
|
+
|
|
37
|
+
Run:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
node examples/funded_runtime_walkthrough.js
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Use this when you want the reusable-balance posture instead of only the broad quickstart.
|
|
44
|
+
|
|
45
|
+
## Adapter review walkthrough
|
|
46
|
+
|
|
47
|
+
Run:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
node examples/adapter_review_walkthrough.js
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Use this when you want the neutral third-party adapter promotion and review path.
|
package/FINAL_CONTRACT.md
CHANGED
|
@@ -20,13 +20,13 @@ It consumes and emits proof-compatible facts, but its primary job is machine com
|
|
|
20
20
|
|
|
21
21
|
## Public Release Stance
|
|
22
22
|
|
|
23
|
-
This product is being prepared as a first public release
|
|
23
|
+
This product is being prepared as a first public release.
|
|
24
24
|
|
|
25
25
|
That means:
|
|
26
26
|
|
|
27
|
-
- prior
|
|
27
|
+
- prior SDK and service experiments are design history, not public obligations
|
|
28
28
|
- useful capability should be preserved where it strengthens the final product
|
|
29
|
-
-
|
|
29
|
+
- older helper sprawl does not automatically define the public contract
|
|
30
30
|
|
|
31
31
|
The public baseline should therefore be chosen for product quality, clarity, extensibility, and end-to-end usefulness, not for backward compatibility with prior private repos.
|
|
32
32
|
|
|
@@ -464,9 +464,9 @@ The final commerce product must maintain conformance across:
|
|
|
464
464
|
- proof integration
|
|
465
465
|
- adapter certification
|
|
466
466
|
|
|
467
|
-
## What Must Survive
|
|
467
|
+
## What Must Survive Across Earlier Product Iterations
|
|
468
468
|
|
|
469
|
-
From
|
|
469
|
+
From earlier product iterations, the following semantic wins should survive:
|
|
470
470
|
|
|
471
471
|
- clean separation of execution and proof
|
|
472
472
|
- clean separation of execution and settlement
|
|
@@ -476,7 +476,7 @@ From the internal stack, the following semantic wins should survive:
|
|
|
476
476
|
- proof-backed lifecycle state
|
|
477
477
|
- operator-grade visibility
|
|
478
478
|
|
|
479
|
-
Historical
|
|
479
|
+
Historical implementation labels and temporary names should not survive publicly.
|
|
480
480
|
|
|
481
481
|
## Final Product Position
|
|
482
482
|
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# xytara Operations Runbook
|
|
2
|
+
|
|
3
|
+
Use this runbook for the normal post-program operating posture.
|
|
4
|
+
|
|
5
|
+
## Daily checks
|
|
6
|
+
|
|
7
|
+
Run:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
xytara-release --center --summary
|
|
11
|
+
xytara-release --candidate --summary
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Inspect:
|
|
15
|
+
|
|
16
|
+
- `/v1/release-center/summary`
|
|
17
|
+
- `/v1/release-candidate/summary`
|
|
18
|
+
- `/v1/runtime/durability`
|
|
19
|
+
|
|
20
|
+
## Runtime durability checks
|
|
21
|
+
|
|
22
|
+
Healthy durability should show:
|
|
23
|
+
|
|
24
|
+
- `enabled: true`
|
|
25
|
+
- recoverable posture present
|
|
26
|
+
- no active persistence blocker
|
|
27
|
+
|
|
28
|
+
If you use hidden-account grants, credits, entitlements, or usage meters, durability is not optional.
|
|
29
|
+
|
|
30
|
+
## Release confidence checks
|
|
31
|
+
|
|
32
|
+
Run:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npm run verify:examples
|
|
36
|
+
npm run verify:release-candidate
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Partner-facing checks
|
|
40
|
+
|
|
41
|
+
Keep these ready:
|
|
42
|
+
|
|
43
|
+
- `PROGRAM_COMPLETE_RELEASE.md`
|
|
44
|
+
- `PARTNER_READY_PATH.md`
|
|
45
|
+
- `PUBLIC_DEMO_SCRIPT.md`
|
|
46
|
+
- `CARRIED_HANDOFF_DEMO.md`
|
|
47
|
+
|
|
48
|
+
## If durability looks wrong
|
|
49
|
+
|
|
50
|
+
Check in this order:
|
|
51
|
+
|
|
52
|
+
1. `/v1/runtime/durability`
|
|
53
|
+
2. persistence configuration
|
|
54
|
+
3. the most recent persisted timestamp
|
|
55
|
+
4. whether the last real grant/write advanced persistence state
|
|
56
|
+
|
|
57
|
+
## If an external adopter asks “where do I start?”
|
|
58
|
+
|
|
59
|
+
Point them to:
|
|
60
|
+
|
|
61
|
+
1. `START_HERE.md`
|
|
62
|
+
2. `PARTNER_READY_PATH.md`
|
|
63
|
+
3. `PUBLIC_DEMO_SCRIPT.md`
|
|
64
|
+
|
|
65
|
+
Do not send a raw dump of all docs first.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# xytara Operator Start Here
|
|
2
|
+
|
|
3
|
+
This is the shortest path for an operator who needs to evaluate `xytara` after the 10-phase program has already closed.
|
|
4
|
+
|
|
5
|
+
## 1. Confirm Terminal Program State
|
|
6
|
+
|
|
7
|
+
Run:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
xytara-release --phases --summary
|
|
11
|
+
xytara-release --phase-10 --summary
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Or inspect:
|
|
15
|
+
|
|
16
|
+
- `GET /v1/phases/summary`
|
|
17
|
+
- `GET /v1/phases/phase-10/gate/summary`
|
|
18
|
+
- `GET /v1/phases/phase-10/completion/summary`
|
|
19
|
+
|
|
20
|
+
## 2. Confirm Release Posture
|
|
21
|
+
|
|
22
|
+
Run:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
xytara-release --center --summary
|
|
26
|
+
xytara-release --candidate --summary
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
These are the fastest checks for "is the package live, coherent, and publish-shaped?"
|
|
30
|
+
|
|
31
|
+
## 3. Exercise The Runtime Path
|
|
32
|
+
|
|
33
|
+
Run:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
node examples/quickstart.js
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
This remains the fastest package-level execution story.
|
|
40
|
+
|
|
41
|
+
## 4. Verify Confidence
|
|
42
|
+
|
|
43
|
+
Run:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
npm run verify:all
|
|
47
|
+
npm run verify:release-candidate
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
For the compact day-two operator path, also read:
|
|
51
|
+
|
|
52
|
+
- `OPERATIONS_RUNBOOK.md`
|
|
53
|
+
|
|
54
|
+
## 5. Choose The Next Workstream
|
|
55
|
+
|
|
56
|
+
After the program is closed, the next useful work is one of:
|
|
57
|
+
|
|
58
|
+
- productization
|
|
59
|
+
- real partner/internal integration
|
|
60
|
+
- operational hardening
|
|
61
|
+
- launch and release packaging
|
|
62
|
+
|
|
63
|
+
If you only pick one, pick a real integration and keep the docs/productization work close behind it.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# xytara Partner-Ready Path
|
|
2
|
+
|
|
3
|
+
Use this path when you want to evaluate `xytara` as an external runtime and commerce integration surface without relying on private project history.
|
|
4
|
+
|
|
5
|
+
## What this path is for
|
|
6
|
+
|
|
7
|
+
This is the shortest partner-facing route for teams that need to:
|
|
8
|
+
|
|
9
|
+
- evaluate the runtime contract quickly
|
|
10
|
+
- decide whether the reusable credits and direct-pay posture fit their product
|
|
11
|
+
- understand how a neutral third-party adapter reaches reviewable maturity
|
|
12
|
+
- leave with one concrete demo path, one contract path, and one promotion path
|
|
13
|
+
|
|
14
|
+
## Recommended reading order
|
|
15
|
+
|
|
16
|
+
1. Read `START_HERE.md`.
|
|
17
|
+
2. Read `CARRIED_HANDOFF_DEMO.md`.
|
|
18
|
+
3. Read `ADAPTER_PARTNER_PATH.md`.
|
|
19
|
+
4. Read `adapters/THIRD_PARTY_SUBMISSION_PROCESS.md`.
|
|
20
|
+
5. Read `SUPABASE_RUNTIME_STATE_SETUP.md` if your deployment does not have persistent disk.
|
|
21
|
+
|
|
22
|
+
## Recommended first commands
|
|
23
|
+
|
|
24
|
+
Run these from a cloned `xytara` repository:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
node examples/quickstart.js
|
|
28
|
+
npm run verify:adapters
|
|
29
|
+
npm run verify:examples
|
|
30
|
+
npm run verify:release-candidate
|
|
31
|
+
node scripts/registry_cli.js review-bundle --file adapters/examples/minimal-third-party-execution.submission-bundle.json
|
|
32
|
+
node scripts/registry_cli.js promotion-readiness --integration partner.execution.minimal_echo
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Recommended first surfaces
|
|
36
|
+
|
|
37
|
+
- `/v1/release-center/summary`
|
|
38
|
+
- `/v1/adapter-pack/summary`
|
|
39
|
+
- `/v1/adapter-promotion/summary`
|
|
40
|
+
- `/v1/integrations/promotion-readiness`
|
|
41
|
+
- `/v1/runtime/durability`
|
|
42
|
+
|
|
43
|
+
## First success standard
|
|
44
|
+
|
|
45
|
+
First success is not "become production default immediately."
|
|
46
|
+
|
|
47
|
+
First success is:
|
|
48
|
+
|
|
49
|
+
1. run one end-to-end machine path
|
|
50
|
+
2. understand the default commerce posture
|
|
51
|
+
3. produce one reviewable integration artifact bundle
|
|
52
|
+
4. see promotion blockers as explicit data
|
|
53
|
+
5. understand the proof-side handoff into `xoonya`
|
|
54
|
+
|
|
55
|
+
## Production readiness rule
|
|
56
|
+
|
|
57
|
+
If you depend on grants, entitlements, or usage meters surviving restart, do not leave runtime durability implicit.
|
|
58
|
+
|
|
59
|
+
Use one of these:
|
|
60
|
+
|
|
61
|
+
- persistent disk plus `XYTARA_STATE_FILE`
|
|
62
|
+
- Supabase-backed state via `SUPABASE_RUNTIME_STATE_SETUP.md`
|
|
63
|
+
|
|
64
|
+
## Hand-off rule
|
|
65
|
+
|
|
66
|
+
If an outside team leaves this path with only four references, they should be these:
|
|
67
|
+
|
|
68
|
+
- `START_HERE.md`
|
|
69
|
+
- `CARRIED_HANDOFF_DEMO.md`
|
|
70
|
+
- `ADAPTER_PARTNER_PATH.md`
|
|
71
|
+
- `adapters/THIRD_PARTY_SUBMISSION_PROCESS.md`
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# xytara Program-Complete Release
|
|
2
|
+
|
|
3
|
+
`xytara` is no longer an in-flight phase build. The public 10-phase program is complete, and this repository now represents a release-shaped machine-commerce runtime.
|
|
4
|
+
|
|
5
|
+
## What is complete
|
|
6
|
+
|
|
7
|
+
- the full phase program is closed
|
|
8
|
+
- the default runtime path is stable
|
|
9
|
+
- reusable credits and entitlements exist on the public spine
|
|
10
|
+
- cross-repo handoff into `xoonya` is documented and runnable
|
|
11
|
+
- operator and partner-facing docs now exist alongside the package
|
|
12
|
+
- runtime durability is explicit instead of hidden
|
|
13
|
+
- Supabase-backed durability is available when persistent disk is not
|
|
14
|
+
|
|
15
|
+
## What this release means
|
|
16
|
+
|
|
17
|
+
This release is the point where `xytara` should be evaluated as a public runtime and commerce surface, not as an unfinished internal roadmap.
|
|
18
|
+
|
|
19
|
+
The recommended evaluation path is now:
|
|
20
|
+
|
|
21
|
+
1. read `START_HERE.md`
|
|
22
|
+
2. run `node examples/quickstart.js`
|
|
23
|
+
3. run `node examples/partner_launch_walkthrough.js`
|
|
24
|
+
4. inspect `CARRIED_HANDOFF_DEMO.md`
|
|
25
|
+
5. inspect `PARTNER_READY_PATH.md`
|
|
26
|
+
|
|
27
|
+
## Public outcome
|
|
28
|
+
|
|
29
|
+
An external builder should now be able to:
|
|
30
|
+
|
|
31
|
+
- understand the runtime role quickly
|
|
32
|
+
- run a first machine-commerce path locally
|
|
33
|
+
- inspect release and launch posture through summary surfaces
|
|
34
|
+
- understand partner adapter onboarding without private explanation
|
|
35
|
+
- understand how proof-side followthrough continues into `xoonya`
|
|
36
|
+
|
|
37
|
+
## Operator outcome
|
|
38
|
+
|
|
39
|
+
An operator should now be able to:
|
|
40
|
+
|
|
41
|
+
- inspect runtime durability explicitly
|
|
42
|
+
- verify release-candidate posture quickly
|
|
43
|
+
- onboard generic external builders without writing one-off handoff notes
|
|
44
|
+
- point durability-sensitive adopters to the correct persistence path
|
|
45
|
+
|
|
46
|
+
## Recommended live checks
|
|
47
|
+
|
|
48
|
+
- `/v1/release-center/summary`
|
|
49
|
+
- `/v1/release-candidate/summary`
|
|
50
|
+
- `/v1/runtime/durability`
|
|
51
|
+
- `/v1/adapter-partners/summary`
|
|
52
|
+
|
|
53
|
+
## Release rule
|
|
54
|
+
|
|
55
|
+
Do not describe this repository as “phase-complete but still basically internal.”
|
|
56
|
+
|
|
57
|
+
The correct external posture is:
|
|
58
|
+
|
|
59
|
+
- program complete
|
|
60
|
+
- runtime public
|
|
61
|
+
- partner-ready
|
|
62
|
+
- proof-aware
|
|
63
|
+
- operationally inspectable
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# xytara Program Status
|
|
2
|
+
|
|
3
|
+
`xytara` is no longer in an active milestone-build posture.
|
|
4
|
+
|
|
5
|
+
The public phase program is complete and the runtime now sits in terminal closeout posture:
|
|
6
|
+
|
|
7
|
+
- `current_phase: "program_closed"`
|
|
8
|
+
- `completed_phase_count: 10`
|
|
9
|
+
- `active_phase_count: 0`
|
|
10
|
+
- Phase 10 decision: `ready_for_program_closeout`
|
|
11
|
+
|
|
12
|
+
## What Exists Now
|
|
13
|
+
|
|
14
|
+
The live package now includes:
|
|
15
|
+
|
|
16
|
+
- transaction discovery, quoting, execution, and lifecycle inspection
|
|
17
|
+
- release-center and phase-program inspection surfaces
|
|
18
|
+
- production-facing adapter onboarding and third-party registration material
|
|
19
|
+
- multi-rail settlement and continuity surfaces through the full 10-phase program
|
|
20
|
+
- machine-readable closeout state instead of an indefinitely open final phase
|
|
21
|
+
|
|
22
|
+
## Best Next Work
|
|
23
|
+
|
|
24
|
+
The highest-value next work is no longer "add more phases."
|
|
25
|
+
|
|
26
|
+
It is:
|
|
27
|
+
|
|
28
|
+
1. productization: tighten onboarding, examples, install paths, and first-contact docs
|
|
29
|
+
2. real integrations: wire 1-3 actual partner or internal use cases end to end
|
|
30
|
+
3. operational hardening: improve observability, deployment metadata, and operator audit posture
|
|
31
|
+
4. commercial packaging: prepare demos, launch collateral, and versioned release framing
|
|
32
|
+
|
|
33
|
+
## Operator Checks
|
|
34
|
+
|
|
35
|
+
For a quick terminal-state inspection, use:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
xytara-release --phases --summary
|
|
39
|
+
xytara-release --phase-10 --summary
|
|
40
|
+
xytara-release --center --summary
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Or inspect the live HTTP surfaces:
|
|
44
|
+
|
|
45
|
+
- `GET /v1/phases/summary`
|
|
46
|
+
- `GET /v1/phases/phase-10/completion/summary`
|
|
47
|
+
- `GET /v1/phases/phase-10/gate/summary`
|
|
48
|
+
- `GET /v1/release-center/summary`
|
|
49
|
+
|
|
50
|
+
## Recommended Reading Order
|
|
51
|
+
|
|
52
|
+
1. [START_HERE.md](C:/Users/Yoga/Desktop/workspace/vscode_workspace_public/naxytra/xytara/START_HERE.md)
|
|
53
|
+
2. [README.md](C:/Users/Yoga/Desktop/workspace/vscode_workspace_public/naxytra/xytara/README.md)
|
|
54
|
+
3. [FINAL_CONTRACT.md](C:/Users/Yoga/Desktop/workspace/vscode_workspace_public/naxytra/xytara/FINAL_CONTRACT.md)
|
|
55
|
+
4. [SERVICE_CONTRACT.md](C:/Users/Yoga/Desktop/workspace/vscode_workspace_public/naxytra/xytara/SERVICE_CONTRACT.md)
|
|
56
|
+
5. [PROGRAM_STATUS.md](C:/Users/Yoga/Desktop/workspace/vscode_workspace_public/naxytra/xytara/PROGRAM_STATUS.md)
|
|
57
|
+
6. [CARRIED_HANDOFF_DEMO.md](C:/Users/Yoga/Desktop/workspace/vscode_workspace_public/naxytra/xytara/CARRIED_HANDOFF_DEMO.md)
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# xytara Public Demo Script
|
|
2
|
+
|
|
3
|
+
Use this script when you need a short external-facing walkthrough of `xytara` that does not depend on private project history.
|
|
4
|
+
|
|
5
|
+
## Goal
|
|
6
|
+
|
|
7
|
+
Show the runtime side of the public stack in one compact flow:
|
|
8
|
+
|
|
9
|
+
1. package is live
|
|
10
|
+
2. runtime path is understandable
|
|
11
|
+
3. partner posture is explicit
|
|
12
|
+
4. proof-side continuation exists
|
|
13
|
+
|
|
14
|
+
## Recommended order
|
|
15
|
+
|
|
16
|
+
### 1. Release posture
|
|
17
|
+
|
|
18
|
+
Run:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
xytara-release --center --summary
|
|
22
|
+
xytara-release --candidate --summary
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Or inspect:
|
|
26
|
+
|
|
27
|
+
- `/v1/release-center/summary`
|
|
28
|
+
- `/v1/release-candidate/summary`
|
|
29
|
+
|
|
30
|
+
### 2. Runtime durability posture
|
|
31
|
+
|
|
32
|
+
Inspect:
|
|
33
|
+
|
|
34
|
+
- `/v1/runtime/durability`
|
|
35
|
+
|
|
36
|
+
Key sentence to say out loud:
|
|
37
|
+
|
|
38
|
+
`xytara` treats durability as visible operational posture, not a hidden implementation detail.
|
|
39
|
+
|
|
40
|
+
### 3. Public runtime walkthrough
|
|
41
|
+
|
|
42
|
+
Run:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
node examples/partner_launch_walkthrough.js
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Then, if you want the broader package tour:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
node examples/quickstart.js
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### 4. Partner adoption path
|
|
55
|
+
|
|
56
|
+
Open:
|
|
57
|
+
|
|
58
|
+
- `PARTNER_READY_PATH.md`
|
|
59
|
+
- `ADAPTER_PARTNER_PATH.md`
|
|
60
|
+
|
|
61
|
+
Key sentence to say out loud:
|
|
62
|
+
|
|
63
|
+
Outside teams can reach a reviewable adapter posture without private exceptions.
|
|
64
|
+
|
|
65
|
+
### 5. Proof continuation
|
|
66
|
+
|
|
67
|
+
Open:
|
|
68
|
+
|
|
69
|
+
- `CARRIED_HANDOFF_DEMO.md`
|
|
70
|
+
- `WHY_XYTARA_XOONYA.md`
|
|
71
|
+
|
|
72
|
+
Key sentence to say out loud:
|
|
73
|
+
|
|
74
|
+
`xytara` finishes the transaction-side path and hands cleanly into `xoonya` for proof-native completion.
|
|
75
|
+
|
|
76
|
+
## Good ending line
|
|
77
|
+
|
|
78
|
+
`xytara` is the public machine-commerce runtime: discover, fund, execute, inspect, and carry forward into proof.
|
package/PUBLISH_PLAN.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# xytara Publish Plan
|
|
2
|
+
|
|
3
|
+
1. Run `npm run verify:release-candidate`.
|
|
4
|
+
2. Run `node examples/partner_launch_walkthrough.js`.
|
|
5
|
+
3. Run `npm pack --dry-run --json` and confirm the package contents.
|
|
6
|
+
4. Publish with `npm publish --access public`.
|
|
7
|
+
5. Redeploy the live service surfaces.
|
|
8
|
+
6. Verify:
|
|
9
|
+
- `/v1/release-candidate/summary`
|
|
10
|
+
- `/v1/release-center/summary`
|
|
11
|
+
- `/v1/announcement-pack/summary`
|
|
12
|
+
- `/v1/outreach-proof/summary`
|
|
13
|
+
- `/v1/runtime/durability`
|
|
14
|
+
7. Run the first public machine proof path.
|