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:
@@ -141,12 +141,8 @@ it("accepts complete storage, history, and text artifacts beyond former caps", (
|
||||
expect(parsed.success).toBe(true);
|
||||
});
|
||||
|
||||
it("accepts complete scenario output beyond former string and origin caps", () => {
|
||||
it("accepts complete scenario output beyond former string caps", () => {
|
||||
const longText = "detail".repeat(1_000);
|
||||
const origins = Array.from(
|
||||
{ length: 33 },
|
||||
(_, index) => `https://site-${index}.example.test`,
|
||||
);
|
||||
const step = (index: number) => ({
|
||||
step_index: index,
|
||||
step_id: longText,
|
||||
@@ -183,7 +179,6 @@ it("accepts complete scenario output beyond former string and origin caps", () =
|
||||
},
|
||||
scenario: {
|
||||
start_origin: longText,
|
||||
allowed_origins: origins,
|
||||
action_count: 1,
|
||||
secret_references: [longText],
|
||||
},
|
||||
@@ -199,7 +194,6 @@ it("accepts complete scenario output beyond former string and origin caps", () =
|
||||
limitations: Array.from({ length: 65 }, () => longText),
|
||||
});
|
||||
|
||||
expect(parsed.scenario.allowed_origins).toHaveLength(33);
|
||||
expect(parsed.steps[0]?.step_id).toBe(longText);
|
||||
expect(parsed.limitations).toHaveLength(65);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user