@lucern/contracts 1.0.30 → 1.0.31
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/CHANGELOG.md +4 -0
- package/dist/assembly-acceptance-gate.contract.d.ts +1234 -1234
- package/dist/assembly-instrumentation.contract.d.ts +413 -413
- package/dist/belongs-to-membership-model.contract.d.ts +45 -45
- package/dist/campaign-context-compiler.contract.d.ts +87 -87
- package/dist/canonical-edge-public-noun-lock.contract.d.ts +106 -106
- package/dist/concept-maturity-rubric.contract.d.ts +131 -131
- package/dist/docs-canon-reconciliation-loop.contract.d.ts +37 -37
- package/dist/{edge-policy-manifest-Bg3B5G0u.d.ts → edge-policy-manifest-C38kuf7v.d.ts} +26 -26
- package/dist/evidence-question-forecast-maturity.contract.d.ts +76 -76
- package/dist/evidence-taxonomy-target-scope.contract.d.ts +61 -61
- package/dist/final-substrate-source-ledger.contract.d.ts +149 -149
- package/dist/function-registry/helpers.d.ts +1 -1
- package/dist/function-registry/index.d.ts +11 -11
- package/dist/generated/state-vector-transition-table.d.ts +1 -1
- package/dist/golden-reasoning-eval-harness.contract.d.ts +2178 -2178
- package/dist/graph-traversal-canon.contract.d.ts +121 -121
- package/dist/graph-traversal-invariant-guardrails.contract.d.ts +68 -68
- package/dist/graph-v2-write-policy-constitution.contract.d.ts +219 -219
- package/dist/heartbeat-property-validation.contract.d.ts +86 -86
- package/dist/index.d.ts +2 -2
- package/dist/manifest-projection-generation.contract.d.ts +34 -34
- package/dist/manifests/check-manifest.d.ts +12 -12
- package/dist/manifests/edge-policy-manifest.d.ts +1 -1
- package/dist/manifests/edge-policy-manifest.data.d.ts +3 -3
- package/dist/manifests/invariant-manifest.d.ts +6 -6
- package/dist/observability-audit-store-migration.contract.d.ts +110 -110
- package/dist/parsimony-diagnostic.contract.d.ts +328 -328
- package/dist/post-substrate-surface-lock.contract.d.ts +48 -48
- package/dist/post-substrate-surface-upgrade.contract.d.ts +82 -82
- package/dist/pre-rebuild-closeout-gate.contract.d.ts +153 -153
- package/dist/primitive-epistemic-state-constitution.contract.d.ts +34 -34
- package/dist/primitive-epistemic-state-constitution.data.d.ts +1 -1
- package/dist/primitive-maturity-matrix.contract.d.ts +100 -100
- package/dist/prior-art-vocabulary-firewall.contract.d.ts +19 -19
- package/dist/projections/create-evidence.projection.d.ts +36 -36
- package/dist/projections/index.d.ts +7 -7
- package/dist/projections/list-beliefs.projection.d.ts +3 -3
- package/dist/proof-attestation.json +1 -1
- package/dist/propagation-v2-contract.contract.d.ts +74 -74
- package/dist/published-belief-artifact.contract.d.ts +325 -325
- package/dist/reset-authorization-package.contract.d.ts +84 -84
- package/dist/retrieval-search-discovery-receipt.contract.d.ts +288 -288
- package/dist/schema-change-belief.contract.d.ts +179 -179
- package/dist/schemas/component-table-manifest.d.ts +8 -8
- package/dist/schemas/manifest.d.ts +580 -580
- package/dist/schemas/tables/kernel/epistemic.d.ts +2 -2
- package/dist/schemas/tables/kernel/intelligence.d.ts +16 -16
- package/dist/schemas/tables/kernel/lens.d.ts +10 -10
- package/dist/schemas/tables/kernel/platform.d.ts +14 -14
- package/dist/schemas/tables/kernel/task.d.ts +26 -26
- package/dist/schemas/tables/kernel/worktree.d.ts +18 -18
- package/dist/schemas/tables/mc/identity.d.ts +2 -2
- package/dist/schemas/tables/mc/methodology.d.ts +2 -2
- package/dist/schemas/tables/mc/pack.d.ts +24 -24
- package/dist/schemas/tables/mc/runtime.d.ts +2 -2
- package/dist/slice-serialization.contract.d.ts +1325 -1325
- package/dist/source-material-adoption-ledger.contract.d.ts +250 -250
- package/dist/source-material-total-partition.contract.d.ts +254 -254
- package/dist/state-vector-manifest.contract.d.ts +83 -83
- package/dist/state-vector-manifest.data.contract.d.ts +1 -1
- package/dist/state-vector-runtime.contract.d.ts +28 -28
- package/dist/substrate-envelope.contract.d.ts +117 -117
- package/dist/substrate-lifecycle-lineage.contract.d.ts +30 -30
- package/dist/substrate-migration-cutover-ledger.contract.d.ts +13 -13
- package/dist/substrate-neo4j-projection.contract.d.ts +179 -179
- package/dist/transition-receipt.contract.d.ts +543 -543
- package/dist/traversal-mode-constitution.contract.d.ts +123 -123
- package/dist/typed-gate-registry.contract.d.ts +61 -61
- package/dist/typed-need.contract.d.ts +248 -248
- package/dist/{unified-state-matrix.contract-BJDYNhnf.d.ts → unified-state-matrix.contract-BTxqLggA.d.ts} +96 -96
- package/dist/unified-state-matrix.contract.d.ts +1 -1
- package/dist/unified-state-matrix.data.contract.d.ts +1 -1
- package/dist/workspace-data-sovereignty.contract.d.ts +114 -114
- package/dist/worktree-belief-adoption.contract.d.ts +91 -91
- package/dist/worktree-delta-ledger.contract.d.ts +124 -124
- package/dist/worktree-graph-branch-maturity.contract.d.ts +63 -63
- package/package.json +1 -1
|
@@ -50,13 +50,13 @@ declare const AssemblyConsumerBindingSchema: z.ZodObject<{
|
|
|
50
50
|
requiredSignals: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
52
|
reason: string;
|
|
53
|
-
consumer: "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption"
|
|
53
|
+
consumer: "clean_prod_reset" | "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption";
|
|
54
54
|
requiredSignals: string[];
|
|
55
|
-
producerSurface?: "
|
|
55
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
56
56
|
}, {
|
|
57
57
|
reason: string;
|
|
58
|
-
consumer: "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption"
|
|
59
|
-
producerSurface?: "
|
|
58
|
+
consumer: "clean_prod_reset" | "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption";
|
|
59
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
60
60
|
requiredSignals?: string[] | undefined;
|
|
61
61
|
}>;
|
|
62
62
|
declare const AssemblyStrategyLineageSchema: z.ZodObject<{
|
|
@@ -93,24 +93,24 @@ declare const AssemblyRequestScopeSchema: z.ZodObject<{
|
|
|
93
93
|
tokenBudget: z.ZodNumber;
|
|
94
94
|
depthBudget: z.ZodNumber;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
|
-
status: "
|
|
96
|
+
status: "fresh" | "satisfied" | "degraded" | "blocked" | "fallback";
|
|
97
97
|
workspaceId: string;
|
|
98
|
-
principalId: string;
|
|
99
|
-
lane: string;
|
|
100
98
|
topicUuid: string;
|
|
101
|
-
query: string;
|
|
102
99
|
campaign: number;
|
|
100
|
+
lane: string;
|
|
101
|
+
principalId: string;
|
|
102
|
+
query: string;
|
|
103
103
|
rankingProfile: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
104
104
|
tokenBudget: number;
|
|
105
105
|
depthBudget: number;
|
|
106
106
|
}, {
|
|
107
|
-
status: "
|
|
107
|
+
status: "fresh" | "satisfied" | "degraded" | "blocked" | "fallback";
|
|
108
108
|
workspaceId: string;
|
|
109
|
-
principalId: string;
|
|
110
|
-
lane: string;
|
|
111
109
|
topicUuid: string;
|
|
112
|
-
query: string;
|
|
113
110
|
campaign: number;
|
|
111
|
+
lane: string;
|
|
112
|
+
principalId: string;
|
|
113
|
+
query: string;
|
|
114
114
|
rankingProfile: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
115
115
|
tokenBudget: number;
|
|
116
116
|
depthBudget: number;
|
|
@@ -120,12 +120,12 @@ declare const AssemblyScoreComponentSchema: z.ZodObject<{
|
|
|
120
120
|
weight: z.ZodNumber;
|
|
121
121
|
value: z.ZodNumber;
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
|
-
component: string;
|
|
124
123
|
value: number;
|
|
124
|
+
component: string;
|
|
125
125
|
weight: number;
|
|
126
126
|
}, {
|
|
127
|
-
component: string;
|
|
128
127
|
value: number;
|
|
128
|
+
component: string;
|
|
129
129
|
weight: number;
|
|
130
130
|
}>;
|
|
131
131
|
declare const AssemblyScoreSchema: z.ZodObject<{
|
|
@@ -152,12 +152,12 @@ declare const AssemblyIncludedResourceSchema: z.ZodObject<{
|
|
|
152
152
|
weight: z.ZodNumber;
|
|
153
153
|
value: z.ZodNumber;
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
|
-
component: string;
|
|
156
155
|
value: number;
|
|
156
|
+
component: string;
|
|
157
157
|
weight: number;
|
|
158
158
|
}, {
|
|
159
|
-
component: string;
|
|
160
159
|
value: number;
|
|
160
|
+
component: string;
|
|
161
161
|
weight: number;
|
|
162
162
|
}>, "many">;
|
|
163
163
|
sourceSpanUuids: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
@@ -183,12 +183,12 @@ declare const AssemblyIncludedResourceSchema: z.ZodObject<{
|
|
|
183
183
|
weight: z.ZodNumber;
|
|
184
184
|
value: z.ZodNumber;
|
|
185
185
|
}, "strip", z.ZodTypeAny, {
|
|
186
|
-
component: string;
|
|
187
186
|
value: number;
|
|
187
|
+
component: string;
|
|
188
188
|
weight: number;
|
|
189
189
|
}, {
|
|
190
|
-
component: string;
|
|
191
190
|
value: number;
|
|
191
|
+
component: string;
|
|
192
192
|
weight: number;
|
|
193
193
|
}>, "many">>;
|
|
194
194
|
consumerBindings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -198,85 +198,85 @@ declare const AssemblyIncludedResourceSchema: z.ZodObject<{
|
|
|
198
198
|
requiredSignals: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
199
199
|
}, "strip", z.ZodTypeAny, {
|
|
200
200
|
reason: string;
|
|
201
|
-
consumer: "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption"
|
|
201
|
+
consumer: "clean_prod_reset" | "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption";
|
|
202
202
|
requiredSignals: string[];
|
|
203
|
-
producerSurface?: "
|
|
203
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
204
204
|
}, {
|
|
205
205
|
reason: string;
|
|
206
|
-
consumer: "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption"
|
|
207
|
-
producerSurface?: "
|
|
206
|
+
consumer: "clean_prod_reset" | "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption";
|
|
207
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
208
208
|
requiredSignals?: string[] | undefined;
|
|
209
209
|
}>, "many">>;
|
|
210
210
|
includedAt: z.ZodNumber;
|
|
211
211
|
evidenceCount: z.ZodNumber;
|
|
212
212
|
}, "strip", z.ZodTypeAny, {
|
|
213
213
|
resourceUuid: string;
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
key: string;
|
|
217
|
-
value?: string | undefined;
|
|
218
|
-
}[];
|
|
219
|
-
resourceType: "source" | "topic" | "edge" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "task";
|
|
214
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
215
|
+
stableRef: string;
|
|
220
216
|
reason: string;
|
|
221
217
|
rank: number;
|
|
222
218
|
scoreInputs: {
|
|
223
|
-
component: string;
|
|
224
219
|
value: number;
|
|
220
|
+
component: string;
|
|
225
221
|
weight: number;
|
|
226
222
|
}[];
|
|
227
223
|
sourceSpanUuids: string[];
|
|
224
|
+
policyTags: {
|
|
225
|
+
source: string;
|
|
226
|
+
key: string;
|
|
227
|
+
value?: string | undefined;
|
|
228
|
+
}[];
|
|
228
229
|
confidenceSignals: Record<string, number>;
|
|
229
230
|
stateSignals: Record<string, string>;
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
consumer: "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption" | "clean_prod_reset";
|
|
233
|
-
requiredSignals: string[];
|
|
234
|
-
producerSurface?: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly" | undefined;
|
|
235
|
-
}[];
|
|
231
|
+
score: number;
|
|
232
|
+
scoreProfile: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
236
233
|
scoreComponents: {
|
|
237
|
-
component: string;
|
|
238
234
|
value: number;
|
|
235
|
+
component: string;
|
|
239
236
|
weight: number;
|
|
240
237
|
}[];
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
238
|
+
consumerBindings: {
|
|
239
|
+
reason: string;
|
|
240
|
+
consumer: "clean_prod_reset" | "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption";
|
|
241
|
+
requiredSignals: string[];
|
|
242
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
243
|
+
}[];
|
|
244
244
|
includedAt: number;
|
|
245
245
|
evidenceCount: number;
|
|
246
246
|
}, {
|
|
247
247
|
resourceUuid: string;
|
|
248
|
-
resourceType: "
|
|
248
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
249
|
+
stableRef: string;
|
|
249
250
|
reason: string;
|
|
250
251
|
rank: number;
|
|
251
252
|
scoreInputs: {
|
|
252
|
-
component: string;
|
|
253
253
|
value: number;
|
|
254
|
+
component: string;
|
|
254
255
|
weight: number;
|
|
255
256
|
}[];
|
|
256
257
|
score: number;
|
|
257
|
-
stableRef: string;
|
|
258
258
|
scoreProfile: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
259
259
|
includedAt: number;
|
|
260
260
|
evidenceCount: number;
|
|
261
|
+
sourceSpanUuids?: string[] | undefined;
|
|
261
262
|
policyTags?: {
|
|
262
263
|
source: string;
|
|
263
264
|
key: string;
|
|
264
265
|
value?: string | undefined;
|
|
265
266
|
}[] | undefined;
|
|
266
|
-
sourceSpanUuids?: string[] | undefined;
|
|
267
267
|
confidenceSignals?: Record<string, number> | undefined;
|
|
268
268
|
stateSignals?: Record<string, string> | undefined;
|
|
269
|
-
consumerBindings?: {
|
|
270
|
-
reason: string;
|
|
271
|
-
consumer: "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption" | "clean_prod_reset";
|
|
272
|
-
producerSurface?: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly" | undefined;
|
|
273
|
-
requiredSignals?: string[] | undefined;
|
|
274
|
-
}[] | undefined;
|
|
275
269
|
scoreComponents?: {
|
|
276
|
-
component: string;
|
|
277
270
|
value: number;
|
|
271
|
+
component: string;
|
|
278
272
|
weight: number;
|
|
279
273
|
}[] | undefined;
|
|
274
|
+
consumerBindings?: {
|
|
275
|
+
reason: string;
|
|
276
|
+
consumer: "clean_prod_reset" | "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption";
|
|
277
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
278
|
+
requiredSignals?: string[] | undefined;
|
|
279
|
+
}[] | undefined;
|
|
280
280
|
}>;
|
|
281
281
|
declare const AssemblyOmittedResourceSchema: z.ZodEffects<z.ZodObject<{
|
|
282
282
|
resourceUuid: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -305,19 +305,19 @@ declare const AssemblyOmittedResourceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
305
305
|
linkedLintId: z.ZodOptional<z.ZodString>;
|
|
306
306
|
createdAt: z.ZodNumber;
|
|
307
307
|
}, "strip", z.ZodTypeAny, {
|
|
308
|
-
resourceUuid: string;
|
|
309
|
-
surface: string;
|
|
310
308
|
traceId: string;
|
|
309
|
+
surface: string;
|
|
310
|
+
resourceUuid: string;
|
|
311
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
312
|
+
opaqueRef: string;
|
|
313
|
+
omissionReason: "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "superseded" | "synthesis_lint_fallout";
|
|
314
|
+
policyDecisionId: string;
|
|
311
315
|
decisionProof: string;
|
|
312
|
-
resourceType: "source" | "topic" | "edge" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "task";
|
|
313
316
|
decisionLogId: string;
|
|
314
|
-
omissionReason: "superseded" | "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "synthesis_lint_fallout";
|
|
315
|
-
policyDecisionId: string;
|
|
316
|
-
createdAt: number;
|
|
317
317
|
audience: string;
|
|
318
318
|
clippingBehavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
319
319
|
narrativeExplanation: string;
|
|
320
|
-
|
|
320
|
+
createdAt: number;
|
|
321
321
|
sourceHorizonUuid?: string | undefined;
|
|
322
322
|
budgetBounds?: {
|
|
323
323
|
tokenBudget: number;
|
|
@@ -325,19 +325,19 @@ declare const AssemblyOmittedResourceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
325
325
|
} | undefined;
|
|
326
326
|
linkedLintId?: string | undefined;
|
|
327
327
|
}, {
|
|
328
|
-
resourceUuid: string;
|
|
329
|
-
surface: string;
|
|
330
328
|
traceId: string;
|
|
329
|
+
surface: string;
|
|
330
|
+
resourceUuid: string;
|
|
331
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
332
|
+
opaqueRef: string;
|
|
333
|
+
omissionReason: "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "superseded" | "synthesis_lint_fallout";
|
|
334
|
+
policyDecisionId: string;
|
|
331
335
|
decisionProof: string;
|
|
332
|
-
resourceType: "source" | "topic" | "edge" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "task";
|
|
333
336
|
decisionLogId: string;
|
|
334
|
-
omissionReason: "superseded" | "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "synthesis_lint_fallout";
|
|
335
|
-
policyDecisionId: string;
|
|
336
|
-
createdAt: number;
|
|
337
337
|
audience: string;
|
|
338
338
|
clippingBehavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
339
339
|
narrativeExplanation: string;
|
|
340
|
-
|
|
340
|
+
createdAt: number;
|
|
341
341
|
sourceHorizonUuid?: string | undefined;
|
|
342
342
|
budgetBounds?: {
|
|
343
343
|
tokenBudget: number;
|
|
@@ -345,19 +345,19 @@ declare const AssemblyOmittedResourceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
345
345
|
} | undefined;
|
|
346
346
|
linkedLintId?: string | undefined;
|
|
347
347
|
}>, {
|
|
348
|
-
resourceUuid: string;
|
|
349
|
-
surface: string;
|
|
350
348
|
traceId: string;
|
|
349
|
+
surface: string;
|
|
350
|
+
resourceUuid: string;
|
|
351
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
352
|
+
opaqueRef: string;
|
|
353
|
+
omissionReason: "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "superseded" | "synthesis_lint_fallout";
|
|
354
|
+
policyDecisionId: string;
|
|
351
355
|
decisionProof: string;
|
|
352
|
-
resourceType: "source" | "topic" | "edge" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "task";
|
|
353
356
|
decisionLogId: string;
|
|
354
|
-
omissionReason: "superseded" | "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "synthesis_lint_fallout";
|
|
355
|
-
policyDecisionId: string;
|
|
356
|
-
createdAt: number;
|
|
357
357
|
audience: string;
|
|
358
358
|
clippingBehavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
359
359
|
narrativeExplanation: string;
|
|
360
|
-
|
|
360
|
+
createdAt: number;
|
|
361
361
|
sourceHorizonUuid?: string | undefined;
|
|
362
362
|
budgetBounds?: {
|
|
363
363
|
tokenBudget: number;
|
|
@@ -365,19 +365,19 @@ declare const AssemblyOmittedResourceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
365
365
|
} | undefined;
|
|
366
366
|
linkedLintId?: string | undefined;
|
|
367
367
|
}, {
|
|
368
|
-
resourceUuid: string;
|
|
369
|
-
surface: string;
|
|
370
368
|
traceId: string;
|
|
369
|
+
surface: string;
|
|
370
|
+
resourceUuid: string;
|
|
371
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
372
|
+
opaqueRef: string;
|
|
373
|
+
omissionReason: "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "superseded" | "synthesis_lint_fallout";
|
|
374
|
+
policyDecisionId: string;
|
|
371
375
|
decisionProof: string;
|
|
372
|
-
resourceType: "source" | "topic" | "edge" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "task";
|
|
373
376
|
decisionLogId: string;
|
|
374
|
-
omissionReason: "superseded" | "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "synthesis_lint_fallout";
|
|
375
|
-
policyDecisionId: string;
|
|
376
|
-
createdAt: number;
|
|
377
377
|
audience: string;
|
|
378
378
|
clippingBehavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
379
379
|
narrativeExplanation: string;
|
|
380
|
-
|
|
380
|
+
createdAt: number;
|
|
381
381
|
sourceHorizonUuid?: string | undefined;
|
|
382
382
|
budgetBounds?: {
|
|
383
383
|
tokenBudget: number;
|
|
@@ -400,30 +400,30 @@ declare const AssemblyPolicyClippingDecisionSchema: z.ZodObject<{
|
|
|
400
400
|
decisionAt: z.ZodNumber;
|
|
401
401
|
omittedResourceUuids: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
402
402
|
}, "strip", z.ZodTypeAny, {
|
|
403
|
-
surface: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly";
|
|
404
403
|
traceId: string;
|
|
404
|
+
surface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
405
|
+
policyDecisionId: string;
|
|
405
406
|
decisionProof: string;
|
|
406
407
|
decisionLogId: string;
|
|
407
|
-
policyDecisionId: string;
|
|
408
408
|
audience: string;
|
|
409
|
+
decisionUuid: string;
|
|
409
410
|
behavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
410
411
|
omittedCount: number;
|
|
411
412
|
includedCount: number;
|
|
412
|
-
decisionUuid: string;
|
|
413
413
|
sourceHorizonRequired: boolean;
|
|
414
414
|
decisionAt: number;
|
|
415
415
|
omittedResourceUuids: string[];
|
|
416
416
|
}, {
|
|
417
|
-
surface: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly";
|
|
418
417
|
traceId: string;
|
|
418
|
+
surface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
419
|
+
policyDecisionId: string;
|
|
419
420
|
decisionProof: string;
|
|
420
421
|
decisionLogId: string;
|
|
421
|
-
policyDecisionId: string;
|
|
422
422
|
audience: string;
|
|
423
|
+
decisionUuid: string;
|
|
423
424
|
behavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
424
425
|
omittedCount: number;
|
|
425
426
|
includedCount: number;
|
|
426
|
-
decisionUuid: string;
|
|
427
427
|
sourceHorizonRequired: boolean;
|
|
428
428
|
decisionAt: number;
|
|
429
429
|
omittedResourceUuids?: string[] | undefined;
|
|
@@ -439,12 +439,12 @@ declare const AssemblyRankingDecisionSchema: z.ZodObject<{
|
|
|
439
439
|
weight: z.ZodNumber;
|
|
440
440
|
value: z.ZodNumber;
|
|
441
441
|
}, "strip", z.ZodTypeAny, {
|
|
442
|
-
component: string;
|
|
443
442
|
value: number;
|
|
443
|
+
component: string;
|
|
444
444
|
weight: number;
|
|
445
445
|
}, {
|
|
446
|
-
component: string;
|
|
447
446
|
value: number;
|
|
447
|
+
component: string;
|
|
448
448
|
weight: number;
|
|
449
449
|
}>, "many">>;
|
|
450
450
|
tokenUsage: z.ZodObject<{
|
|
@@ -468,13 +468,16 @@ declare const AssemblyRankingDecisionSchema: z.ZodObject<{
|
|
|
468
468
|
depthUsed: number;
|
|
469
469
|
}>;
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
|
471
|
-
decisionReason: string;
|
|
472
|
-
topResources: string[];
|
|
473
471
|
scoreComponents: {
|
|
474
|
-
component: string;
|
|
475
472
|
value: number;
|
|
473
|
+
component: string;
|
|
476
474
|
weight: number;
|
|
477
475
|
}[];
|
|
476
|
+
decisionUuid: string;
|
|
477
|
+
decisionStage: "resolver" | "policy" | "synthesis_lint";
|
|
478
|
+
profileUsed: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
479
|
+
decisionReason: string;
|
|
480
|
+
topResources: string[];
|
|
478
481
|
tokenUsage: {
|
|
479
482
|
tokenBudget: number;
|
|
480
483
|
tokenUsed: number;
|
|
@@ -483,10 +486,10 @@ declare const AssemblyRankingDecisionSchema: z.ZodObject<{
|
|
|
483
486
|
depthBudget: number;
|
|
484
487
|
depthUsed: number;
|
|
485
488
|
};
|
|
489
|
+
}, {
|
|
486
490
|
decisionUuid: string;
|
|
487
|
-
decisionStage: "
|
|
491
|
+
decisionStage: "resolver" | "policy" | "synthesis_lint";
|
|
488
492
|
profileUsed: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
489
|
-
}, {
|
|
490
493
|
decisionReason: string;
|
|
491
494
|
tokenUsage: {
|
|
492
495
|
tokenBudget: number;
|
|
@@ -496,15 +499,12 @@ declare const AssemblyRankingDecisionSchema: z.ZodObject<{
|
|
|
496
499
|
depthBudget: number;
|
|
497
500
|
depthUsed: number;
|
|
498
501
|
};
|
|
499
|
-
decisionUuid: string;
|
|
500
|
-
decisionStage: "policy" | "resolver" | "synthesis_lint";
|
|
501
|
-
profileUsed: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
502
|
-
topResources?: string[] | undefined;
|
|
503
502
|
scoreComponents?: {
|
|
504
|
-
component: string;
|
|
505
503
|
value: number;
|
|
504
|
+
component: string;
|
|
506
505
|
weight: number;
|
|
507
506
|
}[] | undefined;
|
|
507
|
+
topResources?: string[] | undefined;
|
|
508
508
|
}>;
|
|
509
509
|
declare const AssemblySynthesisLintSchema: z.ZodObject<{
|
|
510
510
|
lintId: z.ZodString;
|
|
@@ -529,30 +529,30 @@ declare const AssemblySynthesisLintSchema: z.ZodObject<{
|
|
|
529
529
|
producedAt: z.ZodNumber;
|
|
530
530
|
}, "strip", z.ZodTypeAny, {
|
|
531
531
|
status: "pass" | "warn" | "fail" | "pending";
|
|
532
|
+
outcome: string;
|
|
533
|
+
producedBy: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
534
|
+
producedAt: number;
|
|
532
535
|
lintId: string;
|
|
533
536
|
severity: "low" | "medium" | "high";
|
|
534
|
-
outcome: string;
|
|
535
|
-
narrativeCoverageIds: string[];
|
|
536
537
|
findings: {
|
|
537
538
|
findingId: string;
|
|
538
539
|
summary: string;
|
|
539
540
|
affectedResourceUuids: string[];
|
|
540
541
|
}[];
|
|
541
|
-
|
|
542
|
-
producedAt: number;
|
|
542
|
+
narrativeCoverageIds: string[];
|
|
543
543
|
}, {
|
|
544
544
|
status: "pass" | "warn" | "fail" | "pending";
|
|
545
|
-
lintId: string;
|
|
546
|
-
severity: "low" | "medium" | "high";
|
|
547
545
|
outcome: string;
|
|
548
|
-
producedBy: "
|
|
546
|
+
producedBy: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
549
547
|
producedAt: number;
|
|
550
|
-
|
|
548
|
+
lintId: string;
|
|
549
|
+
severity: "low" | "medium" | "high";
|
|
551
550
|
findings?: {
|
|
552
551
|
findingId: string;
|
|
553
552
|
summary: string;
|
|
554
553
|
affectedResourceUuids?: string[] | undefined;
|
|
555
554
|
}[] | undefined;
|
|
555
|
+
narrativeCoverageIds?: string[] | undefined;
|
|
556
556
|
}>;
|
|
557
557
|
declare const AssemblyProofEmissionSchema: z.ZodObject<{
|
|
558
558
|
producerSurface: z.ZodEnum<["compile_context", "graph_assembly", "cli", "mcp", "sdk", "rest", "agent", "migration"]>;
|
|
@@ -562,13 +562,13 @@ declare const AssemblyProofEmissionSchema: z.ZodObject<{
|
|
|
562
562
|
notes: z.ZodString;
|
|
563
563
|
}, "strip", z.ZodTypeAny, {
|
|
564
564
|
status: "ready" | "pending_runtime_worker";
|
|
565
|
-
producerSurface: "
|
|
565
|
+
producerSurface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
566
566
|
receiptIdBinding: string;
|
|
567
567
|
axiomTraceBinding: string;
|
|
568
568
|
notes: string;
|
|
569
569
|
}, {
|
|
570
570
|
status: "ready" | "pending_runtime_worker";
|
|
571
|
-
producerSurface: "
|
|
571
|
+
producerSurface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
572
572
|
receiptIdBinding: string;
|
|
573
573
|
axiomTraceBinding: string;
|
|
574
574
|
notes: string;
|
|
@@ -600,12 +600,12 @@ declare const AssemblyUseGateSchema: z.ZodObject<{
|
|
|
600
600
|
check: z.ZodString;
|
|
601
601
|
requiredProofs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
602
602
|
}, "strip", z.ZodTypeAny, {
|
|
603
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
603
604
|
check: string;
|
|
604
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
605
605
|
requiredProofs: string[];
|
|
606
606
|
}, {
|
|
607
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
607
608
|
check: string;
|
|
608
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
609
609
|
requiredProofs?: string[] | undefined;
|
|
610
610
|
}>;
|
|
611
611
|
declare const AssemblyAcceptanceUseGatesSchema: z.ZodObject<{
|
|
@@ -614,12 +614,12 @@ declare const AssemblyAcceptanceUseGatesSchema: z.ZodObject<{
|
|
|
614
614
|
check: z.ZodString;
|
|
615
615
|
requiredProofs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
616
616
|
}, "strip", z.ZodTypeAny, {
|
|
617
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
617
618
|
check: string;
|
|
618
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
619
619
|
requiredProofs: string[];
|
|
620
620
|
}, {
|
|
621
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
621
622
|
check: string;
|
|
622
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
623
623
|
requiredProofs?: string[] | undefined;
|
|
624
624
|
}>;
|
|
625
625
|
gfAssemblyAcceptance: z.ZodObject<{
|
|
@@ -627,12 +627,12 @@ declare const AssemblyAcceptanceUseGatesSchema: z.ZodObject<{
|
|
|
627
627
|
check: z.ZodString;
|
|
628
628
|
requiredProofs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
629
629
|
}, "strip", z.ZodTypeAny, {
|
|
630
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
630
631
|
check: string;
|
|
631
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
632
632
|
requiredProofs: string[];
|
|
633
633
|
}, {
|
|
634
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
634
635
|
check: string;
|
|
635
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
636
636
|
requiredProofs?: string[] | undefined;
|
|
637
637
|
}>;
|
|
638
638
|
graphV2SourceAdoption: z.ZodObject<{
|
|
@@ -640,12 +640,12 @@ declare const AssemblyAcceptanceUseGatesSchema: z.ZodObject<{
|
|
|
640
640
|
check: z.ZodString;
|
|
641
641
|
requiredProofs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
642
642
|
}, "strip", z.ZodTypeAny, {
|
|
643
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
643
644
|
check: string;
|
|
644
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
645
645
|
requiredProofs: string[];
|
|
646
646
|
}, {
|
|
647
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
647
648
|
check: string;
|
|
648
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
649
649
|
requiredProofs?: string[] | undefined;
|
|
650
650
|
}>;
|
|
651
651
|
cleanProdReset: z.ZodObject<{
|
|
@@ -653,54 +653,54 @@ declare const AssemblyAcceptanceUseGatesSchema: z.ZodObject<{
|
|
|
653
653
|
check: z.ZodString;
|
|
654
654
|
requiredProofs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
655
655
|
}, "strip", z.ZodTypeAny, {
|
|
656
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
656
657
|
check: string;
|
|
657
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
658
658
|
requiredProofs: string[];
|
|
659
659
|
}, {
|
|
660
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
660
661
|
check: string;
|
|
661
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
662
662
|
requiredProofs?: string[] | undefined;
|
|
663
663
|
}>;
|
|
664
664
|
}, "strip", z.ZodTypeAny, {
|
|
665
665
|
c2zEvaluation: {
|
|
666
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
666
667
|
check: string;
|
|
667
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
668
668
|
requiredProofs: string[];
|
|
669
669
|
};
|
|
670
670
|
gfAssemblyAcceptance: {
|
|
671
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
671
672
|
check: string;
|
|
672
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
673
673
|
requiredProofs: string[];
|
|
674
674
|
};
|
|
675
675
|
graphV2SourceAdoption: {
|
|
676
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
676
677
|
check: string;
|
|
677
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
678
678
|
requiredProofs: string[];
|
|
679
679
|
};
|
|
680
680
|
cleanProdReset: {
|
|
681
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
681
682
|
check: string;
|
|
682
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
683
683
|
requiredProofs: string[];
|
|
684
684
|
};
|
|
685
685
|
}, {
|
|
686
686
|
c2zEvaluation: {
|
|
687
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
687
688
|
check: string;
|
|
688
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
689
689
|
requiredProofs?: string[] | undefined;
|
|
690
690
|
};
|
|
691
691
|
gfAssemblyAcceptance: {
|
|
692
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
692
693
|
check: string;
|
|
693
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
694
694
|
requiredProofs?: string[] | undefined;
|
|
695
695
|
};
|
|
696
696
|
graphV2SourceAdoption: {
|
|
697
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
697
698
|
check: string;
|
|
698
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
699
699
|
requiredProofs?: string[] | undefined;
|
|
700
700
|
};
|
|
701
701
|
cleanProdReset: {
|
|
702
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
702
703
|
check: string;
|
|
703
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
704
704
|
requiredProofs?: string[] | undefined;
|
|
705
705
|
};
|
|
706
706
|
}>;
|
|
@@ -711,16 +711,16 @@ declare const AssemblyProducerBindingSchema: z.ZodObject<{
|
|
|
711
711
|
producedAt: z.ZodNumber;
|
|
712
712
|
traceId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
713
713
|
}, "strip", z.ZodTypeAny, {
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
producer: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly";
|
|
714
|
+
producer: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
715
|
+
surface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
717
716
|
actor: string;
|
|
717
|
+
producedAt: number;
|
|
718
718
|
traceId?: string | undefined;
|
|
719
719
|
}, {
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
producer: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly";
|
|
720
|
+
producer: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
721
|
+
surface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
723
722
|
actor: string;
|
|
723
|
+
producedAt: number;
|
|
724
724
|
traceId?: string | undefined;
|
|
725
725
|
}>;
|
|
726
726
|
declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
@@ -746,89 +746,89 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
746
746
|
validFrom: z.ZodNumber;
|
|
747
747
|
validTo: z.ZodOptional<z.ZodNumber>;
|
|
748
748
|
}, "strip", z.ZodTypeAny, {
|
|
749
|
+
receiptUuid: string;
|
|
750
|
+
receiptKind: "assembly_instrumentation_receipt";
|
|
751
|
+
contractVersion: "c2_nt_assembly_instrumentation_receipt.v1";
|
|
752
|
+
schemaVersion: string;
|
|
749
753
|
tenantId: string;
|
|
750
754
|
workspaceId: string;
|
|
751
|
-
sourceHorizonUuid: string;
|
|
752
|
-
contractVersion: "c2_nt_assembly_instrumentation_receipt.v1";
|
|
753
755
|
policyResourceUuid: string;
|
|
754
|
-
|
|
755
|
-
schemaVersion: string;
|
|
756
|
+
sourceHorizonUuid: string;
|
|
756
757
|
replayBindingUuid: string;
|
|
757
|
-
receiptUuid: string;
|
|
758
|
-
receiptKind: "assembly_instrumentation_receipt";
|
|
759
758
|
assembledAt: number;
|
|
760
|
-
producedBy: string;
|
|
761
759
|
producer: string;
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
producerSurface?: "
|
|
760
|
+
producedBy: string;
|
|
761
|
+
validFrom: number;
|
|
762
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
765
763
|
producedByClerkId?: string | undefined;
|
|
766
764
|
producedByPrincipalId?: string | undefined;
|
|
767
765
|
producedByAgentRunUuid?: string | undefined;
|
|
768
766
|
assemblyId?: string | undefined;
|
|
767
|
+
traceId?: string | undefined;
|
|
768
|
+
validTo?: number | undefined;
|
|
769
769
|
}, {
|
|
770
|
+
receiptUuid: string;
|
|
771
|
+
receiptKind: "assembly_instrumentation_receipt";
|
|
772
|
+
contractVersion: "c2_nt_assembly_instrumentation_receipt.v1";
|
|
773
|
+
schemaVersion: string;
|
|
770
774
|
tenantId: string;
|
|
771
775
|
workspaceId: string;
|
|
772
|
-
sourceHorizonUuid: string;
|
|
773
|
-
contractVersion: "c2_nt_assembly_instrumentation_receipt.v1";
|
|
774
776
|
policyResourceUuid: string;
|
|
775
|
-
|
|
776
|
-
schemaVersion: string;
|
|
777
|
+
sourceHorizonUuid: string;
|
|
777
778
|
replayBindingUuid: string;
|
|
778
|
-
receiptUuid: string;
|
|
779
|
-
receiptKind: "assembly_instrumentation_receipt";
|
|
780
779
|
assembledAt: number;
|
|
781
|
-
producedBy: string;
|
|
782
780
|
producer: string;
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
producerSurface?: "
|
|
781
|
+
producedBy: string;
|
|
782
|
+
validFrom: number;
|
|
783
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
786
784
|
producedByClerkId?: string | undefined;
|
|
787
785
|
producedByPrincipalId?: string | undefined;
|
|
788
786
|
producedByAgentRunUuid?: string | undefined;
|
|
789
787
|
assemblyId?: string | undefined;
|
|
788
|
+
traceId?: string | undefined;
|
|
789
|
+
validTo?: number | undefined;
|
|
790
790
|
}>, {
|
|
791
|
+
receiptUuid: string;
|
|
792
|
+
receiptKind: "assembly_instrumentation_receipt";
|
|
793
|
+
contractVersion: "c2_nt_assembly_instrumentation_receipt.v1";
|
|
794
|
+
schemaVersion: string;
|
|
791
795
|
tenantId: string;
|
|
792
796
|
workspaceId: string;
|
|
793
|
-
sourceHorizonUuid: string;
|
|
794
|
-
contractVersion: "c2_nt_assembly_instrumentation_receipt.v1";
|
|
795
797
|
policyResourceUuid: string;
|
|
796
|
-
|
|
797
|
-
schemaVersion: string;
|
|
798
|
+
sourceHorizonUuid: string;
|
|
798
799
|
replayBindingUuid: string;
|
|
799
|
-
receiptUuid: string;
|
|
800
|
-
receiptKind: "assembly_instrumentation_receipt";
|
|
801
800
|
assembledAt: number;
|
|
802
|
-
producedBy: string;
|
|
803
801
|
producer: string;
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
producerSurface?: "
|
|
802
|
+
producedBy: string;
|
|
803
|
+
validFrom: number;
|
|
804
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
807
805
|
producedByClerkId?: string | undefined;
|
|
808
806
|
producedByPrincipalId?: string | undefined;
|
|
809
807
|
producedByAgentRunUuid?: string | undefined;
|
|
810
808
|
assemblyId?: string | undefined;
|
|
809
|
+
traceId?: string | undefined;
|
|
810
|
+
validTo?: number | undefined;
|
|
811
811
|
}, {
|
|
812
|
+
receiptUuid: string;
|
|
813
|
+
receiptKind: "assembly_instrumentation_receipt";
|
|
814
|
+
contractVersion: "c2_nt_assembly_instrumentation_receipt.v1";
|
|
815
|
+
schemaVersion: string;
|
|
812
816
|
tenantId: string;
|
|
813
817
|
workspaceId: string;
|
|
814
|
-
sourceHorizonUuid: string;
|
|
815
|
-
contractVersion: "c2_nt_assembly_instrumentation_receipt.v1";
|
|
816
818
|
policyResourceUuid: string;
|
|
817
|
-
|
|
818
|
-
schemaVersion: string;
|
|
819
|
+
sourceHorizonUuid: string;
|
|
819
820
|
replayBindingUuid: string;
|
|
820
|
-
receiptUuid: string;
|
|
821
|
-
receiptKind: "assembly_instrumentation_receipt";
|
|
822
821
|
assembledAt: number;
|
|
823
|
-
producedBy: string;
|
|
824
822
|
producer: string;
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
producerSurface?: "
|
|
823
|
+
producedBy: string;
|
|
824
|
+
validFrom: number;
|
|
825
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
828
826
|
producedByClerkId?: string | undefined;
|
|
829
827
|
producedByPrincipalId?: string | undefined;
|
|
830
828
|
producedByAgentRunUuid?: string | undefined;
|
|
831
829
|
assemblyId?: string | undefined;
|
|
830
|
+
traceId?: string | undefined;
|
|
831
|
+
validTo?: number | undefined;
|
|
832
832
|
}>;
|
|
833
833
|
requestScope: z.ZodObject<{
|
|
834
834
|
topicUuid: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -842,24 +842,24 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
842
842
|
tokenBudget: z.ZodNumber;
|
|
843
843
|
depthBudget: z.ZodNumber;
|
|
844
844
|
}, "strip", z.ZodTypeAny, {
|
|
845
|
-
status: "
|
|
845
|
+
status: "fresh" | "satisfied" | "degraded" | "blocked" | "fallback";
|
|
846
846
|
workspaceId: string;
|
|
847
|
-
principalId: string;
|
|
848
|
-
lane: string;
|
|
849
847
|
topicUuid: string;
|
|
850
|
-
query: string;
|
|
851
848
|
campaign: number;
|
|
849
|
+
lane: string;
|
|
850
|
+
principalId: string;
|
|
851
|
+
query: string;
|
|
852
852
|
rankingProfile: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
853
853
|
tokenBudget: number;
|
|
854
854
|
depthBudget: number;
|
|
855
855
|
}, {
|
|
856
|
-
status: "
|
|
856
|
+
status: "fresh" | "satisfied" | "degraded" | "blocked" | "fallback";
|
|
857
857
|
workspaceId: string;
|
|
858
|
-
principalId: string;
|
|
859
|
-
lane: string;
|
|
860
858
|
topicUuid: string;
|
|
861
|
-
query: string;
|
|
862
859
|
campaign: number;
|
|
860
|
+
lane: string;
|
|
861
|
+
principalId: string;
|
|
862
|
+
query: string;
|
|
863
863
|
rankingProfile: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
864
864
|
tokenBudget: number;
|
|
865
865
|
depthBudget: number;
|
|
@@ -893,16 +893,16 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
893
893
|
producedAt: z.ZodNumber;
|
|
894
894
|
traceId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
895
895
|
}, "strip", z.ZodTypeAny, {
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
producer: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly";
|
|
896
|
+
producer: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
897
|
+
surface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
899
898
|
actor: string;
|
|
899
|
+
producedAt: number;
|
|
900
900
|
traceId?: string | undefined;
|
|
901
901
|
}, {
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
producer: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly";
|
|
902
|
+
producer: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
903
|
+
surface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
905
904
|
actor: string;
|
|
905
|
+
producedAt: number;
|
|
906
906
|
traceId?: string | undefined;
|
|
907
907
|
}>, "many">;
|
|
908
908
|
includedResources: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -916,12 +916,12 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
916
916
|
weight: z.ZodNumber;
|
|
917
917
|
value: z.ZodNumber;
|
|
918
918
|
}, "strip", z.ZodTypeAny, {
|
|
919
|
-
component: string;
|
|
920
919
|
value: number;
|
|
920
|
+
component: string;
|
|
921
921
|
weight: number;
|
|
922
922
|
}, {
|
|
923
|
-
component: string;
|
|
924
923
|
value: number;
|
|
924
|
+
component: string;
|
|
925
925
|
weight: number;
|
|
926
926
|
}>, "many">;
|
|
927
927
|
sourceSpanUuids: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
@@ -947,12 +947,12 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
947
947
|
weight: z.ZodNumber;
|
|
948
948
|
value: z.ZodNumber;
|
|
949
949
|
}, "strip", z.ZodTypeAny, {
|
|
950
|
-
component: string;
|
|
951
950
|
value: number;
|
|
951
|
+
component: string;
|
|
952
952
|
weight: number;
|
|
953
953
|
}, {
|
|
954
|
-
component: string;
|
|
955
954
|
value: number;
|
|
955
|
+
component: string;
|
|
956
956
|
weight: number;
|
|
957
957
|
}>, "many">>;
|
|
958
958
|
consumerBindings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -962,85 +962,85 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
962
962
|
requiredSignals: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
963
963
|
}, "strip", z.ZodTypeAny, {
|
|
964
964
|
reason: string;
|
|
965
|
-
consumer: "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption"
|
|
965
|
+
consumer: "clean_prod_reset" | "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption";
|
|
966
966
|
requiredSignals: string[];
|
|
967
|
-
producerSurface?: "
|
|
967
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
968
968
|
}, {
|
|
969
969
|
reason: string;
|
|
970
|
-
consumer: "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption"
|
|
971
|
-
producerSurface?: "
|
|
970
|
+
consumer: "clean_prod_reset" | "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption";
|
|
971
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
972
972
|
requiredSignals?: string[] | undefined;
|
|
973
973
|
}>, "many">>;
|
|
974
974
|
includedAt: z.ZodNumber;
|
|
975
975
|
evidenceCount: z.ZodNumber;
|
|
976
976
|
}, "strip", z.ZodTypeAny, {
|
|
977
977
|
resourceUuid: string;
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
key: string;
|
|
981
|
-
value?: string | undefined;
|
|
982
|
-
}[];
|
|
983
|
-
resourceType: "source" | "topic" | "edge" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "task";
|
|
978
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
979
|
+
stableRef: string;
|
|
984
980
|
reason: string;
|
|
985
981
|
rank: number;
|
|
986
982
|
scoreInputs: {
|
|
987
|
-
component: string;
|
|
988
983
|
value: number;
|
|
984
|
+
component: string;
|
|
989
985
|
weight: number;
|
|
990
986
|
}[];
|
|
991
987
|
sourceSpanUuids: string[];
|
|
988
|
+
policyTags: {
|
|
989
|
+
source: string;
|
|
990
|
+
key: string;
|
|
991
|
+
value?: string | undefined;
|
|
992
|
+
}[];
|
|
992
993
|
confidenceSignals: Record<string, number>;
|
|
993
994
|
stateSignals: Record<string, string>;
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
consumer: "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption" | "clean_prod_reset";
|
|
997
|
-
requiredSignals: string[];
|
|
998
|
-
producerSurface?: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly" | undefined;
|
|
999
|
-
}[];
|
|
995
|
+
score: number;
|
|
996
|
+
scoreProfile: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
1000
997
|
scoreComponents: {
|
|
1001
|
-
component: string;
|
|
1002
998
|
value: number;
|
|
999
|
+
component: string;
|
|
1003
1000
|
weight: number;
|
|
1004
1001
|
}[];
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1002
|
+
consumerBindings: {
|
|
1003
|
+
reason: string;
|
|
1004
|
+
consumer: "clean_prod_reset" | "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption";
|
|
1005
|
+
requiredSignals: string[];
|
|
1006
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
1007
|
+
}[];
|
|
1008
1008
|
includedAt: number;
|
|
1009
1009
|
evidenceCount: number;
|
|
1010
1010
|
}, {
|
|
1011
1011
|
resourceUuid: string;
|
|
1012
|
-
resourceType: "
|
|
1012
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
1013
|
+
stableRef: string;
|
|
1013
1014
|
reason: string;
|
|
1014
1015
|
rank: number;
|
|
1015
1016
|
scoreInputs: {
|
|
1016
|
-
component: string;
|
|
1017
1017
|
value: number;
|
|
1018
|
+
component: string;
|
|
1018
1019
|
weight: number;
|
|
1019
1020
|
}[];
|
|
1020
1021
|
score: number;
|
|
1021
|
-
stableRef: string;
|
|
1022
1022
|
scoreProfile: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
1023
1023
|
includedAt: number;
|
|
1024
1024
|
evidenceCount: number;
|
|
1025
|
+
sourceSpanUuids?: string[] | undefined;
|
|
1025
1026
|
policyTags?: {
|
|
1026
1027
|
source: string;
|
|
1027
1028
|
key: string;
|
|
1028
1029
|
value?: string | undefined;
|
|
1029
1030
|
}[] | undefined;
|
|
1030
|
-
sourceSpanUuids?: string[] | undefined;
|
|
1031
1031
|
confidenceSignals?: Record<string, number> | undefined;
|
|
1032
1032
|
stateSignals?: Record<string, string> | undefined;
|
|
1033
|
-
consumerBindings?: {
|
|
1034
|
-
reason: string;
|
|
1035
|
-
consumer: "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption" | "clean_prod_reset";
|
|
1036
|
-
producerSurface?: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly" | undefined;
|
|
1037
|
-
requiredSignals?: string[] | undefined;
|
|
1038
|
-
}[] | undefined;
|
|
1039
1033
|
scoreComponents?: {
|
|
1040
|
-
component: string;
|
|
1041
1034
|
value: number;
|
|
1035
|
+
component: string;
|
|
1042
1036
|
weight: number;
|
|
1043
1037
|
}[] | undefined;
|
|
1038
|
+
consumerBindings?: {
|
|
1039
|
+
reason: string;
|
|
1040
|
+
consumer: "clean_prod_reset" | "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption";
|
|
1041
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
1042
|
+
requiredSignals?: string[] | undefined;
|
|
1043
|
+
}[] | undefined;
|
|
1044
1044
|
}>, "many">>;
|
|
1045
1045
|
omittedResources: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1046
1046
|
resourceUuid: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1069,19 +1069,19 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1069
1069
|
linkedLintId: z.ZodOptional<z.ZodString>;
|
|
1070
1070
|
createdAt: z.ZodNumber;
|
|
1071
1071
|
}, "strip", z.ZodTypeAny, {
|
|
1072
|
-
resourceUuid: string;
|
|
1073
|
-
surface: string;
|
|
1074
1072
|
traceId: string;
|
|
1073
|
+
surface: string;
|
|
1074
|
+
resourceUuid: string;
|
|
1075
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
1076
|
+
opaqueRef: string;
|
|
1077
|
+
omissionReason: "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "superseded" | "synthesis_lint_fallout";
|
|
1078
|
+
policyDecisionId: string;
|
|
1075
1079
|
decisionProof: string;
|
|
1076
|
-
resourceType: "source" | "topic" | "edge" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "task";
|
|
1077
1080
|
decisionLogId: string;
|
|
1078
|
-
omissionReason: "superseded" | "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "synthesis_lint_fallout";
|
|
1079
|
-
policyDecisionId: string;
|
|
1080
|
-
createdAt: number;
|
|
1081
1081
|
audience: string;
|
|
1082
1082
|
clippingBehavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
1083
1083
|
narrativeExplanation: string;
|
|
1084
|
-
|
|
1084
|
+
createdAt: number;
|
|
1085
1085
|
sourceHorizonUuid?: string | undefined;
|
|
1086
1086
|
budgetBounds?: {
|
|
1087
1087
|
tokenBudget: number;
|
|
@@ -1089,19 +1089,19 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1089
1089
|
} | undefined;
|
|
1090
1090
|
linkedLintId?: string | undefined;
|
|
1091
1091
|
}, {
|
|
1092
|
-
resourceUuid: string;
|
|
1093
|
-
surface: string;
|
|
1094
1092
|
traceId: string;
|
|
1093
|
+
surface: string;
|
|
1094
|
+
resourceUuid: string;
|
|
1095
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
1096
|
+
opaqueRef: string;
|
|
1097
|
+
omissionReason: "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "superseded" | "synthesis_lint_fallout";
|
|
1098
|
+
policyDecisionId: string;
|
|
1095
1099
|
decisionProof: string;
|
|
1096
|
-
resourceType: "source" | "topic" | "edge" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "task";
|
|
1097
1100
|
decisionLogId: string;
|
|
1098
|
-
omissionReason: "superseded" | "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "synthesis_lint_fallout";
|
|
1099
|
-
policyDecisionId: string;
|
|
1100
|
-
createdAt: number;
|
|
1101
1101
|
audience: string;
|
|
1102
1102
|
clippingBehavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
1103
1103
|
narrativeExplanation: string;
|
|
1104
|
-
|
|
1104
|
+
createdAt: number;
|
|
1105
1105
|
sourceHorizonUuid?: string | undefined;
|
|
1106
1106
|
budgetBounds?: {
|
|
1107
1107
|
tokenBudget: number;
|
|
@@ -1109,19 +1109,19 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1109
1109
|
} | undefined;
|
|
1110
1110
|
linkedLintId?: string | undefined;
|
|
1111
1111
|
}>, {
|
|
1112
|
-
resourceUuid: string;
|
|
1113
|
-
surface: string;
|
|
1114
1112
|
traceId: string;
|
|
1113
|
+
surface: string;
|
|
1114
|
+
resourceUuid: string;
|
|
1115
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
1116
|
+
opaqueRef: string;
|
|
1117
|
+
omissionReason: "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "superseded" | "synthesis_lint_fallout";
|
|
1118
|
+
policyDecisionId: string;
|
|
1115
1119
|
decisionProof: string;
|
|
1116
|
-
resourceType: "source" | "topic" | "edge" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "task";
|
|
1117
1120
|
decisionLogId: string;
|
|
1118
|
-
omissionReason: "superseded" | "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "synthesis_lint_fallout";
|
|
1119
|
-
policyDecisionId: string;
|
|
1120
|
-
createdAt: number;
|
|
1121
1121
|
audience: string;
|
|
1122
1122
|
clippingBehavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
1123
1123
|
narrativeExplanation: string;
|
|
1124
|
-
|
|
1124
|
+
createdAt: number;
|
|
1125
1125
|
sourceHorizonUuid?: string | undefined;
|
|
1126
1126
|
budgetBounds?: {
|
|
1127
1127
|
tokenBudget: number;
|
|
@@ -1129,19 +1129,19 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1129
1129
|
} | undefined;
|
|
1130
1130
|
linkedLintId?: string | undefined;
|
|
1131
1131
|
}, {
|
|
1132
|
-
resourceUuid: string;
|
|
1133
|
-
surface: string;
|
|
1134
1132
|
traceId: string;
|
|
1133
|
+
surface: string;
|
|
1134
|
+
resourceUuid: string;
|
|
1135
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
1136
|
+
opaqueRef: string;
|
|
1137
|
+
omissionReason: "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "superseded" | "synthesis_lint_fallout";
|
|
1138
|
+
policyDecisionId: string;
|
|
1135
1139
|
decisionProof: string;
|
|
1136
|
-
resourceType: "source" | "topic" | "edge" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "task";
|
|
1137
1140
|
decisionLogId: string;
|
|
1138
|
-
omissionReason: "superseded" | "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "synthesis_lint_fallout";
|
|
1139
|
-
policyDecisionId: string;
|
|
1140
|
-
createdAt: number;
|
|
1141
1141
|
audience: string;
|
|
1142
1142
|
clippingBehavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
1143
1143
|
narrativeExplanation: string;
|
|
1144
|
-
|
|
1144
|
+
createdAt: number;
|
|
1145
1145
|
sourceHorizonUuid?: string | undefined;
|
|
1146
1146
|
budgetBounds?: {
|
|
1147
1147
|
tokenBudget: number;
|
|
@@ -1160,12 +1160,12 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1160
1160
|
weight: z.ZodNumber;
|
|
1161
1161
|
value: z.ZodNumber;
|
|
1162
1162
|
}, "strip", z.ZodTypeAny, {
|
|
1163
|
-
component: string;
|
|
1164
1163
|
value: number;
|
|
1164
|
+
component: string;
|
|
1165
1165
|
weight: number;
|
|
1166
1166
|
}, {
|
|
1167
|
-
component: string;
|
|
1168
1167
|
value: number;
|
|
1168
|
+
component: string;
|
|
1169
1169
|
weight: number;
|
|
1170
1170
|
}>, "many">>;
|
|
1171
1171
|
tokenUsage: z.ZodObject<{
|
|
@@ -1189,13 +1189,16 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1189
1189
|
depthUsed: number;
|
|
1190
1190
|
}>;
|
|
1191
1191
|
}, "strip", z.ZodTypeAny, {
|
|
1192
|
-
decisionReason: string;
|
|
1193
|
-
topResources: string[];
|
|
1194
1192
|
scoreComponents: {
|
|
1195
|
-
component: string;
|
|
1196
1193
|
value: number;
|
|
1194
|
+
component: string;
|
|
1197
1195
|
weight: number;
|
|
1198
1196
|
}[];
|
|
1197
|
+
decisionUuid: string;
|
|
1198
|
+
decisionStage: "resolver" | "policy" | "synthesis_lint";
|
|
1199
|
+
profileUsed: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
1200
|
+
decisionReason: string;
|
|
1201
|
+
topResources: string[];
|
|
1199
1202
|
tokenUsage: {
|
|
1200
1203
|
tokenBudget: number;
|
|
1201
1204
|
tokenUsed: number;
|
|
@@ -1204,10 +1207,10 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1204
1207
|
depthBudget: number;
|
|
1205
1208
|
depthUsed: number;
|
|
1206
1209
|
};
|
|
1210
|
+
}, {
|
|
1207
1211
|
decisionUuid: string;
|
|
1208
|
-
decisionStage: "
|
|
1212
|
+
decisionStage: "resolver" | "policy" | "synthesis_lint";
|
|
1209
1213
|
profileUsed: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
1210
|
-
}, {
|
|
1211
1214
|
decisionReason: string;
|
|
1212
1215
|
tokenUsage: {
|
|
1213
1216
|
tokenBudget: number;
|
|
@@ -1217,15 +1220,12 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1217
1220
|
depthBudget: number;
|
|
1218
1221
|
depthUsed: number;
|
|
1219
1222
|
};
|
|
1220
|
-
decisionUuid: string;
|
|
1221
|
-
decisionStage: "policy" | "resolver" | "synthesis_lint";
|
|
1222
|
-
profileUsed: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
1223
|
-
topResources?: string[] | undefined;
|
|
1224
1223
|
scoreComponents?: {
|
|
1225
|
-
component: string;
|
|
1226
1224
|
value: number;
|
|
1225
|
+
component: string;
|
|
1227
1226
|
weight: number;
|
|
1228
1227
|
}[] | undefined;
|
|
1228
|
+
topResources?: string[] | undefined;
|
|
1229
1229
|
}>, "many">>;
|
|
1230
1230
|
policyClippingDecisions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1231
1231
|
decisionUuid: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1242,30 +1242,30 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1242
1242
|
decisionAt: z.ZodNumber;
|
|
1243
1243
|
omittedResourceUuids: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
1244
1244
|
}, "strip", z.ZodTypeAny, {
|
|
1245
|
-
surface: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly";
|
|
1246
1245
|
traceId: string;
|
|
1246
|
+
surface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1247
|
+
policyDecisionId: string;
|
|
1247
1248
|
decisionProof: string;
|
|
1248
1249
|
decisionLogId: string;
|
|
1249
|
-
policyDecisionId: string;
|
|
1250
1250
|
audience: string;
|
|
1251
|
+
decisionUuid: string;
|
|
1251
1252
|
behavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
1252
1253
|
omittedCount: number;
|
|
1253
1254
|
includedCount: number;
|
|
1254
|
-
decisionUuid: string;
|
|
1255
1255
|
sourceHorizonRequired: boolean;
|
|
1256
1256
|
decisionAt: number;
|
|
1257
1257
|
omittedResourceUuids: string[];
|
|
1258
1258
|
}, {
|
|
1259
|
-
surface: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly";
|
|
1260
1259
|
traceId: string;
|
|
1260
|
+
surface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1261
|
+
policyDecisionId: string;
|
|
1261
1262
|
decisionProof: string;
|
|
1262
1263
|
decisionLogId: string;
|
|
1263
|
-
policyDecisionId: string;
|
|
1264
1264
|
audience: string;
|
|
1265
|
+
decisionUuid: string;
|
|
1265
1266
|
behavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
1266
1267
|
omittedCount: number;
|
|
1267
1268
|
includedCount: number;
|
|
1268
|
-
decisionUuid: string;
|
|
1269
1269
|
sourceHorizonRequired: boolean;
|
|
1270
1270
|
decisionAt: number;
|
|
1271
1271
|
omittedResourceUuids?: string[] | undefined;
|
|
@@ -1293,30 +1293,30 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1293
1293
|
producedAt: z.ZodNumber;
|
|
1294
1294
|
}, "strip", z.ZodTypeAny, {
|
|
1295
1295
|
status: "pass" | "warn" | "fail" | "pending";
|
|
1296
|
+
outcome: string;
|
|
1297
|
+
producedBy: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1298
|
+
producedAt: number;
|
|
1296
1299
|
lintId: string;
|
|
1297
1300
|
severity: "low" | "medium" | "high";
|
|
1298
|
-
outcome: string;
|
|
1299
|
-
narrativeCoverageIds: string[];
|
|
1300
1301
|
findings: {
|
|
1301
1302
|
findingId: string;
|
|
1302
1303
|
summary: string;
|
|
1303
1304
|
affectedResourceUuids: string[];
|
|
1304
1305
|
}[];
|
|
1305
|
-
|
|
1306
|
-
producedAt: number;
|
|
1306
|
+
narrativeCoverageIds: string[];
|
|
1307
1307
|
}, {
|
|
1308
1308
|
status: "pass" | "warn" | "fail" | "pending";
|
|
1309
|
-
lintId: string;
|
|
1310
|
-
severity: "low" | "medium" | "high";
|
|
1311
1309
|
outcome: string;
|
|
1312
|
-
producedBy: "
|
|
1310
|
+
producedBy: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1313
1311
|
producedAt: number;
|
|
1314
|
-
|
|
1312
|
+
lintId: string;
|
|
1313
|
+
severity: "low" | "medium" | "high";
|
|
1315
1314
|
findings?: {
|
|
1316
1315
|
findingId: string;
|
|
1317
1316
|
summary: string;
|
|
1318
1317
|
affectedResourceUuids?: string[] | undefined;
|
|
1319
1318
|
}[] | undefined;
|
|
1319
|
+
narrativeCoverageIds?: string[] | undefined;
|
|
1320
1320
|
}>, "many">>;
|
|
1321
1321
|
proofEmissions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1322
1322
|
producerSurface: z.ZodEnum<["compile_context", "graph_assembly", "cli", "mcp", "sdk", "rest", "agent", "migration"]>;
|
|
@@ -1326,13 +1326,13 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1326
1326
|
notes: z.ZodString;
|
|
1327
1327
|
}, "strip", z.ZodTypeAny, {
|
|
1328
1328
|
status: "ready" | "pending_runtime_worker";
|
|
1329
|
-
producerSurface: "
|
|
1329
|
+
producerSurface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1330
1330
|
receiptIdBinding: string;
|
|
1331
1331
|
axiomTraceBinding: string;
|
|
1332
1332
|
notes: string;
|
|
1333
1333
|
}, {
|
|
1334
1334
|
status: "ready" | "pending_runtime_worker";
|
|
1335
|
-
producerSurface: "
|
|
1335
|
+
producerSurface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1336
1336
|
receiptIdBinding: string;
|
|
1337
1337
|
axiomTraceBinding: string;
|
|
1338
1338
|
notes: string;
|
|
@@ -1343,12 +1343,12 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1343
1343
|
check: z.ZodString;
|
|
1344
1344
|
requiredProofs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1345
1345
|
}, "strip", z.ZodTypeAny, {
|
|
1346
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1346
1347
|
check: string;
|
|
1347
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1348
1348
|
requiredProofs: string[];
|
|
1349
1349
|
}, {
|
|
1350
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1350
1351
|
check: string;
|
|
1351
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1352
1352
|
requiredProofs?: string[] | undefined;
|
|
1353
1353
|
}>;
|
|
1354
1354
|
gfAssemblyAcceptance: z.ZodObject<{
|
|
@@ -1356,12 +1356,12 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1356
1356
|
check: z.ZodString;
|
|
1357
1357
|
requiredProofs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1358
1358
|
}, "strip", z.ZodTypeAny, {
|
|
1359
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1359
1360
|
check: string;
|
|
1360
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1361
1361
|
requiredProofs: string[];
|
|
1362
1362
|
}, {
|
|
1363
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1363
1364
|
check: string;
|
|
1364
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1365
1365
|
requiredProofs?: string[] | undefined;
|
|
1366
1366
|
}>;
|
|
1367
1367
|
graphV2SourceAdoption: z.ZodObject<{
|
|
@@ -1369,12 +1369,12 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1369
1369
|
check: z.ZodString;
|
|
1370
1370
|
requiredProofs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1371
1371
|
}, "strip", z.ZodTypeAny, {
|
|
1372
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1372
1373
|
check: string;
|
|
1373
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1374
1374
|
requiredProofs: string[];
|
|
1375
1375
|
}, {
|
|
1376
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1376
1377
|
check: string;
|
|
1377
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1378
1378
|
requiredProofs?: string[] | undefined;
|
|
1379
1379
|
}>;
|
|
1380
1380
|
cleanProdReset: z.ZodObject<{
|
|
@@ -1382,54 +1382,54 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1382
1382
|
check: z.ZodString;
|
|
1383
1383
|
requiredProofs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1384
1384
|
}, "strip", z.ZodTypeAny, {
|
|
1385
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1385
1386
|
check: string;
|
|
1386
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1387
1387
|
requiredProofs: string[];
|
|
1388
1388
|
}, {
|
|
1389
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1389
1390
|
check: string;
|
|
1390
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1391
1391
|
requiredProofs?: string[] | undefined;
|
|
1392
1392
|
}>;
|
|
1393
1393
|
}, "strip", z.ZodTypeAny, {
|
|
1394
1394
|
c2zEvaluation: {
|
|
1395
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1395
1396
|
check: string;
|
|
1396
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1397
1397
|
requiredProofs: string[];
|
|
1398
1398
|
};
|
|
1399
1399
|
gfAssemblyAcceptance: {
|
|
1400
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1400
1401
|
check: string;
|
|
1401
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1402
1402
|
requiredProofs: string[];
|
|
1403
1403
|
};
|
|
1404
1404
|
graphV2SourceAdoption: {
|
|
1405
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1405
1406
|
check: string;
|
|
1406
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1407
1407
|
requiredProofs: string[];
|
|
1408
1408
|
};
|
|
1409
1409
|
cleanProdReset: {
|
|
1410
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1410
1411
|
check: string;
|
|
1411
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1412
1412
|
requiredProofs: string[];
|
|
1413
1413
|
};
|
|
1414
1414
|
}, {
|
|
1415
1415
|
c2zEvaluation: {
|
|
1416
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1416
1417
|
check: string;
|
|
1417
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1418
1418
|
requiredProofs?: string[] | undefined;
|
|
1419
1419
|
};
|
|
1420
1420
|
gfAssemblyAcceptance: {
|
|
1421
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1421
1422
|
check: string;
|
|
1422
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1423
1423
|
requiredProofs?: string[] | undefined;
|
|
1424
1424
|
};
|
|
1425
1425
|
graphV2SourceAdoption: {
|
|
1426
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1426
1427
|
check: string;
|
|
1427
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1428
1428
|
requiredProofs?: string[] | undefined;
|
|
1429
1429
|
};
|
|
1430
1430
|
cleanProdReset: {
|
|
1431
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1431
1432
|
check: string;
|
|
1432
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1433
1433
|
requiredProofs?: string[] | undefined;
|
|
1434
1434
|
};
|
|
1435
1435
|
}>;
|
|
@@ -1457,44 +1457,36 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1457
1457
|
}>;
|
|
1458
1458
|
narrativeCoverageIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1459
1459
|
}, "strip", z.ZodTypeAny, {
|
|
1460
|
-
producers: {
|
|
1461
|
-
surface: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly";
|
|
1462
|
-
producedAt: number;
|
|
1463
|
-
producer: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly";
|
|
1464
|
-
actor: string;
|
|
1465
|
-
traceId?: string | undefined;
|
|
1466
|
-
}[];
|
|
1467
|
-
narrativeCoverageIds: string[];
|
|
1468
1460
|
envelope: {
|
|
1461
|
+
receiptUuid: string;
|
|
1462
|
+
receiptKind: "assembly_instrumentation_receipt";
|
|
1463
|
+
contractVersion: "c2_nt_assembly_instrumentation_receipt.v1";
|
|
1464
|
+
schemaVersion: string;
|
|
1469
1465
|
tenantId: string;
|
|
1470
1466
|
workspaceId: string;
|
|
1471
|
-
sourceHorizonUuid: string;
|
|
1472
|
-
contractVersion: "c2_nt_assembly_instrumentation_receipt.v1";
|
|
1473
1467
|
policyResourceUuid: string;
|
|
1474
|
-
|
|
1475
|
-
schemaVersion: string;
|
|
1468
|
+
sourceHorizonUuid: string;
|
|
1476
1469
|
replayBindingUuid: string;
|
|
1477
|
-
receiptUuid: string;
|
|
1478
|
-
receiptKind: "assembly_instrumentation_receipt";
|
|
1479
1470
|
assembledAt: number;
|
|
1480
|
-
producedBy: string;
|
|
1481
1471
|
producer: string;
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
producerSurface?: "
|
|
1472
|
+
producedBy: string;
|
|
1473
|
+
validFrom: number;
|
|
1474
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
1485
1475
|
producedByClerkId?: string | undefined;
|
|
1486
1476
|
producedByPrincipalId?: string | undefined;
|
|
1487
1477
|
producedByAgentRunUuid?: string | undefined;
|
|
1488
1478
|
assemblyId?: string | undefined;
|
|
1479
|
+
traceId?: string | undefined;
|
|
1480
|
+
validTo?: number | undefined;
|
|
1489
1481
|
};
|
|
1490
1482
|
requestScope: {
|
|
1491
|
-
status: "
|
|
1483
|
+
status: "fresh" | "satisfied" | "degraded" | "blocked" | "fallback";
|
|
1492
1484
|
workspaceId: string;
|
|
1493
|
-
principalId: string;
|
|
1494
|
-
lane: string;
|
|
1495
1485
|
topicUuid: string;
|
|
1496
|
-
query: string;
|
|
1497
1486
|
campaign: number;
|
|
1487
|
+
lane: string;
|
|
1488
|
+
principalId: string;
|
|
1489
|
+
query: string;
|
|
1498
1490
|
rankingProfile: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
1499
1491
|
tokenBudget: number;
|
|
1500
1492
|
depthBudget: number;
|
|
@@ -1507,55 +1499,62 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1507
1499
|
contentTopicPlan: string | Record<string, unknown>;
|
|
1508
1500
|
generatedAt: number;
|
|
1509
1501
|
};
|
|
1502
|
+
producers: {
|
|
1503
|
+
producer: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1504
|
+
surface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1505
|
+
actor: string;
|
|
1506
|
+
producedAt: number;
|
|
1507
|
+
traceId?: string | undefined;
|
|
1508
|
+
}[];
|
|
1510
1509
|
includedResources: {
|
|
1511
1510
|
resourceUuid: string;
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
key: string;
|
|
1515
|
-
value?: string | undefined;
|
|
1516
|
-
}[];
|
|
1517
|
-
resourceType: "source" | "topic" | "edge" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "task";
|
|
1511
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
1512
|
+
stableRef: string;
|
|
1518
1513
|
reason: string;
|
|
1519
1514
|
rank: number;
|
|
1520
1515
|
scoreInputs: {
|
|
1521
|
-
component: string;
|
|
1522
1516
|
value: number;
|
|
1517
|
+
component: string;
|
|
1523
1518
|
weight: number;
|
|
1524
1519
|
}[];
|
|
1525
1520
|
sourceSpanUuids: string[];
|
|
1521
|
+
policyTags: {
|
|
1522
|
+
source: string;
|
|
1523
|
+
key: string;
|
|
1524
|
+
value?: string | undefined;
|
|
1525
|
+
}[];
|
|
1526
1526
|
confidenceSignals: Record<string, number>;
|
|
1527
1527
|
stateSignals: Record<string, string>;
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
consumer: "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption" | "clean_prod_reset";
|
|
1531
|
-
requiredSignals: string[];
|
|
1532
|
-
producerSurface?: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly" | undefined;
|
|
1533
|
-
}[];
|
|
1528
|
+
score: number;
|
|
1529
|
+
scoreProfile: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
1534
1530
|
scoreComponents: {
|
|
1535
|
-
component: string;
|
|
1536
1531
|
value: number;
|
|
1532
|
+
component: string;
|
|
1537
1533
|
weight: number;
|
|
1538
1534
|
}[];
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1535
|
+
consumerBindings: {
|
|
1536
|
+
reason: string;
|
|
1537
|
+
consumer: "clean_prod_reset" | "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption";
|
|
1538
|
+
requiredSignals: string[];
|
|
1539
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
1540
|
+
}[];
|
|
1542
1541
|
includedAt: number;
|
|
1543
1542
|
evidenceCount: number;
|
|
1544
1543
|
}[];
|
|
1545
1544
|
omittedResources: {
|
|
1546
|
-
resourceUuid: string;
|
|
1547
|
-
surface: string;
|
|
1548
1545
|
traceId: string;
|
|
1546
|
+
surface: string;
|
|
1547
|
+
resourceUuid: string;
|
|
1548
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
1549
|
+
opaqueRef: string;
|
|
1550
|
+
omissionReason: "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "superseded" | "synthesis_lint_fallout";
|
|
1551
|
+
policyDecisionId: string;
|
|
1549
1552
|
decisionProof: string;
|
|
1550
|
-
resourceType: "source" | "topic" | "edge" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "task";
|
|
1551
1553
|
decisionLogId: string;
|
|
1552
|
-
omissionReason: "superseded" | "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "synthesis_lint_fallout";
|
|
1553
|
-
policyDecisionId: string;
|
|
1554
|
-
createdAt: number;
|
|
1555
1554
|
audience: string;
|
|
1556
1555
|
clippingBehavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
1557
1556
|
narrativeExplanation: string;
|
|
1558
|
-
|
|
1557
|
+
createdAt: number;
|
|
1559
1558
|
sourceHorizonUuid?: string | undefined;
|
|
1560
1559
|
budgetBounds?: {
|
|
1561
1560
|
tokenBudget: number;
|
|
@@ -1564,13 +1563,16 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1564
1563
|
linkedLintId?: string | undefined;
|
|
1565
1564
|
}[];
|
|
1566
1565
|
rankingDecisions: {
|
|
1567
|
-
decisionReason: string;
|
|
1568
|
-
topResources: string[];
|
|
1569
1566
|
scoreComponents: {
|
|
1570
|
-
component: string;
|
|
1571
1567
|
value: number;
|
|
1568
|
+
component: string;
|
|
1572
1569
|
weight: number;
|
|
1573
1570
|
}[];
|
|
1571
|
+
decisionUuid: string;
|
|
1572
|
+
decisionStage: "resolver" | "policy" | "synthesis_lint";
|
|
1573
|
+
profileUsed: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
1574
|
+
decisionReason: string;
|
|
1575
|
+
topResources: string[];
|
|
1574
1576
|
tokenUsage: {
|
|
1575
1577
|
tokenBudget: number;
|
|
1576
1578
|
tokenUsed: number;
|
|
@@ -1579,65 +1581,63 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1579
1581
|
depthBudget: number;
|
|
1580
1582
|
depthUsed: number;
|
|
1581
1583
|
};
|
|
1582
|
-
decisionUuid: string;
|
|
1583
|
-
decisionStage: "policy" | "resolver" | "synthesis_lint";
|
|
1584
|
-
profileUsed: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
1585
1584
|
}[];
|
|
1586
1585
|
policyClippingDecisions: {
|
|
1587
|
-
surface: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly";
|
|
1588
1586
|
traceId: string;
|
|
1587
|
+
surface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1588
|
+
policyDecisionId: string;
|
|
1589
1589
|
decisionProof: string;
|
|
1590
1590
|
decisionLogId: string;
|
|
1591
|
-
policyDecisionId: string;
|
|
1592
1591
|
audience: string;
|
|
1592
|
+
decisionUuid: string;
|
|
1593
1593
|
behavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
1594
1594
|
omittedCount: number;
|
|
1595
1595
|
includedCount: number;
|
|
1596
|
-
decisionUuid: string;
|
|
1597
1596
|
sourceHorizonRequired: boolean;
|
|
1598
1597
|
decisionAt: number;
|
|
1599
1598
|
omittedResourceUuids: string[];
|
|
1600
1599
|
}[];
|
|
1600
|
+
narrativeCoverageIds: string[];
|
|
1601
1601
|
synthesisLints: {
|
|
1602
1602
|
status: "pass" | "warn" | "fail" | "pending";
|
|
1603
|
+
outcome: string;
|
|
1604
|
+
producedBy: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1605
|
+
producedAt: number;
|
|
1603
1606
|
lintId: string;
|
|
1604
1607
|
severity: "low" | "medium" | "high";
|
|
1605
|
-
outcome: string;
|
|
1606
|
-
narrativeCoverageIds: string[];
|
|
1607
1608
|
findings: {
|
|
1608
1609
|
findingId: string;
|
|
1609
1610
|
summary: string;
|
|
1610
1611
|
affectedResourceUuids: string[];
|
|
1611
1612
|
}[];
|
|
1612
|
-
|
|
1613
|
-
producedAt: number;
|
|
1613
|
+
narrativeCoverageIds: string[];
|
|
1614
1614
|
}[];
|
|
1615
1615
|
proofEmissions: {
|
|
1616
1616
|
status: "ready" | "pending_runtime_worker";
|
|
1617
|
-
producerSurface: "
|
|
1617
|
+
producerSurface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1618
1618
|
receiptIdBinding: string;
|
|
1619
1619
|
axiomTraceBinding: string;
|
|
1620
1620
|
notes: string;
|
|
1621
1621
|
}[];
|
|
1622
1622
|
acceptanceUseGates: {
|
|
1623
1623
|
c2zEvaluation: {
|
|
1624
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1624
1625
|
check: string;
|
|
1625
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1626
1626
|
requiredProofs: string[];
|
|
1627
1627
|
};
|
|
1628
1628
|
gfAssemblyAcceptance: {
|
|
1629
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1629
1630
|
check: string;
|
|
1630
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1631
1631
|
requiredProofs: string[];
|
|
1632
1632
|
};
|
|
1633
1633
|
graphV2SourceAdoption: {
|
|
1634
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1634
1635
|
check: string;
|
|
1635
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1636
1636
|
requiredProofs: string[];
|
|
1637
1637
|
};
|
|
1638
1638
|
cleanProdReset: {
|
|
1639
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1639
1640
|
check: string;
|
|
1640
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1641
1641
|
requiredProofs: string[];
|
|
1642
1642
|
};
|
|
1643
1643
|
};
|
|
@@ -1650,43 +1650,36 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1650
1650
|
pendingLd1Reason?: string | undefined;
|
|
1651
1651
|
};
|
|
1652
1652
|
}, {
|
|
1653
|
-
producers: {
|
|
1654
|
-
surface: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly";
|
|
1655
|
-
producedAt: number;
|
|
1656
|
-
producer: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly";
|
|
1657
|
-
actor: string;
|
|
1658
|
-
traceId?: string | undefined;
|
|
1659
|
-
}[];
|
|
1660
1653
|
envelope: {
|
|
1654
|
+
receiptUuid: string;
|
|
1655
|
+
receiptKind: "assembly_instrumentation_receipt";
|
|
1656
|
+
contractVersion: "c2_nt_assembly_instrumentation_receipt.v1";
|
|
1657
|
+
schemaVersion: string;
|
|
1661
1658
|
tenantId: string;
|
|
1662
1659
|
workspaceId: string;
|
|
1663
|
-
sourceHorizonUuid: string;
|
|
1664
|
-
contractVersion: "c2_nt_assembly_instrumentation_receipt.v1";
|
|
1665
1660
|
policyResourceUuid: string;
|
|
1666
|
-
|
|
1667
|
-
schemaVersion: string;
|
|
1661
|
+
sourceHorizonUuid: string;
|
|
1668
1662
|
replayBindingUuid: string;
|
|
1669
|
-
receiptUuid: string;
|
|
1670
|
-
receiptKind: "assembly_instrumentation_receipt";
|
|
1671
1663
|
assembledAt: number;
|
|
1672
|
-
producedBy: string;
|
|
1673
1664
|
producer: string;
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
producerSurface?: "
|
|
1665
|
+
producedBy: string;
|
|
1666
|
+
validFrom: number;
|
|
1667
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
1677
1668
|
producedByClerkId?: string | undefined;
|
|
1678
1669
|
producedByPrincipalId?: string | undefined;
|
|
1679
1670
|
producedByAgentRunUuid?: string | undefined;
|
|
1680
1671
|
assemblyId?: string | undefined;
|
|
1672
|
+
traceId?: string | undefined;
|
|
1673
|
+
validTo?: number | undefined;
|
|
1681
1674
|
};
|
|
1682
1675
|
requestScope: {
|
|
1683
|
-
status: "
|
|
1676
|
+
status: "fresh" | "satisfied" | "degraded" | "blocked" | "fallback";
|
|
1684
1677
|
workspaceId: string;
|
|
1685
|
-
principalId: string;
|
|
1686
|
-
lane: string;
|
|
1687
1678
|
topicUuid: string;
|
|
1688
|
-
query: string;
|
|
1689
1679
|
campaign: number;
|
|
1680
|
+
lane: string;
|
|
1681
|
+
principalId: string;
|
|
1682
|
+
query: string;
|
|
1690
1683
|
rankingProfile: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
1691
1684
|
tokenBudget: number;
|
|
1692
1685
|
depthBudget: number;
|
|
@@ -1699,25 +1692,32 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1699
1692
|
contentTopicPlan: string | Record<string, unknown>;
|
|
1700
1693
|
generatedAt: number;
|
|
1701
1694
|
};
|
|
1695
|
+
producers: {
|
|
1696
|
+
producer: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1697
|
+
surface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1698
|
+
actor: string;
|
|
1699
|
+
producedAt: number;
|
|
1700
|
+
traceId?: string | undefined;
|
|
1701
|
+
}[];
|
|
1702
1702
|
acceptanceUseGates: {
|
|
1703
1703
|
c2zEvaluation: {
|
|
1704
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1704
1705
|
check: string;
|
|
1705
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1706
1706
|
requiredProofs?: string[] | undefined;
|
|
1707
1707
|
};
|
|
1708
1708
|
gfAssemblyAcceptance: {
|
|
1709
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1709
1710
|
check: string;
|
|
1710
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1711
1711
|
requiredProofs?: string[] | undefined;
|
|
1712
1712
|
};
|
|
1713
1713
|
graphV2SourceAdoption: {
|
|
1714
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1714
1715
|
check: string;
|
|
1715
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1716
1716
|
requiredProofs?: string[] | undefined;
|
|
1717
1717
|
};
|
|
1718
1718
|
cleanProdReset: {
|
|
1719
|
+
state: "satisfied" | "blocked" | "required" | "pending_runtime";
|
|
1719
1720
|
check: string;
|
|
1720
|
-
state: "blocked" | "required" | "satisfied" | "pending_runtime";
|
|
1721
1721
|
requiredProofs?: string[] | undefined;
|
|
1722
1722
|
};
|
|
1723
1723
|
};
|
|
@@ -1729,56 +1729,55 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1729
1729
|
ld1MigrationState: "pending_ld1_runtime" | "applicable_not_deployed" | "complete";
|
|
1730
1730
|
pendingLd1Reason?: string | undefined;
|
|
1731
1731
|
};
|
|
1732
|
-
narrativeCoverageIds?: string[] | undefined;
|
|
1733
1732
|
includedResources?: {
|
|
1734
1733
|
resourceUuid: string;
|
|
1735
|
-
resourceType: "
|
|
1734
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
1735
|
+
stableRef: string;
|
|
1736
1736
|
reason: string;
|
|
1737
1737
|
rank: number;
|
|
1738
1738
|
scoreInputs: {
|
|
1739
|
-
component: string;
|
|
1740
1739
|
value: number;
|
|
1740
|
+
component: string;
|
|
1741
1741
|
weight: number;
|
|
1742
1742
|
}[];
|
|
1743
1743
|
score: number;
|
|
1744
|
-
stableRef: string;
|
|
1745
1744
|
scoreProfile: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
1746
1745
|
includedAt: number;
|
|
1747
1746
|
evidenceCount: number;
|
|
1747
|
+
sourceSpanUuids?: string[] | undefined;
|
|
1748
1748
|
policyTags?: {
|
|
1749
1749
|
source: string;
|
|
1750
1750
|
key: string;
|
|
1751
1751
|
value?: string | undefined;
|
|
1752
1752
|
}[] | undefined;
|
|
1753
|
-
sourceSpanUuids?: string[] | undefined;
|
|
1754
1753
|
confidenceSignals?: Record<string, number> | undefined;
|
|
1755
1754
|
stateSignals?: Record<string, string> | undefined;
|
|
1756
|
-
consumerBindings?: {
|
|
1757
|
-
reason: string;
|
|
1758
|
-
consumer: "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption" | "clean_prod_reset";
|
|
1759
|
-
producerSurface?: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly" | undefined;
|
|
1760
|
-
requiredSignals?: string[] | undefined;
|
|
1761
|
-
}[] | undefined;
|
|
1762
1755
|
scoreComponents?: {
|
|
1763
|
-
component: string;
|
|
1764
1756
|
value: number;
|
|
1757
|
+
component: string;
|
|
1765
1758
|
weight: number;
|
|
1766
1759
|
}[] | undefined;
|
|
1760
|
+
consumerBindings?: {
|
|
1761
|
+
reason: string;
|
|
1762
|
+
consumer: "clean_prod_reset" | "compile_context" | "graph_assembly" | "c2_z_evals" | "gf_avatar_tree_assembly" | "graph_v2_source_adoption";
|
|
1763
|
+
producerSurface?: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration" | undefined;
|
|
1764
|
+
requiredSignals?: string[] | undefined;
|
|
1765
|
+
}[] | undefined;
|
|
1767
1766
|
}[] | undefined;
|
|
1768
1767
|
omittedResources?: {
|
|
1769
|
-
resourceUuid: string;
|
|
1770
|
-
surface: string;
|
|
1771
1768
|
traceId: string;
|
|
1769
|
+
surface: string;
|
|
1770
|
+
resourceUuid: string;
|
|
1771
|
+
resourceType: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "source" | "edge" | "task";
|
|
1772
|
+
opaqueRef: string;
|
|
1773
|
+
omissionReason: "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "superseded" | "synthesis_lint_fallout";
|
|
1774
|
+
policyDecisionId: string;
|
|
1772
1775
|
decisionProof: string;
|
|
1773
|
-
resourceType: "source" | "topic" | "edge" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "answer" | "task";
|
|
1774
1776
|
decisionLogId: string;
|
|
1775
|
-
omissionReason: "superseded" | "policy_clipping" | "source_horizon_exclusion" | "budget_exclusion" | "stale_lifecycle" | "invalid_lifecycle" | "duplicate" | "synthesis_lint_fallout";
|
|
1776
|
-
policyDecisionId: string;
|
|
1777
|
-
createdAt: number;
|
|
1778
1777
|
audience: string;
|
|
1779
1778
|
clippingBehavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
1780
1779
|
narrativeExplanation: string;
|
|
1781
|
-
|
|
1780
|
+
createdAt: number;
|
|
1782
1781
|
sourceHorizonUuid?: string | undefined;
|
|
1783
1782
|
budgetBounds?: {
|
|
1784
1783
|
tokenBudget: number;
|
|
@@ -1787,6 +1786,9 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1787
1786
|
linkedLintId?: string | undefined;
|
|
1788
1787
|
}[] | undefined;
|
|
1789
1788
|
rankingDecisions?: {
|
|
1789
|
+
decisionUuid: string;
|
|
1790
|
+
decisionStage: "resolver" | "policy" | "synthesis_lint";
|
|
1791
|
+
profileUsed: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
1790
1792
|
decisionReason: string;
|
|
1791
1793
|
tokenUsage: {
|
|
1792
1794
|
tokenBudget: number;
|
|
@@ -1796,48 +1798,46 @@ declare const AssemblyInstrumentationReceiptSchema: z.ZodObject<{
|
|
|
1796
1798
|
depthBudget: number;
|
|
1797
1799
|
depthUsed: number;
|
|
1798
1800
|
};
|
|
1799
|
-
decisionUuid: string;
|
|
1800
|
-
decisionStage: "policy" | "resolver" | "synthesis_lint";
|
|
1801
|
-
profileUsed: "default_graph_surface_ranker" | "campaign_guarded_ranker" | "quality_budget_ranker";
|
|
1802
|
-
topResources?: string[] | undefined;
|
|
1803
1801
|
scoreComponents?: {
|
|
1804
|
-
component: string;
|
|
1805
1802
|
value: number;
|
|
1803
|
+
component: string;
|
|
1806
1804
|
weight: number;
|
|
1807
1805
|
}[] | undefined;
|
|
1806
|
+
topResources?: string[] | undefined;
|
|
1808
1807
|
}[] | undefined;
|
|
1809
1808
|
policyClippingDecisions?: {
|
|
1810
|
-
surface: "agent" | "mcp" | "sdk" | "rest" | "cli" | "migration" | "compile_context" | "graph_assembly";
|
|
1811
1809
|
traceId: string;
|
|
1810
|
+
surface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1811
|
+
policyDecisionId: string;
|
|
1812
1812
|
decisionProof: string;
|
|
1813
1813
|
decisionLogId: string;
|
|
1814
|
-
policyDecisionId: string;
|
|
1815
1814
|
audience: string;
|
|
1815
|
+
decisionUuid: string;
|
|
1816
1816
|
behavior: "deny" | "redact" | "count_only" | "allow_with_evidence";
|
|
1817
1817
|
omittedCount: number;
|
|
1818
1818
|
includedCount: number;
|
|
1819
|
-
decisionUuid: string;
|
|
1820
1819
|
sourceHorizonRequired: boolean;
|
|
1821
1820
|
decisionAt: number;
|
|
1822
1821
|
omittedResourceUuids?: string[] | undefined;
|
|
1823
1822
|
}[] | undefined;
|
|
1823
|
+
narrativeCoverageIds?: string[] | undefined;
|
|
1824
1824
|
synthesisLints?: {
|
|
1825
1825
|
status: "pass" | "warn" | "fail" | "pending";
|
|
1826
|
-
lintId: string;
|
|
1827
|
-
severity: "low" | "medium" | "high";
|
|
1828
1826
|
outcome: string;
|
|
1829
|
-
producedBy: "
|
|
1827
|
+
producedBy: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1830
1828
|
producedAt: number;
|
|
1831
|
-
|
|
1829
|
+
lintId: string;
|
|
1830
|
+
severity: "low" | "medium" | "high";
|
|
1832
1831
|
findings?: {
|
|
1833
1832
|
findingId: string;
|
|
1834
1833
|
summary: string;
|
|
1835
1834
|
affectedResourceUuids?: string[] | undefined;
|
|
1836
1835
|
}[] | undefined;
|
|
1836
|
+
narrativeCoverageIds?: string[] | undefined;
|
|
1837
1837
|
}[] | undefined;
|
|
1838
1838
|
proofEmissions?: {
|
|
1839
1839
|
status: "ready" | "pending_runtime_worker";
|
|
1840
|
-
producerSurface: "
|
|
1840
|
+
producerSurface: "compile_context" | "graph_assembly" | "cli" | "mcp" | "sdk" | "rest" | "agent" | "migration";
|
|
1841
1841
|
receiptIdBinding: string;
|
|
1842
1842
|
axiomTraceBinding: string;
|
|
1843
1843
|
notes: string;
|