Prevent agents from sleeping during long tasks - #67
Conversation
…gent-sleep fix: prevent agents from sleeping
|
Thank you, @sarthakkondawar2007, for this strong contribution! PR #67 adds sleep prevention for both Codex and Claude, gives Claude a helpful hook message, preserves existing hooks, and adds coverage for hook merging and sleep blocking. This addresses issue #59. The implementation is practical and thoughtful—your testing and attention to existing user configuration make this especially valuable. Great work! |
Thank you! I would love to work with you further 👍 |
Summary
Fixes #59
sleepduring long-running work.Bash(sleep:*)deny rule.PreToolUsehook that blocks sleep commands with an explanatory message.harness configure-agentson macOS.Testing
python -m pytest -q harness/tests/test_cli.py -k configure_agents