Skip to content

Paywall Phase D: server-side voice count #65

@thefiredev-cloud

Description

@thefiredev-cloud

Context

Paywall scaffold landed in f935325. Phase D moves voice-query count enforcement server-side so free-tier limits can't be bypassed by client-side clock manipulation.

Acceptance criteria

  • voice_query_count column on profiles or daily_usage table
  • Server-side check in tRPC voice router
  • 5/day hard cap for Free, unlimited for Pro
  • Reset at UTC midnight via scheduled fn
  • Regression test with clock mocking

Blocker

Depends on Phase C cleanup.

Related planning docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    autonomous-followupFollow-up from autonomous branch workfeatureNew feature implementationh2Horizon 2: mid-term, 2-6 weeks

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions