@vorionsys/atsf-core 0.3.1 → 0.4.1
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/dist/basis/parser.d.ts +46 -46
- package/dist/common/config.d.ts +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/paramesphere/paramesphere-engine.d.ts +27 -1
- package/dist/paramesphere/paramesphere-engine.d.ts.map +1 -1
- package/dist/paramesphere/paramesphere-engine.js +82 -1
- package/dist/paramesphere/paramesphere-engine.js.map +1 -1
- package/dist/phase6/provenance.d.ts +2 -2
- package/dist/phase6/provenance.js +2 -2
- package/dist/phase6/types.d.ts +168 -168
- package/dist/trust-engine/index.d.ts +31 -2
- package/dist/trust-engine/index.d.ts.map +1 -1
- package/dist/trust-engine/index.js +74 -4
- package/dist/trust-engine/index.js.map +1 -1
- package/dist/trust-engine/scheduled-verifier.d.ts +127 -0
- package/dist/trust-engine/scheduled-verifier.d.ts.map +1 -0
- package/dist/trust-engine/scheduled-verifier.js +257 -0
- package/dist/trust-engine/scheduled-verifier.js.map +1 -0
- package/package.json +140 -140
package/dist/phase6/types.d.ts
CHANGED
|
@@ -99,22 +99,22 @@ export declare const deploymentContextSchema: z.ZodObject<{
|
|
|
99
99
|
deployedBy: z.ZodString;
|
|
100
100
|
immutable: z.ZodLiteral<true>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
103
102
|
deploymentId?: string;
|
|
103
|
+
deploymentHash?: string;
|
|
104
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
104
105
|
maxAllowedTier?: TrustTier;
|
|
105
106
|
allowedContextTypes?: ContextType[];
|
|
106
107
|
deployedAt?: Date;
|
|
107
108
|
deployedBy?: string;
|
|
108
|
-
deploymentHash?: string;
|
|
109
109
|
immutable?: true;
|
|
110
110
|
}, {
|
|
111
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
112
111
|
deploymentId?: string;
|
|
112
|
+
deploymentHash?: string;
|
|
113
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
113
114
|
maxAllowedTier?: TrustTier;
|
|
114
115
|
allowedContextTypes?: ContextType[];
|
|
115
116
|
deployedAt?: Date;
|
|
116
117
|
deployedBy?: string;
|
|
117
|
-
deploymentHash?: string;
|
|
118
118
|
immutable?: true;
|
|
119
119
|
}>;
|
|
120
120
|
/**
|
|
@@ -150,22 +150,22 @@ export declare const organizationalContextSchema: z.ZodObject<{
|
|
|
150
150
|
deployedBy: z.ZodString;
|
|
151
151
|
immutable: z.ZodLiteral<true>;
|
|
152
152
|
}, "strip", z.ZodTypeAny, {
|
|
153
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
154
153
|
deploymentId?: string;
|
|
154
|
+
deploymentHash?: string;
|
|
155
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
155
156
|
maxAllowedTier?: TrustTier;
|
|
156
157
|
allowedContextTypes?: ContextType[];
|
|
157
158
|
deployedAt?: Date;
|
|
158
159
|
deployedBy?: string;
|
|
159
|
-
deploymentHash?: string;
|
|
160
160
|
immutable?: true;
|
|
161
161
|
}, {
|
|
162
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
163
162
|
deploymentId?: string;
|
|
163
|
+
deploymentHash?: string;
|
|
164
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
164
165
|
maxAllowedTier?: TrustTier;
|
|
165
166
|
allowedContextTypes?: ContextType[];
|
|
166
167
|
deployedAt?: Date;
|
|
167
168
|
deployedBy?: string;
|
|
168
|
-
deploymentHash?: string;
|
|
169
169
|
immutable?: true;
|
|
170
170
|
}>;
|
|
171
171
|
lockedAt: z.ZodOptional<z.ZodDate>;
|
|
@@ -180,55 +180,55 @@ export declare const organizationalContextSchema: z.ZodObject<{
|
|
|
180
180
|
deniedDomains?: string[];
|
|
181
181
|
requiredAttestations?: string[];
|
|
182
182
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
183
|
-
auditLevel?: "
|
|
183
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
184
184
|
}, {
|
|
185
185
|
maxTrustTier?: TrustTier;
|
|
186
186
|
deniedDomains?: string[];
|
|
187
187
|
requiredAttestations?: string[];
|
|
188
188
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
189
|
-
auditLevel?: "
|
|
189
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
190
190
|
}>;
|
|
191
191
|
orgHash: z.ZodString;
|
|
192
192
|
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
tenantId?: string;
|
|
193
194
|
constraints?: {
|
|
194
195
|
maxTrustTier?: TrustTier;
|
|
195
196
|
deniedDomains?: string[];
|
|
196
197
|
requiredAttestations?: string[];
|
|
197
198
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
198
|
-
auditLevel?: "
|
|
199
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
199
200
|
};
|
|
200
|
-
tenantId?: string;
|
|
201
201
|
orgId?: string;
|
|
202
202
|
parentDeployment?: {
|
|
203
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
204
203
|
deploymentId?: string;
|
|
204
|
+
deploymentHash?: string;
|
|
205
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
205
206
|
maxAllowedTier?: TrustTier;
|
|
206
207
|
allowedContextTypes?: ContextType[];
|
|
207
208
|
deployedAt?: Date;
|
|
208
209
|
deployedBy?: string;
|
|
209
|
-
deploymentHash?: string;
|
|
210
210
|
immutable?: true;
|
|
211
211
|
};
|
|
212
212
|
lockedAt?: Date;
|
|
213
213
|
orgHash?: string;
|
|
214
214
|
}, {
|
|
215
|
+
tenantId?: string;
|
|
215
216
|
constraints?: {
|
|
216
217
|
maxTrustTier?: TrustTier;
|
|
217
218
|
deniedDomains?: string[];
|
|
218
219
|
requiredAttestations?: string[];
|
|
219
220
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
220
|
-
auditLevel?: "
|
|
221
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
221
222
|
};
|
|
222
|
-
tenantId?: string;
|
|
223
223
|
orgId?: string;
|
|
224
224
|
parentDeployment?: {
|
|
225
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
226
225
|
deploymentId?: string;
|
|
226
|
+
deploymentHash?: string;
|
|
227
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
227
228
|
maxAllowedTier?: TrustTier;
|
|
228
229
|
allowedContextTypes?: ContextType[];
|
|
229
230
|
deployedAt?: Date;
|
|
230
231
|
deployedBy?: string;
|
|
231
|
-
deploymentHash?: string;
|
|
232
232
|
immutable?: true;
|
|
233
233
|
};
|
|
234
234
|
lockedAt?: Date;
|
|
@@ -262,22 +262,22 @@ export declare const agentContextSchema: z.ZodObject<{
|
|
|
262
262
|
deployedBy: z.ZodString;
|
|
263
263
|
immutable: z.ZodLiteral<true>;
|
|
264
264
|
}, "strip", z.ZodTypeAny, {
|
|
265
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
266
265
|
deploymentId?: string;
|
|
266
|
+
deploymentHash?: string;
|
|
267
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
267
268
|
maxAllowedTier?: TrustTier;
|
|
268
269
|
allowedContextTypes?: ContextType[];
|
|
269
270
|
deployedAt?: Date;
|
|
270
271
|
deployedBy?: string;
|
|
271
|
-
deploymentHash?: string;
|
|
272
272
|
immutable?: true;
|
|
273
273
|
}, {
|
|
274
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
275
274
|
deploymentId?: string;
|
|
275
|
+
deploymentHash?: string;
|
|
276
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
276
277
|
maxAllowedTier?: TrustTier;
|
|
277
278
|
allowedContextTypes?: ContextType[];
|
|
278
279
|
deployedAt?: Date;
|
|
279
280
|
deployedBy?: string;
|
|
280
|
-
deploymentHash?: string;
|
|
281
281
|
immutable?: true;
|
|
282
282
|
}>;
|
|
283
283
|
lockedAt: z.ZodOptional<z.ZodDate>;
|
|
@@ -292,55 +292,55 @@ export declare const agentContextSchema: z.ZodObject<{
|
|
|
292
292
|
deniedDomains?: string[];
|
|
293
293
|
requiredAttestations?: string[];
|
|
294
294
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
295
|
-
auditLevel?: "
|
|
295
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
296
296
|
}, {
|
|
297
297
|
maxTrustTier?: TrustTier;
|
|
298
298
|
deniedDomains?: string[];
|
|
299
299
|
requiredAttestations?: string[];
|
|
300
300
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
301
|
-
auditLevel?: "
|
|
301
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
302
302
|
}>;
|
|
303
303
|
orgHash: z.ZodString;
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
|
+
tenantId?: string;
|
|
305
306
|
constraints?: {
|
|
306
307
|
maxTrustTier?: TrustTier;
|
|
307
308
|
deniedDomains?: string[];
|
|
308
309
|
requiredAttestations?: string[];
|
|
309
310
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
310
|
-
auditLevel?: "
|
|
311
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
311
312
|
};
|
|
312
|
-
tenantId?: string;
|
|
313
313
|
orgId?: string;
|
|
314
314
|
parentDeployment?: {
|
|
315
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
316
315
|
deploymentId?: string;
|
|
316
|
+
deploymentHash?: string;
|
|
317
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
317
318
|
maxAllowedTier?: TrustTier;
|
|
318
319
|
allowedContextTypes?: ContextType[];
|
|
319
320
|
deployedAt?: Date;
|
|
320
321
|
deployedBy?: string;
|
|
321
|
-
deploymentHash?: string;
|
|
322
322
|
immutable?: true;
|
|
323
323
|
};
|
|
324
324
|
lockedAt?: Date;
|
|
325
325
|
orgHash?: string;
|
|
326
326
|
}, {
|
|
327
|
+
tenantId?: string;
|
|
327
328
|
constraints?: {
|
|
328
329
|
maxTrustTier?: TrustTier;
|
|
329
330
|
deniedDomains?: string[];
|
|
330
331
|
requiredAttestations?: string[];
|
|
331
332
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
332
|
-
auditLevel?: "
|
|
333
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
333
334
|
};
|
|
334
|
-
tenantId?: string;
|
|
335
335
|
orgId?: string;
|
|
336
336
|
parentDeployment?: {
|
|
337
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
338
337
|
deploymentId?: string;
|
|
338
|
+
deploymentHash?: string;
|
|
339
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
339
340
|
maxAllowedTier?: TrustTier;
|
|
340
341
|
allowedContextTypes?: ContextType[];
|
|
341
342
|
deployedAt?: Date;
|
|
342
343
|
deployedBy?: string;
|
|
343
|
-
deploymentHash?: string;
|
|
344
344
|
immutable?: true;
|
|
345
345
|
};
|
|
346
346
|
lockedAt?: Date;
|
|
@@ -352,61 +352,61 @@ export declare const agentContextSchema: z.ZodObject<{
|
|
|
352
352
|
contextHash: z.ZodString;
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
354
|
agentId?: string;
|
|
355
|
-
contextType?: ContextType;
|
|
356
355
|
createdAt?: Date;
|
|
357
|
-
createdBy?: string;
|
|
358
356
|
parentOrg?: {
|
|
357
|
+
tenantId?: string;
|
|
359
358
|
constraints?: {
|
|
360
359
|
maxTrustTier?: TrustTier;
|
|
361
360
|
deniedDomains?: string[];
|
|
362
361
|
requiredAttestations?: string[];
|
|
363
362
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
364
|
-
auditLevel?: "
|
|
363
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
365
364
|
};
|
|
366
|
-
tenantId?: string;
|
|
367
365
|
orgId?: string;
|
|
368
366
|
parentDeployment?: {
|
|
369
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
370
367
|
deploymentId?: string;
|
|
368
|
+
deploymentHash?: string;
|
|
369
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
371
370
|
maxAllowedTier?: TrustTier;
|
|
372
371
|
allowedContextTypes?: ContextType[];
|
|
373
372
|
deployedAt?: Date;
|
|
374
373
|
deployedBy?: string;
|
|
375
|
-
deploymentHash?: string;
|
|
376
374
|
immutable?: true;
|
|
377
375
|
};
|
|
378
376
|
lockedAt?: Date;
|
|
379
377
|
orgHash?: string;
|
|
380
378
|
};
|
|
379
|
+
contextType?: ContextType;
|
|
380
|
+
createdBy?: string;
|
|
381
381
|
contextHash?: string;
|
|
382
382
|
}, {
|
|
383
383
|
agentId?: string;
|
|
384
|
-
contextType?: ContextType;
|
|
385
384
|
createdAt?: Date;
|
|
386
|
-
createdBy?: string;
|
|
387
385
|
parentOrg?: {
|
|
386
|
+
tenantId?: string;
|
|
388
387
|
constraints?: {
|
|
389
388
|
maxTrustTier?: TrustTier;
|
|
390
389
|
deniedDomains?: string[];
|
|
391
390
|
requiredAttestations?: string[];
|
|
392
391
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
393
|
-
auditLevel?: "
|
|
392
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
394
393
|
};
|
|
395
|
-
tenantId?: string;
|
|
396
394
|
orgId?: string;
|
|
397
395
|
parentDeployment?: {
|
|
398
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
399
396
|
deploymentId?: string;
|
|
397
|
+
deploymentHash?: string;
|
|
398
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
400
399
|
maxAllowedTier?: TrustTier;
|
|
401
400
|
allowedContextTypes?: ContextType[];
|
|
402
401
|
deployedAt?: Date;
|
|
403
402
|
deployedBy?: string;
|
|
404
|
-
deploymentHash?: string;
|
|
405
403
|
immutable?: true;
|
|
406
404
|
};
|
|
407
405
|
lockedAt?: Date;
|
|
408
406
|
orgHash?: string;
|
|
409
407
|
};
|
|
408
|
+
contextType?: ContextType;
|
|
409
|
+
createdBy?: string;
|
|
410
410
|
contextHash?: string;
|
|
411
411
|
}>;
|
|
412
412
|
/**
|
|
@@ -440,22 +440,22 @@ export declare const operationContextSchema: z.ZodObject<{
|
|
|
440
440
|
deployedBy: z.ZodString;
|
|
441
441
|
immutable: z.ZodLiteral<true>;
|
|
442
442
|
}, "strip", z.ZodTypeAny, {
|
|
443
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
444
443
|
deploymentId?: string;
|
|
444
|
+
deploymentHash?: string;
|
|
445
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
445
446
|
maxAllowedTier?: TrustTier;
|
|
446
447
|
allowedContextTypes?: ContextType[];
|
|
447
448
|
deployedAt?: Date;
|
|
448
449
|
deployedBy?: string;
|
|
449
|
-
deploymentHash?: string;
|
|
450
450
|
immutable?: true;
|
|
451
451
|
}, {
|
|
452
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
453
452
|
deploymentId?: string;
|
|
453
|
+
deploymentHash?: string;
|
|
454
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
454
455
|
maxAllowedTier?: TrustTier;
|
|
455
456
|
allowedContextTypes?: ContextType[];
|
|
456
457
|
deployedAt?: Date;
|
|
457
458
|
deployedBy?: string;
|
|
458
|
-
deploymentHash?: string;
|
|
459
459
|
immutable?: true;
|
|
460
460
|
}>;
|
|
461
461
|
lockedAt: z.ZodOptional<z.ZodDate>;
|
|
@@ -470,55 +470,55 @@ export declare const operationContextSchema: z.ZodObject<{
|
|
|
470
470
|
deniedDomains?: string[];
|
|
471
471
|
requiredAttestations?: string[];
|
|
472
472
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
473
|
-
auditLevel?: "
|
|
473
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
474
474
|
}, {
|
|
475
475
|
maxTrustTier?: TrustTier;
|
|
476
476
|
deniedDomains?: string[];
|
|
477
477
|
requiredAttestations?: string[];
|
|
478
478
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
479
|
-
auditLevel?: "
|
|
479
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
480
480
|
}>;
|
|
481
481
|
orgHash: z.ZodString;
|
|
482
482
|
}, "strip", z.ZodTypeAny, {
|
|
483
|
+
tenantId?: string;
|
|
483
484
|
constraints?: {
|
|
484
485
|
maxTrustTier?: TrustTier;
|
|
485
486
|
deniedDomains?: string[];
|
|
486
487
|
requiredAttestations?: string[];
|
|
487
488
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
488
|
-
auditLevel?: "
|
|
489
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
489
490
|
};
|
|
490
|
-
tenantId?: string;
|
|
491
491
|
orgId?: string;
|
|
492
492
|
parentDeployment?: {
|
|
493
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
494
493
|
deploymentId?: string;
|
|
494
|
+
deploymentHash?: string;
|
|
495
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
495
496
|
maxAllowedTier?: TrustTier;
|
|
496
497
|
allowedContextTypes?: ContextType[];
|
|
497
498
|
deployedAt?: Date;
|
|
498
499
|
deployedBy?: string;
|
|
499
|
-
deploymentHash?: string;
|
|
500
500
|
immutable?: true;
|
|
501
501
|
};
|
|
502
502
|
lockedAt?: Date;
|
|
503
503
|
orgHash?: string;
|
|
504
504
|
}, {
|
|
505
|
+
tenantId?: string;
|
|
505
506
|
constraints?: {
|
|
506
507
|
maxTrustTier?: TrustTier;
|
|
507
508
|
deniedDomains?: string[];
|
|
508
509
|
requiredAttestations?: string[];
|
|
509
510
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
510
|
-
auditLevel?: "
|
|
511
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
511
512
|
};
|
|
512
|
-
tenantId?: string;
|
|
513
513
|
orgId?: string;
|
|
514
514
|
parentDeployment?: {
|
|
515
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
516
515
|
deploymentId?: string;
|
|
516
|
+
deploymentHash?: string;
|
|
517
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
517
518
|
maxAllowedTier?: TrustTier;
|
|
518
519
|
allowedContextTypes?: ContextType[];
|
|
519
520
|
deployedAt?: Date;
|
|
520
521
|
deployedBy?: string;
|
|
521
|
-
deploymentHash?: string;
|
|
522
522
|
immutable?: true;
|
|
523
523
|
};
|
|
524
524
|
lockedAt?: Date;
|
|
@@ -530,61 +530,61 @@ export declare const operationContextSchema: z.ZodObject<{
|
|
|
530
530
|
contextHash: z.ZodString;
|
|
531
531
|
}, "strip", z.ZodTypeAny, {
|
|
532
532
|
agentId?: string;
|
|
533
|
-
contextType?: ContextType;
|
|
534
533
|
createdAt?: Date;
|
|
535
|
-
createdBy?: string;
|
|
536
534
|
parentOrg?: {
|
|
535
|
+
tenantId?: string;
|
|
537
536
|
constraints?: {
|
|
538
537
|
maxTrustTier?: TrustTier;
|
|
539
538
|
deniedDomains?: string[];
|
|
540
539
|
requiredAttestations?: string[];
|
|
541
540
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
542
|
-
auditLevel?: "
|
|
541
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
543
542
|
};
|
|
544
|
-
tenantId?: string;
|
|
545
543
|
orgId?: string;
|
|
546
544
|
parentDeployment?: {
|
|
547
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
548
545
|
deploymentId?: string;
|
|
546
|
+
deploymentHash?: string;
|
|
547
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
549
548
|
maxAllowedTier?: TrustTier;
|
|
550
549
|
allowedContextTypes?: ContextType[];
|
|
551
550
|
deployedAt?: Date;
|
|
552
551
|
deployedBy?: string;
|
|
553
|
-
deploymentHash?: string;
|
|
554
552
|
immutable?: true;
|
|
555
553
|
};
|
|
556
554
|
lockedAt?: Date;
|
|
557
555
|
orgHash?: string;
|
|
558
556
|
};
|
|
557
|
+
contextType?: ContextType;
|
|
558
|
+
createdBy?: string;
|
|
559
559
|
contextHash?: string;
|
|
560
560
|
}, {
|
|
561
561
|
agentId?: string;
|
|
562
|
-
contextType?: ContextType;
|
|
563
562
|
createdAt?: Date;
|
|
564
|
-
createdBy?: string;
|
|
565
563
|
parentOrg?: {
|
|
564
|
+
tenantId?: string;
|
|
566
565
|
constraints?: {
|
|
567
566
|
maxTrustTier?: TrustTier;
|
|
568
567
|
deniedDomains?: string[];
|
|
569
568
|
requiredAttestations?: string[];
|
|
570
569
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
571
|
-
auditLevel?: "
|
|
570
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
572
571
|
};
|
|
573
|
-
tenantId?: string;
|
|
574
572
|
orgId?: string;
|
|
575
573
|
parentDeployment?: {
|
|
576
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
577
574
|
deploymentId?: string;
|
|
575
|
+
deploymentHash?: string;
|
|
576
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
578
577
|
maxAllowedTier?: TrustTier;
|
|
579
578
|
allowedContextTypes?: ContextType[];
|
|
580
579
|
deployedAt?: Date;
|
|
581
580
|
deployedBy?: string;
|
|
582
|
-
deploymentHash?: string;
|
|
583
581
|
immutable?: true;
|
|
584
582
|
};
|
|
585
583
|
lockedAt?: Date;
|
|
586
584
|
orgHash?: string;
|
|
587
585
|
};
|
|
586
|
+
contextType?: ContextType;
|
|
587
|
+
createdBy?: string;
|
|
588
588
|
contextHash?: string;
|
|
589
589
|
}>;
|
|
590
590
|
requestMetadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -593,75 +593,75 @@ export declare const operationContextSchema: z.ZodObject<{
|
|
|
593
593
|
expiresAt: z.ZodDate;
|
|
594
594
|
ephemeral: z.ZodLiteral<true>;
|
|
595
595
|
}, "strip", z.ZodTypeAny, {
|
|
596
|
-
expiresAt?: Date;
|
|
597
|
-
startedAt?: Date;
|
|
598
596
|
correlationId?: string;
|
|
597
|
+
startedAt?: Date;
|
|
598
|
+
expiresAt?: Date;
|
|
599
599
|
operationId?: string;
|
|
600
600
|
parentAgent?: {
|
|
601
601
|
agentId?: string;
|
|
602
|
-
contextType?: ContextType;
|
|
603
602
|
createdAt?: Date;
|
|
604
|
-
createdBy?: string;
|
|
605
603
|
parentOrg?: {
|
|
604
|
+
tenantId?: string;
|
|
606
605
|
constraints?: {
|
|
607
606
|
maxTrustTier?: TrustTier;
|
|
608
607
|
deniedDomains?: string[];
|
|
609
608
|
requiredAttestations?: string[];
|
|
610
609
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
611
|
-
auditLevel?: "
|
|
610
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
612
611
|
};
|
|
613
|
-
tenantId?: string;
|
|
614
612
|
orgId?: string;
|
|
615
613
|
parentDeployment?: {
|
|
616
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
617
614
|
deploymentId?: string;
|
|
615
|
+
deploymentHash?: string;
|
|
616
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
618
617
|
maxAllowedTier?: TrustTier;
|
|
619
618
|
allowedContextTypes?: ContextType[];
|
|
620
619
|
deployedAt?: Date;
|
|
621
620
|
deployedBy?: string;
|
|
622
|
-
deploymentHash?: string;
|
|
623
621
|
immutable?: true;
|
|
624
622
|
};
|
|
625
623
|
lockedAt?: Date;
|
|
626
624
|
orgHash?: string;
|
|
627
625
|
};
|
|
626
|
+
contextType?: ContextType;
|
|
627
|
+
createdBy?: string;
|
|
628
628
|
contextHash?: string;
|
|
629
629
|
};
|
|
630
630
|
requestMetadata?: Record<string, unknown>;
|
|
631
631
|
ephemeral?: true;
|
|
632
632
|
}, {
|
|
633
|
-
expiresAt?: Date;
|
|
634
|
-
startedAt?: Date;
|
|
635
633
|
correlationId?: string;
|
|
634
|
+
startedAt?: Date;
|
|
635
|
+
expiresAt?: Date;
|
|
636
636
|
operationId?: string;
|
|
637
637
|
parentAgent?: {
|
|
638
638
|
agentId?: string;
|
|
639
|
-
contextType?: ContextType;
|
|
640
639
|
createdAt?: Date;
|
|
641
|
-
createdBy?: string;
|
|
642
640
|
parentOrg?: {
|
|
641
|
+
tenantId?: string;
|
|
643
642
|
constraints?: {
|
|
644
643
|
maxTrustTier?: TrustTier;
|
|
645
644
|
deniedDomains?: string[];
|
|
646
645
|
requiredAttestations?: string[];
|
|
647
646
|
dataClassification?: "internal" | "public" | "confidential" | "restricted";
|
|
648
|
-
auditLevel?: "
|
|
647
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
649
648
|
};
|
|
650
|
-
tenantId?: string;
|
|
651
649
|
orgId?: string;
|
|
652
650
|
parentDeployment?: {
|
|
653
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
654
651
|
deploymentId?: string;
|
|
652
|
+
deploymentHash?: string;
|
|
653
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
655
654
|
maxAllowedTier?: TrustTier;
|
|
656
655
|
allowedContextTypes?: ContextType[];
|
|
657
656
|
deployedAt?: Date;
|
|
658
657
|
deployedBy?: string;
|
|
659
|
-
deploymentHash?: string;
|
|
660
658
|
immutable?: true;
|
|
661
659
|
};
|
|
662
660
|
lockedAt?: Date;
|
|
663
661
|
orgHash?: string;
|
|
664
662
|
};
|
|
663
|
+
contextType?: ContextType;
|
|
664
|
+
createdBy?: string;
|
|
665
665
|
contextHash?: string;
|
|
666
666
|
};
|
|
667
667
|
requestMetadata?: Record<string, unknown>;
|
|
@@ -810,7 +810,6 @@ export declare const trustPresetSchema: z.ZodObject<{
|
|
|
810
810
|
source?: "vorion" | "axiom" | "car";
|
|
811
811
|
createdAt?: Date;
|
|
812
812
|
createdBy?: string;
|
|
813
|
-
presetHash?: string;
|
|
814
813
|
presetId?: string;
|
|
815
814
|
weights?: {
|
|
816
815
|
context?: number;
|
|
@@ -828,6 +827,7 @@ export declare const trustPresetSchema: z.ZodObject<{
|
|
|
828
827
|
observability?: number;
|
|
829
828
|
behavior?: number;
|
|
830
829
|
};
|
|
830
|
+
presetHash?: string;
|
|
831
831
|
comment?: string;
|
|
832
832
|
}, {
|
|
833
833
|
name?: string;
|
|
@@ -836,7 +836,6 @@ export declare const trustPresetSchema: z.ZodObject<{
|
|
|
836
836
|
source?: "vorion" | "axiom" | "car";
|
|
837
837
|
createdAt?: Date;
|
|
838
838
|
createdBy?: string;
|
|
839
|
-
presetHash?: string;
|
|
840
839
|
presetId?: string;
|
|
841
840
|
weights?: {
|
|
842
841
|
context?: number;
|
|
@@ -854,6 +853,7 @@ export declare const trustPresetSchema: z.ZodObject<{
|
|
|
854
853
|
observability?: number;
|
|
855
854
|
behavior?: number;
|
|
856
855
|
};
|
|
856
|
+
presetHash?: string;
|
|
857
857
|
comment?: string;
|
|
858
858
|
}>;
|
|
859
859
|
/**
|
|
@@ -875,18 +875,18 @@ export declare const presetLineageSchema: z.ZodObject<{
|
|
|
875
875
|
verifiedAt: z.ZodOptional<z.ZodDate>;
|
|
876
876
|
verifiedBy: z.ZodOptional<z.ZodString>;
|
|
877
877
|
}, "strip", z.ZodTypeAny, {
|
|
878
|
-
|
|
878
|
+
verifiedAt?: Date;
|
|
879
879
|
chain?: string[];
|
|
880
|
+
leafPresetId?: string;
|
|
880
881
|
hashes?: string[];
|
|
881
882
|
verified?: boolean;
|
|
882
|
-
verifiedAt?: Date;
|
|
883
883
|
verifiedBy?: string;
|
|
884
884
|
}, {
|
|
885
|
-
|
|
885
|
+
verifiedAt?: Date;
|
|
886
886
|
chain?: string[];
|
|
887
|
+
leafPresetId?: string;
|
|
887
888
|
hashes?: string[];
|
|
888
889
|
verified?: boolean;
|
|
889
|
-
verifiedAt?: Date;
|
|
890
890
|
verifiedBy?: string;
|
|
891
891
|
}>;
|
|
892
892
|
/**
|
|
@@ -912,19 +912,19 @@ export declare const agentProvenanceSchema: z.ZodObject<{
|
|
|
912
912
|
}, "strip", z.ZodTypeAny, {
|
|
913
913
|
agentId?: string;
|
|
914
914
|
createdAt?: Date;
|
|
915
|
+
provenanceHash?: string;
|
|
915
916
|
createdBy?: string;
|
|
916
917
|
creationType?: CreationType;
|
|
917
918
|
parentAgentId?: string;
|
|
918
919
|
parentProvenanceHash?: string;
|
|
919
|
-
provenanceHash?: string;
|
|
920
920
|
}, {
|
|
921
921
|
agentId?: string;
|
|
922
922
|
createdAt?: Date;
|
|
923
|
+
provenanceHash?: string;
|
|
923
924
|
createdBy?: string;
|
|
924
925
|
creationType?: CreationType;
|
|
925
926
|
parentAgentId?: string;
|
|
926
927
|
parentProvenanceHash?: string;
|
|
927
|
-
provenanceHash?: string;
|
|
928
928
|
}>;
|
|
929
929
|
/**
|
|
930
930
|
* Creation modifier policy (MUTABLE - can evolve independently)
|
|
@@ -1059,8 +1059,8 @@ export declare const modifierEvaluationRecordSchema: z.ZodObject<{
|
|
|
1059
1059
|
evaluatedAt: z.ZodDate;
|
|
1060
1060
|
evaluationHash: z.ZodString;
|
|
1061
1061
|
}, "strip", z.ZodTypeAny, {
|
|
1062
|
-
agentId?: string;
|
|
1063
1062
|
evaluatedAt?: Date;
|
|
1063
|
+
agentId?: string;
|
|
1064
1064
|
policyId?: string;
|
|
1065
1065
|
provenanceHash?: string;
|
|
1066
1066
|
evaluationId?: string;
|
|
@@ -1069,8 +1069,8 @@ export declare const modifierEvaluationRecordSchema: z.ZodObject<{
|
|
|
1069
1069
|
conditionsMatched?: string[];
|
|
1070
1070
|
evaluationHash?: string;
|
|
1071
1071
|
}, {
|
|
1072
|
-
agentId?: string;
|
|
1073
1072
|
evaluatedAt?: Date;
|
|
1073
|
+
agentId?: string;
|
|
1074
1074
|
policyId?: string;
|
|
1075
1075
|
provenanceHash?: string;
|
|
1076
1076
|
evaluationId?: string;
|
|
@@ -1122,11 +1122,11 @@ export declare const trustComputationEventSchema: z.ZodObject<{
|
|
|
1122
1122
|
constraint: z.ZodString;
|
|
1123
1123
|
}, "strip", z.ZodTypeAny, {
|
|
1124
1124
|
value?: number;
|
|
1125
|
-
type?: "context" | "
|
|
1125
|
+
type?: "context" | "deployment" | "organizational" | "attestation";
|
|
1126
1126
|
constraint?: string;
|
|
1127
1127
|
}, {
|
|
1128
1128
|
value?: number;
|
|
1129
|
-
type?: "context" | "
|
|
1129
|
+
type?: "context" | "deployment" | "organizational" | "attestation";
|
|
1130
1130
|
constraint?: string;
|
|
1131
1131
|
}>>;
|
|
1132
1132
|
enforcementLayer: z.ZodEnum<["kernel", "policy", "regulatory"]>;
|
|
@@ -1141,20 +1141,20 @@ export declare const trustComputationEventSchema: z.ZodObject<{
|
|
|
1141
1141
|
}, "strip", z.ZodTypeAny, {
|
|
1142
1142
|
timestamp?: Date;
|
|
1143
1143
|
agentId?: string;
|
|
1144
|
-
eventId?: string;
|
|
1145
1144
|
rawScore?: number;
|
|
1145
|
+
contextType?: ContextType;
|
|
1146
|
+
eventId?: string;
|
|
1146
1147
|
clampedScore?: number;
|
|
1147
1148
|
ceilingApplied?: boolean;
|
|
1148
1149
|
ceilingSource?: {
|
|
1149
1150
|
value?: number;
|
|
1150
|
-
type?: "context" | "
|
|
1151
|
+
type?: "context" | "deployment" | "organizational" | "attestation";
|
|
1151
1152
|
constraint?: string;
|
|
1152
1153
|
};
|
|
1153
1154
|
enforcementLayer?: "policy" | "kernel" | "regulatory";
|
|
1154
1155
|
kernelValidated?: boolean;
|
|
1155
1156
|
policyValidated?: boolean;
|
|
1156
1157
|
regulatoryLogged?: boolean;
|
|
1157
|
-
contextType?: ContextType;
|
|
1158
1158
|
contextCeiling?: number;
|
|
1159
1159
|
effectiveTier?: TrustTier;
|
|
1160
1160
|
eventHash?: string;
|
|
@@ -1162,20 +1162,20 @@ export declare const trustComputationEventSchema: z.ZodObject<{
|
|
|
1162
1162
|
}, {
|
|
1163
1163
|
timestamp?: Date;
|
|
1164
1164
|
agentId?: string;
|
|
1165
|
-
eventId?: string;
|
|
1166
1165
|
rawScore?: number;
|
|
1166
|
+
contextType?: ContextType;
|
|
1167
|
+
eventId?: string;
|
|
1167
1168
|
clampedScore?: number;
|
|
1168
1169
|
ceilingApplied?: boolean;
|
|
1169
1170
|
ceilingSource?: {
|
|
1170
1171
|
value?: number;
|
|
1171
|
-
type?: "context" | "
|
|
1172
|
+
type?: "context" | "deployment" | "organizational" | "attestation";
|
|
1172
1173
|
constraint?: string;
|
|
1173
1174
|
};
|
|
1174
1175
|
enforcementLayer?: "policy" | "kernel" | "regulatory";
|
|
1175
1176
|
kernelValidated?: boolean;
|
|
1176
1177
|
policyValidated?: boolean;
|
|
1177
1178
|
regulatoryLogged?: boolean;
|
|
1178
|
-
contextType?: ContextType;
|
|
1179
1179
|
contextCeiling?: number;
|
|
1180
1180
|
effectiveTier?: TrustTier;
|
|
1181
1181
|
eventHash?: string;
|
|
@@ -1223,14 +1223,14 @@ export declare const regulatoryAuditEntrySchema: z.ZodObject<{
|
|
|
1223
1223
|
timestamp?: Date;
|
|
1224
1224
|
agentId?: string;
|
|
1225
1225
|
rawScore?: number;
|
|
1226
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
1226
1227
|
clampedScore?: number;
|
|
1227
|
-
complianceStatus?: "violation" | "warning" | "compliant";
|
|
1228
1228
|
entryId?: string;
|
|
1229
1229
|
variance?: number;
|
|
1230
1230
|
varianceAnomaly?: boolean;
|
|
1231
1231
|
frequencyAnomaly?: boolean;
|
|
1232
1232
|
patternAnomaly?: boolean;
|
|
1233
|
-
|
|
1233
|
+
complianceStatus?: "warning" | "compliant" | "violation";
|
|
1234
1234
|
retentionRequired?: boolean;
|
|
1235
1235
|
retentionUntil?: Date;
|
|
1236
1236
|
entryHash?: string;
|
|
@@ -1240,14 +1240,14 @@ export declare const regulatoryAuditEntrySchema: z.ZodObject<{
|
|
|
1240
1240
|
timestamp?: Date;
|
|
1241
1241
|
agentId?: string;
|
|
1242
1242
|
rawScore?: number;
|
|
1243
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
1243
1244
|
clampedScore?: number;
|
|
1244
|
-
complianceStatus?: "violation" | "warning" | "compliant";
|
|
1245
1245
|
entryId?: string;
|
|
1246
1246
|
variance?: number;
|
|
1247
1247
|
varianceAnomaly?: boolean;
|
|
1248
1248
|
frequencyAnomaly?: boolean;
|
|
1249
1249
|
patternAnomaly?: boolean;
|
|
1250
|
-
|
|
1250
|
+
complianceStatus?: "warning" | "compliant" | "violation";
|
|
1251
1251
|
retentionRequired?: boolean;
|
|
1252
1252
|
retentionUntil?: Date;
|
|
1253
1253
|
entryHash?: string;
|
|
@@ -1322,63 +1322,63 @@ export declare const roleGatePolicySchema: z.ZodObject<{
|
|
|
1322
1322
|
}>>;
|
|
1323
1323
|
requiresAttestation: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1324
1324
|
}, "strip", z.ZodTypeAny, {
|
|
1325
|
+
roles?: AgentRole[];
|
|
1326
|
+
tiers?: TrustTier[];
|
|
1327
|
+
contextTypes?: ContextType[];
|
|
1328
|
+
domains?: string[];
|
|
1325
1329
|
timeWindow?: {
|
|
1326
1330
|
start?: string;
|
|
1327
1331
|
end?: string;
|
|
1328
1332
|
};
|
|
1329
|
-
domains?: string[];
|
|
1330
1333
|
requiresAttestation?: string[];
|
|
1334
|
+
}, {
|
|
1331
1335
|
roles?: AgentRole[];
|
|
1332
1336
|
tiers?: TrustTier[];
|
|
1333
1337
|
contextTypes?: ContextType[];
|
|
1334
|
-
|
|
1338
|
+
domains?: string[];
|
|
1335
1339
|
timeWindow?: {
|
|
1336
1340
|
start?: string;
|
|
1337
1341
|
end?: string;
|
|
1338
1342
|
};
|
|
1339
|
-
domains?: string[];
|
|
1340
1343
|
requiresAttestation?: string[];
|
|
1341
|
-
roles?: AgentRole[];
|
|
1342
|
-
tiers?: TrustTier[];
|
|
1343
|
-
contextTypes?: ContextType[];
|
|
1344
1344
|
}>;
|
|
1345
1345
|
action: z.ZodEnum<["ALLOW", "DENY", "ESCALATE"]>;
|
|
1346
1346
|
priority: z.ZodNumber;
|
|
1347
1347
|
reason: z.ZodString;
|
|
1348
1348
|
}, "strip", z.ZodTypeAny, {
|
|
1349
|
-
reason?: string;
|
|
1350
1349
|
name?: string;
|
|
1351
|
-
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1352
1350
|
ruleId?: string;
|
|
1351
|
+
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1352
|
+
reason?: string;
|
|
1353
|
+
priority?: number;
|
|
1353
1354
|
condition?: {
|
|
1355
|
+
roles?: AgentRole[];
|
|
1356
|
+
tiers?: TrustTier[];
|
|
1357
|
+
contextTypes?: ContextType[];
|
|
1358
|
+
domains?: string[];
|
|
1354
1359
|
timeWindow?: {
|
|
1355
1360
|
start?: string;
|
|
1356
1361
|
end?: string;
|
|
1357
1362
|
};
|
|
1358
|
-
domains?: string[];
|
|
1359
1363
|
requiresAttestation?: string[];
|
|
1360
|
-
roles?: AgentRole[];
|
|
1361
|
-
tiers?: TrustTier[];
|
|
1362
|
-
contextTypes?: ContextType[];
|
|
1363
1364
|
};
|
|
1364
|
-
priority?: number;
|
|
1365
1365
|
}, {
|
|
1366
|
-
reason?: string;
|
|
1367
1366
|
name?: string;
|
|
1368
|
-
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1369
1367
|
ruleId?: string;
|
|
1368
|
+
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1369
|
+
reason?: string;
|
|
1370
|
+
priority?: number;
|
|
1370
1371
|
condition?: {
|
|
1372
|
+
roles?: AgentRole[];
|
|
1373
|
+
tiers?: TrustTier[];
|
|
1374
|
+
contextTypes?: ContextType[];
|
|
1375
|
+
domains?: string[];
|
|
1371
1376
|
timeWindow?: {
|
|
1372
1377
|
start?: string;
|
|
1373
1378
|
end?: string;
|
|
1374
1379
|
};
|
|
1375
|
-
domains?: string[];
|
|
1376
1380
|
requiresAttestation?: string[];
|
|
1377
|
-
roles?: AgentRole[];
|
|
1378
|
-
tiers?: TrustTier[];
|
|
1379
|
-
contextTypes?: ContextType[];
|
|
1380
1381
|
};
|
|
1381
|
-
priority?: number;
|
|
1382
1382
|
}>, "many">;
|
|
1383
1383
|
effectiveFrom: z.ZodDate;
|
|
1384
1384
|
effectiveUntil: z.ZodOptional<z.ZodDate>;
|
|
@@ -1388,22 +1388,22 @@ export declare const roleGatePolicySchema: z.ZodObject<{
|
|
|
1388
1388
|
}, "strip", z.ZodTypeAny, {
|
|
1389
1389
|
version?: number;
|
|
1390
1390
|
rules?: {
|
|
1391
|
-
reason?: string;
|
|
1392
1391
|
name?: string;
|
|
1393
|
-
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1394
1392
|
ruleId?: string;
|
|
1393
|
+
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1394
|
+
reason?: string;
|
|
1395
|
+
priority?: number;
|
|
1395
1396
|
condition?: {
|
|
1397
|
+
roles?: AgentRole[];
|
|
1398
|
+
tiers?: TrustTier[];
|
|
1399
|
+
contextTypes?: ContextType[];
|
|
1400
|
+
domains?: string[];
|
|
1396
1401
|
timeWindow?: {
|
|
1397
1402
|
start?: string;
|
|
1398
1403
|
end?: string;
|
|
1399
1404
|
};
|
|
1400
|
-
domains?: string[];
|
|
1401
1405
|
requiresAttestation?: string[];
|
|
1402
|
-
roles?: AgentRole[];
|
|
1403
|
-
tiers?: TrustTier[];
|
|
1404
|
-
contextTypes?: ContextType[];
|
|
1405
1406
|
};
|
|
1406
|
-
priority?: number;
|
|
1407
1407
|
}[];
|
|
1408
1408
|
policyId?: string;
|
|
1409
1409
|
createdAt?: Date;
|
|
@@ -1414,22 +1414,22 @@ export declare const roleGatePolicySchema: z.ZodObject<{
|
|
|
1414
1414
|
}, {
|
|
1415
1415
|
version?: number;
|
|
1416
1416
|
rules?: {
|
|
1417
|
-
reason?: string;
|
|
1418
1417
|
name?: string;
|
|
1419
|
-
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1420
1418
|
ruleId?: string;
|
|
1419
|
+
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1420
|
+
reason?: string;
|
|
1421
|
+
priority?: number;
|
|
1421
1422
|
condition?: {
|
|
1423
|
+
roles?: AgentRole[];
|
|
1424
|
+
tiers?: TrustTier[];
|
|
1425
|
+
contextTypes?: ContextType[];
|
|
1426
|
+
domains?: string[];
|
|
1422
1427
|
timeWindow?: {
|
|
1423
1428
|
start?: string;
|
|
1424
1429
|
end?: string;
|
|
1425
1430
|
};
|
|
1426
|
-
domains?: string[];
|
|
1427
1431
|
requiresAttestation?: string[];
|
|
1428
|
-
roles?: AgentRole[];
|
|
1429
|
-
tiers?: TrustTier[];
|
|
1430
|
-
contextTypes?: ContextType[];
|
|
1431
1432
|
};
|
|
1432
|
-
priority?: number;
|
|
1433
1433
|
}[];
|
|
1434
1434
|
policyId?: string;
|
|
1435
1435
|
createdAt?: Date;
|
|
@@ -1496,15 +1496,15 @@ export declare const roleGateEvaluationSchema: z.ZodObject<{
|
|
|
1496
1496
|
action: z.ZodEnum<["ALLOW", "DENY", "ESCALATE"]>;
|
|
1497
1497
|
reason: z.ZodString;
|
|
1498
1498
|
}, "strip", z.ZodTypeAny, {
|
|
1499
|
+
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1499
1500
|
reason?: string;
|
|
1500
1501
|
valid?: boolean;
|
|
1501
|
-
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1502
1502
|
appliedRuleId?: string;
|
|
1503
1503
|
appliedPolicyVersion?: number;
|
|
1504
1504
|
}, {
|
|
1505
|
+
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1505
1506
|
reason?: string;
|
|
1506
1507
|
valid?: boolean;
|
|
1507
|
-
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1508
1508
|
appliedRuleId?: string;
|
|
1509
1509
|
appliedPolicyVersion?: number;
|
|
1510
1510
|
}>;
|
|
@@ -1531,10 +1531,11 @@ export declare const roleGateEvaluationSchema: z.ZodObject<{
|
|
|
1531
1531
|
decidedAt: z.ZodDate;
|
|
1532
1532
|
evaluationHash: z.ZodString;
|
|
1533
1533
|
}, "strip", z.ZodTypeAny, {
|
|
1534
|
-
tier?: TrustTier;
|
|
1535
|
-
decision?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1536
1534
|
timestamp?: Date;
|
|
1537
1535
|
agentId?: string;
|
|
1536
|
+
tier?: TrustTier;
|
|
1537
|
+
decision?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1538
|
+
decidedAt?: Date;
|
|
1538
1539
|
role?: AgentRole;
|
|
1539
1540
|
evaluationId?: string;
|
|
1540
1541
|
evaluationHash?: string;
|
|
@@ -1544,9 +1545,9 @@ export declare const roleGateEvaluationSchema: z.ZodObject<{
|
|
|
1544
1545
|
matrixAllows?: boolean;
|
|
1545
1546
|
};
|
|
1546
1547
|
policyResult?: {
|
|
1548
|
+
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1547
1549
|
reason?: string;
|
|
1548
1550
|
valid?: boolean;
|
|
1549
|
-
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1550
1551
|
appliedRuleId?: string;
|
|
1551
1552
|
appliedPolicyVersion?: number;
|
|
1552
1553
|
};
|
|
@@ -1557,12 +1558,12 @@ export declare const roleGateEvaluationSchema: z.ZodObject<{
|
|
|
1557
1558
|
overrideSignatures?: string[];
|
|
1558
1559
|
contextConstraintsMet?: boolean;
|
|
1559
1560
|
};
|
|
1560
|
-
decidedAt?: Date;
|
|
1561
1561
|
}, {
|
|
1562
|
-
tier?: TrustTier;
|
|
1563
|
-
decision?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1564
1562
|
timestamp?: Date;
|
|
1565
1563
|
agentId?: string;
|
|
1564
|
+
tier?: TrustTier;
|
|
1565
|
+
decision?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1566
|
+
decidedAt?: Date;
|
|
1566
1567
|
role?: AgentRole;
|
|
1567
1568
|
evaluationId?: string;
|
|
1568
1569
|
evaluationHash?: string;
|
|
@@ -1572,9 +1573,9 @@ export declare const roleGateEvaluationSchema: z.ZodObject<{
|
|
|
1572
1573
|
matrixAllows?: boolean;
|
|
1573
1574
|
};
|
|
1574
1575
|
policyResult?: {
|
|
1576
|
+
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1575
1577
|
reason?: string;
|
|
1576
1578
|
valid?: boolean;
|
|
1577
|
-
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1578
1579
|
appliedRuleId?: string;
|
|
1579
1580
|
appliedPolicyVersion?: number;
|
|
1580
1581
|
};
|
|
@@ -1585,7 +1586,6 @@ export declare const roleGateEvaluationSchema: z.ZodObject<{
|
|
|
1585
1586
|
overrideSignatures?: string[];
|
|
1586
1587
|
contextConstraintsMet?: boolean;
|
|
1587
1588
|
};
|
|
1588
|
-
decidedAt?: Date;
|
|
1589
1589
|
}>;
|
|
1590
1590
|
/**
|
|
1591
1591
|
* Trust score computation configuration
|
|
@@ -1662,11 +1662,11 @@ export declare const trustComputationResultSchema: z.ZodObject<{
|
|
|
1662
1662
|
constraint: z.ZodString;
|
|
1663
1663
|
}, "strip", z.ZodTypeAny, {
|
|
1664
1664
|
value?: number;
|
|
1665
|
-
type?: "context" | "
|
|
1665
|
+
type?: "context" | "deployment" | "organizational" | "attestation";
|
|
1666
1666
|
constraint?: string;
|
|
1667
1667
|
}, {
|
|
1668
1668
|
value?: number;
|
|
1669
|
-
type?: "context" | "
|
|
1669
|
+
type?: "context" | "deployment" | "organizational" | "attestation";
|
|
1670
1670
|
constraint?: string;
|
|
1671
1671
|
}>;
|
|
1672
1672
|
creationModifier: z.ZodNumber;
|
|
@@ -1711,18 +1711,18 @@ export declare const trustComputationResultSchema: z.ZodObject<{
|
|
|
1711
1711
|
verifiedAt: z.ZodOptional<z.ZodDate>;
|
|
1712
1712
|
verifiedBy: z.ZodOptional<z.ZodString>;
|
|
1713
1713
|
}, "strip", z.ZodTypeAny, {
|
|
1714
|
-
|
|
1714
|
+
verifiedAt?: Date;
|
|
1715
1715
|
chain?: string[];
|
|
1716
|
+
leafPresetId?: string;
|
|
1716
1717
|
hashes?: string[];
|
|
1717
1718
|
verified?: boolean;
|
|
1718
|
-
verifiedAt?: Date;
|
|
1719
1719
|
verifiedBy?: string;
|
|
1720
1720
|
}, {
|
|
1721
|
-
|
|
1721
|
+
verifiedAt?: Date;
|
|
1722
1722
|
chain?: string[];
|
|
1723
|
+
leafPresetId?: string;
|
|
1723
1724
|
hashes?: string[];
|
|
1724
1725
|
verified?: boolean;
|
|
1725
|
-
verifiedAt?: Date;
|
|
1726
1726
|
verifiedBy?: string;
|
|
1727
1727
|
}>;
|
|
1728
1728
|
contextValid: z.ZodBoolean;
|
|
@@ -1732,16 +1732,16 @@ export declare const trustComputationResultSchema: z.ZodObject<{
|
|
|
1732
1732
|
auditTrail: z.ZodArray<z.ZodString, "many">;
|
|
1733
1733
|
}, "strip", z.ZodTypeAny, {
|
|
1734
1734
|
agentId?: string;
|
|
1735
|
-
finalScore?: number;
|
|
1736
1735
|
rawScore?: number;
|
|
1736
|
+
finalScore?: number;
|
|
1737
|
+
presetId?: string;
|
|
1737
1738
|
ceilingApplied?: boolean;
|
|
1738
1739
|
ceilingSource?: {
|
|
1739
1740
|
value?: number;
|
|
1740
|
-
type?: "context" | "
|
|
1741
|
+
type?: "context" | "deployment" | "organizational" | "attestation";
|
|
1741
1742
|
constraint?: string;
|
|
1742
1743
|
};
|
|
1743
1744
|
effectiveTier?: TrustTier;
|
|
1744
|
-
presetId?: string;
|
|
1745
1745
|
computedAt?: Date;
|
|
1746
1746
|
ceilingValue?: number;
|
|
1747
1747
|
creationModifier?: number;
|
|
@@ -1754,11 +1754,11 @@ export declare const trustComputationResultSchema: z.ZodObject<{
|
|
|
1754
1754
|
behavior?: number;
|
|
1755
1755
|
};
|
|
1756
1756
|
presetLineage?: {
|
|
1757
|
-
|
|
1757
|
+
verifiedAt?: Date;
|
|
1758
1758
|
chain?: string[];
|
|
1759
|
+
leafPresetId?: string;
|
|
1759
1760
|
hashes?: string[];
|
|
1760
1761
|
verified?: boolean;
|
|
1761
|
-
verifiedAt?: Date;
|
|
1762
1762
|
verifiedBy?: string;
|
|
1763
1763
|
};
|
|
1764
1764
|
contextValid?: boolean;
|
|
@@ -1768,16 +1768,16 @@ export declare const trustComputationResultSchema: z.ZodObject<{
|
|
|
1768
1768
|
auditTrail?: string[];
|
|
1769
1769
|
}, {
|
|
1770
1770
|
agentId?: string;
|
|
1771
|
-
finalScore?: number;
|
|
1772
1771
|
rawScore?: number;
|
|
1772
|
+
finalScore?: number;
|
|
1773
|
+
presetId?: string;
|
|
1773
1774
|
ceilingApplied?: boolean;
|
|
1774
1775
|
ceilingSource?: {
|
|
1775
1776
|
value?: number;
|
|
1776
|
-
type?: "context" | "
|
|
1777
|
+
type?: "context" | "deployment" | "organizational" | "attestation";
|
|
1777
1778
|
constraint?: string;
|
|
1778
1779
|
};
|
|
1779
1780
|
effectiveTier?: TrustTier;
|
|
1780
|
-
presetId?: string;
|
|
1781
1781
|
computedAt?: Date;
|
|
1782
1782
|
ceilingValue?: number;
|
|
1783
1783
|
creationModifier?: number;
|
|
@@ -1790,11 +1790,11 @@ export declare const trustComputationResultSchema: z.ZodObject<{
|
|
|
1790
1790
|
behavior?: number;
|
|
1791
1791
|
};
|
|
1792
1792
|
presetLineage?: {
|
|
1793
|
-
|
|
1793
|
+
verifiedAt?: Date;
|
|
1794
1794
|
chain?: string[];
|
|
1795
|
+
leafPresetId?: string;
|
|
1795
1796
|
hashes?: string[];
|
|
1796
1797
|
verified?: boolean;
|
|
1797
|
-
verifiedAt?: Date;
|
|
1798
1798
|
verifiedBy?: string;
|
|
1799
1799
|
};
|
|
1800
1800
|
contextValid?: boolean;
|