refactor!: simplify runtime tools and remove replay engines (#572)
* fix(hopper): report unavailable procedure body coverage * refactor!: simplify runtime tools and remove replay engines Keep direct inspection, capture, and comparison tools. Bind handlers to named contracts and let agents compose experiments with commands and local fixture servers. BREAKING CHANGE: Remove controlled replay, Node characterization, finite replay-machine, managed runtime planning, and redundant string-tracing tools. Retire process replay, shims, reactive scenarios, custom checkpoints, and active browser replay and origin-scope inputs.
This commit is contained in:
+1
-15
@@ -44,7 +44,6 @@ const ANALYSIS_ERROR_TAGS = [
|
||||
"ConfigurationError",
|
||||
"NoBinaryOpenError",
|
||||
"BinaryTargetError",
|
||||
"ReplayPlanStaleError",
|
||||
] as const;
|
||||
|
||||
/** Stable tag for an expected analysis failure. */
|
||||
@@ -487,8 +486,7 @@ export interface AnalysisErrorProjection
|
||||
| "revision_conflict"
|
||||
| "configuration_invalid"
|
||||
| "target_unavailable"
|
||||
| "execution_failure"
|
||||
| "plan_stale";
|
||||
| "execution_failure";
|
||||
readonly category:
|
||||
| "invalid_input"
|
||||
| "unsupported_provider"
|
||||
@@ -505,15 +503,3 @@ export interface AnalysisErrorProjection
|
||||
}>;
|
||||
readonly details?: Readonly<Record<string, JsonValue>>;
|
||||
}
|
||||
|
||||
/** Replay commitment no longer matches the immediately rebuilt plan. */
|
||||
export class ReplayPlanStaleError extends AnalysisError {
|
||||
readonly _tag = "ReplayPlanStaleError" as const;
|
||||
|
||||
constructor(
|
||||
readonly expectedDigest: string,
|
||||
readonly actualDigest: string,
|
||||
) {
|
||||
super("Controlled replay plan changed before execution");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user