# Feature & Tab Inventory: Component Boundaries

All features and tabs are fully separated into dedicated components under `src/features/` with cleanly defined state boundaries:

| Tab ID | Feature Name | Component Path | State Responsibility |
| :--- | :--- | :--- | :--- |
| `workshop` | Workshop Overview / Hub | `/src/components/Workshop/WorkshopOverview.tsx` | Dashboard metrics, status feed, multi-agent status summary |
| `studio-chat` | Studio Intelligence Chat | `/src/components/Workshop/StudioChat.tsx` | Instant multi-agent chat interface with persistence (Firestore) |
| `supplies` | Inventory / Supplies | `/src/features/InventoryHub.tsx` | Raw materials tracking, minimum thresholds, stock level audits, physical QR-label tagging & direct barcode routing |
| `ledger` | Finance Ledger | `/src/components/Workshop/StudioLedger.tsx` | Cash flow, transactions logger, operational profit summaries |
| `calculators` | Soap / Lotion Calculators | `/src/components/Workshop/ArtisanCalculators.tsx` | Lye SAP calculations, superfat adjusts, fragrance strength specs |
| `compliance` | Safety & Compliance | `/src/features/ComplianceHub.tsx` | MSDS sheets, batch formulation records, safety lab logs |
| `production` | Production Tasks | `/src/features/ProductionHub.tsx` | Active curing queue, batch logs, trace inventory usage, visual process Kanban board (Prep \| Pouring \| Curing \| Packaging \| Released) |
| `collections` | Product Collections | `/src/features/CollectionsHub.tsx` | Custom seasonal lineups, release statuses, recipe associations |
| `cogs` | COGS Calculator | `/src/features/COGSHub.tsx` | Unit costing calculations, packaging costs, target retail values |
| `wholesale` | Wholesale Hub | `/src/features/WholesaleHub.tsx` | Buyer pricing models, active retail order queues, invoice creators |
| `crm` | CRM / Outreach | `/src/features/CRMHub.tsx` | Retailer interactions logs, email followups, warm leads sheet |
| `recipes` | Formulation Library | `/src/features/RecipeLibrary.tsx` | Standard recipes database, ingredient lists, step-by-step builders |
| `campaign-hub` | Marketing Campaigns | `/src/features/MarketingHub.tsx` | Active campaigns, ad spends, performance charts |
| `notebook` | Smart Lab Notebook | `/src/features/SmartNotebook.tsx` | AI-assisted lab experiment scratchpad, formulation research notes |
| `agent-diagnostics` | Agent Diagnostics | `/src/features/AgentDiagnostics.tsx` | Token telemetry, response latency, prompt cache hit rate, agent health monitors |
| `security-governance` | Security & Governance | `/src/features/SecurityGovernanceHub.tsx` | Model Armor testing sandbox, SPIFFE identity inspector, DPoP receipts, BOLA access matrix |
| `studio-profile` | Studio Profile | `/src/features/StudioProfile.tsx` | Brand niche configurations, contact information, subscription level info |
| `planner` | Studio Planner | `/src/features/StudioPlanner.tsx` | Operational task calender, workflow timelines, visual events scheduler |
| `documents-hub` | Documents Hub | `/src/features/DocumentsHub.tsx` | SOPs, agreement templates, regulatory filing archives |
| `settings` | Settings & Reset | `/src/features/SettingsManager.tsx` | Profile credentials settings, developer API keys, database sandbox reset |

---

## Shared UI Components
These are located under `/src/components/ui/` (using Radix + custom Neumorphic style blends) or fully integrated using custom wrappers:

- `Button` - Specialized Neumorphic primary & secondary triggers with action feedback
- `Dialog` - Accessible Radix wrappers for modal boxes
- `Input` / `Label` / `Textarea` - High-contrast accessible input controls
- `Toaster` - Rich notification container
- `Switch` - Accessible boolean control switches

## Production Features & Security Posture Delivered
- **Security & Governance Control Center:** Interactive Model Armor sandbox, SPIFFE attestation monitor, and Firestore BOLA matrix.
- **Google Cloud Model Armor & ShieldGemma Pipeline:** Automated prompt sanitization (Unicode NFKC, control-byte stripping, secret redaction) and real-time jailbreak / exfiltration intercept.
- **Cryptographic Tool Call Receipts (DPoP):** HMAC-SHA256 nonces and DPoP caller proofs generated for all tool calls to guarantee non-repudiation.
- **MicroVM Parameter Enclave:** Sanitizes tool arguments and prevents prototype pollution before applying state mutations.
- **Studio Chat Persistence:** Dynamic message logger that hooks into Firestore `messages` in SSO Live Mode and leverages fallbacks to localStorage in Sandbox Mode.
- **Diamond Lifetime Tier Upgrade:** Automatic verification routines that grant lifetime status to the VIP email `mdominique1025@gmail.com`.
- **Dual Launch Experience:** Built "Explore Demo Sandbox" to allow guests to explore fully populated preview assets risk-free alongside full SSO live login paths.
- **Unified Email/Password & Google SSO Auth Portal:** Restored and fully polished the Email and Password login option. Users can now securely Sign In or Create Accounts with an Email/Password pair in a luxury glassmorphic Auth Modal, or choose Google SSO dynamically. Includes a local sandbox bypass fallback to maintain operational continuity in preview/iframe contexts.
- **Logistics QR Label System:** Added a high-fidelity QR Generator and print sticker dialogue to the `supplies` tab. QR tags include direct-scanned browser routing back to specific raw material details or connected batch histories.
- **Production Board Kanban Swimlanes:** Built an interactive Kanban progression board under the `production` collections sub-tab, enabling the team to visually transition series batches across Prep, Pouring, Curing, Packaging, and Released stock with complete checkmark tasks per lane.
