feat: add plugin contract, observe readiness checks to doctor; sync types

This commit is contained in:
John Dvorak
2026-05-22 13:08:51 -07:00
parent 4891b0883e
commit 60e710370a
7 changed files with 299 additions and 6 deletions
+28 -1
View File
@@ -42,11 +42,38 @@ export interface EnvironmentPolicy {
}
export interface ProfileDefinition {
name: string;
mode?: 'verify' | 'observe' | 'qualify';
preset?: string;
routes?: string[];
seed?: number;
artifactDir?: string;
environment?: string;
observe?: boolean;
sampling?: number;
blocking?: boolean;
sinks?: Record<string, unknown>;
features?: string[];
[key: string]: unknown;
chaos?: boolean;
chaosStrategy?: 'one' | 'all' | 'sample' | 'routes';
chaosSampleSize?: number;
chaosSampleRoutes?: string[];
}
export interface PresetDefinition {
name: string;
timeout?: number;
parallel?: boolean;
chaos?: boolean;
observe?: boolean;
runs?: number;
sampling?: number;
blocking?: boolean;
sinks?: Record<string, unknown>;
features?: string[];
chaosStrategy?: 'one' | 'all' | 'sample' | 'routes';
chaosSampleSize?: number;
chaosSampleRoutes?: string[];
}
export interface PresetDefinition {