[codex] Harden repair reruns with ACP recovery and Stage 10 safety gates#1
Draft
[codex] Harden repair reruns with ACP recovery and Stage 10 safety gates#1
Conversation
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.
Summary
Why
The repair workflow can now recover and iterate much deeper than the original baseline, but it exposed a few recurring failure modes:
This PR turns those lessons into concrete repair infrastructure so reruns fail earlier, with better diagnostics, and with a stronger contract for generated experiments.
What Changed
ACP repair hardening
Execution and runtime asset plumbing
Stage 10 safety gates for repaired experiments
Config and tests
Validation
python3 -m compileall researchclaw/config.py researchclaw/llm/acp_client.py researchclaw/experiment/sandbox.py researchclaw/experiment/docker_sandbox.py researchclaw/experiment/ssh_sandbox.py researchclaw/experiment/colab_sandbox.py researchclaw/pipeline/_helpers.py researchclaw/pipeline/runner.py researchclaw/pipeline/stage_impls/_code_generation.py researchclaw/pipeline/stage_impls/_execution.py tests/test_rc_cli.py tests/test_rc_executor.py tests/test_rc_runner.py tests/test_ssh_and_colab_sandbox.pyExperimentSandbox.run_project(...)with forwarded args/env overrides and confirm the child entrypoint receives themNotes