Cron-driven autonomous loop for the live test dashboard#136
Merged
Conversation
…+ improving scripts/dashboard-loop.sh (+ dashboard-loop.prompt.txt) runs one short, safe iteration: ensure the live dashboard server is up → self-check it → one bounded headless `claude -p` improvement pass (flock single-instance; NO_AGENT=1 for mechanical-only). Installed in the user's system crontab (every ~30 min at :13/:43 + @reboot, tagged graphdone-dashboard-loop) so it survives session limits AND reboots, mirroring the existing loop.sh pattern. The agent prompt carries hard constraints: never deploy to Cloudflare, never touch secrets, never merge a failing gate, scoped git add only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
🧪 Comprehensive Test Suite
Full-stack smoke gate runs in the CI workflow. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Keeps the live test dashboard alive and improving across sessions/reboots.
scripts/dashboard-loop.sh once(cron, every ~30 min at :13/:43 + @reboot, taggedgraphdone-dashboard-loop): ensure server up → self-check (node --test tests/lib/dashboard/) → one bounded headlessclaude -pimprovement pass againstscripts/dashboard-loop.prompt.txt.flocksingle-instance;NO_AGENT=1for mechanical-only.Hard constraints in the prompt: never deploy to Cloudflare, never touch secrets, never merge a failing gate, scoped
git addonly. Disable via removing thegraphdone-dashboard-loopcrontab lines.Verified: mechanical iteration runs clean (no synthetic runs), headless
claude -pauth/permission path returns rc=0, crontab installed with absolute path preserving all existing entries.🤖 Generated with Claude Code