Scans a project's structure and recent changes to create or update folder-scoped AGENTS.md files following a modular, hierarchical pattern. Detects the tech stack, identifies each module's purpose, and generates contextual agent guidelines per directory — keeping the root AGENTS.md as a high-level orchestrator.