xoonya 2.14.0 → 3.0.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.
@@ -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
+ };
@@ -0,0 +1,214 @@
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 { summarizeDefaultPathPack } = require("./default_path_contract");
7
+ const { summarizeVerificationServicesPack } = require("./verification_service_pack");
8
+ const { summarizeTrustPortabilityPack } = require("./trust_portability_pack");
9
+
10
+ function uniqueSorted(values) {
11
+ return Array.from(new Set((Array.isArray(values) ? values : []).filter(Boolean))).sort();
12
+ }
13
+
14
+ function buildProfile(entry) {
15
+ return {
16
+ profile_id: entry.profile_id,
17
+ profile_label: entry.profile_label,
18
+ followthrough_axis: entry.followthrough_axis,
19
+ claim_status: entry.claim_status,
20
+ public_claim_allowed: entry.public_claim_allowed !== false,
21
+ real_time_ready: true,
22
+ primary_surfaces: uniqueSorted(entry.primary_surfaces),
23
+ supporting_surfaces: uniqueSorted(entry.supporting_surfaces),
24
+ actor_classes: uniqueSorted(entry.actor_classes),
25
+ continuity_outputs: uniqueSorted(entry.continuity_outputs),
26
+ expected_launch_outcome: entry.expected_launch_outcome,
27
+ claim_boundary: entry.claim_boundary
28
+ };
29
+ }
30
+
31
+ function buildFollowthroughTruthPack() {
32
+ const proofTruthSummary = summarizeProofTruthModelPack();
33
+ const defaultPathSummary = summarizeDefaultPathPack();
34
+ const verificationServicesSummary = summarizeVerificationServicesPack();
35
+ const trustPortabilitySummary = summarizeTrustPortabilityPack();
36
+ const bridgeSummary = proofSdk.summarizeBridgeCenter();
37
+ const governanceSummary = proofSdk.summarizeGovernanceCenter();
38
+
39
+ const profiles = [
40
+ buildProfile({
41
+ profile_id: "verification_services",
42
+ profile_label: "Verification services",
43
+ followthrough_axis: "verification_and_replay",
44
+ claim_status: "live",
45
+ primary_surfaces: [
46
+ "/v1/proof-center/verification-services",
47
+ "/v1/proof-center/verification-services/summary",
48
+ "/v1/proof-bundles/verify",
49
+ "/v1/receipts/verify"
50
+ ],
51
+ supporting_surfaces: [
52
+ "/v1/proof-truth/summary",
53
+ "/v1/default-path/summary",
54
+ "/v1/proof-center/result-package-handoff/summary"
55
+ ],
56
+ actor_classes: ["agent", "developer", "enterprise", "human", "machine", "operator"],
57
+ continuity_outputs: ["bundle_verify", "delivery_verify", "identity_link_verify", "settlement_verify"],
58
+ expected_launch_outcome: "proof outputs can be verified, replayed, and inspected from the same public proof spine",
59
+ claim_boundary: "verification_services_claim_only_the_listed_bundle_delivery_identity_and_settlement_binding_surfaces_not_external_chain_identity_or_legal_judgment_truth"
60
+ }),
61
+ buildProfile({
62
+ profile_id: "trust_portability",
63
+ profile_label: "Trust portability",
64
+ followthrough_axis: "cross_venue_portability",
65
+ claim_status: "bounded_live",
66
+ primary_surfaces: [
67
+ "/v1/proof-center/trust-portability",
68
+ "/v1/proof-center/trust-portability/summary",
69
+ "/v1/identity-interop",
70
+ "/v1/result-package-trust"
71
+ ],
72
+ supporting_surfaces: [
73
+ "/v1/auth-profiles/summary",
74
+ "/v1/proof-center/verification-services/summary",
75
+ "/v1/phases/phase-4/trust-continuity/summary"
76
+ ],
77
+ actor_classes: ["agent", "developer", "enterprise", "human", "machine", "operator"],
78
+ continuity_outputs: [
79
+ "agent_identity_portability",
80
+ "delegation_capability_portability",
81
+ "delivery_history_portability",
82
+ "settlement_linked_trust_portability"
83
+ ],
84
+ expected_launch_outcome: "identity, delegation, delivery, and settlement-linked trust remain portable without redefining runtime or custody truth",
85
+ claim_boundary: "trust_portability_claim_only_the_listed_identity_delegation_delivery_and_settlement_linked_review_surfaces_not_global_identity_session_or_custody_truth"
86
+ }),
87
+ buildProfile({
88
+ profile_id: "bridge_followthrough",
89
+ profile_label: "Bridge followthrough",
90
+ followthrough_axis: "bridge_and_compatibility_carry",
91
+ claim_status: "bounded_live",
92
+ primary_surfaces: [
93
+ "/v1/proof-center/bridge",
94
+ "/v1/proof-center/bridge/summary",
95
+ "/v1/proof-center/bridge/economic-handoff",
96
+ "/v1/proof-center/bridge/operator-review-pack",
97
+ "/v1/proof-center/bridge/compatibility-pack"
98
+ ],
99
+ supporting_surfaces: [
100
+ "/v1/proof-center/result-package-handoff/review/bridge-summary",
101
+ "/v1/proof-center/result-package-handoff/review/bridge-run",
102
+ "/v1/proof-center/governance/review-link"
103
+ ],
104
+ actor_classes: ["agent", "enterprise", "machine", "operator"],
105
+ continuity_outputs: [
106
+ "receipt_ledger_handoff",
107
+ "economic_consequence_handoff",
108
+ "compatibility_packaging",
109
+ "operator_review_packaging"
110
+ ],
111
+ expected_launch_outcome: "bridge-facing review and carry stay attached to the proof center without widening xoonya into runtime execution ownership",
112
+ claim_boundary: "bridge_followthrough_claim_only_the_listed_receipt_ledger_economic_carry_operator_and_compatibility_surfaces_not_generic_runtime_or_external_validator_truth"
113
+ }),
114
+ buildProfile({
115
+ profile_id: "governance_followthrough",
116
+ profile_label: "Governance followthrough",
117
+ followthrough_axis: "governance_dispute_and_signoff",
118
+ claim_status: "bounded_live",
119
+ primary_surfaces: [
120
+ "/v1/proof-center/governance",
121
+ "/v1/proof-center/governance/summary",
122
+ "/v1/proof-center/governance/disputes/summary",
123
+ "/v1/proof-center/governance/review-link",
124
+ "/v1/proof-center/governance/handoff-bundle"
125
+ ],
126
+ supporting_surfaces: [
127
+ "/v1/proof-center/result-package-handoff/review/summary",
128
+ "/v1/proof-center/bridge/summary",
129
+ "/v1/proof-center/verification-services/summary"
130
+ ],
131
+ actor_classes: ["enterprise", "human", "operator"],
132
+ continuity_outputs: [
133
+ "interpretation_validation",
134
+ "governance_coordination",
135
+ "dispute_review",
136
+ "signoff_packaging",
137
+ "operator_handoff_bundle"
138
+ ],
139
+ expected_launch_outcome: "operators can interpret, escalate, sign off, and preserve review linkage without breaking the canonical proof story",
140
+ claim_boundary: "governance_followthrough_claim_only_the_listed_interpretation_coordination_dispute_signoff_and_review_link_surfaces_not_external_legal_or_regulatory_judgment_truth"
141
+ })
142
+ ];
143
+
144
+ return {
145
+ ok: true,
146
+ product: packageJson.name,
147
+ category: "xoonya-followthrough-truth-model",
148
+ pack_version: "xoonya-followthrough-truth-model-v1",
149
+ posture: "bridge_governance_and_trust_followthrough_claim_boundary",
150
+ model_state: "frozen_for_3_0_0_closeout",
151
+ doctrine: "xoonya_should_make_verification_trust_portability_bridge_carry_and_governance_followthrough_publicly_claimable_only_where_the_proof_center_exposes_a_real_bounded_callable_surface",
152
+ core_claim: "xoonya keeps proof-side followthrough real and multi-surface without overclaiming runtime, external chain, custody, identity, or legal judgment truth",
153
+ profile_count: profiles.length,
154
+ live_profile_count: profiles.filter((entry) => entry.claim_status === "live").length,
155
+ bounded_live_profile_count: profiles.filter((entry) => entry.claim_status === "bounded_live").length,
156
+ public_claim_allowed_profile_count: profiles.filter((entry) => entry.public_claim_allowed).length,
157
+ profiles,
158
+ universal_invariants: [
159
+ "followthrough_truth_must_converge_back_into_the_same_proof_truth_model",
160
+ "bridge_and_governance_surfaces_must_stay_reviewable_before_claiming_completion",
161
+ "trust_portability_must_remain_bounded_to_the_listed_surfaces_and_profiles",
162
+ "verification_services_must_not_overclaim_external_chain_identity_or_legal_truth",
163
+ "operator_exports_must_preserve_review_linkage_without_mutating_proof_semantics"
164
+ ],
165
+ linked_summaries: {
166
+ proof_truth_summary: proofTruthSummary,
167
+ default_path_summary: defaultPathSummary,
168
+ verification_services_summary: verificationServicesSummary,
169
+ trust_portability_summary: trustPortabilitySummary,
170
+ bridge_summary: bridgeSummary,
171
+ governance_summary: governanceSummary
172
+ },
173
+ linked_surfaces: {
174
+ proof_truth_ref: "/v1/proof-truth",
175
+ default_path_ref: "/v1/default-path",
176
+ verification_services_ref: "/v1/proof-center/verification-services",
177
+ trust_portability_ref: "/v1/proof-center/trust-portability",
178
+ bridge_ref: "/v1/proof-center/bridge",
179
+ bridge_summary_ref: "/v1/proof-center/bridge/summary",
180
+ governance_ref: "/v1/proof-center/governance",
181
+ governance_summary_ref: "/v1/proof-center/governance/summary",
182
+ governance_review_link_ref: "/v1/proof-center/governance/review-link"
183
+ },
184
+ claim_boundary: "claim_only_the_listed_followthrough_profiles_and_surfaces_as_public_xoonya_truth_without_implying_unbounded_runtime_external_chain_identity_custody_or_legal_judgment_scope"
185
+ };
186
+ }
187
+
188
+ function summarizeFollowthroughTruthPack() {
189
+ const pack = buildFollowthroughTruthPack();
190
+ return {
191
+ ok: true,
192
+ product: pack.product,
193
+ category: pack.category,
194
+ summary_version: "xoonya-followthrough-truth-model-summary-v1",
195
+ pack_version: pack.pack_version,
196
+ model_state: pack.model_state,
197
+ profile_count: pack.profile_count,
198
+ live_profile_count: pack.live_profile_count,
199
+ bounded_live_profile_count: pack.bounded_live_profile_count,
200
+ public_claim_allowed_profile_count: pack.public_claim_allowed_profile_count,
201
+ linked_surfaces: pack.linked_surfaces
202
+ };
203
+ }
204
+
205
+ function getFollowthroughTruthProfileDetail(profileId) {
206
+ const normalized = String(profileId || "").trim().toLowerCase();
207
+ return (buildFollowthroughTruthPack().profiles || []).find((entry) => entry.profile_id === normalized) || null;
208
+ }
209
+
210
+ module.exports = {
211
+ buildFollowthroughTruthPack,
212
+ summarizeFollowthroughTruthPack,
213
+ getFollowthroughTruthProfileDetail
214
+ };