xoonya 2.13.0 → 2.15.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/README.md CHANGED
@@ -43,6 +43,36 @@ The shortest public proof loop is:
43
43
  - emit a durable proof bundle
44
44
  - preserve governance and continuity context when needed
45
45
 
46
+ The frozen proof-side fact model for `3.0.0` closeout is documented in:
47
+
48
+ - [XOONYA_PROOF_TRUTH_MODEL.md](C:/Users/Yoga/Desktop/workspace/vscode_workspace_naxytra/naxytra/xoonya/XOONYA_PROOF_TRUTH_MODEL.md)
49
+
50
+ Machine-readable proof-truth surfaces:
51
+
52
+ - `GET /v1/proof-truth`
53
+ - `GET /v1/proof-truth/summary`
54
+ - `GET /v1/proof-truth/:object_id`
55
+
56
+ The frozen multi-surface proof default-path model for `3.0.0` closeout is documented in:
57
+
58
+ - [XOONYA_DEFAULT_PATH_MODEL.md](C:/Users/Yoga/Desktop/workspace/vscode_workspace_naxytra/naxytra/xoonya/XOONYA_DEFAULT_PATH_MODEL.md)
59
+
60
+ Machine-readable proof default-path surfaces:
61
+
62
+ - `GET /v1/default-path`
63
+ - `GET /v1/default-path/summary`
64
+ - `GET /v1/default-path/:surface_id`
65
+
66
+ The frozen bridge, governance, trust-portability, and verification followthrough boundary for `3.0.0` closeout is documented in:
67
+
68
+ - [XOONYA_FOLLOWTHROUGH_TRUTH_MODEL.md](C:/Users/Yoga/Desktop/workspace/vscode_workspace_naxytra/naxytra/xoonya/XOONYA_FOLLOWTHROUGH_TRUTH_MODEL.md)
69
+
70
+ Machine-readable followthrough-truth surfaces:
71
+
72
+ - `GET /v1/followthrough-truth`
73
+ - `GET /v1/followthrough-truth/summary`
74
+ - `GET /v1/followthrough-truth/:profile_id`
75
+
46
76
  The current proof breadth already includes:
47
77
 
48
78
  - canonical events, receipts, and proof bundles
package/RELEASE_NOTES.md CHANGED
@@ -1,11 +1,14 @@
1
- `xoonya` 2.13.0 is the broader convergence milestone for aligned npm, GitHub, website, code, documentation, and public-copy surfaces.
1
+ `xoonya` 2.15.0 is the final intermediary closeout release for frozen proof truth surfaces and clearer proof-side first contact before the final major closeout.
2
2
 
3
- This release keeps the synchronized public-release bundle intact while bundling the stronger proof-center, trust-portability, reference-implementation, and first-run carry into one coherent public step.
3
+ This release keeps the synchronized public-release bundle intact while freezing the proof-side truth models, tightening umbrella first-contact alignment, and turning the proof-side story into one coherent final intermediary step before the final major closeout.
4
4
 
5
5
  Highlights:
6
6
 
7
- - preserves XNYA-compatible conformance, native reference implementation boundaries, external proof import boundaries, trust-portability surfaces, and the PQ/hybrid design gate
8
- - keeps verification services, trust-portability surfaces, and reference-implementation posture aligned with the same synchronized public release line
7
+ - freezes `/v1/proof-truth` and `/v1/proof-truth/summary` as the named proof object boundary
8
+ - freezes `/v1/default-path` and `/v1/default-path/summary` as the named proof-side multi-surface entry boundary
9
+ - freezes `/v1/followthrough-truth` and `/v1/followthrough-truth/summary` as the named bridge, governance, portability, and verification claim boundary
10
+ - keeps verification services, trust-portability surfaces, governance/dispute visibility, and reference-implementation posture aligned with the same synchronized public release line
11
+ - preserves XNYA-compatible conformance, native reference implementation boundaries, external proof import boundaries, and the PQ/hybrid design gate
9
12
  - strengthens the native-standard, payload-profile, line-rate-frame, and conformance-mark story as one discoverable proof stack
10
13
  - keeps `RELEASE_NOTES.md` scoped to the current release so npm and GitHub release notes stay clean
