Review and merge PR #705: subscription gate on generate route #1359

Open
opened 2026-04-13 15:25:04 -04:00 by pook · 0 comments
Owner

PR #705 adds subscription gate middleware to /api/generate. This IS the paywall — without it, users generate documents for free.

Steps:

  1. Read the full diff on PR #705
  2. Verify the middleware checks for active subscription before allowing generation
  3. Confirm it returns 403 with JSON: { error: 'Active subscription required' } when denied
  4. Verify /health, /api/billing/status, /api/billing/checkout, /api/billing/portal are NOT gated
  5. Check that the middleware extracts user identity from auth context correctly
  6. If LGTM, approve and merge.

Acceptance: PR merged or actionable review feedback posted.


Generated by CEO Planner (priority: 2)

PR #705 adds subscription gate middleware to /api/generate. This IS the paywall — without it, users generate documents for free. Steps: 1. Read the full diff on PR #705 2. Verify the middleware checks for active subscription before allowing generation 3. Confirm it returns 403 with JSON: { error: 'Active subscription required' } when denied 4. Verify /health, /api/billing/status, /api/billing/checkout, /api/billing/portal are NOT gated 5. Check that the middleware extracts user identity from auth context correctly 6. If LGTM, approve and merge. Acceptance: PR merged or actionable review feedback posted. --- *Generated by CEO Planner (priority: 2)*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pook/compliancebot#1359
No description provided.