Skip to content

feat(phase-2): replace subprocess.run with safe_run in agent_call.py#2

Merged
ProtocolWarden merged 1 commit into
mainfrom
feat/corerunner-phase-2
May 19, 2026
Merged

feat(phase-2): replace subprocess.run with safe_run in agent_call.py#2
ProtocolWarden merged 1 commit into
mainfrom
feat/corerunner-phase-2

Conversation

@ProtocolWarden
Copy link
Copy Markdown
Owner

Summary

  • Replaces raw subprocess.run() in _claude_call() and _codex_call() with core_runner.process.safe_run()
  • Removes subprocess.TimeoutExpired catch — safe_run returns timed_out flag instead
  • Adds core-runner dependency; conftest wires local CoreRunner src path for tests
  • 108 tests pass

Test plan

  • pytest tests/ -q → 108 passed

🤖 Generated with Claude Code

Wire core_runner.process.safe_run() for process-group-safe execution.
Removes TimeoutExpired catch (safe_run returns timed_out flag instead).
Adds core-runner dep; conftest wires local CoreRunner src path.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ProtocolWarden ProtocolWarden merged commit 176244b into main May 19, 2026
1 check failed
@ProtocolWarden ProtocolWarden deleted the feat/corerunner-phase-2 branch May 19, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant