Skip to content

fix: harden automation execution - #1665

Closed
lnittman wants to merge 4 commits into
get-bb:mainfrom
lnittman:fix/automation-hardening-20260816
Closed

fix: harden automation execution#1665
lnittman wants to merge 4 commits into
get-bb:mainfrom
lnittman:fix/automation-hardening-20260816

Conversation

@lnittman

Copy link
Copy Markdown
Contributor

Summary

  • enforce single-flight automation execution per automation
  • add exponential retry backoff and auto-pause after three consecutive failures
  • terminate the full script process group on timeout
  • validate native target threads and permission modes before dispatch
  • document native automation delivery via bb thread tell

Verification

  • pnpm --filter bb-plugin-automations test — 72 tests passed across 6 files
  • pnpm --filter bb-plugin-automations typecheck — passed
  • live Prompt Forge manual canary and subsequent scheduled run both succeeded against a fresh native thread

@lnittman

Copy link
Copy Markdown
Contributor Author

Superseded by #1675, which carries the same change plus startup recovery for orphaned running rows, a migration that settles duplicate running rows instead of failing, and the split commit series; it tracks #1674. Closing this one to keep a single thread.

AGENT GENERATED: by Claude Fable 5

@lnittman lnittman closed this Aug 16, 2026
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