@vorionsys/atsf-core 0.4.2 → 0.4.3
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 +74 -74
- package/dist/basis/parser.js +1 -1
- package/dist/basis/parser.js.map +1 -1
- package/dist/common/config.d.ts +16 -16
- package/dist/enforce/fast-path.d.ts +134 -0
- package/dist/enforce/fast-path.d.ts.map +1 -0
- package/dist/enforce/fast-path.js +257 -0
- package/dist/enforce/fast-path.js.map +1 -0
- package/dist/enforce/pipeline-optimizer.d.ts +111 -0
- package/dist/enforce/pipeline-optimizer.d.ts.map +1 -0
- package/dist/enforce/pipeline-optimizer.js +370 -0
- package/dist/enforce/pipeline-optimizer.js.map +1 -0
- package/dist/enforce/policy-cache.d.ts +92 -0
- package/dist/enforce/policy-cache.d.ts.map +1 -0
- package/dist/enforce/policy-cache.js +186 -0
- package/dist/enforce/policy-cache.js.map +1 -0
- package/dist/enforce/trust-cache.d.ts +118 -0
- package/dist/enforce/trust-cache.d.ts.map +1 -0
- package/dist/enforce/trust-cache.js +218 -0
- package/dist/enforce/trust-cache.js.map +1 -0
- package/dist/paramesphere/gpu-svd.js.map +1 -1
- package/dist/paramesphere/scheduled-verifier.d.ts +136 -0
- package/dist/paramesphere/scheduled-verifier.d.ts.map +1 -0
- package/dist/paramesphere/scheduled-verifier.js +338 -0
- package/dist/paramesphere/scheduled-verifier.js.map +1 -0
- package/dist/paramesphere/svd-worker-pool.d.ts +37 -0
- package/dist/paramesphere/svd-worker-pool.d.ts.map +1 -0
- package/dist/paramesphere/svd-worker-pool.js +144 -0
- package/dist/paramesphere/svd-worker-pool.js.map +1 -0
- package/dist/paramesphere/svd-worker.d.ts +2 -0
- package/dist/paramesphere/svd-worker.d.ts.map +1 -0
- package/dist/paramesphere/svd-worker.js +103 -0
- package/dist/paramesphere/svd-worker.js.map +1 -0
- package/dist/phase6/types.d.ts +248 -248
- package/dist/phase6/types.js +1 -1
- package/dist/phase6/types.js.map +1 -1
- package/package.json +2 -2
package/dist/phase6/types.d.ts
CHANGED
|
@@ -190,15 +190,8 @@ export declare const organizationalContextSchema: z.ZodObject<{
|
|
|
190
190
|
}>;
|
|
191
191
|
orgHash: z.ZodString;
|
|
192
192
|
}, "strip", z.ZodTypeAny, {
|
|
193
|
-
tenantId?: string;
|
|
194
|
-
constraints?: {
|
|
195
|
-
maxTrustTier?: TrustTier;
|
|
196
|
-
deniedDomains?: string[];
|
|
197
|
-
requiredAttestations?: string[];
|
|
198
|
-
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
199
|
-
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
200
|
-
};
|
|
201
193
|
orgId?: string;
|
|
194
|
+
tenantId?: string;
|
|
202
195
|
parentDeployment?: {
|
|
203
196
|
deploymentId?: string;
|
|
204
197
|
deploymentHash?: string;
|
|
@@ -210,9 +203,6 @@ export declare const organizationalContextSchema: z.ZodObject<{
|
|
|
210
203
|
immutable?: true;
|
|
211
204
|
};
|
|
212
205
|
lockedAt?: Date;
|
|
213
|
-
orgHash?: string;
|
|
214
|
-
}, {
|
|
215
|
-
tenantId?: string;
|
|
216
206
|
constraints?: {
|
|
217
207
|
maxTrustTier?: TrustTier;
|
|
218
208
|
deniedDomains?: string[];
|
|
@@ -220,7 +210,10 @@ export declare const organizationalContextSchema: z.ZodObject<{
|
|
|
220
210
|
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
221
211
|
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
222
212
|
};
|
|
213
|
+
orgHash?: string;
|
|
214
|
+
}, {
|
|
223
215
|
orgId?: string;
|
|
216
|
+
tenantId?: string;
|
|
224
217
|
parentDeployment?: {
|
|
225
218
|
deploymentId?: string;
|
|
226
219
|
deploymentHash?: string;
|
|
@@ -232,6 +225,13 @@ export declare const organizationalContextSchema: z.ZodObject<{
|
|
|
232
225
|
immutable?: true;
|
|
233
226
|
};
|
|
234
227
|
lockedAt?: Date;
|
|
228
|
+
constraints?: {
|
|
229
|
+
maxTrustTier?: TrustTier;
|
|
230
|
+
deniedDomains?: string[];
|
|
231
|
+
requiredAttestations?: string[];
|
|
232
|
+
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
233
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
234
|
+
};
|
|
235
235
|
orgHash?: string;
|
|
236
236
|
}>;
|
|
237
237
|
/**
|
|
@@ -302,15 +302,8 @@ export declare const agentContextSchema: z.ZodObject<{
|
|
|
302
302
|
}>;
|
|
303
303
|
orgHash: z.ZodString;
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
|
-
tenantId?: string;
|
|
306
|
-
constraints?: {
|
|
307
|
-
maxTrustTier?: TrustTier;
|
|
308
|
-
deniedDomains?: string[];
|
|
309
|
-
requiredAttestations?: string[];
|
|
310
|
-
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
311
|
-
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
312
|
-
};
|
|
313
305
|
orgId?: string;
|
|
306
|
+
tenantId?: string;
|
|
314
307
|
parentDeployment?: {
|
|
315
308
|
deploymentId?: string;
|
|
316
309
|
deploymentHash?: string;
|
|
@@ -322,9 +315,6 @@ export declare const agentContextSchema: z.ZodObject<{
|
|
|
322
315
|
immutable?: true;
|
|
323
316
|
};
|
|
324
317
|
lockedAt?: Date;
|
|
325
|
-
orgHash?: string;
|
|
326
|
-
}, {
|
|
327
|
-
tenantId?: string;
|
|
328
318
|
constraints?: {
|
|
329
319
|
maxTrustTier?: TrustTier;
|
|
330
320
|
deniedDomains?: string[];
|
|
@@ -332,7 +322,10 @@ export declare const agentContextSchema: z.ZodObject<{
|
|
|
332
322
|
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
333
323
|
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
334
324
|
};
|
|
325
|
+
orgHash?: string;
|
|
326
|
+
}, {
|
|
335
327
|
orgId?: string;
|
|
328
|
+
tenantId?: string;
|
|
336
329
|
parentDeployment?: {
|
|
337
330
|
deploymentId?: string;
|
|
338
331
|
deploymentHash?: string;
|
|
@@ -344,6 +337,13 @@ export declare const agentContextSchema: z.ZodObject<{
|
|
|
344
337
|
immutable?: true;
|
|
345
338
|
};
|
|
346
339
|
lockedAt?: Date;
|
|
340
|
+
constraints?: {
|
|
341
|
+
maxTrustTier?: TrustTier;
|
|
342
|
+
deniedDomains?: string[];
|
|
343
|
+
requiredAttestations?: string[];
|
|
344
|
+
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
345
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
346
|
+
};
|
|
347
347
|
orgHash?: string;
|
|
348
348
|
}>;
|
|
349
349
|
contextType: z.ZodNativeEnum<typeof ContextType>;
|
|
@@ -352,17 +352,9 @@ export declare const agentContextSchema: z.ZodObject<{
|
|
|
352
352
|
contextHash: z.ZodString;
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
354
|
agentId?: string;
|
|
355
|
-
createdAt?: Date;
|
|
356
355
|
parentOrg?: {
|
|
357
|
-
tenantId?: string;
|
|
358
|
-
constraints?: {
|
|
359
|
-
maxTrustTier?: TrustTier;
|
|
360
|
-
deniedDomains?: string[];
|
|
361
|
-
requiredAttestations?: string[];
|
|
362
|
-
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
363
|
-
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
364
|
-
};
|
|
365
356
|
orgId?: string;
|
|
357
|
+
tenantId?: string;
|
|
366
358
|
parentDeployment?: {
|
|
367
359
|
deploymentId?: string;
|
|
368
360
|
deploymentHash?: string;
|
|
@@ -374,24 +366,24 @@ export declare const agentContextSchema: z.ZodObject<{
|
|
|
374
366
|
immutable?: true;
|
|
375
367
|
};
|
|
376
368
|
lockedAt?: Date;
|
|
369
|
+
constraints?: {
|
|
370
|
+
maxTrustTier?: TrustTier;
|
|
371
|
+
deniedDomains?: string[];
|
|
372
|
+
requiredAttestations?: string[];
|
|
373
|
+
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
374
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
375
|
+
};
|
|
377
376
|
orgHash?: string;
|
|
378
377
|
};
|
|
379
378
|
contextType?: ContextType;
|
|
379
|
+
createdAt?: Date;
|
|
380
380
|
createdBy?: string;
|
|
381
381
|
contextHash?: string;
|
|
382
382
|
}, {
|
|
383
383
|
agentId?: string;
|
|
384
|
-
createdAt?: Date;
|
|
385
384
|
parentOrg?: {
|
|
386
|
-
tenantId?: string;
|
|
387
|
-
constraints?: {
|
|
388
|
-
maxTrustTier?: TrustTier;
|
|
389
|
-
deniedDomains?: string[];
|
|
390
|
-
requiredAttestations?: string[];
|
|
391
|
-
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
392
|
-
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
393
|
-
};
|
|
394
385
|
orgId?: string;
|
|
386
|
+
tenantId?: string;
|
|
395
387
|
parentDeployment?: {
|
|
396
388
|
deploymentId?: string;
|
|
397
389
|
deploymentHash?: string;
|
|
@@ -403,9 +395,17 @@ export declare const agentContextSchema: z.ZodObject<{
|
|
|
403
395
|
immutable?: true;
|
|
404
396
|
};
|
|
405
397
|
lockedAt?: Date;
|
|
398
|
+
constraints?: {
|
|
399
|
+
maxTrustTier?: TrustTier;
|
|
400
|
+
deniedDomains?: string[];
|
|
401
|
+
requiredAttestations?: string[];
|
|
402
|
+
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
403
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
404
|
+
};
|
|
406
405
|
orgHash?: string;
|
|
407
406
|
};
|
|
408
407
|
contextType?: ContextType;
|
|
408
|
+
createdAt?: Date;
|
|
409
409
|
createdBy?: string;
|
|
410
410
|
contextHash?: string;
|
|
411
411
|
}>;
|
|
@@ -480,15 +480,8 @@ export declare const operationContextSchema: z.ZodObject<{
|
|
|
480
480
|
}>;
|
|
481
481
|
orgHash: z.ZodString;
|
|
482
482
|
}, "strip", z.ZodTypeAny, {
|
|
483
|
-
tenantId?: string;
|
|
484
|
-
constraints?: {
|
|
485
|
-
maxTrustTier?: TrustTier;
|
|
486
|
-
deniedDomains?: string[];
|
|
487
|
-
requiredAttestations?: string[];
|
|
488
|
-
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
489
|
-
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
490
|
-
};
|
|
491
483
|
orgId?: string;
|
|
484
|
+
tenantId?: string;
|
|
492
485
|
parentDeployment?: {
|
|
493
486
|
deploymentId?: string;
|
|
494
487
|
deploymentHash?: string;
|
|
@@ -500,9 +493,6 @@ export declare const operationContextSchema: z.ZodObject<{
|
|
|
500
493
|
immutable?: true;
|
|
501
494
|
};
|
|
502
495
|
lockedAt?: Date;
|
|
503
|
-
orgHash?: string;
|
|
504
|
-
}, {
|
|
505
|
-
tenantId?: string;
|
|
506
496
|
constraints?: {
|
|
507
497
|
maxTrustTier?: TrustTier;
|
|
508
498
|
deniedDomains?: string[];
|
|
@@ -510,7 +500,10 @@ export declare const operationContextSchema: z.ZodObject<{
|
|
|
510
500
|
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
511
501
|
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
512
502
|
};
|
|
503
|
+
orgHash?: string;
|
|
504
|
+
}, {
|
|
513
505
|
orgId?: string;
|
|
506
|
+
tenantId?: string;
|
|
514
507
|
parentDeployment?: {
|
|
515
508
|
deploymentId?: string;
|
|
516
509
|
deploymentHash?: string;
|
|
@@ -522,6 +515,13 @@ export declare const operationContextSchema: z.ZodObject<{
|
|
|
522
515
|
immutable?: true;
|
|
523
516
|
};
|
|
524
517
|
lockedAt?: Date;
|
|
518
|
+
constraints?: {
|
|
519
|
+
maxTrustTier?: TrustTier;
|
|
520
|
+
deniedDomains?: string[];
|
|
521
|
+
requiredAttestations?: string[];
|
|
522
|
+
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
523
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
524
|
+
};
|
|
525
525
|
orgHash?: string;
|
|
526
526
|
}>;
|
|
527
527
|
contextType: z.ZodNativeEnum<typeof ContextType>;
|
|
@@ -530,17 +530,9 @@ export declare const operationContextSchema: z.ZodObject<{
|
|
|
530
530
|
contextHash: z.ZodString;
|
|
531
531
|
}, "strip", z.ZodTypeAny, {
|
|
532
532
|
agentId?: string;
|
|
533
|
-
createdAt?: Date;
|
|
534
533
|
parentOrg?: {
|
|
535
|
-
tenantId?: string;
|
|
536
|
-
constraints?: {
|
|
537
|
-
maxTrustTier?: TrustTier;
|
|
538
|
-
deniedDomains?: string[];
|
|
539
|
-
requiredAttestations?: string[];
|
|
540
|
-
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
541
|
-
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
542
|
-
};
|
|
543
534
|
orgId?: string;
|
|
535
|
+
tenantId?: string;
|
|
544
536
|
parentDeployment?: {
|
|
545
537
|
deploymentId?: string;
|
|
546
538
|
deploymentHash?: string;
|
|
@@ -552,24 +544,24 @@ export declare const operationContextSchema: z.ZodObject<{
|
|
|
552
544
|
immutable?: true;
|
|
553
545
|
};
|
|
554
546
|
lockedAt?: Date;
|
|
547
|
+
constraints?: {
|
|
548
|
+
maxTrustTier?: TrustTier;
|
|
549
|
+
deniedDomains?: string[];
|
|
550
|
+
requiredAttestations?: string[];
|
|
551
|
+
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
552
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
553
|
+
};
|
|
555
554
|
orgHash?: string;
|
|
556
555
|
};
|
|
557
556
|
contextType?: ContextType;
|
|
557
|
+
createdAt?: Date;
|
|
558
558
|
createdBy?: string;
|
|
559
559
|
contextHash?: string;
|
|
560
560
|
}, {
|
|
561
561
|
agentId?: string;
|
|
562
|
-
createdAt?: Date;
|
|
563
562
|
parentOrg?: {
|
|
564
|
-
tenantId?: string;
|
|
565
|
-
constraints?: {
|
|
566
|
-
maxTrustTier?: TrustTier;
|
|
567
|
-
deniedDomains?: string[];
|
|
568
|
-
requiredAttestations?: string[];
|
|
569
|
-
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
570
|
-
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
571
|
-
};
|
|
572
563
|
orgId?: string;
|
|
564
|
+
tenantId?: string;
|
|
573
565
|
parentDeployment?: {
|
|
574
566
|
deploymentId?: string;
|
|
575
567
|
deploymentHash?: string;
|
|
@@ -581,9 +573,17 @@ export declare const operationContextSchema: z.ZodObject<{
|
|
|
581
573
|
immutable?: true;
|
|
582
574
|
};
|
|
583
575
|
lockedAt?: Date;
|
|
576
|
+
constraints?: {
|
|
577
|
+
maxTrustTier?: TrustTier;
|
|
578
|
+
deniedDomains?: string[];
|
|
579
|
+
requiredAttestations?: string[];
|
|
580
|
+
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
581
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
582
|
+
};
|
|
584
583
|
orgHash?: string;
|
|
585
584
|
};
|
|
586
585
|
contextType?: ContextType;
|
|
586
|
+
createdAt?: Date;
|
|
587
587
|
createdBy?: string;
|
|
588
588
|
contextHash?: string;
|
|
589
589
|
}>;
|
|
@@ -593,23 +593,12 @@ export declare const operationContextSchema: z.ZodObject<{
|
|
|
593
593
|
expiresAt: z.ZodDate;
|
|
594
594
|
ephemeral: z.ZodLiteral<true>;
|
|
595
595
|
}, "strip", z.ZodTypeAny, {
|
|
596
|
-
correlationId?: string;
|
|
597
|
-
startedAt?: Date;
|
|
598
|
-
expiresAt?: Date;
|
|
599
596
|
operationId?: string;
|
|
600
597
|
parentAgent?: {
|
|
601
598
|
agentId?: string;
|
|
602
|
-
createdAt?: Date;
|
|
603
599
|
parentOrg?: {
|
|
604
|
-
tenantId?: string;
|
|
605
|
-
constraints?: {
|
|
606
|
-
maxTrustTier?: TrustTier;
|
|
607
|
-
deniedDomains?: string[];
|
|
608
|
-
requiredAttestations?: string[];
|
|
609
|
-
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
610
|
-
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
611
|
-
};
|
|
612
600
|
orgId?: string;
|
|
601
|
+
tenantId?: string;
|
|
613
602
|
parentDeployment?: {
|
|
614
603
|
deploymentId?: string;
|
|
615
604
|
deploymentHash?: string;
|
|
@@ -621,32 +610,32 @@ export declare const operationContextSchema: z.ZodObject<{
|
|
|
621
610
|
immutable?: true;
|
|
622
611
|
};
|
|
623
612
|
lockedAt?: Date;
|
|
613
|
+
constraints?: {
|
|
614
|
+
maxTrustTier?: TrustTier;
|
|
615
|
+
deniedDomains?: string[];
|
|
616
|
+
requiredAttestations?: string[];
|
|
617
|
+
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
618
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
619
|
+
};
|
|
624
620
|
orgHash?: string;
|
|
625
621
|
};
|
|
626
622
|
contextType?: ContextType;
|
|
623
|
+
createdAt?: Date;
|
|
627
624
|
createdBy?: string;
|
|
628
625
|
contextHash?: string;
|
|
629
626
|
};
|
|
630
627
|
requestMetadata?: Record<string, unknown>;
|
|
631
|
-
ephemeral?: true;
|
|
632
|
-
}, {
|
|
633
628
|
correlationId?: string;
|
|
634
629
|
startedAt?: Date;
|
|
635
630
|
expiresAt?: Date;
|
|
631
|
+
ephemeral?: true;
|
|
632
|
+
}, {
|
|
636
633
|
operationId?: string;
|
|
637
634
|
parentAgent?: {
|
|
638
635
|
agentId?: string;
|
|
639
|
-
createdAt?: Date;
|
|
640
636
|
parentOrg?: {
|
|
641
|
-
tenantId?: string;
|
|
642
|
-
constraints?: {
|
|
643
|
-
maxTrustTier?: TrustTier;
|
|
644
|
-
deniedDomains?: string[];
|
|
645
|
-
requiredAttestations?: string[];
|
|
646
|
-
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
647
|
-
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
648
|
-
};
|
|
649
637
|
orgId?: string;
|
|
638
|
+
tenantId?: string;
|
|
650
639
|
parentDeployment?: {
|
|
651
640
|
deploymentId?: string;
|
|
652
641
|
deploymentHash?: string;
|
|
@@ -658,13 +647,24 @@ export declare const operationContextSchema: z.ZodObject<{
|
|
|
658
647
|
immutable?: true;
|
|
659
648
|
};
|
|
660
649
|
lockedAt?: Date;
|
|
650
|
+
constraints?: {
|
|
651
|
+
maxTrustTier?: TrustTier;
|
|
652
|
+
deniedDomains?: string[];
|
|
653
|
+
requiredAttestations?: string[];
|
|
654
|
+
dataClassification?: "public" | "internal" | "confidential" | "restricted";
|
|
655
|
+
auditLevel?: "minimal" | "standard" | "comprehensive" | "forensic";
|
|
656
|
+
};
|
|
661
657
|
orgHash?: string;
|
|
662
658
|
};
|
|
663
659
|
contextType?: ContextType;
|
|
660
|
+
createdAt?: Date;
|
|
664
661
|
createdBy?: string;
|
|
665
662
|
contextHash?: string;
|
|
666
663
|
};
|
|
667
664
|
requestMetadata?: Record<string, unknown>;
|
|
665
|
+
correlationId?: string;
|
|
666
|
+
startedAt?: Date;
|
|
667
|
+
expiresAt?: Date;
|
|
668
668
|
ephemeral?: true;
|
|
669
669
|
}>;
|
|
670
670
|
/**
|
|
@@ -699,29 +699,29 @@ export declare const trustWeightsSchema: z.ZodEffects<z.ZodObject<{
|
|
|
699
699
|
governance: z.ZodNumber;
|
|
700
700
|
context: z.ZodNumber;
|
|
701
701
|
}, "strip", z.ZodTypeAny, {
|
|
702
|
-
context?: number;
|
|
703
|
-
governance?: number;
|
|
704
|
-
capability?: number;
|
|
705
702
|
observability?: number;
|
|
703
|
+
capability?: number;
|
|
706
704
|
behavior?: number;
|
|
707
|
-
}, {
|
|
708
|
-
context?: number;
|
|
709
705
|
governance?: number;
|
|
710
|
-
|
|
706
|
+
context?: number;
|
|
707
|
+
}, {
|
|
711
708
|
observability?: number;
|
|
709
|
+
capability?: number;
|
|
712
710
|
behavior?: number;
|
|
713
|
-
}>, {
|
|
714
|
-
context?: number;
|
|
715
711
|
governance?: number;
|
|
716
|
-
|
|
712
|
+
context?: number;
|
|
713
|
+
}>, {
|
|
717
714
|
observability?: number;
|
|
715
|
+
capability?: number;
|
|
718
716
|
behavior?: number;
|
|
719
|
-
}, {
|
|
720
|
-
context?: number;
|
|
721
717
|
governance?: number;
|
|
722
|
-
|
|
718
|
+
context?: number;
|
|
719
|
+
}, {
|
|
723
720
|
observability?: number;
|
|
721
|
+
capability?: number;
|
|
724
722
|
behavior?: number;
|
|
723
|
+
governance?: number;
|
|
724
|
+
context?: number;
|
|
725
725
|
}>;
|
|
726
726
|
/**
|
|
727
727
|
* Trust preset with derivation chain
|
|
@@ -754,29 +754,29 @@ export declare const trustPresetSchema: z.ZodObject<{
|
|
|
754
754
|
governance: z.ZodNumber;
|
|
755
755
|
context: z.ZodNumber;
|
|
756
756
|
}, "strip", z.ZodTypeAny, {
|
|
757
|
-
context?: number;
|
|
758
|
-
governance?: number;
|
|
759
|
-
capability?: number;
|
|
760
757
|
observability?: number;
|
|
758
|
+
capability?: number;
|
|
761
759
|
behavior?: number;
|
|
762
|
-
}, {
|
|
763
|
-
context?: number;
|
|
764
760
|
governance?: number;
|
|
765
|
-
|
|
761
|
+
context?: number;
|
|
762
|
+
}, {
|
|
766
763
|
observability?: number;
|
|
764
|
+
capability?: number;
|
|
767
765
|
behavior?: number;
|
|
768
|
-
}>, {
|
|
769
|
-
context?: number;
|
|
770
766
|
governance?: number;
|
|
771
|
-
|
|
767
|
+
context?: number;
|
|
768
|
+
}>, {
|
|
772
769
|
observability?: number;
|
|
770
|
+
capability?: number;
|
|
773
771
|
behavior?: number;
|
|
774
|
-
}, {
|
|
775
|
-
context?: number;
|
|
776
772
|
governance?: number;
|
|
777
|
-
|
|
773
|
+
context?: number;
|
|
774
|
+
}, {
|
|
778
775
|
observability?: number;
|
|
776
|
+
capability?: number;
|
|
779
777
|
behavior?: number;
|
|
778
|
+
governance?: number;
|
|
779
|
+
context?: number;
|
|
780
780
|
}>;
|
|
781
781
|
parentPresetId: z.ZodOptional<z.ZodString>;
|
|
782
782
|
parentHash: z.ZodOptional<z.ZodString>;
|
|
@@ -787,17 +787,17 @@ export declare const trustPresetSchema: z.ZodObject<{
|
|
|
787
787
|
governance: z.ZodOptional<z.ZodNumber>;
|
|
788
788
|
context: z.ZodOptional<z.ZodNumber>;
|
|
789
789
|
}, "strip", z.ZodTypeAny, {
|
|
790
|
-
context?: number;
|
|
791
|
-
governance?: number;
|
|
792
|
-
capability?: number;
|
|
793
790
|
observability?: number;
|
|
791
|
+
capability?: number;
|
|
794
792
|
behavior?: number;
|
|
795
|
-
}, {
|
|
796
|
-
context?: number;
|
|
797
793
|
governance?: number;
|
|
798
|
-
|
|
794
|
+
context?: number;
|
|
795
|
+
}, {
|
|
799
796
|
observability?: number;
|
|
797
|
+
capability?: number;
|
|
800
798
|
behavior?: number;
|
|
799
|
+
governance?: number;
|
|
800
|
+
context?: number;
|
|
801
801
|
}>>;
|
|
802
802
|
createdAt: z.ZodDate;
|
|
803
803
|
createdBy: z.ZodString;
|
|
@@ -805,53 +805,53 @@ export declare const trustPresetSchema: z.ZodObject<{
|
|
|
805
805
|
comment: z.ZodOptional<z.ZodString>;
|
|
806
806
|
}, "strip", z.ZodTypeAny, {
|
|
807
807
|
name?: string;
|
|
808
|
-
version?: number;
|
|
809
808
|
description?: string;
|
|
810
|
-
|
|
809
|
+
version?: number;
|
|
811
810
|
createdAt?: Date;
|
|
812
811
|
createdBy?: string;
|
|
813
812
|
presetId?: string;
|
|
813
|
+
source?: "vorion" | "car" | "axiom";
|
|
814
814
|
weights?: {
|
|
815
|
-
context?: number;
|
|
816
|
-
governance?: number;
|
|
817
|
-
capability?: number;
|
|
818
815
|
observability?: number;
|
|
816
|
+
capability?: number;
|
|
819
817
|
behavior?: number;
|
|
818
|
+
governance?: number;
|
|
819
|
+
context?: number;
|
|
820
820
|
};
|
|
821
821
|
parentPresetId?: string;
|
|
822
822
|
parentHash?: string;
|
|
823
823
|
derivationDelta?: {
|
|
824
|
-
context?: number;
|
|
825
|
-
governance?: number;
|
|
826
|
-
capability?: number;
|
|
827
824
|
observability?: number;
|
|
825
|
+
capability?: number;
|
|
828
826
|
behavior?: number;
|
|
827
|
+
governance?: number;
|
|
828
|
+
context?: number;
|
|
829
829
|
};
|
|
830
830
|
presetHash?: string;
|
|
831
831
|
comment?: string;
|
|
832
832
|
}, {
|
|
833
833
|
name?: string;
|
|
834
|
-
version?: number;
|
|
835
834
|
description?: string;
|
|
836
|
-
|
|
835
|
+
version?: number;
|
|
837
836
|
createdAt?: Date;
|
|
838
837
|
createdBy?: string;
|
|
839
838
|
presetId?: string;
|
|
839
|
+
source?: "vorion" | "car" | "axiom";
|
|
840
840
|
weights?: {
|
|
841
|
-
context?: number;
|
|
842
|
-
governance?: number;
|
|
843
|
-
capability?: number;
|
|
844
841
|
observability?: number;
|
|
842
|
+
capability?: number;
|
|
845
843
|
behavior?: number;
|
|
844
|
+
governance?: number;
|
|
845
|
+
context?: number;
|
|
846
846
|
};
|
|
847
847
|
parentPresetId?: string;
|
|
848
848
|
parentHash?: string;
|
|
849
849
|
derivationDelta?: {
|
|
850
|
-
context?: number;
|
|
851
|
-
governance?: number;
|
|
852
|
-
capability?: number;
|
|
853
850
|
observability?: number;
|
|
851
|
+
capability?: number;
|
|
854
852
|
behavior?: number;
|
|
853
|
+
governance?: number;
|
|
854
|
+
context?: number;
|
|
855
855
|
};
|
|
856
856
|
presetHash?: string;
|
|
857
857
|
comment?: string;
|
|
@@ -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
|
-
verifiedAt?: Date;
|
|
879
|
-
chain?: string[];
|
|
880
878
|
leafPresetId?: string;
|
|
879
|
+
chain?: string[];
|
|
881
880
|
hashes?: string[];
|
|
882
881
|
verified?: boolean;
|
|
882
|
+
verifiedAt?: Date;
|
|
883
883
|
verifiedBy?: string;
|
|
884
884
|
}, {
|
|
885
|
-
verifiedAt?: Date;
|
|
886
|
-
chain?: string[];
|
|
887
885
|
leafPresetId?: string;
|
|
886
|
+
chain?: string[];
|
|
888
887
|
hashes?: string[];
|
|
889
888
|
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;
|
|
916
915
|
createdBy?: string;
|
|
917
916
|
creationType?: CreationType;
|
|
918
917
|
parentAgentId?: string;
|
|
919
918
|
parentProvenanceHash?: string;
|
|
919
|
+
provenanceHash?: string;
|
|
920
920
|
}, {
|
|
921
921
|
agentId?: string;
|
|
922
922
|
createdAt?: Date;
|
|
923
|
-
provenanceHash?: string;
|
|
924
923
|
createdBy?: string;
|
|
925
924
|
creationType?: CreationType;
|
|
926
925
|
parentAgentId?: string;
|
|
927
926
|
parentProvenanceHash?: string;
|
|
927
|
+
provenanceHash?: string;
|
|
928
928
|
}>;
|
|
929
929
|
/**
|
|
930
930
|
* Creation modifier policy (MUTABLE - can evolve independently)
|
|
@@ -962,11 +962,11 @@ export declare const creationModifierPolicySchema: z.ZodObject<{
|
|
|
962
962
|
min: z.ZodNumber;
|
|
963
963
|
max: z.ZodNumber;
|
|
964
964
|
}, "strip", z.ZodTypeAny, {
|
|
965
|
-
max?: number;
|
|
966
965
|
min?: number;
|
|
967
|
-
}, {
|
|
968
966
|
max?: number;
|
|
967
|
+
}, {
|
|
969
968
|
min?: number;
|
|
969
|
+
max?: number;
|
|
970
970
|
}>>;
|
|
971
971
|
trustedSources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
972
972
|
requiredAttestations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -974,16 +974,16 @@ export declare const creationModifierPolicySchema: z.ZodObject<{
|
|
|
974
974
|
requiredAttestations?: string[];
|
|
975
975
|
parentCreationType?: CreationType;
|
|
976
976
|
parentTrustScore?: {
|
|
977
|
-
max?: number;
|
|
978
977
|
min?: number;
|
|
978
|
+
max?: number;
|
|
979
979
|
};
|
|
980
980
|
trustedSources?: string[];
|
|
981
981
|
}, {
|
|
982
982
|
requiredAttestations?: string[];
|
|
983
983
|
parentCreationType?: CreationType;
|
|
984
984
|
parentTrustScore?: {
|
|
985
|
-
max?: number;
|
|
986
985
|
min?: number;
|
|
986
|
+
max?: number;
|
|
987
987
|
};
|
|
988
988
|
trustedSources?: string[];
|
|
989
989
|
}>>;
|
|
@@ -994,40 +994,40 @@ export declare const creationModifierPolicySchema: z.ZodObject<{
|
|
|
994
994
|
policyHash: z.ZodString;
|
|
995
995
|
supersedes: z.ZodOptional<z.ZodString>;
|
|
996
996
|
}, "strip", z.ZodTypeAny, {
|
|
997
|
-
version?: number;
|
|
998
997
|
conditions?: {
|
|
999
998
|
requiredAttestations?: string[];
|
|
1000
999
|
parentCreationType?: CreationType;
|
|
1001
1000
|
parentTrustScore?: {
|
|
1002
|
-
max?: number;
|
|
1003
1001
|
min?: number;
|
|
1002
|
+
max?: number;
|
|
1004
1003
|
};
|
|
1005
1004
|
trustedSources?: string[];
|
|
1006
1005
|
};
|
|
1007
|
-
|
|
1006
|
+
version?: number;
|
|
1008
1007
|
createdAt?: Date;
|
|
1009
1008
|
createdBy?: string;
|
|
1010
1009
|
creationType?: CreationType;
|
|
1010
|
+
policyId?: string;
|
|
1011
1011
|
baselineModifier?: number;
|
|
1012
1012
|
effectiveFrom?: Date;
|
|
1013
1013
|
effectiveUntil?: Date;
|
|
1014
1014
|
policyHash?: string;
|
|
1015
1015
|
supersedes?: string;
|
|
1016
1016
|
}, {
|
|
1017
|
-
version?: number;
|
|
1018
1017
|
conditions?: {
|
|
1019
1018
|
requiredAttestations?: string[];
|
|
1020
1019
|
parentCreationType?: CreationType;
|
|
1021
1020
|
parentTrustScore?: {
|
|
1022
|
-
max?: number;
|
|
1023
1021
|
min?: number;
|
|
1022
|
+
max?: number;
|
|
1024
1023
|
};
|
|
1025
1024
|
trustedSources?: string[];
|
|
1026
1025
|
};
|
|
1027
|
-
|
|
1026
|
+
version?: number;
|
|
1028
1027
|
createdAt?: Date;
|
|
1029
1028
|
createdBy?: string;
|
|
1030
1029
|
creationType?: CreationType;
|
|
1030
|
+
policyId?: string;
|
|
1031
1031
|
baselineModifier?: number;
|
|
1032
1032
|
effectiveFrom?: Date;
|
|
1033
1033
|
effectiveUntil?: Date;
|
|
@@ -1059,24 +1059,24 @@ export declare const modifierEvaluationRecordSchema: z.ZodObject<{
|
|
|
1059
1059
|
evaluatedAt: z.ZodDate;
|
|
1060
1060
|
evaluationHash: z.ZodString;
|
|
1061
1061
|
}, "strip", z.ZodTypeAny, {
|
|
1062
|
-
evaluatedAt?: Date;
|
|
1063
1062
|
agentId?: string;
|
|
1064
|
-
policyId?: string;
|
|
1065
1063
|
provenanceHash?: string;
|
|
1064
|
+
policyId?: string;
|
|
1066
1065
|
evaluationId?: string;
|
|
1067
1066
|
policyVersion?: number;
|
|
1068
1067
|
computedModifier?: number;
|
|
1069
1068
|
conditionsMatched?: string[];
|
|
1069
|
+
evaluatedAt?: Date;
|
|
1070
1070
|
evaluationHash?: string;
|
|
1071
1071
|
}, {
|
|
1072
|
-
evaluatedAt?: Date;
|
|
1073
1072
|
agentId?: string;
|
|
1074
|
-
policyId?: string;
|
|
1075
1073
|
provenanceHash?: string;
|
|
1074
|
+
policyId?: string;
|
|
1076
1075
|
evaluationId?: string;
|
|
1077
1076
|
policyVersion?: number;
|
|
1078
1077
|
computedModifier?: number;
|
|
1079
1078
|
conditionsMatched?: string[];
|
|
1079
|
+
evaluatedAt?: Date;
|
|
1080
1080
|
evaluationHash?: string;
|
|
1081
1081
|
}>;
|
|
1082
1082
|
/**
|
|
@@ -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" | "organizational" | "deployment" | "attestation";
|
|
1126
1126
|
constraint?: string;
|
|
1127
1127
|
}, {
|
|
1128
1128
|
value?: number;
|
|
1129
|
-
type?: "context" | "
|
|
1129
|
+
type?: "context" | "organizational" | "deployment" | "attestation";
|
|
1130
1130
|
constraint?: string;
|
|
1131
1131
|
}>>;
|
|
1132
1132
|
enforcementLayer: z.ZodEnum<["kernel", "policy", "regulatory"]>;
|
|
@@ -1141,17 +1141,17 @@ export declare const trustComputationEventSchema: z.ZodObject<{
|
|
|
1141
1141
|
}, "strip", z.ZodTypeAny, {
|
|
1142
1142
|
timestamp?: Date;
|
|
1143
1143
|
agentId?: string;
|
|
1144
|
-
rawScore?: number;
|
|
1145
1144
|
contextType?: ContextType;
|
|
1146
1145
|
eventId?: string;
|
|
1146
|
+
rawScore?: number;
|
|
1147
1147
|
clampedScore?: number;
|
|
1148
1148
|
ceilingApplied?: boolean;
|
|
1149
1149
|
ceilingSource?: {
|
|
1150
1150
|
value?: number;
|
|
1151
|
-
type?: "context" | "
|
|
1151
|
+
type?: "context" | "organizational" | "deployment" | "attestation";
|
|
1152
1152
|
constraint?: string;
|
|
1153
1153
|
};
|
|
1154
|
-
enforcementLayer?: "
|
|
1154
|
+
enforcementLayer?: "kernel" | "policy" | "regulatory";
|
|
1155
1155
|
kernelValidated?: boolean;
|
|
1156
1156
|
policyValidated?: boolean;
|
|
1157
1157
|
regulatoryLogged?: boolean;
|
|
@@ -1162,17 +1162,17 @@ export declare const trustComputationEventSchema: z.ZodObject<{
|
|
|
1162
1162
|
}, {
|
|
1163
1163
|
timestamp?: Date;
|
|
1164
1164
|
agentId?: string;
|
|
1165
|
-
rawScore?: number;
|
|
1166
1165
|
contextType?: ContextType;
|
|
1167
1166
|
eventId?: string;
|
|
1167
|
+
rawScore?: number;
|
|
1168
1168
|
clampedScore?: number;
|
|
1169
1169
|
ceilingApplied?: boolean;
|
|
1170
1170
|
ceilingSource?: {
|
|
1171
1171
|
value?: number;
|
|
1172
|
-
type?: "context" | "
|
|
1172
|
+
type?: "context" | "organizational" | "deployment" | "attestation";
|
|
1173
1173
|
constraint?: string;
|
|
1174
1174
|
};
|
|
1175
|
-
enforcementLayer?: "
|
|
1175
|
+
enforcementLayer?: "kernel" | "policy" | "regulatory";
|
|
1176
1176
|
kernelValidated?: boolean;
|
|
1177
1177
|
policyValidated?: boolean;
|
|
1178
1178
|
regulatoryLogged?: boolean;
|
|
@@ -1221,16 +1221,16 @@ export declare const regulatoryAuditEntrySchema: z.ZodObject<{
|
|
|
1221
1221
|
ledgerSequence: z.ZodNumber;
|
|
1222
1222
|
}, "strip", z.ZodTypeAny, {
|
|
1223
1223
|
timestamp?: Date;
|
|
1224
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
1224
1225
|
agentId?: string;
|
|
1225
1226
|
rawScore?: number;
|
|
1226
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
1227
1227
|
clampedScore?: number;
|
|
1228
1228
|
entryId?: string;
|
|
1229
1229
|
variance?: number;
|
|
1230
1230
|
varianceAnomaly?: boolean;
|
|
1231
1231
|
frequencyAnomaly?: boolean;
|
|
1232
1232
|
patternAnomaly?: boolean;
|
|
1233
|
-
complianceStatus?: "
|
|
1233
|
+
complianceStatus?: "compliant" | "warning" | "violation";
|
|
1234
1234
|
retentionRequired?: boolean;
|
|
1235
1235
|
retentionUntil?: Date;
|
|
1236
1236
|
entryHash?: string;
|
|
@@ -1238,16 +1238,16 @@ export declare const regulatoryAuditEntrySchema: z.ZodObject<{
|
|
|
1238
1238
|
ledgerSequence?: number;
|
|
1239
1239
|
}, {
|
|
1240
1240
|
timestamp?: Date;
|
|
1241
|
+
regulatoryFramework?: RegulatoryFramework;
|
|
1241
1242
|
agentId?: string;
|
|
1242
1243
|
rawScore?: number;
|
|
1243
|
-
regulatoryFramework?: RegulatoryFramework;
|
|
1244
1244
|
clampedScore?: number;
|
|
1245
1245
|
entryId?: string;
|
|
1246
1246
|
variance?: number;
|
|
1247
1247
|
varianceAnomaly?: boolean;
|
|
1248
1248
|
frequencyAnomaly?: boolean;
|
|
1249
1249
|
patternAnomaly?: boolean;
|
|
1250
|
-
complianceStatus?: "
|
|
1250
|
+
complianceStatus?: "compliant" | "warning" | "violation";
|
|
1251
1251
|
retentionRequired?: boolean;
|
|
1252
1252
|
retentionUntil?: Date;
|
|
1253
1253
|
entryHash?: string;
|
|
@@ -1347,9 +1347,6 @@ export declare const roleGatePolicySchema: z.ZodObject<{
|
|
|
1347
1347
|
reason: z.ZodString;
|
|
1348
1348
|
}, "strip", z.ZodTypeAny, {
|
|
1349
1349
|
name?: string;
|
|
1350
|
-
ruleId?: string;
|
|
1351
|
-
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1352
|
-
reason?: string;
|
|
1353
1350
|
priority?: number;
|
|
1354
1351
|
condition?: {
|
|
1355
1352
|
roles?: AgentRole[];
|
|
@@ -1362,11 +1359,11 @@ export declare const roleGatePolicySchema: z.ZodObject<{
|
|
|
1362
1359
|
};
|
|
1363
1360
|
requiresAttestation?: string[];
|
|
1364
1361
|
};
|
|
1365
|
-
|
|
1366
|
-
name?: string;
|
|
1362
|
+
reason?: string;
|
|
1367
1363
|
ruleId?: string;
|
|
1368
1364
|
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1369
|
-
|
|
1365
|
+
}, {
|
|
1366
|
+
name?: string;
|
|
1370
1367
|
priority?: number;
|
|
1371
1368
|
condition?: {
|
|
1372
1369
|
roles?: AgentRole[];
|
|
@@ -1379,6 +1376,9 @@ export declare const roleGatePolicySchema: z.ZodObject<{
|
|
|
1379
1376
|
};
|
|
1380
1377
|
requiresAttestation?: string[];
|
|
1381
1378
|
};
|
|
1379
|
+
reason?: string;
|
|
1380
|
+
ruleId?: string;
|
|
1381
|
+
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1382
1382
|
}>, "many">;
|
|
1383
1383
|
effectiveFrom: z.ZodDate;
|
|
1384
1384
|
effectiveUntil: z.ZodOptional<z.ZodDate>;
|
|
@@ -1389,9 +1389,6 @@ export declare const roleGatePolicySchema: z.ZodObject<{
|
|
|
1389
1389
|
version?: number;
|
|
1390
1390
|
rules?: {
|
|
1391
1391
|
name?: string;
|
|
1392
|
-
ruleId?: string;
|
|
1393
|
-
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1394
|
-
reason?: string;
|
|
1395
1392
|
priority?: number;
|
|
1396
1393
|
condition?: {
|
|
1397
1394
|
roles?: AgentRole[];
|
|
@@ -1404,10 +1401,13 @@ export declare const roleGatePolicySchema: z.ZodObject<{
|
|
|
1404
1401
|
};
|
|
1405
1402
|
requiresAttestation?: string[];
|
|
1406
1403
|
};
|
|
1404
|
+
reason?: string;
|
|
1405
|
+
ruleId?: string;
|
|
1406
|
+
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1407
1407
|
}[];
|
|
1408
|
-
policyId?: string;
|
|
1409
1408
|
createdAt?: Date;
|
|
1410
1409
|
createdBy?: string;
|
|
1410
|
+
policyId?: string;
|
|
1411
1411
|
effectiveFrom?: Date;
|
|
1412
1412
|
effectiveUntil?: Date;
|
|
1413
1413
|
policyHash?: string;
|
|
@@ -1415,9 +1415,6 @@ export declare const roleGatePolicySchema: z.ZodObject<{
|
|
|
1415
1415
|
version?: number;
|
|
1416
1416
|
rules?: {
|
|
1417
1417
|
name?: string;
|
|
1418
|
-
ruleId?: string;
|
|
1419
|
-
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1420
|
-
reason?: string;
|
|
1421
1418
|
priority?: number;
|
|
1422
1419
|
condition?: {
|
|
1423
1420
|
roles?: AgentRole[];
|
|
@@ -1430,10 +1427,13 @@ export declare const roleGatePolicySchema: z.ZodObject<{
|
|
|
1430
1427
|
};
|
|
1431
1428
|
requiresAttestation?: string[];
|
|
1432
1429
|
};
|
|
1430
|
+
reason?: string;
|
|
1431
|
+
ruleId?: string;
|
|
1432
|
+
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1433
1433
|
}[];
|
|
1434
|
-
policyId?: string;
|
|
1435
1434
|
createdAt?: Date;
|
|
1436
1435
|
createdBy?: string;
|
|
1436
|
+
policyId?: string;
|
|
1437
1437
|
effectiveFrom?: Date;
|
|
1438
1438
|
effectiveUntil?: Date;
|
|
1439
1439
|
policyHash?: string;
|
|
@@ -1481,12 +1481,12 @@ export declare const roleGateEvaluationSchema: z.ZodObject<{
|
|
|
1481
1481
|
matrixAllows: z.ZodBoolean;
|
|
1482
1482
|
reason: z.ZodOptional<z.ZodString>;
|
|
1483
1483
|
}, "strip", z.ZodTypeAny, {
|
|
1484
|
-
reason?: string;
|
|
1485
1484
|
valid?: boolean;
|
|
1485
|
+
reason?: string;
|
|
1486
1486
|
matrixAllows?: boolean;
|
|
1487
1487
|
}, {
|
|
1488
|
-
reason?: string;
|
|
1489
1488
|
valid?: boolean;
|
|
1489
|
+
reason?: string;
|
|
1490
1490
|
matrixAllows?: boolean;
|
|
1491
1491
|
}>;
|
|
1492
1492
|
policyResult: z.ZodObject<{
|
|
@@ -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";
|
|
1500
|
-
reason?: string;
|
|
1501
1499
|
valid?: boolean;
|
|
1500
|
+
reason?: string;
|
|
1501
|
+
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1502
1502
|
appliedRuleId?: string;
|
|
1503
1503
|
appliedPolicyVersion?: number;
|
|
1504
1504
|
}, {
|
|
1505
|
-
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1506
|
-
reason?: string;
|
|
1507
1505
|
valid?: boolean;
|
|
1506
|
+
reason?: string;
|
|
1507
|
+
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1508
1508
|
appliedRuleId?: string;
|
|
1509
1509
|
appliedPolicyVersion?: number;
|
|
1510
1510
|
}>;
|
|
@@ -1515,14 +1515,14 @@ export declare const roleGateEvaluationSchema: z.ZodObject<{
|
|
|
1515
1515
|
contextConstraintsMet: z.ZodBoolean;
|
|
1516
1516
|
reason: z.ZodOptional<z.ZodString>;
|
|
1517
1517
|
}, "strip", z.ZodTypeAny, {
|
|
1518
|
-
reason?: string;
|
|
1519
1518
|
valid?: boolean;
|
|
1519
|
+
reason?: string;
|
|
1520
1520
|
requiresOverride?: boolean;
|
|
1521
1521
|
overrideSignatures?: string[];
|
|
1522
1522
|
contextConstraintsMet?: boolean;
|
|
1523
1523
|
}, {
|
|
1524
|
-
reason?: string;
|
|
1525
1524
|
valid?: boolean;
|
|
1525
|
+
reason?: string;
|
|
1526
1526
|
requiresOverride?: boolean;
|
|
1527
1527
|
overrideSignatures?: string[];
|
|
1528
1528
|
contextConstraintsMet?: boolean;
|
|
@@ -1533,59 +1533,59 @@ export declare const roleGateEvaluationSchema: z.ZodObject<{
|
|
|
1533
1533
|
}, "strip", z.ZodTypeAny, {
|
|
1534
1534
|
timestamp?: Date;
|
|
1535
1535
|
agentId?: string;
|
|
1536
|
-
tier?: TrustTier;
|
|
1537
|
-
decision?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1538
|
-
decidedAt?: Date;
|
|
1539
|
-
role?: AgentRole;
|
|
1540
1536
|
evaluationId?: string;
|
|
1541
1537
|
evaluationHash?: string;
|
|
1538
|
+
role?: AgentRole;
|
|
1539
|
+
tier?: TrustTier;
|
|
1542
1540
|
kernelResult?: {
|
|
1543
|
-
reason?: string;
|
|
1544
1541
|
valid?: boolean;
|
|
1542
|
+
reason?: string;
|
|
1545
1543
|
matrixAllows?: boolean;
|
|
1546
1544
|
};
|
|
1547
1545
|
policyResult?: {
|
|
1548
|
-
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1549
|
-
reason?: string;
|
|
1550
1546
|
valid?: boolean;
|
|
1547
|
+
reason?: string;
|
|
1548
|
+
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1551
1549
|
appliedRuleId?: string;
|
|
1552
1550
|
appliedPolicyVersion?: number;
|
|
1553
1551
|
};
|
|
1554
1552
|
basisResult?: {
|
|
1555
|
-
reason?: string;
|
|
1556
1553
|
valid?: boolean;
|
|
1554
|
+
reason?: string;
|
|
1557
1555
|
requiresOverride?: boolean;
|
|
1558
1556
|
overrideSignatures?: string[];
|
|
1559
1557
|
contextConstraintsMet?: boolean;
|
|
1560
1558
|
};
|
|
1559
|
+
decision?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1560
|
+
decidedAt?: Date;
|
|
1561
1561
|
}, {
|
|
1562
1562
|
timestamp?: Date;
|
|
1563
1563
|
agentId?: string;
|
|
1564
|
-
tier?: TrustTier;
|
|
1565
|
-
decision?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1566
|
-
decidedAt?: Date;
|
|
1567
|
-
role?: AgentRole;
|
|
1568
1564
|
evaluationId?: string;
|
|
1569
1565
|
evaluationHash?: string;
|
|
1566
|
+
role?: AgentRole;
|
|
1567
|
+
tier?: TrustTier;
|
|
1570
1568
|
kernelResult?: {
|
|
1571
|
-
reason?: string;
|
|
1572
1569
|
valid?: boolean;
|
|
1570
|
+
reason?: string;
|
|
1573
1571
|
matrixAllows?: boolean;
|
|
1574
1572
|
};
|
|
1575
1573
|
policyResult?: {
|
|
1576
|
-
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1577
|
-
reason?: string;
|
|
1578
1574
|
valid?: boolean;
|
|
1575
|
+
reason?: string;
|
|
1576
|
+
action?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1579
1577
|
appliedRuleId?: string;
|
|
1580
1578
|
appliedPolicyVersion?: number;
|
|
1581
1579
|
};
|
|
1582
1580
|
basisResult?: {
|
|
1583
|
-
reason?: string;
|
|
1584
1581
|
valid?: boolean;
|
|
1582
|
+
reason?: string;
|
|
1585
1583
|
requiresOverride?: boolean;
|
|
1586
1584
|
overrideSignatures?: string[];
|
|
1587
1585
|
contextConstraintsMet?: boolean;
|
|
1588
1586
|
};
|
|
1587
|
+
decision?: "ALLOW" | "DENY" | "ESCALATE";
|
|
1588
|
+
decidedAt?: Date;
|
|
1589
1589
|
}>;
|
|
1590
1590
|
/**
|
|
1591
1591
|
* Trust score computation configuration
|
|
@@ -1613,17 +1613,17 @@ export declare const trustMetricsSchema: z.ZodObject<{
|
|
|
1613
1613
|
governance: z.ZodNumber;
|
|
1614
1614
|
context: z.ZodNumber;
|
|
1615
1615
|
}, "strip", z.ZodTypeAny, {
|
|
1616
|
-
context?: number;
|
|
1617
|
-
governance?: number;
|
|
1618
|
-
capability?: number;
|
|
1619
1616
|
observability?: number;
|
|
1617
|
+
capability?: number;
|
|
1620
1618
|
behavior?: number;
|
|
1621
|
-
}, {
|
|
1622
|
-
context?: number;
|
|
1623
1619
|
governance?: number;
|
|
1624
|
-
|
|
1620
|
+
context?: number;
|
|
1621
|
+
}, {
|
|
1625
1622
|
observability?: number;
|
|
1623
|
+
capability?: number;
|
|
1626
1624
|
behavior?: number;
|
|
1625
|
+
governance?: number;
|
|
1626
|
+
context?: number;
|
|
1627
1627
|
}>;
|
|
1628
1628
|
/**
|
|
1629
1629
|
* Complete trust computation result
|
|
@@ -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" | "organizational" | "deployment" | "attestation";
|
|
1666
1666
|
constraint?: string;
|
|
1667
1667
|
}, {
|
|
1668
1668
|
value?: number;
|
|
1669
|
-
type?: "context" | "
|
|
1669
|
+
type?: "context" | "organizational" | "deployment" | "attestation";
|
|
1670
1670
|
constraint?: string;
|
|
1671
1671
|
}>;
|
|
1672
1672
|
creationModifier: z.ZodNumber;
|
|
@@ -1678,29 +1678,29 @@ export declare const trustComputationResultSchema: z.ZodObject<{
|
|
|
1678
1678
|
governance: z.ZodNumber;
|
|
1679
1679
|
context: z.ZodNumber;
|
|
1680
1680
|
}, "strip", z.ZodTypeAny, {
|
|
1681
|
-
context?: number;
|
|
1682
|
-
governance?: number;
|
|
1683
|
-
capability?: number;
|
|
1684
1681
|
observability?: number;
|
|
1682
|
+
capability?: number;
|
|
1685
1683
|
behavior?: number;
|
|
1686
|
-
}, {
|
|
1687
|
-
context?: number;
|
|
1688
1684
|
governance?: number;
|
|
1689
|
-
|
|
1685
|
+
context?: number;
|
|
1686
|
+
}, {
|
|
1690
1687
|
observability?: number;
|
|
1688
|
+
capability?: number;
|
|
1691
1689
|
behavior?: number;
|
|
1692
|
-
}>, {
|
|
1693
|
-
context?: number;
|
|
1694
1690
|
governance?: number;
|
|
1695
|
-
|
|
1691
|
+
context?: number;
|
|
1692
|
+
}>, {
|
|
1696
1693
|
observability?: number;
|
|
1694
|
+
capability?: number;
|
|
1697
1695
|
behavior?: number;
|
|
1698
|
-
}, {
|
|
1699
|
-
context?: number;
|
|
1700
1696
|
governance?: number;
|
|
1701
|
-
|
|
1697
|
+
context?: number;
|
|
1698
|
+
}, {
|
|
1702
1699
|
observability?: number;
|
|
1700
|
+
capability?: number;
|
|
1703
1701
|
behavior?: number;
|
|
1702
|
+
governance?: number;
|
|
1703
|
+
context?: number;
|
|
1704
1704
|
}>;
|
|
1705
1705
|
presetId: z.ZodString;
|
|
1706
1706
|
presetLineage: z.ZodObject<{
|
|
@@ -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
|
-
verifiedAt?: Date;
|
|
1715
|
-
chain?: string[];
|
|
1716
1714
|
leafPresetId?: string;
|
|
1715
|
+
chain?: string[];
|
|
1717
1716
|
hashes?: string[];
|
|
1718
1717
|
verified?: boolean;
|
|
1718
|
+
verifiedAt?: Date;
|
|
1719
1719
|
verifiedBy?: string;
|
|
1720
1720
|
}, {
|
|
1721
|
-
verifiedAt?: Date;
|
|
1722
|
-
chain?: string[];
|
|
1723
1721
|
leafPresetId?: string;
|
|
1722
|
+
chain?: string[];
|
|
1724
1723
|
hashes?: string[];
|
|
1725
1724
|
verified?: boolean;
|
|
1725
|
+
verifiedAt?: Date;
|
|
1726
1726
|
verifiedBy?: string;
|
|
1727
1727
|
}>;
|
|
1728
1728
|
contextValid: z.ZodBoolean;
|
|
@@ -1732,33 +1732,33 @@ export declare const trustComputationResultSchema: z.ZodObject<{
|
|
|
1732
1732
|
auditTrail: z.ZodArray<z.ZodString, "many">;
|
|
1733
1733
|
}, "strip", z.ZodTypeAny, {
|
|
1734
1734
|
agentId?: string;
|
|
1735
|
-
rawScore?: number;
|
|
1736
|
-
finalScore?: number;
|
|
1737
1735
|
presetId?: string;
|
|
1736
|
+
rawScore?: number;
|
|
1738
1737
|
ceilingApplied?: boolean;
|
|
1739
1738
|
ceilingSource?: {
|
|
1740
1739
|
value?: number;
|
|
1741
|
-
type?: "context" | "
|
|
1740
|
+
type?: "context" | "organizational" | "deployment" | "attestation";
|
|
1742
1741
|
constraint?: string;
|
|
1743
1742
|
};
|
|
1744
1743
|
effectiveTier?: TrustTier;
|
|
1745
1744
|
computedAt?: Date;
|
|
1745
|
+
finalScore?: number;
|
|
1746
1746
|
ceilingValue?: number;
|
|
1747
1747
|
creationModifier?: number;
|
|
1748
1748
|
modifierPolicyVersion?: number;
|
|
1749
1749
|
weightsUsed?: {
|
|
1750
|
-
context?: number;
|
|
1751
|
-
governance?: number;
|
|
1752
|
-
capability?: number;
|
|
1753
1750
|
observability?: number;
|
|
1751
|
+
capability?: number;
|
|
1754
1752
|
behavior?: number;
|
|
1753
|
+
governance?: number;
|
|
1754
|
+
context?: number;
|
|
1755
1755
|
};
|
|
1756
1756
|
presetLineage?: {
|
|
1757
|
-
verifiedAt?: Date;
|
|
1758
|
-
chain?: string[];
|
|
1759
1757
|
leafPresetId?: string;
|
|
1758
|
+
chain?: string[];
|
|
1760
1759
|
hashes?: string[];
|
|
1761
1760
|
verified?: boolean;
|
|
1761
|
+
verifiedAt?: Date;
|
|
1762
1762
|
verifiedBy?: string;
|
|
1763
1763
|
};
|
|
1764
1764
|
contextValid?: boolean;
|
|
@@ -1768,33 +1768,33 @@ export declare const trustComputationResultSchema: z.ZodObject<{
|
|
|
1768
1768
|
auditTrail?: string[];
|
|
1769
1769
|
}, {
|
|
1770
1770
|
agentId?: string;
|
|
1771
|
-
rawScore?: number;
|
|
1772
|
-
finalScore?: number;
|
|
1773
1771
|
presetId?: string;
|
|
1772
|
+
rawScore?: number;
|
|
1774
1773
|
ceilingApplied?: boolean;
|
|
1775
1774
|
ceilingSource?: {
|
|
1776
1775
|
value?: number;
|
|
1777
|
-
type?: "context" | "
|
|
1776
|
+
type?: "context" | "organizational" | "deployment" | "attestation";
|
|
1778
1777
|
constraint?: string;
|
|
1779
1778
|
};
|
|
1780
1779
|
effectiveTier?: TrustTier;
|
|
1781
1780
|
computedAt?: Date;
|
|
1781
|
+
finalScore?: number;
|
|
1782
1782
|
ceilingValue?: number;
|
|
1783
1783
|
creationModifier?: number;
|
|
1784
1784
|
modifierPolicyVersion?: number;
|
|
1785
1785
|
weightsUsed?: {
|
|
1786
|
-
context?: number;
|
|
1787
|
-
governance?: number;
|
|
1788
|
-
capability?: number;
|
|
1789
1786
|
observability?: number;
|
|
1787
|
+
capability?: number;
|
|
1790
1788
|
behavior?: number;
|
|
1789
|
+
governance?: number;
|
|
1790
|
+
context?: number;
|
|
1791
1791
|
};
|
|
1792
1792
|
presetLineage?: {
|
|
1793
|
-
verifiedAt?: Date;
|
|
1794
|
-
chain?: string[];
|
|
1795
1793
|
leafPresetId?: string;
|
|
1794
|
+
chain?: string[];
|
|
1796
1795
|
hashes?: string[];
|
|
1797
1796
|
verified?: boolean;
|
|
1797
|
+
verifiedAt?: Date;
|
|
1798
1798
|
verifiedBy?: string;
|
|
1799
1799
|
};
|
|
1800
1800
|
contextValid?: boolean;
|