From 8117216a3bb04ac0d3b53e3e71f1009b58eda2af Mon Sep 17 00:00:00 2001 From: Daniel Bedeleanu Date: Sun, 26 Apr 2026 13:30:58 +0300 Subject: [PATCH] Add MANDATORY RULE: no silent feature removal without user consent - 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 --- AI_MANDATES.md | 4 ++++ CLAUDE.md | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/AI_MANDATES.md b/AI_MANDATES.md index 4e78a60b..655bbad8 100644 --- a/AI_MANDATES.md +++ b/AI_MANDATES.md @@ -25,6 +25,10 @@ This is the foundational directive for all AI operations on the TFM aInventory p - **Standard Respect**: Rigorously follow `DESIGN_SYSTEM.md` and `CODING_STANDARDS.md`. - **Conflict Resolution**: If project files contradict your internal training, **this file and local project docs take absolute precedence.** - **Uppercase Rule**: NEVER use `uppercase` or `toUpper` in UI contexts. Leave text case as is or use Title/Sentence case. +- **⚠️ MANDATORY: 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** from the user before proceeding. + 3. **If already removed**, restore it immediately and apologize. This is non-negotiable. ## 4. Documentation SSOT Integrity Every feature change or refactor MUST be reflected across the documentation suite: diff --git a/CLAUDE.md b/CLAUDE.md index 7358e95d..e61d8002 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -25,5 +25,13 @@ Be concise! Focus on signal over noise. 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