ops(log): PMO activity log and turn/queue logs

This commit is contained in:
2026-08-29 05:22:43 -05:00
parent b2c4b74d76
commit 8009277c44
46 changed files with 425 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
On-disk script matches the paste — it has an argument-indexing bug: `i=0` makes the first "task" `${!0}` (the script itself), and with the post-increment, the condition `-lt $#` drops the last argument. Minimal fix is two characters:Fixed. Two off-by-one bugs on lines 6-7: `i=0` dispatched the script itself as a task (visible in `queue.status` as `RUN queue-next.sh`), and `-lt $#` with the post-increment skipped the final task file. Changed to `i=1` / `-le $#`; verified syntax and that the DEFER decrement (`i=$((i-1)); continue`) still re-queues the same task.