Enterprise Trust & Governance
Database-level multi-tenant isolation, cryptographic audit trails, and strict data sovereignty. Engineered from the ground up so your recipes, labor rates, and margins remain strictly confidential.
Isolation is enforced inside the PostgreSQL engine itself. Workspace URLs are selectors, never proof of access.
Neither Clear Cost nor the Claude MCP bridge trains public foundation models on your confidential formulas.
Your data remains 100% yours. Full bill of materials and price history can be exported to Excel or CSV at any time.
System Blueprint
Next.js 16 (BFF) gatekeeper. No JWT tokens or credentials exposed in browser localStorage.
Port 3000 · SSR / BFFOAuth 2.1 + PKCE authentication engine. Passwords never reach the application database.
Port 8080 · OIDC PKCEPure costing engine using arbitrary-precision Decimals. Zero floating-point drift.
Port 8000 · Python DecimalMulti-tenant database engine with forced Row-Level Security on every table.
Port 5433 · Forced RLSRole-Based Access Control
| Operational Task | Owner | Admin | Finance Mgr | Cost Analyst | Production Op | Viewer |
|---|---|---|---|---|---|---|
| Materials & Purchase Prices | Full | Full | Full | Full | View Only | View Only |
| Labor Pay Rates & Machine Costs | Full | Full | Full | Full | Hidden | Hidden |
| Recipes & BOM Publishing | Full | Full | View Only | Full | View Only | View Only |
| Calculate & Snapshot Costs | Full | Full | Full | Full | Hidden | View Only |
| Expenses & Overhead Allocations | Full | Full | Full | View Only | Hidden | Hidden |
| Channel Pricing Policies | Full | Full | Full | Hidden | Hidden | Hidden |
| Price Proposals | Full | Full | Full | Full | Hidden | View Only |
| Final Price Approval (Sign-Off) | Authorized | Forbidden | Authorized | Forbidden | Hidden | Hidden |
| What-If Scenarios & Sensitivity | Full | Full | Full | Full | Hidden | View Only |
| Batch Production & Actuals | Full | Full | View Only | Full | Record Actuals | View Only |
| Ledger Audit & Security Logs | Full | Full | View Only | View Only | Hidden | Hidden |
Under the Hood
Tokens are encrypted server-side; the browser holds only an opaque, HttpOnly, host-only session cookie. Zero sensitive keys in local storage.
Signed 30-day cookie per user revoked instantly on expiration or when selecting “Log out all devices” after device loss.
Every price approval, recipe change, supplier invoice revision, and Claude MCP invocation is committed with actor IDs and timestamp signatures.
Database instances and cryptographic identity run in European Union data centers (Frankfurt) with automated nightly encrypted backups.
Import one invoice, run one batch, and watch a defensible cost appear. to the third decimal, traceable to its source. Claude can do the typing; finance does the approving. Set your first approved price today.