fix: update init scaffolds with pluginContracts, observe sinks, chaos strategy examples

This commit is contained in:
John Dvorak
2026-05-22 13:01:26 -07:00
parent a186146c69
commit 4891b0883e
2 changed files with 41 additions and 0 deletions
+9
View File
@@ -95,6 +95,7 @@ export interface EnvironmentPolicy {
allowChaos?: boolean;
allowBlocking?: boolean;
requireSink?: boolean;
sinks?: Record<string, unknown>;
}
/**
@@ -145,6 +146,14 @@ export interface PresetDefinition {
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[];
}
/**