Skip to content

0.51.1 — Scheduled runs in auto mode, agents clean their own scratch

Choose a tag to compare

@mikebronner mikebronner released this 30 Sep 20:28
· 2 commits to main since this release

🤖 Scheduled runs start in auto mode

  • dispatch-agent.sh starts each run with --permission-mode auto --permission-prompts none instead of --dangerously-skip-permissions. Auto mode's own rules call that flag an unsafe way to start an agent loop.
  • The Index and memory MCP tools are allowed by rule, so the classifier never judges a board write or a memory call.
  • Every refused action is written to the run log as one Permission denied: line, sub-agents included. A headless run exits 0 even when actions were refused, so the log is the only place to see them.
  • Commands with no rule, such as gh pr create, are now judged by the classifier. Check the logs after the first runs.

🧹 Agents clean up their own scratch

  • Watson, Holmes, the lens helpers, and Lestrade make scratch under the session scratchpad, or ~/Developer/scratchpad when none is named. They delete it themselves before they report.
  • A refused delete is retried with the literal path. It is never handed to you as a ! command.
  • Each scheduled run's folder now lives in ~/Developer/scratchpad and is deleted when the run ends, including on failure. Runs no longer leave folders in $TMPDIR.
  • agents/lint-scratch-cleanup.sh checks that the rule stays in place.

⬆️ Upgrade

  1. Update the plugin.
  2. Run /workbench-dev-team:setup. It reinstalls dispatch-agent.sh, so scheduled runs use auto mode only after this step.
  3. After the first scheduled runs, check for refusals with grep '^Permission denied: ' ~/.claude-workbench/dev-team-logs/*.log.

Folders left in $TMPDIR by earlier runs are not removed.

Full Changelog: 0.51.0...0.51.1