Skip to content

Refactor Product Tiers: Unlock Universal Free Cloud Sync & Heavy API/Agent Rate Limiting Monetization - #386

Merged
nathfavour merged 1 commit into
masterfrom
jules-universal-free-cloud-sync-rate-limits-5700742039134619008
Nov 11, 2026
Merged

nathfavour merged 1 commit into
masterfrom
jules-universal-free-cloud-sync-rate-limits-5700742039134619008

Conversation

@nathfavour

Copy link
Copy Markdown
Member

Refactored Kylrix's pricing and tier enforcement architecture:

  1. Removed assertPaidActor gates on notes, goals, flows, vault secrets, TOTP secrets, events, forms, and cloud sync in lib/api/resources.ts.
  2. Implemented TIER_RATE_LIMITS across Free (60 req/min, 1,000 daily tools), Pro (600 req/min, 50,000 daily tools), and Teams (3,000 req/min, 500,000 daily tools) with X-RateLimit-Tier headers and upgrade prompt in 429 responses.
  3. Enforced Free tier quotas of 1 custom workspace and 1 active Agent Token (AET/APK).
  4. Updated billing and pricing UI matrices in BillingDrawer.tsx, PricingDrawer.tsx, pricing-plans.ts, and pricing-plans-client.ts.

PR created automatically by Jules for task 5700742039134619008 started by @nathfavour

…imiting

- Remove assertPaidActor paywall blocks from cloud storage and sync methods in lib/api/resources.ts
- Implement TIER_RATE_LIMITS (Free: 60 RPM / 1k tools, Pro: 600 RPM / 50k tools, Teams: 3,000 RPM / 500k tools)
- Add X-RateLimit-Tier header and 429 upgrade link in API guard
- Enforce 1 custom workspace limit for Free tier in workspace creation
- Enforce 1 active Agent Token limit for Free tier in PAT service and CreatePatDrawer
- Update BillingDrawer and PricingDrawer matrices for Free, Pro, and Teams tiers

Co-authored-by: nathfavour <[email protected]>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@nathfavour
nathfavour merged commit 8d0d0aa into master Nov 11, 2026
4 checks passed
@nathfavour
nathfavour deleted the jules-universal-free-cloud-sync-rate-limits-5700742039134619008 branch November 11, 2026 16:20
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