Merged
Conversation
Adds atomic credit check-and-deduct system to gate AI generation. Free tier gets 2,500 credits (~2 projects); paid subscribers get unlimited. Credits reset on subscription status change via Stripe webhooks. Frontend handles 402 with upgrade prompts (dialog for Quick Start, toast for chat). Credit costs: Quick Start 1250, chat message 5, agent regen 100.
…line Passes onboarding metadata (project type, stage, budget) to all 6 generator agents for KB-aware output. Adds infrastructure and coding guidelines generation to Quick Start pipeline. Adds Haiku-based project context inference for auto-detecting project type.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
davidancor
added a commit
that referenced
this pull request
Feb 23, 2026
PR #11 merge duplicated checkAndDeductCredits imports and credit gate blocks in 7 API routes. Also add missing planName to query columns in checkAndDeductCredits.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Type of Change
Related Issues
Closes #
Changes Made
Testing
Test Coverage
Test Steps
Test Results
Documentation
Screenshots/Videos
Checklist
Code Quality
Testing
Documentation
skip-changeloglabel)Security
Performance
Accessibility
Breaking Changes
Impact:
Migration Path:
Deployment Notes
Rollback Plan
Agent Team Review
Requesting review from:
Additional Context
Reviewer Guidelines
What to Look For
Approval Criteria