AI service lifecycle, allowance management, CLI task client
Sort pending tasks by priority (Critical > High > Medium > Low) with oldest-first tie-breaking before dispatch. Add exponential backoff for failed dispatches (5s, 10s, 20s...) and dead-letter tasks that exceed MaxRetries (default 3) by marking them StatusFailed via UpdateTask. New Task fields: MaxRetries, RetryCount, LastAttempt, FailReason. New constant: StatusFailed. Co-Authored-By: Virgil <virgil@lethean.io> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| prompts | ||
| allowance.go | ||
| allowance_edge_test.go | ||
| allowance_error_test.go | ||
| allowance_redis.go | ||
| allowance_redis_test.go | ||
| allowance_service.go | ||
| allowance_sqlite.go | ||
| allowance_sqlite_test.go | ||
| allowance_test.go | ||
| CLAUDE.md | ||
| client.go | ||
| client_test.go | ||
| completion.go | ||
| completion_git_test.go | ||
| completion_test.go | ||
| config.go | ||
| config_test.go | ||
| context.go | ||
| context_git_test.go | ||
| context_test.go | ||
| coverage_boost_test.go | ||
| dispatcher.go | ||
| dispatcher_test.go | ||
| embed.go | ||
| embed_test.go | ||
| FINDINGS.md | ||
| go.mod | ||
| go.sum | ||
| lifecycle_test.go | ||
| logs.go | ||
| logs_test.go | ||
| registry.go | ||
| registry_redis.go | ||
| registry_redis_test.go | ||
| registry_sqlite.go | ||
| registry_sqlite_test.go | ||
| registry_test.go | ||
| router.go | ||
| router_test.go | ||
| service.go | ||
| service_test.go | ||
| status.go | ||
| status_test.go | ||
| submit.go | ||
| submit_test.go | ||
| TODO.md | ||
| types.go | ||