Complete tasks 3-7: harden verdict parsing, outputs retention, base branch, linux schedule parity, claim loop task
CI / build (push) Has been cancelled
CI / build (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Code Review: add-claim-loop-task
|
||||
|
||||
## Files reviewed
|
||||
- `scripts/status.py` — `_claim_loop_task_impl`, `cmd_claim_loop_task`, `--claim-loop-task` arg + dispatch
|
||||
- `scripts/loop-runner.py` — claim (step 3.5) and release (step 9.5) in `cmd_tick`
|
||||
- `tests/test_claim_loop_task.py` — 10 tests
|
||||
|
||||
## Summary
|
||||
All requirements met:
|
||||
1. `--claim-loop-task` subprocess command with correct exit codes (0=claimed, 2=already claimed/untracked/missing args)
|
||||
2. Cross-loop scan checks running and paused loops; halted loops' claims persist
|
||||
3. Self-ownership is idempotent (no state re-write)
|
||||
4. Runner calls claim subprocess with `$AUTOMATON_NO_LOOP_LOCK=1` to avoid deadlock
|
||||
5. Release on terminal phase (complete/human_intervention) after orchestrate
|
||||
6. No release on non-terminal phases
|
||||
7. 10/10 tests passing
|
||||
|
||||
## Issues
|
||||
None found.
|
||||
Reference in New Issue
Block a user