- Added to AI_MANDATES.md section 3 (Operational Guardrails) - Added to CLAUDE.md as critical directive - Ensures all feature changes are transparent and require explicit user consent - This prevents accidental removal of functionality
38 lines
1.4 KiB
Markdown
38 lines
1.4 KiB
Markdown
# CLAUDE ENTRY POINT
|
|
|
|
You are Claude, operating on the TFM aInventory project.
|
|
|
|
**IMMEDIATE MANDATORY ACTION:**
|
|
Before taking any action or writing code, you MUST read the following Single Source of Truth files:
|
|
1. `AI_MANDATES.md` (Operational constraints, Git rules, Handover protocols).
|
|
2. `DESIGN_SYSTEM.md` (UI/UX standards, Colors, Typography).
|
|
3. `CODING_STANDARDS.md` (Engineering rules, Testing, Security).
|
|
4. `ARCHITECTURE.md` (System logic, Data models, Offline sync).
|
|
5. `dev_docs/SESSION_STATE.md` (Current handover status).
|
|
|
|
**STRICT COMMUNICATION RULE:**
|
|
Be concise! Focus on signal over noise.
|
|
|
|
---
|
|
|
|
## 🎨 CRITICAL DESIGN RULE
|
|
**NO HARDCODED TAILWIND COLORS.**
|
|
- All colors MUST come from `DESIGN_SYSTEM.md` (via `colors.mjs`).
|
|
- **NO BOLD FONTS.** Hierarchy via size and color only.
|
|
- **NO UPPERCASE.** Use Title/Sentence case.
|
|
|
|
## 🔒 COLOR SSOT
|
|
All color changes MUST be made in `frontend/colors.mjs` ONLY.
|
|
Run `npm run build` to sync CSS variables and Tailwind config.
|
|
|
|
## ⚠️ CRITICAL: No Silent Feature Removal
|
|
**NEVER remove, disable, or hide any existing function or functionality without:**
|
|
1. **Explicitly informing the user** exactly what is being removed and why
|
|
2. **Obtaining express written consent** before proceeding
|
|
3. **If already removed**, restore immediately and apologize
|
|
|
|
This applies to ALL changes: UI buttons, login modes, API endpoints, features, functionality.
|
|
|
|
---
|
|
**Status**: ACTIVE
|