You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue #96 moves rate limiting out of process memory, while #119 defines plans, entitlements, and durable usage. Preppie still needs one enforcement layer that combines abuse protection with commercial allowances.
A paid subscription must not simply multiply a static request limit. Different provider-backed operations have different costs, units, concurrency risks, and failure semantics.
Scope
Enforcement service
Resolve the authenticated user’s effective entitlement before starting a metered operation.
Atomically reserve quota or capacity before calling OpenAI, ElevenLabs, vision, or other paid providers.
Commit actual usage after success and release or adjust reservations after failure.
Use idempotency keys so retries do not consume allowance twice.
Context
Issue #96 moves rate limiting out of process memory, while #119 defines plans, entitlements, and durable usage. Preppie still needs one enforcement layer that combines abuse protection with commercial allowances.
A paid subscription must not simply multiply a static request limit. Different provider-backed operations have different costs, units, concurrency risks, and failure semantics.
Scope
Enforcement service
Policy categories
Define separate policies for:
User and API behavior
Voice-specific controls
Administration and support
Acceptance criteria
Dependencies
Out of scope