Skip to content

Enforce parent BYOK billing mode for hosted usage - #4

Merged
Obsecurus merged 1 commit into
mainfrom
codex/byok-parent-api-keys
Feb 10, 2026
Merged

Obsecurus merged 1 commit into
mainfrom
codex/byok-parent-api-keys

Conversation

@Obsecurus

Copy link
Copy Markdown
Owner

Summary

  • add new billing mode user_api to enforce parent bring-your-own-key behavior
  • block chat and AI trivia in hosted mode when a parent key is missing
  • pass parent key per request to Claude Agent SDK for chat/build/mechanic runs
  • update web UI to prompt parent for key, send key header, and handle missing-key errors
  • switch Fly defaults to YAPPY_BILLING_MODE=user_api and update docs/examples
  • add integration tests for BYOK guard behavior

Validation

  • cd interview-app && npm run check
  • cd interview-app && npm test

@Obsecurus
Obsecurus merged commit bfbb599 into main Feb 10, 2026
1 check passed
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.

1 participant