/billing/stripe takes Stripe's webhooks, signatures checked, each event
handled once, and keeps each team's subscription up to date: checkout, its
status, seats and period, failed and paid invoices, cancellation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings → Billing shows the team's plan, trial, people, agents, storage
and next invoice. The owner subscribes through Stripe Checkout (monthly, or
yearly when there's a price) and pays or reads invoices in Stripe's
Customer Portal; admins see the plan only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The multi-tenant edition's plans (Free and Paid as decided, or a plans
file) and each team's billing account, with a 14-day trial of Paid. A
team's plan caps what its people and agents may change: modules outside it
stay readable, a lapsed team changes nothing, and agents, Market entries,
crawls and background jobs keep to it. Without a Stripe key, no billing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>