@lucern/contracts 1.0.50 → 1.0.52
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 +6 -0
- package/dist/function-registry/beliefs.d.ts +77 -0
- package/dist/function-registry/beliefs.js +7 -2
- package/dist/function-registry/coding.d.ts +183 -0
- package/dist/function-registry/coding.js +60 -33
- package/dist/function-registry/context.d.ts +9 -0
- package/dist/function-registry/context.js +1 -0
- package/dist/function-registry/contracts.d.ts +16 -12
- package/dist/function-registry/contracts.js +5 -2
- package/dist/function-registry/coordination.d.ts +9 -0
- package/dist/function-registry/coordination.js +1 -0
- package/dist/function-registry/edges.d.ts +140 -0
- package/dist/function-registry/edges.js +6 -2
- package/dist/function-registry/embeddings.d.ts +4 -0
- package/dist/function-registry/embeddings.js +1 -0
- package/dist/function-registry/evidence.d.ts +251 -0
- package/dist/function-registry/evidence.js +94 -5
- package/dist/function-registry/graph.d.ts +15 -0
- package/dist/function-registry/graph.js +1 -0
- package/dist/function-registry/helpers.d.ts +2 -0
- package/dist/function-registry/helpers.js +1 -0
- package/dist/function-registry/hybrid.d.ts +6 -0
- package/dist/function-registry/hybrid.js +1 -0
- package/dist/function-registry/identity.d.ts +4 -0
- package/dist/function-registry/identity.js +1 -0
- package/dist/function-registry/index.js +1 -0
- package/dist/function-registry/judgments.d.ts +2 -0
- package/dist/function-registry/judgments.js +1 -0
- package/dist/function-registry/legacy.d.ts +1 -0
- package/dist/function-registry/legacy.js +1 -0
- package/dist/function-registry/lenses.d.ts +4 -0
- package/dist/function-registry/lenses.js +1 -0
- package/dist/function-registry/nodes.d.ts +106 -0
- package/dist/function-registry/nodes.js +9 -4
- package/dist/function-registry/ontologies.d.ts +11 -0
- package/dist/function-registry/ontologies.js +8 -2
- package/dist/function-registry/pipeline.d.ts +3 -0
- package/dist/function-registry/pipeline.js +1 -0
- package/dist/function-registry/policy.d.ts +1 -0
- package/dist/function-registry/policy.js +1 -0
- package/dist/function-registry/questions.d.ts +104 -0
- package/dist/function-registry/questions.js +10 -5
- package/dist/function-registry/tasks.d.ts +86 -0
- package/dist/function-registry/tasks.js +2 -1
- package/dist/function-registry/topics.d.ts +7 -0
- package/dist/function-registry/topics.js +7 -2
- package/dist/function-registry/types.d.ts +46 -0
- package/dist/function-registry/worktrees.d.ts +440 -0
- package/dist/function-registry/worktrees.js +9 -3
- package/dist/generated/convexSchemas.d.ts +10 -10
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -0
- package/dist/infisical-runtime.base.js +5 -0
- package/dist/infisical-runtime.contract.js +5 -0
- package/dist/infisical-runtime.tenant-secrets.js +5 -0
- package/dist/manifests/infisical-runtime-manifest.js +5 -0
- package/dist/manifests/tenant-client-manifest.d.ts +5 -1
- package/dist/manifests/tenant-client-manifest.js +5 -0
- package/dist/operator-receipt.contract.d.ts +32 -0
- package/dist/operator-receipt.contract.js +1 -0
- package/dist/projections/create-evidence.projection.d.ts +12 -12
- package/dist/projections/index.d.ts +2 -2
- package/dist/proof-attestation.json +1 -1
- package/dist/tenant-client.contract.d.ts +5 -1
- package/dist/tenant-client.contract.js +5 -0
- package/package.json +1 -1
|
@@ -1,10 +1,253 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const createEvidenceArgs: z.ZodObject<{
|
|
3
|
+
topicId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4
|
+
text: z.ZodString;
|
|
5
|
+
source: z.ZodOptional<z.ZodString>;
|
|
6
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
7
|
+
externalSourceUrl: z.ZodOptional<z.ZodString>;
|
|
8
|
+
targetId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
9
|
+
linkedBeliefNodeId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
10
|
+
evidenceRelation: z.ZodOptional<z.ZodEnum<["supports", "contradicts"]>>;
|
|
11
|
+
beliefRelations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12
|
+
beliefId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
13
|
+
beliefNodeId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
14
|
+
targetId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
15
|
+
relation: z.ZodOptional<z.ZodEnum<["supports", "contradicts", "supporting", "contradicting"]>>;
|
|
16
|
+
evidenceRelation: z.ZodOptional<z.ZodEnum<["supports", "contradicts"]>>;
|
|
17
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
weight: z.ZodEffects<z.ZodNumber, number, number>;
|
|
19
|
+
rationale: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
weight: number;
|
|
22
|
+
beliefId?: string | undefined;
|
|
23
|
+
beliefNodeId?: string | undefined;
|
|
24
|
+
targetId?: string | undefined;
|
|
25
|
+
evidenceRelation?: "supports" | "contradicts" | undefined;
|
|
26
|
+
confidence?: number | undefined;
|
|
27
|
+
rationale?: string | undefined;
|
|
28
|
+
relation?: "supports" | "contradicts" | "contradicting" | "supporting" | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
weight: number;
|
|
31
|
+
beliefId?: string | undefined;
|
|
32
|
+
beliefNodeId?: string | undefined;
|
|
33
|
+
targetId?: string | undefined;
|
|
34
|
+
evidenceRelation?: "supports" | "contradicts" | undefined;
|
|
35
|
+
confidence?: number | undefined;
|
|
36
|
+
rationale?: string | undefined;
|
|
37
|
+
relation?: "supports" | "contradicts" | "contradicting" | "supporting" | undefined;
|
|
38
|
+
}>, "many">>;
|
|
39
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
weight: z.ZodEffects<z.ZodNumber, number, number>;
|
|
41
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42
|
+
rationale: z.ZodString;
|
|
43
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
44
|
+
title: z.ZodOptional<z.ZodString>;
|
|
45
|
+
content: z.ZodOptional<z.ZodString>;
|
|
46
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
47
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
48
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
49
|
+
sourceType: z.ZodOptional<z.ZodString>;
|
|
50
|
+
externalSourceType: z.ZodOptional<z.ZodString>;
|
|
51
|
+
sourceQuestionId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
52
|
+
methodology: z.ZodOptional<z.ZodEnum<["primary_research", "expert_interview", "customer_interview", "field_observation", "proprietary_data", "desk_research", "regulatory_filing", "news_article", "academic_paper", "ai_synthesis", "ai_extraction"]>>;
|
|
53
|
+
informationAsymmetry: z.ZodOptional<z.ZodEnum<["proprietary", "early", "common"]>>;
|
|
54
|
+
sourceQuality: z.ZodOptional<z.ZodEnum<["primary", "analyzed", "secondary", "tertiary", "unknown"]>>;
|
|
55
|
+
sourceDescription: z.ZodOptional<z.ZodString>;
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
text: string;
|
|
58
|
+
weight: number;
|
|
59
|
+
rationale: string;
|
|
60
|
+
source?: string | undefined;
|
|
61
|
+
content?: string | undefined;
|
|
62
|
+
title?: string | undefined;
|
|
63
|
+
metadata?: Record<string, unknown> | undefined;
|
|
64
|
+
sourceType?: string | undefined;
|
|
65
|
+
topicId?: string | undefined;
|
|
66
|
+
targetId?: string | undefined;
|
|
67
|
+
evidenceRelation?: "supports" | "contradicts" | undefined;
|
|
68
|
+
methodology?: "proprietary_data" | "primary_research" | "expert_interview" | "customer_interview" | "field_observation" | "desk_research" | "regulatory_filing" | "news_article" | "academic_paper" | "ai_synthesis" | "ai_extraction" | undefined;
|
|
69
|
+
informationAsymmetry?: "proprietary" | "early" | "common" | undefined;
|
|
70
|
+
sourceQuality?: "unknown" | "primary" | "analyzed" | "secondary" | "tertiary" | undefined;
|
|
71
|
+
confidence?: number | undefined;
|
|
72
|
+
sourceUrl?: string | undefined;
|
|
73
|
+
kind?: string | undefined;
|
|
74
|
+
contentType?: string | undefined;
|
|
75
|
+
sourceQuestionId?: string | undefined;
|
|
76
|
+
sourceDescription?: string | undefined;
|
|
77
|
+
externalSourceType?: string | undefined;
|
|
78
|
+
tags?: string[] | undefined;
|
|
79
|
+
reasoning?: string | undefined;
|
|
80
|
+
beliefRelations?: {
|
|
81
|
+
weight: number;
|
|
82
|
+
beliefId?: string | undefined;
|
|
83
|
+
beliefNodeId?: string | undefined;
|
|
84
|
+
targetId?: string | undefined;
|
|
85
|
+
evidenceRelation?: "supports" | "contradicts" | undefined;
|
|
86
|
+
confidence?: number | undefined;
|
|
87
|
+
rationale?: string | undefined;
|
|
88
|
+
relation?: "supports" | "contradicts" | "contradicting" | "supporting" | undefined;
|
|
89
|
+
}[] | undefined;
|
|
90
|
+
linkedBeliefNodeId?: string | undefined;
|
|
91
|
+
externalSourceUrl?: string | undefined;
|
|
92
|
+
}, {
|
|
93
|
+
text: string;
|
|
94
|
+
weight: number;
|
|
95
|
+
rationale: string;
|
|
96
|
+
source?: string | undefined;
|
|
97
|
+
content?: string | undefined;
|
|
98
|
+
title?: string | undefined;
|
|
99
|
+
metadata?: Record<string, unknown> | undefined;
|
|
100
|
+
sourceType?: string | undefined;
|
|
101
|
+
topicId?: string | undefined;
|
|
102
|
+
targetId?: string | undefined;
|
|
103
|
+
evidenceRelation?: "supports" | "contradicts" | undefined;
|
|
104
|
+
methodology?: "proprietary_data" | "primary_research" | "expert_interview" | "customer_interview" | "field_observation" | "desk_research" | "regulatory_filing" | "news_article" | "academic_paper" | "ai_synthesis" | "ai_extraction" | undefined;
|
|
105
|
+
informationAsymmetry?: "proprietary" | "early" | "common" | undefined;
|
|
106
|
+
sourceQuality?: "unknown" | "primary" | "analyzed" | "secondary" | "tertiary" | undefined;
|
|
107
|
+
confidence?: number | undefined;
|
|
108
|
+
sourceUrl?: string | undefined;
|
|
109
|
+
kind?: string | undefined;
|
|
110
|
+
contentType?: string | undefined;
|
|
111
|
+
sourceQuestionId?: string | undefined;
|
|
112
|
+
sourceDescription?: string | undefined;
|
|
113
|
+
externalSourceType?: string | undefined;
|
|
114
|
+
tags?: string[] | undefined;
|
|
115
|
+
reasoning?: string | undefined;
|
|
116
|
+
beliefRelations?: {
|
|
117
|
+
weight: number;
|
|
118
|
+
beliefId?: string | undefined;
|
|
119
|
+
beliefNodeId?: string | undefined;
|
|
120
|
+
targetId?: string | undefined;
|
|
121
|
+
evidenceRelation?: "supports" | "contradicts" | undefined;
|
|
122
|
+
confidence?: number | undefined;
|
|
123
|
+
rationale?: string | undefined;
|
|
124
|
+
relation?: "supports" | "contradicts" | "contradicting" | "supporting" | undefined;
|
|
125
|
+
}[] | undefined;
|
|
126
|
+
linkedBeliefNodeId?: string | undefined;
|
|
127
|
+
externalSourceUrl?: string | undefined;
|
|
128
|
+
}>;
|
|
129
|
+
export type CreateEvidenceArgs = z.infer<typeof createEvidenceArgs>;
|
|
130
|
+
export declare const linkEvidenceToBeliefArgs: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
131
|
+
evidenceId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
132
|
+
evidenceNodeId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
133
|
+
insightId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
134
|
+
beliefId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
135
|
+
beliefNodeId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
136
|
+
targetId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
137
|
+
relation: z.ZodOptional<z.ZodEnum<["supports", "contradicts", "supporting", "contradicting"]>>;
|
|
138
|
+
evidenceRelation: z.ZodOptional<z.ZodEnum<["supports", "contradicts"]>>;
|
|
139
|
+
type: z.ZodOptional<z.ZodEnum<["supporting", "contradicting"]>>;
|
|
140
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
141
|
+
weight: z.ZodEffects<z.ZodNumber, number, number>;
|
|
142
|
+
rationale: z.ZodOptional<z.ZodString>;
|
|
143
|
+
context: z.ZodOptional<z.ZodString>;
|
|
144
|
+
topicId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
145
|
+
trustedBypassAccessCheck: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
+
}, "strip", z.ZodTypeAny, {
|
|
147
|
+
weight: number;
|
|
148
|
+
type?: "contradicting" | "supporting" | undefined;
|
|
149
|
+
topicId?: string | undefined;
|
|
150
|
+
beliefId?: string | undefined;
|
|
151
|
+
beliefNodeId?: string | undefined;
|
|
152
|
+
evidenceId?: string | undefined;
|
|
153
|
+
evidenceNodeId?: string | undefined;
|
|
154
|
+
targetId?: string | undefined;
|
|
155
|
+
evidenceRelation?: "supports" | "contradicts" | undefined;
|
|
156
|
+
confidence?: number | undefined;
|
|
157
|
+
context?: string | undefined;
|
|
158
|
+
rationale?: string | undefined;
|
|
159
|
+
trustedBypassAccessCheck?: boolean | undefined;
|
|
160
|
+
insightId?: string | undefined;
|
|
161
|
+
relation?: "supports" | "contradicts" | "contradicting" | "supporting" | undefined;
|
|
162
|
+
}, {
|
|
163
|
+
weight: number;
|
|
164
|
+
type?: "contradicting" | "supporting" | undefined;
|
|
165
|
+
topicId?: string | undefined;
|
|
166
|
+
beliefId?: string | undefined;
|
|
167
|
+
beliefNodeId?: string | undefined;
|
|
168
|
+
evidenceId?: string | undefined;
|
|
169
|
+
evidenceNodeId?: string | undefined;
|
|
170
|
+
targetId?: string | undefined;
|
|
171
|
+
evidenceRelation?: "supports" | "contradicts" | undefined;
|
|
172
|
+
confidence?: number | undefined;
|
|
173
|
+
context?: string | undefined;
|
|
174
|
+
rationale?: string | undefined;
|
|
175
|
+
trustedBypassAccessCheck?: boolean | undefined;
|
|
176
|
+
insightId?: string | undefined;
|
|
177
|
+
relation?: "supports" | "contradicts" | "contradicting" | "supporting" | undefined;
|
|
178
|
+
}>, {
|
|
179
|
+
weight: number;
|
|
180
|
+
type?: "contradicting" | "supporting" | undefined;
|
|
181
|
+
topicId?: string | undefined;
|
|
182
|
+
beliefId?: string | undefined;
|
|
183
|
+
beliefNodeId?: string | undefined;
|
|
184
|
+
evidenceId?: string | undefined;
|
|
185
|
+
evidenceNodeId?: string | undefined;
|
|
186
|
+
targetId?: string | undefined;
|
|
187
|
+
evidenceRelation?: "supports" | "contradicts" | undefined;
|
|
188
|
+
confidence?: number | undefined;
|
|
189
|
+
context?: string | undefined;
|
|
190
|
+
rationale?: string | undefined;
|
|
191
|
+
trustedBypassAccessCheck?: boolean | undefined;
|
|
192
|
+
insightId?: string | undefined;
|
|
193
|
+
relation?: "supports" | "contradicts" | "contradicting" | "supporting" | undefined;
|
|
194
|
+
}, {
|
|
195
|
+
weight: number;
|
|
196
|
+
type?: "contradicting" | "supporting" | undefined;
|
|
197
|
+
topicId?: string | undefined;
|
|
198
|
+
beliefId?: string | undefined;
|
|
199
|
+
beliefNodeId?: string | undefined;
|
|
200
|
+
evidenceId?: string | undefined;
|
|
201
|
+
evidenceNodeId?: string | undefined;
|
|
202
|
+
targetId?: string | undefined;
|
|
203
|
+
evidenceRelation?: "supports" | "contradicts" | undefined;
|
|
204
|
+
confidence?: number | undefined;
|
|
205
|
+
context?: string | undefined;
|
|
206
|
+
rationale?: string | undefined;
|
|
207
|
+
trustedBypassAccessCheck?: boolean | undefined;
|
|
208
|
+
insightId?: string | undefined;
|
|
209
|
+
relation?: "supports" | "contradicts" | "contradicting" | "supporting" | undefined;
|
|
210
|
+
}>, {
|
|
211
|
+
weight: number;
|
|
212
|
+
type?: "contradicting" | "supporting" | undefined;
|
|
213
|
+
topicId?: string | undefined;
|
|
214
|
+
beliefId?: string | undefined;
|
|
215
|
+
beliefNodeId?: string | undefined;
|
|
216
|
+
evidenceId?: string | undefined;
|
|
217
|
+
evidenceNodeId?: string | undefined;
|
|
218
|
+
targetId?: string | undefined;
|
|
219
|
+
evidenceRelation?: "supports" | "contradicts" | undefined;
|
|
220
|
+
confidence?: number | undefined;
|
|
221
|
+
context?: string | undefined;
|
|
222
|
+
rationale?: string | undefined;
|
|
223
|
+
trustedBypassAccessCheck?: boolean | undefined;
|
|
224
|
+
insightId?: string | undefined;
|
|
225
|
+
relation?: "supports" | "contradicts" | "contradicting" | "supporting" | undefined;
|
|
226
|
+
}, {
|
|
227
|
+
weight: number;
|
|
228
|
+
type?: "contradicting" | "supporting" | undefined;
|
|
229
|
+
topicId?: string | undefined;
|
|
230
|
+
beliefId?: string | undefined;
|
|
231
|
+
beliefNodeId?: string | undefined;
|
|
232
|
+
evidenceId?: string | undefined;
|
|
233
|
+
evidenceNodeId?: string | undefined;
|
|
234
|
+
targetId?: string | undefined;
|
|
235
|
+
evidenceRelation?: "supports" | "contradicts" | undefined;
|
|
236
|
+
confidence?: number | undefined;
|
|
237
|
+
context?: string | undefined;
|
|
238
|
+
rationale?: string | undefined;
|
|
239
|
+
trustedBypassAccessCheck?: boolean | undefined;
|
|
240
|
+
insightId?: string | undefined;
|
|
241
|
+
relation?: "supports" | "contradicts" | "contradicting" | "supporting" | undefined;
|
|
242
|
+
}>;
|
|
243
|
+
export type LinkEvidenceToBeliefArgs = z.infer<typeof linkEvidenceToBeliefArgs>;
|
|
2
244
|
export declare const evidenceContracts: readonly [{
|
|
3
245
|
name: string;
|
|
4
246
|
kind: import("./types.js").FunctionKind;
|
|
5
247
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
6
248
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
7
249
|
invariants: readonly string[] | undefined;
|
|
250
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
8
251
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
9
252
|
domain: string;
|
|
10
253
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -50,6 +293,7 @@ export declare const evidenceContracts: readonly [{
|
|
|
50
293
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
51
294
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
52
295
|
invariants: readonly string[] | undefined;
|
|
296
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
53
297
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
54
298
|
domain: string;
|
|
55
299
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -95,6 +339,7 @@ export declare const evidenceContracts: readonly [{
|
|
|
95
339
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
96
340
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
97
341
|
invariants: readonly string[] | undefined;
|
|
342
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
98
343
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
99
344
|
domain: string;
|
|
100
345
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -140,6 +385,7 @@ export declare const evidenceContracts: readonly [{
|
|
|
140
385
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
141
386
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
142
387
|
invariants: readonly string[] | undefined;
|
|
388
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
143
389
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
144
390
|
domain: string;
|
|
145
391
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -185,6 +431,7 @@ export declare const evidenceContracts: readonly [{
|
|
|
185
431
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
186
432
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
187
433
|
invariants: readonly string[] | undefined;
|
|
434
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
188
435
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
189
436
|
domain: string;
|
|
190
437
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -230,6 +477,7 @@ export declare const evidenceContracts: readonly [{
|
|
|
230
477
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
231
478
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
232
479
|
invariants: readonly string[] | undefined;
|
|
480
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
233
481
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
234
482
|
domain: string;
|
|
235
483
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -275,6 +523,7 @@ export declare const evidenceContracts: readonly [{
|
|
|
275
523
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
276
524
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
277
525
|
invariants: readonly string[] | undefined;
|
|
526
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
278
527
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
279
528
|
domain: string;
|
|
280
529
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -320,6 +569,7 @@ export declare const evidenceContracts: readonly [{
|
|
|
320
569
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
321
570
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
322
571
|
invariants: readonly string[] | undefined;
|
|
572
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
323
573
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
324
574
|
domain: string;
|
|
325
575
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -365,6 +615,7 @@ export declare const evidenceContracts: readonly [{
|
|
|
365
615
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
366
616
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
367
617
|
invariants: readonly string[] | undefined;
|
|
618
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
368
619
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
369
620
|
domain: string;
|
|
370
621
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -12664,6 +12664,7 @@ function surfaceContract(args) {
|
|
|
12664
12664
|
idempotent: args.idempotent ?? args.kind !== "query",
|
|
12665
12665
|
effects: resolvedEffects,
|
|
12666
12666
|
invariants: args.invariants,
|
|
12667
|
+
boundary: args.boundary,
|
|
12667
12668
|
surfaceIntent: manifestEntry.surfaceIntent,
|
|
12668
12669
|
domain: args.domain,
|
|
12669
12670
|
surfaceClass: manifestEntry.surfaceClass,
|
|
@@ -12823,6 +12824,80 @@ var addEvidenceArgs = z.object({
|
|
|
12823
12824
|
contentType: z.string().optional().describe("Content format or MIME hint."),
|
|
12824
12825
|
metadata: jsonRecordSchema2.optional().describe("Optional metadata merged into the evidence node.")
|
|
12825
12826
|
});
|
|
12827
|
+
var linkEvidenceToBeliefArgs = z.object({
|
|
12828
|
+
evidenceId: uuidV7StringSchema2.optional().describe("Evidence node ID."),
|
|
12829
|
+
evidenceNodeId: uuidV7StringSchema2.optional().describe("Evidence node ID alias."),
|
|
12830
|
+
insightId: uuidV7StringSchema2.optional().describe("Legacy evidence node ID alias."),
|
|
12831
|
+
beliefId: uuidV7StringSchema2.optional().describe("Belief node ID."),
|
|
12832
|
+
beliefNodeId: uuidV7StringSchema2.optional().describe("Belief node ID alias."),
|
|
12833
|
+
targetId: uuidV7StringSchema2.optional().describe("Belief target ID alias."),
|
|
12834
|
+
relation: z.enum(["supports", "contradicts", "supporting", "contradicting"]).optional().describe("Relation alias for how the evidence bears on the belief."),
|
|
12835
|
+
evidenceRelation: evidenceRelationSchema2.optional().describe("Canonical relation: supports or contradicts."),
|
|
12836
|
+
type: z.enum(["supporting", "contradicting"]).optional().describe("Kernel edge relation alias derived from the weight sign."),
|
|
12837
|
+
confidence: z.number().optional().describe(
|
|
12838
|
+
"Deprecated read-only hint. Runtime SL confidence is derived from signed weight."
|
|
12839
|
+
),
|
|
12840
|
+
weight: z.number().min(-1).max(1).refine((value) => value !== 0, {
|
|
12841
|
+
message: "Evidence impact weight must be nonzero."
|
|
12842
|
+
}).describe(
|
|
12843
|
+
"Required signed impact score from -1.0 to +1.0 for this belief."
|
|
12844
|
+
),
|
|
12845
|
+
rationale: z.string().optional().describe("Why this relation exists."),
|
|
12846
|
+
context: z.string().optional().describe("Relation context alias."),
|
|
12847
|
+
topicId: uuidV7StringSchema2.optional().describe("Topic scope hint."),
|
|
12848
|
+
trustedBypassAccessCheck: z.boolean().optional()
|
|
12849
|
+
}).superRefine((input, ctx) => {
|
|
12850
|
+
if (input.evidenceId || input.evidenceNodeId || input.insightId) {
|
|
12851
|
+
return;
|
|
12852
|
+
}
|
|
12853
|
+
ctx.addIssue({
|
|
12854
|
+
code: z.ZodIssueCode.custom,
|
|
12855
|
+
message: "Provide evidenceId, evidenceNodeId, or insightId.",
|
|
12856
|
+
path: ["evidenceId"]
|
|
12857
|
+
});
|
|
12858
|
+
}).superRefine((input, ctx) => {
|
|
12859
|
+
if (input.beliefId || input.beliefNodeId || input.targetId) {
|
|
12860
|
+
return;
|
|
12861
|
+
}
|
|
12862
|
+
ctx.addIssue({
|
|
12863
|
+
code: z.ZodIssueCode.custom,
|
|
12864
|
+
message: "Provide beliefId, beliefNodeId, or targetId.",
|
|
12865
|
+
path: ["beliefId"]
|
|
12866
|
+
});
|
|
12867
|
+
});
|
|
12868
|
+
var linkEvidenceToQuestionArgs = z.object({
|
|
12869
|
+
evidenceId: uuidV7StringSchema2.optional().describe("Evidence node ID."),
|
|
12870
|
+
evidenceNodeId: uuidV7StringSchema2.optional().describe("Evidence node ID alias."),
|
|
12871
|
+
insightId: uuidV7StringSchema2.optional().describe("Legacy evidence node ID alias."),
|
|
12872
|
+
questionId: uuidV7StringSchema2.optional().describe("Question node ID."),
|
|
12873
|
+
questionNodeId: uuidV7StringSchema2.optional().describe("Question node ID alias."),
|
|
12874
|
+
targetId: uuidV7StringSchema2.optional().describe("Question target ID alias."),
|
|
12875
|
+
relevance: z.number().min(0).max(1).optional().describe("Positive relevance score for question-level evidence."),
|
|
12876
|
+
impactScore: z.number().min(0).max(1).optional().describe("Relevance alias accepted by older callers."),
|
|
12877
|
+
weight: z.number().min(0).max(1).optional().describe("Relevance alias accepted by edge callers."),
|
|
12878
|
+
rationale: z.string().optional().describe("Why this relation exists."),
|
|
12879
|
+
context: z.string().optional().describe("Relation context alias."),
|
|
12880
|
+
topicId: uuidV7StringSchema2.optional().describe("Topic scope hint."),
|
|
12881
|
+
trustedBypassAccessCheck: z.boolean().optional()
|
|
12882
|
+
}).superRefine((input, ctx) => {
|
|
12883
|
+
if (input.evidenceId || input.evidenceNodeId || input.insightId) {
|
|
12884
|
+
return;
|
|
12885
|
+
}
|
|
12886
|
+
ctx.addIssue({
|
|
12887
|
+
code: z.ZodIssueCode.custom,
|
|
12888
|
+
message: "Provide evidenceId, evidenceNodeId, or insightId.",
|
|
12889
|
+
path: ["evidenceId"]
|
|
12890
|
+
});
|
|
12891
|
+
}).superRefine((input, ctx) => {
|
|
12892
|
+
if (input.questionId || input.questionNodeId || input.targetId) {
|
|
12893
|
+
return;
|
|
12894
|
+
}
|
|
12895
|
+
ctx.addIssue({
|
|
12896
|
+
code: z.ZodIssueCode.custom,
|
|
12897
|
+
message: "Provide questionId, questionNodeId, or targetId.",
|
|
12898
|
+
path: ["questionId"]
|
|
12899
|
+
});
|
|
12900
|
+
});
|
|
12826
12901
|
var createEvidenceInput = (input, context) => {
|
|
12827
12902
|
const parsed = createEvidenceProjection.inputSchema.safeParse(input);
|
|
12828
12903
|
if (!parsed.success) {
|
|
@@ -12888,7 +12963,7 @@ var linkEvidenceToQuestionEdgeInput = (input, context) => withCreatedBy(
|
|
|
12888
12963
|
toNodeId: input.questionId ?? input.questionNodeId ?? input.targetId,
|
|
12889
12964
|
edgeType: "responds_to",
|
|
12890
12965
|
globalId: typeof input.globalId === "string" ? input.globalId : generateUuidV7(),
|
|
12891
|
-
weight: input.impactScore ?? input.weight,
|
|
12966
|
+
weight: input.relevance ?? input.impactScore ?? input.weight,
|
|
12892
12967
|
context: input.rationale ?? input.context,
|
|
12893
12968
|
// RR.3: responds_to (evidence L2 -> question L3) is a registered layer
|
|
12894
12969
|
// rule; enforcement now happens at the kernel write-gateway chokepoint.
|
|
@@ -12913,7 +12988,15 @@ var evidenceContracts = [
|
|
|
12913
12988
|
kind: "mutation",
|
|
12914
12989
|
inputProjection: createEvidenceInput
|
|
12915
12990
|
},
|
|
12916
|
-
args: createEvidenceArgs
|
|
12991
|
+
args: createEvidenceArgs,
|
|
12992
|
+
boundary: {
|
|
12993
|
+
admission: [
|
|
12994
|
+
"no-floating-evidence",
|
|
12995
|
+
"signed-evidence",
|
|
12996
|
+
"source-span",
|
|
12997
|
+
"uuidv7-endpoints"
|
|
12998
|
+
]
|
|
12999
|
+
}
|
|
12917
13000
|
}),
|
|
12918
13001
|
surfaceContract({
|
|
12919
13002
|
name: "add_evidence",
|
|
@@ -13030,6 +13113,10 @@ var evidenceContracts = [
|
|
|
13030
13113
|
functionName: "linkEvidence",
|
|
13031
13114
|
kind: "mutation",
|
|
13032
13115
|
inputProjection: linkEvidenceToBeliefInput
|
|
13116
|
+
},
|
|
13117
|
+
args: linkEvidenceToBeliefArgs,
|
|
13118
|
+
boundary: {
|
|
13119
|
+
admission: ["signed-evidence", "uuidv7-endpoints"]
|
|
13033
13120
|
}
|
|
13034
13121
|
}),
|
|
13035
13122
|
surfaceContract({
|
|
@@ -13046,7 +13133,8 @@ var evidenceContracts = [
|
|
|
13046
13133
|
functionName: "create",
|
|
13047
13134
|
kind: "mutation",
|
|
13048
13135
|
inputProjection: linkEvidenceToQuestionEdgeInput
|
|
13049
|
-
}
|
|
13136
|
+
},
|
|
13137
|
+
args: linkEvidenceToQuestionArgs
|
|
13050
13138
|
}),
|
|
13051
13139
|
surfaceContract({
|
|
13052
13140
|
name: "link_evidence",
|
|
@@ -13062,8 +13150,9 @@ var evidenceContracts = [
|
|
|
13062
13150
|
functionName: "create",
|
|
13063
13151
|
kind: "mutation",
|
|
13064
13152
|
inputProjection: linkEvidenceToBeliefEdgeInput
|
|
13065
|
-
}
|
|
13153
|
+
},
|
|
13154
|
+
args: linkEvidenceToBeliefArgs
|
|
13066
13155
|
})
|
|
13067
13156
|
];
|
|
13068
13157
|
|
|
13069
|
-
export { evidenceContracts };
|
|
13158
|
+
export { createEvidenceArgs, evidenceContracts, linkEvidenceToBeliefArgs };
|
|
@@ -5,6 +5,7 @@ export declare const graphContracts: readonly [{
|
|
|
5
5
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
6
6
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
7
7
|
invariants: readonly string[] | undefined;
|
|
8
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
8
9
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
9
10
|
domain: string;
|
|
10
11
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -50,6 +51,7 @@ export declare const graphContracts: readonly [{
|
|
|
50
51
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
51
52
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
52
53
|
invariants: readonly string[] | undefined;
|
|
54
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
53
55
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
54
56
|
domain: string;
|
|
55
57
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -95,6 +97,7 @@ export declare const graphContracts: readonly [{
|
|
|
95
97
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
96
98
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
97
99
|
invariants: readonly string[] | undefined;
|
|
100
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
98
101
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
99
102
|
domain: string;
|
|
100
103
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -140,6 +143,7 @@ export declare const graphContracts: readonly [{
|
|
|
140
143
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
141
144
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
142
145
|
invariants: readonly string[] | undefined;
|
|
146
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
143
147
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
144
148
|
domain: string;
|
|
145
149
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -185,6 +189,7 @@ export declare const graphContracts: readonly [{
|
|
|
185
189
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
186
190
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
187
191
|
invariants: readonly string[] | undefined;
|
|
192
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
188
193
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
189
194
|
domain: string;
|
|
190
195
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -230,6 +235,7 @@ export declare const graphContracts: readonly [{
|
|
|
230
235
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
231
236
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
232
237
|
invariants: readonly string[] | undefined;
|
|
238
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
233
239
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
234
240
|
domain: string;
|
|
235
241
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -275,6 +281,7 @@ export declare const graphContracts: readonly [{
|
|
|
275
281
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
276
282
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
277
283
|
invariants: readonly string[] | undefined;
|
|
284
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
278
285
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
279
286
|
domain: string;
|
|
280
287
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -320,6 +327,7 @@ export declare const graphContracts: readonly [{
|
|
|
320
327
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
321
328
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
322
329
|
invariants: readonly string[] | undefined;
|
|
330
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
323
331
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
324
332
|
domain: string;
|
|
325
333
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -365,6 +373,7 @@ export declare const graphContracts: readonly [{
|
|
|
365
373
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
366
374
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
367
375
|
invariants: readonly string[] | undefined;
|
|
376
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
368
377
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
369
378
|
domain: string;
|
|
370
379
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -410,6 +419,7 @@ export declare const graphContracts: readonly [{
|
|
|
410
419
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
411
420
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
412
421
|
invariants: readonly string[] | undefined;
|
|
422
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
413
423
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
414
424
|
domain: string;
|
|
415
425
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -455,6 +465,7 @@ export declare const graphContracts: readonly [{
|
|
|
455
465
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
456
466
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
457
467
|
invariants: readonly string[] | undefined;
|
|
468
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
458
469
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
459
470
|
domain: string;
|
|
460
471
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -500,6 +511,7 @@ export declare const graphContracts: readonly [{
|
|
|
500
511
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
501
512
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
502
513
|
invariants: readonly string[] | undefined;
|
|
514
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
503
515
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
504
516
|
domain: string;
|
|
505
517
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -545,6 +557,7 @@ export declare const graphContracts: readonly [{
|
|
|
545
557
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
546
558
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
547
559
|
invariants: readonly string[] | undefined;
|
|
560
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
548
561
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
549
562
|
domain: string;
|
|
550
563
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -590,6 +603,7 @@ export declare const graphContracts: readonly [{
|
|
|
590
603
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
591
604
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
592
605
|
invariants: readonly string[] | undefined;
|
|
606
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
593
607
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
594
608
|
domain: string;
|
|
595
609
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -635,6 +649,7 @@ export declare const graphContracts: readonly [{
|
|
|
635
649
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
636
650
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
637
651
|
invariants: readonly string[] | undefined;
|
|
652
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
638
653
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
639
654
|
domain: string;
|
|
640
655
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -6226,6 +6226,7 @@ function surfaceContract(args) {
|
|
|
6226
6226
|
idempotent: args.idempotent ?? args.kind !== "query",
|
|
6227
6227
|
effects: resolvedEffects,
|
|
6228
6228
|
invariants: args.invariants,
|
|
6229
|
+
boundary: args.boundary,
|
|
6229
6230
|
surfaceIntent: manifestEntry.surfaceIntent,
|
|
6230
6231
|
domain: args.domain,
|
|
6231
6232
|
surfaceClass: manifestEntry.surfaceClass,
|
|
@@ -61,12 +61,14 @@ export declare function surfaceContract(args: {
|
|
|
61
61
|
output?: z.ZodTypeAny;
|
|
62
62
|
effects?: readonly FunctionEffect[];
|
|
63
63
|
invariants?: readonly string[];
|
|
64
|
+
boundary?: FunctionContract["boundary"];
|
|
64
65
|
}): {
|
|
65
66
|
name: string;
|
|
66
67
|
kind: import("./types.js").FunctionKind;
|
|
67
68
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
68
69
|
effects: readonly FunctionEffect[];
|
|
69
70
|
invariants: readonly string[] | undefined;
|
|
71
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
70
72
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
71
73
|
domain: string;
|
|
72
74
|
surfaceClass: SurfaceClass;
|
|
@@ -6204,6 +6204,7 @@ function surfaceContract(args) {
|
|
|
6204
6204
|
idempotent: args.idempotent ?? args.kind !== "query",
|
|
6205
6205
|
effects: resolvedEffects,
|
|
6206
6206
|
invariants: args.invariants,
|
|
6207
|
+
boundary: args.boundary,
|
|
6207
6208
|
surfaceIntent: manifestEntry.surfaceIntent,
|
|
6208
6209
|
domain: args.domain,
|
|
6209
6210
|
surfaceClass: manifestEntry.surfaceClass,
|
|
@@ -5,6 +5,7 @@ export declare const hybridContracts: readonly [{
|
|
|
5
5
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
6
6
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
7
7
|
invariants: readonly string[] | undefined;
|
|
8
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
8
9
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
9
10
|
domain: string;
|
|
10
11
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -50,6 +51,7 @@ export declare const hybridContracts: readonly [{
|
|
|
50
51
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
51
52
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
52
53
|
invariants: readonly string[] | undefined;
|
|
54
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
53
55
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
54
56
|
domain: string;
|
|
55
57
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -95,6 +97,7 @@ export declare const hybridContracts: readonly [{
|
|
|
95
97
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
96
98
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
97
99
|
invariants: readonly string[] | undefined;
|
|
100
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
98
101
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
99
102
|
domain: string;
|
|
100
103
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -140,6 +143,7 @@ export declare const hybridContracts: readonly [{
|
|
|
140
143
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
141
144
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
142
145
|
invariants: readonly string[] | undefined;
|
|
146
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
143
147
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
144
148
|
domain: string;
|
|
145
149
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -185,6 +189,7 @@ export declare const hybridContracts: readonly [{
|
|
|
185
189
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
186
190
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
187
191
|
invariants: readonly string[] | undefined;
|
|
192
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
188
193
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
189
194
|
domain: string;
|
|
190
195
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -230,6 +235,7 @@ export declare const hybridContracts: readonly [{
|
|
|
230
235
|
idempotent: import("./types.js").FunctionIdempotency;
|
|
231
236
|
effects: readonly import("../dsl.js").FunctionEffect[];
|
|
232
237
|
invariants: readonly string[] | undefined;
|
|
238
|
+
boundary: import("./types.js").BoundarySpec | undefined;
|
|
233
239
|
surfaceIntent: import("./types.js").FunctionSurfaceIntent;
|
|
234
240
|
domain: string;
|
|
235
241
|
surfaceClass: import("./types.js").SurfaceClass;
|
|
@@ -6144,6 +6144,7 @@ function surfaceContract(args) {
|
|
|
6144
6144
|
idempotent: args.idempotent ?? args.kind !== "query",
|
|
6145
6145
|
effects: resolvedEffects,
|
|
6146
6146
|
invariants: args.invariants,
|
|
6147
|
+
boundary: args.boundary,
|
|
6147
6148
|
surfaceIntent: manifestEntry.surfaceIntent,
|
|
6148
6149
|
domain: args.domain,
|
|
6149
6150
|
surfaceClass: manifestEntry.surfaceClass,
|