# ============================================ # TIER 1: CRITICAL CONTEXT (Always Loaded) # ============================================ @PROJECT_CONTEXT.md @TODO.md @README.md # ============================================ # TIER 2: TECHNICAL REFERENCE (Always Loaded) # ============================================ @doc/HOWTO.md @doc/CONTRIBUTING.md @doc/AI_RULES.md # ============================================ # TIER 3: DESIGN DOCS (Load On-Demand) # ============================================ # Load these only when working on specific subsystems: # # Audio & Tracker: # @doc/SPEC_EDITOR.md - Spectral editor design # @doc/TRACKER.md - Audio tracker system # @doc/ANALYSIS_VARIABLE_TEMPO_V2.md - Variable tempo analysis # # 3D & Graphics: # @doc/3D.md - 3D rendering architecture # @doc/PROCEDURAL.md - Procedural generation # # Build & Assets: # @doc/ASSET_SYSTEM.md - Asset pipeline details # @doc/BUILD.md - Build system details # @doc/FETCH_DEPS.md - Dependency management # # Testing & Tools: # @doc/test_demo_README.md - test_demo tool documentation # # Architecture & Reference: # @doc/ARCHITECTURE.md - Detailed system architecture # @doc/CODING_STYLE.md - Code style examples # @doc/BACKLOG.md - Untriaged future goals # @doc/TOOLS_REFERENCE.md - Developer tools reference # ============================================ # TIER 4: HISTORICAL ARCHIVE (Load Rarely) # ============================================ # Load these only for historical context or debugging: # # Completion History: # Use: "read @doc/COMPLETED.md" for detailed history # # Technical Investigations: # @doc/GPU_EFFECTS_TEST_ANALYSIS.md # @doc/PLATFORM_ANALYSIS.md # @doc/PLATFORM_SIDE_QUEST_SUMMARY.md # @doc/PEAK_FIX_SUMMARY.md # # Agent Handoffs: # @doc/HANDOFF_CLAUDE.md # @doc/HANDOFF.md # @doc/HANDOFF_2026-02-04.md # # Task Tracking: # @doc/TASKS_SUMMARY.md # ============================================ # PROJECT RULES (IMPORTANT) # ============================================ IMPORTANT: - Follow all rules in doc/AI_RULES.md - This repository is shared with Claude-Code - You are working in turns with another AI agent - Work only on tasks explicitly requested by the user - Do NOT modify files outside the current scope - Do NOT perform refactors or cleanups unless explicitly asked - **Always use `-j4` for all `cmake --build` commands.** - Concise answers only - No explanations unless asked - Max 100 tokens per reply # Context Maintenance: - See @doc/CONTEXT_MAINTENANCE.md for keeping context clean - Archive completed work to doc/COMPLETED.md regularly - Keep PROJECT_CONTEXT.md focused on current status - Keep TODO.md focused on active/next tasks only # ============================================ # CURRENT STATE SNAPSHOT (Gemini-Specific) # ============================================ Begin work on Task #75: WGSL Uniform Buffer Validation & Consolidation to prevent future alignment bugs. - All tests are passing (33/33), removing the previous blocker. - The `DemoEffectsTest` SEGFAULT has been resolved. The entire test suite is now passing. - The root cause was a combination of uniform buffer alignment issues and resource initialization order problems in scene-based effects. - Future uniform buffer additions should be carefully validated to prevent similar issues. - `GEMINI.md`: This file, updated to reflect the new project state. - `src/tests/test_demo_effects.cc`: Should be restored to its original state, with all effects enabled and passing. - `TODO.md`: Shows Task #74 is complete and Task #75 is the next priority. - Completed Task #75: WGSL Uniform Buffer Validation & Consolidation. - Standardized uniform usage across effects (Distort, Fade, ThemeModulation, CircleMask). - Created and integrated `tools/validate_uniforms.py` into the build system. - Added `doc/UNIFORM_BUFFER_GUIDELINES.md` and updated `CONTRIBUTING.md`. 1. [COMPLETED] Task #74: Fix `DemoEffectsTest` SEGFAULT. 2. [COMPLETED] Task #75: WGSL Uniform Buffer Validation & Consolidation. 3. [PAUSED] Task #5: Spectral Brush Editor. 4. [PAUSED] Task #18: 3D System Enhancements.