Merged
Conversation
Use Stripe availability as the cloud/self-hosted differentiator. When STRIPE_API_KEY is absent, orgs get full enterprise entitlements, billing UI is hidden, and cloud-specific flows (trials, checkout) are inactive. Backend: - Add SELF_HOSTED_ENTERPRISE plan with all flags on, unlimited quotas - Add AGENTA_DEFAULT_PLAN env var via env.agenta.default_plan - Refactor org creation into create_organization_for_signup() and create_organization_for_user() with clear subscription policies - Add provision_signup_subscription() as single cloud/self-hosted decision point - Remove start_free_plan() and use_reverse_trial flag - Fix /billing/subscription for non-Stripe plans - Fix extend_app_schema() hardcoded cloud.agenta.ai URL - Treat undefined entitlement quotas as unlimited Frontend: - Derive NEXT_PUBLIC_AGENTA_BILLING_ENABLED from STRIPE_API_KEY - Add isBillingEnabled() helper - Hide billing tab, sidebar banners, upgrade prompts when disabled - Recognize self_hosted_enterprise plan in useEntitlements
Forward only client-provided fields when constructing OrganizationUpdateDTO using model_dump(exclude_unset=True). Previously, the router explicitly passed all fields (including None defaults), which caused Pydantic to treat them as 'set'. This led to two bugs: 1. Setting a slug would overwrite the org name with None 2. Renaming the org would fail with 'Invalid request data' because the slug field (None) was treated as a slug change attempt
Some DNS providers (Namecheap, GoDaddy, Cloudflare) automatically append the domain to the Host field, causing users to create records like _agenta-verification.example.com.example.com instead of the intended _agenta-verification.example.com. Add a note clarifying that users on these providers should enter only '_agenta-verification' in the Host field.
Add AGENTA_ORG_CREATION_ALLOWLIST env var to control who can create organizations in self-hosted EE deployments. When set, only listed emails can create orgs; everyone else must be invited. Backend: - Parse AGENTA_ORG_CREATION_ALLOWLIST in env.agenta.org_creation_allowlist - Add OrganizationCreationNotAllowedError exception - Add can_create_organization() guard in commoners.py - Enforce on signup (silent skip) and POST /organizations/ (403) Docs: - Add self-host guide for restricting org creation - Update RFC-1 with correct env var name and known limitations - Update status.md and doc-1.md
feat(api,docs): restrict organization creation via allowlist
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
fix(frontend): add DNS provider hint to domain verification instructions
…s-name fix(api): prevent org update from overwriting unset fields
feat(api,frontend): enable self-hosted enterprise edition
Contributor
Author
Railway Preview Environment
Updated at 2026-03-24T09:05:16.390Z |
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
refactor(frontend): share GetStarted onboarding UI
mmabrouk
approved these changes
Mar 24, 2026
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.
New version v0.94.9 in