11
14
  - keeps the canonical `https://naxytra.com/xoonya` public product URL and single naxytra website positioning intact
package/START_HERE.md CHANGED
@@ -4,6 +4,8 @@ This is the shortest reliable path for understanding and using the public `xoony
4
4
 
5
5
  The phase program is now complete, so this file is the right starting point for a closed and release-shaped proof system rather than an in-flight milestone build.
6
6
 
7
+ The next public release path is intentionally intermediary and is now centered on the paired `2.15.0` final intermediary closeout milestone documented in [RELEASE_2_15_0_FINAL_INTERMEDIARY_CLOSEOUT_PLAN.md](C:/Users/Yoga/Desktop/workspace/vscode_workspace_naxytra/naxytra/docs/release/RELEASE_2_15_0_FINAL_INTERMEDIARY_CLOSEOUT_PLAN.md) and [PUBLISH_PLAN.md](C:/Users/Yoga/Desktop/workspace/vscode_workspace_public/naxytra/xoonya/PUBLISH_PLAN.md). That release is meant to freeze the proof-side public truth surfaces before the final `3.0.0` consolidation.
8
+
7
9
  ## 1. Understand The Role
8
10
 
9
11
  `xoonya` is the proof-side half of the public stack.
@@ -27,6 +29,27 @@ Then run the local proof followthrough:
27
29
  xoonya first-run --verify-native --pretty
28
30
  ```
29
31
 
32
+ If you want the frozen machine-readable proof-truth contract behind that flow, inspect:
33
+
34
+ ```text
35
+ GET /v1/proof-truth
36
+ GET /v1/proof-truth/summary
37
+ ```
38
+
39
+ If you want the frozen machine-readable proof default-path contract behind that flow, inspect:
40
+
41
+ ```text
42
+ GET /v1/default-path
43
+ GET /v1/default-path/summary
44
+ ```
45
+
46
+ If you want the frozen machine-readable followthrough claim boundary behind that flow, inspect:
47
+
48
+ ```text
49
+ GET /v1/followthrough-truth
50
+ GET /v1/followthrough-truth/summary
51
+ ```
52
+
30
53
  ## 2. Run The Fastest Real Example
31
54
 
32
55
  Run:
