Files
novafarma/.agent/workflows/strict_reference_mode.md

33 lines
1.2 KiB
Markdown

---
description: MANDATORY - Always check references before generating any assets
---
# STRICT REFERENCE MODE - VISUAL DNA
## 1. REFERENCE LOCK
- **LOCKED LOCATION**: `assets/references`
- **PERMISSION**: READ-ONLY.
- **FORBIDDEN ACTIONS**:
- NO MOVING files out of this folder.
- NO DELETING files from this folder.
- NO MODIFYING files in this folder.
- **EXCEPTION**: Any write access requires EXPLICIT USER CONFIRMATION per file.
## 2. GENERATION WORKFLOW (VISUAL DNA)
When generating NEW assets (e.g. for `assets/DEMO_FAZA1/`):
1. **CONSULT DNA**: Look at `assets/references` to understand the style (Dark-Chibi, thick outlines, Style 32).
2. **GENERATE**: Create the new image in `assets/TEST_GEN` or `assets/DEMO_FAZA1`.
- **BACKGROUND**: MUST be SOLID PINK (`#FF00FF`) or GREEN (`#00FF00`) for easy keying.
- **FORMAT**: PNG-32.
3. **CLEANUP**: IMMEDIATELY run `remove_backgrounds.py` or equivalent tool to remove the solid background.
4. **RESULT**: Transparent PNG (Alpha 24).
## 3. ZERO PIXELATION RULE
- No pixelated artifacts.
- No loose pixels on edges.
- Use anti-aliasing where appropriate for vector look.
## 4. COMMANDMENT
* "Referenčna mapa je DNK projekta. Gledamo jo, spoštujemo jo, a se je ne dotikamo." *