Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

docs: update claude and cursor rules

Brad Barbinb01326f9f12a
diff --git a/claude/cache/authentication-system.md b/claude/cache/authentication-system.md
index 0720ccce30..3bd7619c93 100644
--- a/claude/cache/authentication-system.md
+++ b/claude/cache/authentication-system.md
@@ -149,11 +149,11 @@ Located at `/packages/auth/`, the auth package provides:
- `public.userPermission` table with the user's ID
3. **Identity Group**: A separate trigger creates an identity group for the user
-### Self-Signup Flow (Not Yet Implemented)
+### Self-Signup Flow
- Login page has a "Sign up for free" link pointing to `/signup`
-- The signup route is not yet implemented
-- Current user creation only happens through:
+- User can select a plan (Starter, Business, Partner)
+- Account creation happens through:
- Company invitations
- OAuth authentication (Google)
- Stripe checkout completion
@@ -259,6 +259,7 @@ Environment variables in `packages/auth/src/config/env.ts`:
### Email Templates
1. **WelcomeEmail**: Sent immediately after user creation
+
- Personal welcome from founder Brad
- Link to Carbon University
- Located at `packages/documents/src/email/WelcomeEmail.tsx`
@@ -284,6 +285,7 @@ Environment variables in `packages/auth/src/config/env.ts`:
### Company Creation Flow
1. **New Company Creation** (`/onboarding/company`):
+
- Creates new company with provided details
- Seeds company with default data via `seedCompany()`
- Creates headquarters location
diff --git a/packages/database/src/seed/stripe.ts b/packages/database/src/seed/stripe.ts
index 2d07e18ac0..2d77e54f0e 100644
--- a/packages/database/src/seed/stripe.ts
+++ b/packages/database/src/seed/stripe.ts
@@ -1,14 +1,14 @@
export const devPrices = {
STARTER: {
stripePriceId: "price_1RgZsyFV6ecOa0XvwTRRqqaR",
- name: "Starter (Dev)",
+ name: "Starter - Test Mode",
},
BUSINESS: {
stripePriceId: "price_1RgZtlFV6ecOa0Xv30ClxYOe",
- name: "Business (Dev)",
+ name: "Business - Test Mode",
},
PARTNER: {
stripePriceId: "price_1RgZuKFV6ecOa0Xvv0RpaJUr",
- name: "Design Partner (Dev)",
+ name: "Design Partner - Test Mode",
},
};