From 30a582182d27ba42f211f7c00a26dc724d0048f6 Mon Sep 17 00:00:00 2001 From: Brian Cooper Date: Thu, 18 Jun 2026 21:09:51 -0700 Subject: [PATCH] fix(entitlements): unlimited feedback users on free tier to match catalog The local DEFAULT_LIMITS fallback (used when an org has no Aether billing record) capped max_feedback_users at 15 for the free tier, contradicting the product catalog SSOT, which sets it to -1 (unlimited) on every backfeed tier, and the marketing copy ("Unlimited feedback submissions"). Any org not yet provisioned in Aether silently hit a 15-unique-user cap per project. Set the fallback to -1 to mirror the catalog. Removing a cap cannot regress existing users. --- src/lib/entitlements/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/entitlements/index.ts b/src/lib/entitlements/index.ts index 02bb8bc..cc785ae 100644 --- a/src/lib/entitlements/index.ts +++ b/src/lib/entitlements/index.ts @@ -21,7 +21,11 @@ const APP_ID = "backfeed"; */ const DEFAULT_LIMITS: Record> = { max_projects: { free: 1 }, - max_feedback_users: { free: 15 }, + // -1 = unlimited, mirroring the product catalog SSOT (omni-api planConfigs: + // backfeed feedback is unlimited on every tier). The prior `15` was stale + // drift that silently capped feedback for any org not yet provisioned in + // Aether + max_feedback_users: { free: -1 }, max_comments_per_post: { free: 100 }, max_members: { free: 5, pro: -1, team: -1 }, max_admins: { free: 1, pro: 3, team: -1 },