@@ -0,0 +1,63 @@
1
+ # xoonya Default Path Model
2
+
3
+ `xoonya` should feel immediate from the surface the caller already uses.
4
+
5
+ For `3.0.0`, the public proof story cannot only live across scattered review routes and helper commands.
6
+
7
+ It needs one frozen answer to:
8
+
9
+ - how a caller brings proof-side input in
10
+ - how they review it
11
+ - how they verify or run proof followthrough
12
+ - how they emit durable proof artifacts
13
+ - how bridge and governance followthrough remain attached
14
+
15
+ ## Core Rule
16
+
17
+ All supported proof entry surfaces must converge on one spine:
18
+
19
+ `receive -> review -> run/emit -> verify -> inspect/governance`
20
+
21
+ Surface-specific ergonomics are allowed.
22
+ Surface-specific proof truth models are not.
23
+
24
+ ## Supported Surface Families
25
+
26
+ The frozen `3.0.0` default-path model covers:
27
+
28
+ - CLI and terminal
29
+ - direct API
30
+ - carried handoff review
31
+ - native proof loop
32
+ - service-to-service and embedded review
33
+
34
+ ## What Changes Across Surfaces
35
+
36
+ What may change:
37
+
38
+ - the first entrypoint
39
+ - whether the caller starts from a handoff review, a proof loop, or a verification command
40
+ - whether output is returned as CLI JSON, API JSON, or embedded review state
41
+
42
+ What must not change:
43
+
44
+ - proof truth
45
+ - review posture
46
+ - verification posture
47
+ - bridge carry
48
+ - governance followthrough
49
+
50
+ ## Machine-Readable Surfaces
51
+
52
+ - `GET /v1/default-path`
53
+ - `GET /v1/default-path/summary`
54
+ - `GET /v1/default-path/:surface_id`
55
+
56
+ ## Launch Standard
57
+
58
+ For `3.0.0`, this model is considered real only if:
59
+
60
+ - each listed surface has a callable first path
61
+ - each listed surface can review or verify before claiming completion
62
+ - each listed surface converges into the shared proof truth model
63
+ - each listed surface can preserve bridge and governance followthrough where needed
@@ -0,0 +1,63 @@
1
+ # xoonya Followthrough Truth Model
2
+
3
+ `xoonya` cannot reach a truthful `3.0.0` if its followthrough story is left as scattered bridge, governance, trust-portability, and verification endpoints.
4
+
5
+ For the public launch line, it needs one frozen answer to:
6
+
7
+ - what proof-side followthrough is publicly claimable
8
+ - what trust portability is real and bounded
9
+ - what bridge carry is real and bounded
10
+ - what governance and dispute posture is real and bounded
11
+ - what must remain outside the public `xoonya` claim boundary
12
+
13
+ ## Core Rule
14
+
15
+ All public followthrough claims must stay inside one bounded proof-side truth:
16
+
17
+ `verify -> carry -> review -> govern -> preserve continuity`
18
+
19
+ `xoonya` may expose many helper routes.
20
+ It may not imply unbounded scope.
21
+
22
+ ## Covered Followthrough Families
23
+
24
+ The frozen `3.0.0` followthrough truth model covers:
25
+
26
+ - verification services
27
+ - trust portability
28
+ - bridge followthrough
29
+ - governance followthrough
30
+
31
+ ## What This Model Allows Us To Claim
32
+
33
+ We can publicly claim:
34
+
35
+ - proof bundles, receipts, and handoffs can be verified and replayed through real public surfaces
36
+ - trust can remain portable across the listed identity, delegation, delivery, and settlement-linked review lanes
37
+ - bridge carry can preserve operator and compatibility review without becoming the runtime owner
38
+ - governance can preserve disputes, signoff, interpretation, and handoff continuity without pretending to be universal legal truth
39
+
40
+ ## What This Model Does Not Allow Us To Claim
41
+
42
+ We do not publicly claim:
43
+
44
+ - unbounded runtime execution truth
45
+ - universal external chain truth
46
+ - universal custody truth
47
+ - universal identity truth
48
+ - universal legal or regulatory judgment truth
49
+
50
+ ## Machine-Readable Surfaces
51
+
52
+ - `GET /v1/followthrough-truth`
53
+ - `GET /v1/followthrough-truth/summary`
54
+ - `GET /v1/followthrough-truth/:profile_id`
55
+
56
+ ## Launch Standard
57
+
58
+ For `3.0.0`, this model is considered real only if:
59
+
60
+ - each listed profile has callable first-party surfaces
61
+ - each listed profile stays attached to proof truth and proof review
62
+ - each listed profile has an explicit claim boundary
63
+ - no launch copy overstates `xoonya` beyond these frozen followthrough profiles
@@ -0,0 +1,58 @@
1
+ # xoonya Proof Truth Model
2
+
3
+ `xoonya` is the proof-side truth layer for the public stack.
4
+
5
+ For `3.0.0`, that has to be explicit, not implied from many helper surfaces.
6
+
7
+ ## Core Rule
8
+
9
+ The proof-side spine is:
10
+
11
+ `canonical event -> receipt -> proof bundle -> reviewable handoff -> verification -> bridge/governance followthrough`
12
+
13
+ `xoonya` may expose many routes, but they all need to converge on that same truth model.
14
+
15
+ ## What xoonya Owns
16
+
17
+ `xoonya` owns:
18
+
19
+ - deterministic proof construction
20
+ - canonical proof verification
21
+ - native `XNYA` compact evidence artifacts
22
+ - reviewable runtime-to-proof handoff continuation
23
+ - bridge carry and proof-adjacent operator review
24
+ - governance and dispute followthrough
25
+
26
+ It does not own:
27
+
28
+ - runtime pricing
29
+ - runtime execution truth
30
+ - treasury or payment control planes
31
+ - universal external chain, identity, or legal judgment truth
32
+
33
+ ## Canonical Objects
34
+
35
+ The frozen `3.0.0` proof truth model centers on:
36
+
37
+ - `canonical_event_bundle`
38
+ - `receipt`
39
+ - `proof_bundle`
40
+ - `xnya_native_artifact`
41
+ - `proof_handoff_review`
42
+ - `bridge_and_governance_followthrough`
43
+
44
+ ## Machine-Readable Surfaces
45
+
46
+ - `GET /v1/proof-truth`
47
+ - `GET /v1/proof-truth/summary`
48
+ - `GET /v1/proof-truth/:object_id`
49
+
50
+ ## Launch Standard
51
+
52
+ For `3.0.0`, this model is real only if:
53
+
54
+ - the proof core is deterministic and replayable
55
+ - `XNYA` remains a first-class native evidence family
56
+ - runtime handoffs can continue into review and proof without dead-end loss
57
+ - verification services are visible and callable
58
+ - bridge and governance followthrough remain bounded, reviewable, and explicit
package/index.js CHANGED
@@ -5,6 +5,10 @@ module.exports = {
5
5
  ...require("./integrations/registry"),
6
6
  ...require("./lib/verification_service_pack"),
7
7
  ...require("./lib/trust_portability_pack"),
8
+ ...require("./lib/proof_truth_contract"),
9
+ ...require("./lib/default_path_contract"),
10
+ ...require("./lib/followthrough_truth_contract"),
11
+ ...require("./lib/governance_disputes_summary"),
8
12
  ...require("./lib/release_pack"),
9
13
  ...require("./lib/release_manifest"),
10
14
  ...require("./lib/release_center"),
@@ -0,0 +1,380 @@
1
+ "use strict";
2
+
3
+ const packageJson = require("../package.json");
4
+ const proofSdk = require("../proof_sdk");
5
+ const { summarizeProofTruthModelPack } = require("./proof_truth_contract");
6
+ const { summarizeVerificationServicesPack } = require("./verification_service_pack");
7
+ const { summarizeTrustPortabilityPack } = require("./trust_portability_pack");
8
+
9
+ function uniqueSorted(values) {
10
+ return Array.from(new Set((Array.isArray(values) ? values : []).filter(Boolean))).sort();
11
+ }
12
+
13
+ function buildStages(stageEntries) {
14
+ return (Array.isArray(stageEntries) ? stageEntries : []).map((entry, index) => ({
15
+ stage_index: index + 1,
16
+ ...entry
17
+ }));
18
+ }
19
+
20
+ function buildSurface(entry) {
21
+ const stages = buildStages(entry.stages);
22
+ return {
23
+ surface_id: entry.surface_id,
24
+ surface_label: entry.surface_label,
25
+ surface_kind: entry.surface_kind,
26
+ interaction_modes: uniqueSorted(entry.interaction_modes),
27
+ actor_classes: uniqueSorted(entry.actor_classes),
28
+ real_time_ready: true,
29
+ review_ready: stages.some((stage) => stage.stage_id === "review"),
30
+ verify_ready: stages.some((stage) => stage.stage_id === "verify"),
31
+ proof_emit_ready: stages.some((stage) => stage.stage_id === "emit" || stage.stage_id === "run"),
32
+ governance_followthrough_ready: stages.some((stage) => stage.stage_id === "governance" || stage.stage_id === "inspect"),
33
+ stage_count: stages.length,
34
+ primary_entrypoints: uniqueSorted(entry.primary_entrypoints),
35
+ primary_output_posture: entry.primary_output_posture,
36
+ default_loop_or_followthrough_ref: entry.default_loop_or_followthrough_ref,
37
+ stages,
38
+ supporting_surfaces: uniqueSorted(entry.supporting_surfaces),
39
+ claim_boundary: entry.claim_boundary
40
+ };
41
+ }
42
+
43
+ function buildDefaultPathPack() {
44
+ const proofTruthSummary = summarizeProofTruthModelPack();
45
+ const proofCenterSummary = proofSdk.summarizeDefaultProofCenter();
46
+ const proofLoopSummary = proofSdk.summarizeDefaultProofLoops();
47
+ const resultPackageHandoffSummary = proofSdk.summarizeInteractionResultPackageHandoffCenter();
48
+ const bridgeSummary = proofSdk.summarizeBridgeCenter();
49
+ const governanceSummary = proofSdk.summarizeGovernanceCenter();
50
+ const verificationServicesSummary = summarizeVerificationServicesPack();
51
+ const trustPortabilitySummary = summarizeTrustPortabilityPack();
52
+
53
+ const surfaces = [
54
+ buildSurface({
55
+ surface_id: "cli_terminal",
56
+ surface_label: "CLI and terminal",
57
+ surface_kind: "human_or_operator_shell_surface",
58
+ interaction_modes: ["cli", "terminal"],
59
+ actor_classes: ["human", "operator", "developer", "agent"],
60
+ primary_entrypoints: [
61
+ "xoonya start-here",
62
+ "xoonya first-run --verify-native --pretty",
63
+ "xoonya-review --file ./handoff.json --summary",
64
+ "xoonya conformance --json"
65
+ ],
66
+ primary_output_posture: "stdout_json_review_and_local_verification_summary",
67
+ default_loop_or_followthrough_ref: "default.proof.bundle.loop",
68
+ stages: [
69
+ {
70
+ stage_id: "receive",
71
+ surface_ref: "xoonya start-here",
72
+ expected_outcome: "outside builder or operator discovers the proof-side default path immediately after install"
73
+ },
74
+ {
75
+ stage_id: "review",
76
+ surface_ref: "xoonya-review --file ./handoff.json --summary",
77
+ expected_outcome: "carried runtime handoff becomes a concise reviewable proof-side intake"
78
+ },
79
+ {
80
+ stage_id: "verify",
81
+ surface_ref: "xoonya first-run --verify-native --pretty",
82
+ expected_outcome: "local native verification confirms xoonya proof binding and conformance posture"
83
+ },
84
+ {
85
+ stage_id: "emit",
86
+ surface_ref: "xoonya conformance --json",
87
+ expected_outcome: "operator can confirm proof bundle and native artifact posture from the same shell surface"
88
+ },
89
+ {
90
+ stage_id: "inspect",
91
+ surface_ref: "/v1/proof-center/governance/summary",
92
+ expected_outcome: "governance and continuity posture remain inspectable after proof review and verification"
93
+ }
94
+ ],
95
+ supporting_surfaces: [
96
+ "https://www.naxytra.com/v1/first-run-kit",
97
+ "/v1/proof-center/summary",
98
+ "/v1/proof-center/native-standard/summary",
99
+ "/v1/proof-center/result-package-handoff/review/summary"
100
+ ],
101
+ claim_boundary: "claim_cli_terminal_default_path_only_for_the_listed_review_verify_emit_and_inspection_surfaces_not_as_unbounded_external_chain_or_identity_truth"
102
+ }),
103
+ buildSurface({
104
+ surface_id: "direct_api",
105
+ surface_label: "Direct API",
106
+ surface_kind: "http_api_surface",
107
+ interaction_modes: ["api", "http"],
108
+ actor_classes: ["agent", "machine", "developer", "enterprise"],
109
+ primary_entrypoints: [
110
+ "/v1/proof-center",
111
+ "/v1/proof-bundles/build",
112
+ "/v1/proof-bundles/verify"
113
+ ],
114
+ primary_output_posture: "json_proof_bundle_and_verification_result",
115
+ default_loop_or_followthrough_ref: "/v1/proof-center/default-loops/run",
116
+ stages: [
117
+ {
118
+ stage_id: "receive",
119
+ surface_ref: "/v1/proof-center/summary",
120
+ expected_outcome: "caller discovers the canonical proof center and proof model through machine-readable HTTP surfaces"
121
+ },
122
+ {
123
+ stage_id: "review",
124
+ surface_ref: "/v1/proof-center/result-package-handoff/review/summary",
125
+ expected_outcome: "runtime handoff becomes reviewable before proof emission"
126
+ },
127
+ {
128
+ stage_id: "run",
129
+ surface_ref: "/v1/proof-center/default-loops/run",
130
+ expected_outcome: "application can emit and verify the canonical proof-native loop in one API path"
131
+ },
132
+ {
133
+ stage_id: "verify",
134
+ surface_ref: "/v1/proof-bundles/verify",
135
+ expected_outcome: "proof output is verified through the same public API spine"
136
+ },
137
+ {
138
+ stage_id: "inspect",
139
+ surface_ref: "/v1/proof-center/verification-services/summary",
140
+ expected_outcome: "verification service and followthrough posture remain externally inspectable"
141
+ }
142
+ ],
143
+ supporting_surfaces: [
144
+ "/openapi.json",
145
+ "/v1/proof-center/default-loops/summary",
146
+ "/v1/proof-center/native-standard/summary",
147
+ "/v1/proof-center/trust-portability/summary"
148
+ ],
149
+ claim_boundary: "claim_direct_api_default_path_only_for_the_listed_proof_core_review_run_verify_and_inspection_surfaces_not_as_unbounded_external_verifier_or_judgment_truth"
150
+ }),
151
+ buildSurface({
152
+ surface_id: "carried_handoff_review",
153
+ surface_label: "Carried handoff review",
154
+ surface_kind: "runtime_to_proof_continuation_surface",
155
+ interaction_modes: ["handoff", "review", "continuation"],
156
+ actor_classes: ["agent", "machine", "human", "enterprise", "operator"],
157
+ primary_entrypoints: [
158
+ "/v1/proof-center/result-package-handoff",
159
+ "/v1/proof-center/result-package-handoff/review/summary",
160
+ "/v1/proof-center/result-package-handoff/run"
161
+ ],
162
+ primary_output_posture: "review_summary_then_proof_continuation_bundle",
163
+ default_loop_or_followthrough_ref: "/v1/proof-center/result-package-handoff/run",
164
+ stages: [
165
+ {
166
+ stage_id: "receive",
167
+ surface_ref: "/v1/proof-center/result-package-handoff/summary",
168
+ expected_outcome: "caller discovers the stable runtime-to-proof continuation boundary"
169
+ },
170
+ {
171
+ stage_id: "review",
172
+ surface_ref: "/v1/proof-center/result-package-handoff/review/summary",
173
+ expected_outcome: "handoff bundle is reviewed for carry, boundary, and proof readiness"
174
+ },
175
+ {
176
+ stage_id: "run",
177
+ surface_ref: "/v1/proof-center/result-package-handoff/run",
178
+ expected_outcome: "reviewed handoff continues into canonical proof-side completion"
179
+ },
180
+ {
181
+ stage_id: "verify",
182
+ surface_ref: "/v1/proof-center/verification-services/summary",
183
+ expected_outcome: "verification posture for the carried handoff remains first-class and inspectable"
184
+ },
185
+ {
186
+ stage_id: "governance",
187
+ surface_ref: "/v1/proof-center/bridge/summary",
188
+ expected_outcome: "bridge carry and operator review posture remain attached to the continuation path"
189
+ }
190
+ ],
191
+ supporting_surfaces: [
192
+ "/v1/proof-center/result-package-handoff/review/bridge-summary",
193
+ "/v1/proof-center/governance/summary",
194
+ "/v1/proof-center/trust-portability/summary"
195
+ ],
196
+ claim_boundary: "claim_carried_handoff_review_only_for_the_listed_review_run_bridge_and_governance_surfaces_not_as_generic_runtime_execution_truth"
197
+ }),
198
+ buildSurface({
199
+ surface_id: "native_proof_loop",
200
+ surface_label: "Native proof loop",
201
+ surface_kind: "proof_native_surface",
202
+ interaction_modes: ["proof_native", "xnya", "bundle"],
203
+ actor_classes: ["developer", "agent", "machine", "human"],
204
+ primary_entrypoints: [
205
+ "/v1/proof-center/default-loops",
206
+ "/v1/proof-center/default-loops/run",
207
+ "/v1/proof-center/native-standard/summary"
208
+ ],
209
+ primary_output_posture: "deterministic_proof_bundle_or_receipt_loop_output",
210
+ default_loop_or_followthrough_ref: "default.proof.bundle.loop",
211
+ stages: [
212
+ {
213
+ stage_id: "receive",
214
+ surface_ref: "/v1/proof-center/default-loops/summary",
215
+ expected_outcome: "builder sees the default proof-native loops and their canonical stages"
216
+ },
217
+ {
218
+ stage_id: "review",
219
+ surface_ref: "/v1/proof-center/native-standard/summary",
220
+ expected_outcome: "native XNYA and proof-standard posture is inspected before emitting proof artifacts"
221
+ },
222
+ {
223
+ stage_id: "run",
224
+ surface_ref: "/v1/proof-center/default-loops/run",
225
+ expected_outcome: "proof bundle loop executes through the canonical proof center"
226
+ },
227
+ {
228
+ stage_id: "verify",
229
+ surface_ref: "/v1/proof-bundles/verify",
230
+ expected_outcome: "proof output is verified through the canonical bundle contract"
231
+ },
232
+ {
233
+ stage_id: "inspect",
234
+ surface_ref: "/v1/proof-center/native-anchor-profile/summary",
235
+ expected_outcome: "native anchor-binding and followthrough posture remain visible after proof emission"
236
+ }
237
+ ],
238
+ supporting_surfaces: [
239
+ "/v1/proof-center/native-atom-spec/summary",
240
+ "/v1/proof-center/native-payload-profile/summary",
241
+ "/v1/proof-center/native-conformance-mark/summary"
242
+ ],
243
+ claim_boundary: "claim_native_proof_loop_only_for_the_listed_xnya_and_bundle_surfaces_not_as_forced_identity_or_auth_replacement"
244
+ }),
245
+ buildSurface({
246
+ surface_id: "service_to_service",
247
+ surface_label: "Service-to-service and embedded review",
248
+ surface_kind: "backend_review_surface",
249
+ interaction_modes: ["service_to_service", "embedded_review", "callback"],
250
+ actor_classes: ["machine", "enterprise", "operator", "agent"],
251
+ primary_entrypoints: [
252
+ "/v1/proof-center/result-package-handoff/review/summary",
253
+ "/v1/proof-center/result-package-handoff/review/handoff-run",
254
+ "/v1/proof-center/governance/review-link"
255
+ ],
256
+ primary_output_posture: "embedded_review_summary_then_proof_followthrough_and_governance_linkage",
257
+ default_loop_or_followthrough_ref: "/v1/proof-center/result-package-handoff/review/handoff-run",
258
+ stages: [
259
+ {
260
+ stage_id: "receive",
261
+ surface_ref: "/v1/proof-center/result-package-handoff/review/handoff-intake",
262
+ expected_outcome: "backend caller receives and normalizes a runtime handoff into the proof review boundary"
263
+ },
264
+ {
265
+ stage_id: "review",
266
+ surface_ref: "/v1/proof-center/result-package-handoff/review/summary",
267
+ expected_outcome: "embedded service gets a compact proof-readiness and carry summary"
268
+ },
269
+ {
270
+ stage_id: "run",
271
+ surface_ref: "/v1/proof-center/result-package-handoff/review/handoff-run",
272
+ expected_outcome: "service advances the handoff into proof-side continuation from the same embedded path"
273
+ },
274
+ {
275
+ stage_id: "verify",
276
+ surface_ref: "/v1/proof-center/verification-services/summary",
277
+ expected_outcome: "verification posture remains callable and inspectable for the embedded review path"
278
+ },
279
+ {
280
+ stage_id: "governance",
281
+ surface_ref: "/v1/proof-center/governance/review-link",
282
+ expected_outcome: "follow-up review and governance remain linkable for downstream systems"
283
+ }
284
+ ],
285
+ supporting_surfaces: [
286
+ "/v1/proof-center/bridge/operator-review-pack",
287
+ "/v1/proof-center/governance/summary",
288
+ "/asyncapi.json",
289
+ "/cloudevents.json"
290
+ ],
291
+ claim_boundary: "claim_service_to_service_default_path_only_for_the_listed_embedded_review_run_verify_and_governance_surfaces_not_as_generic_external_case_management_truth"
292
+ })
293
+ ];
294
+
295
+ return {
296
+ ok: true,
297
+ product: packageJson.name,
298
+ category: "xoonya-default-path-model",
299
+ pack_version: "xoonya-default-path-model-v1",
300
+ posture: "multi_surface_proof_followthrough_default_path",
301
+ model_state: "frozen_for_3_0_0_closeout",
302
+ doctrine: "every_supported_proof_surface_should_converge_on_one_receive_review_verify_emit_followthrough_spine_so_the_public_proof_story_stays_true_across_cli_api_handoff_and_embedded_review_entrypoints",
303
+ core_claim: "xoonya can meet callers where they already are while keeping one proof, review, verification, bridge, and governance truth model",
304
+ default_path_order: [
305
+ "receive",
306
+ "review",
307
+ "run",
308
+ "verify",
309
+ "emit",
310
+ "inspect",
311
+ "governance"
312
+ ],
313
+ supported_surface_count: surfaces.length,
314
+ real_time_ready_surface_count: surfaces.filter((entry) => entry.real_time_ready).length,
315
+ review_ready_surface_count: surfaces.filter((entry) => entry.review_ready).length,
316
+ verify_ready_surface_count: surfaces.filter((entry) => entry.verify_ready).length,
317
+ proof_emit_ready_surface_count: surfaces.filter((entry) => entry.proof_emit_ready).length,
318
+ governance_followthrough_ready_surface_count: surfaces.filter((entry) => entry.governance_followthrough_ready).length,
319
+ surfaces,
320
+ universal_invariants: [
321
+ "every_default_path_must_begin_with_public_intake_or_start_here_guidance",
322
+ "every_default_path_must_make_review_or_verification_possible_before_claiming_completion",
323
+ "every_default_path_must_converge_back_into_the_same_proof_truth_model",
324
+ "every_default_path_must_preserve_xnya_and_proof_bundle_posture_without_redefining_runtime_truth",
325
+ "every_default_path_must_keep_bridge_and_governance_followthrough_available_when_needed"
326
+ ],
327
+ linked_summaries: {
328
+ proof_truth_summary: proofTruthSummary,
329
+ proof_center_summary: proofCenterSummary,
330
+ proof_loop_summary: proofLoopSummary,
331
+ result_package_handoff_summary: resultPackageHandoffSummary,
332
+ bridge_summary: bridgeSummary,
333
+ governance_summary: governanceSummary,
334
+ verification_services_summary: verificationServicesSummary,
335
+ trust_portability_summary: trustPortabilitySummary
336
+ },
337
+ linked_surfaces: {
338
+ start_here_ref: "START_HERE.md",
339
+ first_run_kit_ref: "https://www.naxytra.com/v1/first-run-kit",
340
+ proof_center_ref: "/v1/proof-center",
341
+ proof_center_summary_ref: "/v1/proof-center/summary",
342
+ proof_truth_ref: "/v1/proof-truth",
343
+ proof_loops_ref: "/v1/proof-center/default-loops",
344
+ result_package_handoff_ref: "/v1/proof-center/result-package-handoff",
345
+ bridge_summary_ref: "/v1/proof-center/bridge/summary",
346
+ governance_summary_ref: "/v1/proof-center/governance/summary"
347
+ },
348
+ claim_boundary: "claim_only_the_listed_multi_surface_proof_default_paths_and_their_shared_proof_review_verification_and_governance_spine_without_implying_unbounded_runtime_or_external_judgment_truth"
349
+ };
350
+ }
351
+
352
+ function summarizeDefaultPathPack() {
353
+ const pack = buildDefaultPathPack();
354
+ return {
355
+ ok: true,
356
+ product: pack.product,
357
+ category: pack.category,
358
+ summary_version: "xoonya-default-path-model-summary-v1",
359
+ pack_version: pack.pack_version,
360
+ model_state: pack.model_state,
361
+ supported_surface_count: pack.supported_surface_count,
362
+ review_ready_surface_count: pack.review_ready_surface_count,
363
+ verify_ready_surface_count: pack.verify_ready_surface_count,
364
+ proof_emit_ready_surface_count: pack.proof_emit_ready_surface_count,
365
+ governance_followthrough_ready_surface_count: pack.governance_followthrough_ready_surface_count,
366
+ default_path_stage_count: pack.default_path_order.length,
367
+ linked_surfaces: pack.linked_surfaces
368
+ };
369
+ }
370
+
371
+ function getDefaultPathSurfaceDetail(surfaceId) {
372
+ const normalized = String(surfaceId || "").trim().toLowerCase();
373
+ return (buildDefaultPathPack().surfaces || []).find((entry) => entry.surface_id === normalized) || null;
374
+ }
375
+
376
+ module.exports = {
377
+ buildDefaultPathPack,
378
+ summarizeDefaultPathPack,
379
+ getDefaultPathSurfaceDetail
380
+ };