feat(policy): enforce oauth-only two-brain model routing

This commit is contained in:
Prime Backup Bot
2026-03-11 15:35:13 +00:00
parent dd57bfcc88
commit 268a94b556
4 changed files with 101 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# OAuth Bootstrap (Prime)
Prime requires OAuth sessions for:
- OpenAI (planner brain)
- Anthropic (coder brain)
## Steps
1. Authenticate OpenAI OAuth in runtime (same pattern as OpenClaw).
2. Authenticate Anthropic OAuth in runtime.
3. Run `scripts/preflight-auth.sh`.
4. Confirm model routing with `config/model-router.yaml`.
## Notes
- Do not set `OPENAI_API_KEY` / `ANTHROPIC_API_KEY`.
- If OAuth for Anthropic is not available in runtime, Prime must remain in queue+alert mode for coding tasks.