Skip to content

Cron-driven autonomous loop for the live test dashboard#136

Merged
mvalancy merged 1 commit into
devfrom
chore/dashboard-autoloop
Jun 19, 2026
Merged

Cron-driven autonomous loop for the live test dashboard#136
mvalancy merged 1 commit into
devfrom
chore/dashboard-autoloop

Conversation

@mvalancy

Copy link
Copy Markdown
Member

Keeps the live test dashboard alive and improving across sessions/reboots.

scripts/dashboard-loop.sh once (cron, every ~30 min at :13/:43 + @reboot, tagged graphdone-dashboard-loop): ensure server up → self-check (node --test tests/lib/dashboard/) → one bounded headless claude -p improvement pass against scripts/dashboard-loop.prompt.txt. flock single-instance; NO_AGENT=1 for mechanical-only.

Hard constraints in the prompt: never deploy to Cloudflare, never touch secrets, never merge a failing gate, scoped git add only. Disable via removing the graphdone-dashboard-loop crontab lines.

Verified: mechanical iteration runs clean (no synthetic runs), headless claude -p auth/permission path returns rc=0, crontab installed with absolute path preserving all existing entries.

🤖 Generated with Claude Code

…+ 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>
@mvalancy mvalancy merged commit ef9a481 into dev Jun 19, 2026
1 check passed
@mvalancy mvalancy deleted the chore/dashboard-autoloop branch June 19, 2026 07:46
@github-actions

Copy link
Copy Markdown

🧪 Comprehensive Test Suite

  • Unit suites (Node 18.x & 20.x) — core, web, server, mcp-server: ✅ passed
  • Installer & deploy config: ✅ passed

Full-stack smoke gate runs in the CI workflow.

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