Skip to content

feat: add cron integration and auto-pickup to supervisor (t128.5)#381

Merged
marcusquinn merged 1 commit intomainfrom
feature/t128-5-cron-auto-pickup
Feb 6, 2026
Merged

feat: add cron integration and auto-pickup to supervisor (t128.5)#381
marcusquinn merged 1 commit intomainfrom
feature/t128-5-cron-auto-pickup

Conversation

@marcusquinn
Copy link
Owner

Summary

  • Add auto-pickup command: scans TODO.md for #auto-dispatch tagged tasks and tasks in a ## Dispatch Queue section, auto-adds them to supervisor
  • Add cron command: install/uninstall/status for cron-based pulse scheduling (default */5 * * * *)
  • Add watch command: fswatch-based TODO.md watcher as real-time alternative to cron
  • Integrate auto-pickup into pulse cycle as Phase 0 (runs before worker checks and dispatch)

Task

Closes t128.5 from the Autonomous Supervisor Loop plan (t128).

Changes

File Change
.agent/scripts/supervisor-helper.sh +3 commands (auto-pickup, cron, watch), Phase 0 in pulse, updated help text
README.md Updated supervisor description to mention cron/auto-pickup

Testing

  • Bash syntax check: PASS
  • ShellCheck: zero violations
  • auto-pickup tested with mock TODO.md: correctly picks up 2 tagged + 2 queued tasks, skips untagged and completed
  • cron install/uninstall/status cycle tested: installs, shows status, uninstalls cleanly
  • watch tested: correctly reports fswatch not found with install instructions

Auto-Pickup Strategies

  1. Tag-based: Tasks with #auto-dispatch anywhere in the line
  2. Section-based: All open tasks under a ## Dispatch Queue header (until next section)

Both skip tasks already tracked by the supervisor (any state except complete/cancelled).

Add three new commands to supervisor-helper.sh:
- auto-pickup: scans TODO.md for #auto-dispatch tagged tasks and
  Dispatch Queue section, auto-adds them to supervisor
- cron: install/uninstall/status for cron-based pulse scheduling
  (default every 5 minutes)
- watch: fswatch-based TODO.md watcher as real-time alternative to cron

Integrate auto-pickup into pulse cycle as Phase 0, so every pulse
automatically discovers new tasks before checking workers and dispatching.

Zero ShellCheck violations. Tested with mock TODO.md (4 tasks picked up
correctly from both tag and section strategies).
@gemini-code-assist
Copy link

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 6, 2026

Warning

Rate limit exceeded

@marcusquinn has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 24 minutes and 50 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/t128-5-cron-auto-pickup

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Feb 6, 2026

🔍 Code Quality Report

�[0;35m[MONITOR]�[0m Code Review Monitoring Report

�[0;34m[INFO]�[0m Latest Quality Status:
SonarCloud: 0 bugs, 0 vulnerabilities, 20 code smells

�[0;34m[INFO]�[0m Recent monitoring activity:
Fri Feb 6 05:19:03 UTC 2026: Code review monitoring started
Fri Feb 6 05:19:04 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 20
Fri Feb 6 05:19:04 UTC 2026: Qlty - 0 issues found, auto-formatting applied
Fri Feb 6 05:19:06 UTC 2026: Codacy analysis completed with auto-fixes

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 20
  • VULNERABILITIES: 0

Generated on: Fri Feb 6 05:19:09 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 6, 2026

@marcusquinn marcusquinn merged commit 7d7278d into main Feb 6, 2026
11 checks passed
@github-actions github-actions bot mentioned this pull request Feb 8, 2026
17 tasks
@marcusquinn marcusquinn deleted the feature/t128-5-cron-auto-pickup branch February 21, 2026 01:59
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