## Keeping repository file maps and architecture docs in sync

Audit repository file hierarchies against documentation and detect missing or stale descriptions.

Run directory scans on repository branches using terminal commands. Compare the active file layout against existing path descriptions in documentation files. Flag any untracked new files, moved paths, or obsolete entries. Draft concise explanations for new paths and present a diff report. Always ask for user approval before committing changes or submitting a pull request.

Approvals:

- Committing documentation changes to the repository
- Submitting a pull request with the proposed updates

Source: BotBento use case https://botbento.com/usecases/keeping-repository-file-maps-and-architecture-docs/ (CC BY 4.0).
