CodeIssuesPull RequestsActionsSecurityInsights
✨ AI
More
Settings

fix(spine): anthropic probe is billing-aware; remove tonight's duplicate spine #5457

Merged⚡ AI-generatedXSccantynz wants to mergefix/billing-aware-anthropic-probemainopened 24d ago
ccantynzcommented 24d ago

Discovery: /admin/spine already existed — the full platform nervous system from an earlier session. Tonight's duplicate (PR #5456) is removed.

The gap the duplicate exposed, now fixed in the real spine: dep:anthropic probed /v1/models ("bills nothing") — so it stayed green through a full day of exhausted-balance outage. A probe that bills nothing cannot see a billing failure. It now makes a real 1-output-token Haiku call every 10 minutes (fractions of a cent per month); an exhausted balance turns it red within one tick. Probe framework gains optional method/body; the endpoint-allowlist test now pins that billed probes stay bounded (max_tokens: 1).

18/18 probe tests, tsc clean.

🤖 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