Repository navigation
feat(process): add direct replay machine runner - #418
Merged
Merged
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Description
Add a direct, execution-free boundary for finite replay machines.
run_replay_machineandrea run-replay-machinenow accept the same validated{ machine, events }JSON and evaluate it through the existingReplayMachineRuntimewithout opening sockets or launching a target.The result includes:
Captured values and request content are not returned. Action fields containing a captured secret collapse to a stable alias. Direct runs also cap events, aggregate action JSON, action text fields, and possible sensitive-capture operations so response size and redaction work remain bounded.
The canonical CLI/MCP catalog, bundled skill metadata, Process Capture documentation, and translated tool-family counts are updated for the new command.
Type of Change
Testing Performed
npm run typecheck)npm run lint)npm test)npm run verify:hopper)npm run verify:hopper:linux) or unavailability explainednpm run verify:browser) or unavailability explainednpm run verify:package)Validation run:
npm run checknpm run docs:checknpm test: 1,281 passed; seven parallel timing/process assertions failed under suite saturation, and all six affected files then passed serially (45 tests)Real Hopper, Ghidra, browser, and package verification were not run because this change does not alter provider, browser, packaging, or real-tool execution paths.
Tool Contract Impact
Adds the read-only, idempotent session tool
run_replay_machineand CLI commandrun-replay-machine. MCP tool count becomes 97; primary CLI command count becomes 57.Related Issues
Closes #335