cli/cmd/ai
Claude f078871617
Some checks are pending
Security Scan / Go Vulnerability Check (push) Waiting to run
Security Scan / Secret Detection (push) Waiting to run
Security Scan / Dependency & Config Scan (push) Waiting to run
feat(dispatch): add rate-limit backoff and ticket requeue
When an agent job fails in under 30 seconds (indicating rate limiting
or auth rejection), the watcher now:
- Requeues the ticket back to the queue instead of marking it done
- Applies exponential backoff: 2x, 4x, 8x the base poll interval
- Resets backoff to 1x on successful job completion

This prevents burning through the entire queue during rate-limited
periods. Tested on Clotho (AU) with 15m base → 30m/60m/120m backoff.

Co-Authored-By: Charon <charon@lethean.io>
2026-02-20 13:59:30 +00:00
..
cmd_agent.go feat(cli): migrate imports to split repos + wire go-agentic registry 2026-02-20 12:47:02 +00:00
cmd_ai.go refactor: flatten commands, extract php/ci to own repos (#2) 2026-02-16 14:45:06 +00:00
cmd_commands.go refactor: flatten commands, extract php/ci to own repos (#2) 2026-02-16 14:45:06 +00:00
cmd_dispatch.go feat(dispatch): add rate-limit backoff and ticket requeue 2026-02-20 13:59:30 +00:00
cmd_git.go feat(cli): migrate imports to split repos + wire go-agentic registry 2026-02-20 12:47:02 +00:00
cmd_metrics.go chore: update module paths and daemon refactor 2026-02-17 19:19:40 +00:00
cmd_ratelimits.go refactor: flatten commands, extract php/ci to own repos (#2) 2026-02-16 14:45:06 +00:00
cmd_tasks.go feat(cli): migrate imports to split repos + wire go-agentic registry 2026-02-20 12:47:02 +00:00
cmd_updates.go feat(cli): migrate imports to split repos + wire go-agentic registry 2026-02-20 12:47:02 +00:00
ratelimit_dispatch.go refactor: flatten commands, extract php/ci to own repos (#2) 2026-02-16 14:45:06 +00:00