Repository navigation
refactor!: simplify runtime tools and remove replay engines - #572
Merged
Merged
Conversation
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.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This was referenced Oct 5, 2026
Closed
2 of 17 tasks
darsrc
pushed a commit
to darsrc/rea
that referenced
this pull request
Oct 10, 2026
) * 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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
REA's replay engines and prepare/execute flows required agents to translate ordinary experiments into custom plans, fixture routes, and state machines. This change keeps direct inspection, capture, and comparison tools and lets agents supply commands, scripts, and local fixture servers themselves. CLI and MCP use the same simplified contracts; the published catalog contains 116 tools.
Removes
run_controlled_replay,prepare_node_characterization,execute_node_characterization,run_replay_machine, and the plan-onlyplan_managed_runtime_correlation. Removes the redundantfind_code_for_stringtool;trace_featurecovers that investigation. Retires process replay servers, command shims, reactive orchestration, custom checkpoints, browser request interception, and the active browser scenario's duplicate origin allowlist, together with their configuration, diagnostics, documentation, and exclusive verification lanes. Direct process capture retains timed input, resize and signal events, filesystem snapshots, terminal evidence, cancellation, settlement, and owned-resource cleanup.Tool handlers now resolve named, typed contracts instead of relying on catalog positions, preventing tool removals from silently selecting another schema. Real Hopper verification also exposed a producer mismatch: the advertised procedure schema requires body coverage, but the bridge omitted it. All Hopper procedure producers now explicitly report unavailable complete body ranges rather than inventing extents. AGENTS.md adds prose guidance on these boundaries and on keeping experimentation in agent-composed tools.
Example MCP invocation:
{ "name": "capture_process_scenario", "arguments": { "executable": "node", "arguments": ["-e", "console.log('ready')"] } }The equivalent CLI invocation is
rea capture-process ./scenario.json, with the scenario object saved in that file.Validation:
npm run check:pr: typecheck, lint, formatting, dead-code checks, build, generated-document checks, and 336 test files passed (1,810 tests passed; one skipped).npm run verify:browser: real Chrome, browser scenarios, CLI/MCP screenshots, and launch/attach cleanup passed.npm run verify:package: installed package, CLI/MCP, setup backups and idempotence, and 116-tool catalog passed.npm run verify:hopper: real Hopper operations and lifecycle verification passed after the body-coverage fix.BREAKING CHANGE: The six listed tools and retired replay/orchestration/browser-scope inputs are removed. Old scenario fields are rejected explicitly. Stored evidence authority values remain readable for provenance.
Follow-up to #555.