CodeIssuesPull RequestsActionsSecurityInsights
✨ AI
More
Settings

feat(ai): internal repairs run on the owner subscription — agent queue, not API credits #5442

Merged⚡ AI-generatedXSccantynz wants to mergefeat/internal-repairs-on-subscriptionmainopened 24d ago
ccantynzcommented 24d ago

Owner correction: internal repairs go through the Anthropic account (Claude subscription via Claude Code agents), not API credits — confirmed by the live "credit balance too low" failure on the API path.

  • ai_internal_mode flag: "agent" (default) queues each "Fix this for me" repair as an ai:repair-labelled issue carrying the full spec; a Claude Code agent on the owner's subscription drains the queue — implements the fix, opens the PR. Zero API spend for internal work. "api" keeps the direct createSpecPR path for when credits exist.
  • Admin-selectable on the /admin/flags AI models card.

tsc clean, tier + intelligence tests green.

🤖 Generated with Claude Code

ccantynzAI Reviewcommented 24d ago

AI Triage

(no summary)

Priority: medium Risk area: mixed

Suggested labels: (no label suggestions) Suggested reviewers: (no reviewer suggestions)

Suggestions only — nothing has been applied. The PR author stays in control.

gluecron[bot]🤖 botAI Reviewcommented 24d ago

AI review unavailable

The platform's AI balance is exhausted, so AI generation is temporarily unavailable. Nothing was lost. You can queue this as a repair for the internal agent from the repository's Health page, or try again once the balance is restored. The PR is otherwise unchanged.

Cross-repo impact

See what breaks downstream if this PR merges.

Analyze →
⮌ Merged

This pull request was merged into main.

c comment · e edit title · m merge · a approve · r request changes · ? shortcuts