Repository navigation
todo-handler: built-in recurring idle check via ScheduleWakeup - #11
aphelps-claude-bot wants to merge 2 commits into
Conversation
The skill now calls ScheduleWakeup at the end of every pass so continuous monitoring is the default. No /loop invocation required — invoking the skill once starts the recurring cycle. Delay: 900s after completing work, 1800s when idle or waiting on PRs. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
aphelps
left a comment
There was a problem hiding this comment.
The wait time should be configurable as an optional when the skill is invoked, but have a single wakeup time defaulting to 15 minutes.
Please write a script that can be run when woken up to determine if there is work to be done and determine the next todo phase to start on, and if there is nothing to wait on then reset the timer. The goal is to minimize Claude utilization during the wake up process.
Add a lightweight pre-check script (check-for-work.sh) that reads todo.md and checks PR activity without a full Claude pass. The skill runs it on every wake-up; if IDLE is returned it reschedules immediately without doing heavy work. Default wake interval is 15 minutes (900s), configurable at invocation time (e.g. /todo-handler 30m). Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
|
Addressed in the second commit (7766b36):
The script checks: Active/Approved/Ready/Planning/Blocked tasks (from todo.md parsing) and whether any Review Task PRs were updated in the last 2 hours (from the GitHub API). |
|
Closing: the todo-handler skill has been moved to aphelps/claude-skills (PR #13 merged). The Recurring Check / ScheduleWakeup / check-for-work.sh changes from this branch are already incorporated in the claude-skills SKILL.md. |
…irst real guard (#27) ArduinoLibs bc56ddc (#12) -- getFramingErrorCount() plus the 57/58 boundary group that demonstrates the ceiling instead of asserting arithmetic about it. WLED 2e7634b3 (#16) -- RS485B_TX_SLOT_LEN derived from the receive budget minus the socket header, so a full payload can no longer exceed what a receiver can hold. This bump also carries ArduinoLibs #11 (the test-command doc fix), which was held back at the time to avoid deepening a gitlink conflict in the mesh PRs. That conflict is resolved and merged, so it rides along here. The substantive part is the probe change. RS485_RECV_BUFFER lives in ArduinoLibs and RS485B_RECV_BUFFER_LEN mirrors it in the usermod, because rs485_bridge_protocol.h has to stay free of Arduino.h for the host test to build. The static_assert tying them together compiles only under [env:ampworks], and no CI workflow builds that env -- so until now the mirror had NO automated guard at all. Drift it and the transmit ceiling silently stops matching what a receiver can hold, which is the 71-vs-64 bug this whole task exists to remove. tools/rs485_bridge_probe.py --self-test now scrapes both constants and fails if they disagree, and separately fails if RS485B_TX_SLOT_LEN stops being derived -- because re-hardcoding it is exactly how the original defect happened. I said in the WLED PR that the probe already did this; it did not, and this is the commit where that becomes true. Verified, including both negative controls: drifting the mirror to 96 is caught, and replacing the derived slot with a literal 57 -- the right VALUE, still the wrong shape -- is caught too. make test green across all suites, ampworks builds with libdeps cleared. Claude-Session: https://claude.ai/code/session_013HqzdRdTRnreSvevaQGQSJ Co-authored-by: aphelps-claude-bot <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Summary
ScheduleWakeupis called at the end of every pass./looprequired.Test plan
skills/todo-handler/SKILL.mdand confirm Recurring Check section is present and referenced from Startup and When Idle.🤖 Generated with Claude Code