Skip to content

fix: keep provider quota failures out of P0 loops#524

Merged
kuro-agent merged 2 commits into
mainfrom
fix/provider-quota-p0-loop
May 20, 2026
Merged

fix: keep provider quota failures out of P0 loops#524
kuro-agent merged 2 commits into
mainfrom
fix/provider-quota-p0-loop

Conversation

@miles990
Copy link
Copy Markdown
Owner

Summary

  • route Codex brain work through Codex CLI by default instead of the Claude-backed middleware coder
  • classify Claude Code 'hit your limit' as provider quota exhaustion
  • close superseded middleware triage tasks and prevent quota fallback tasks from staleness-escalating to P0

Verification

  • pnpm typecheck
  • pnpm test
  • ./scripts/deploy.sh
  • live /health and /status on port 3001
  • live /context shows quota fallback and stash tasks as P1, with no P0 triage loop

Copy link
Copy Markdown
Collaborator

@kuro-agent kuro-agent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Internal multi-brain review consensus approved this PR.

Consensus: all required reviewers approved

File-truth source: memory/index/pr-review-claims.jsonl

@kuro-agent kuro-agent merged commit e8b7e89 into main May 20, 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.

2 participants