Parent phase: #58
Purpose
Read-only hygiene checker. Verifies gitignore patterns, flags scratch artifacts, asserts SC-007 line-count delta.
What it produces / drives
Writes a hygiene report under state/hygiene_<run-id>.yaml; emits review-style record on violation.
Dependencies
This agent depends on output from: status_reporter
Acceptance criteria
Manual test plan
- Add a scratch.py file to a project
- Run repository_hygiene
- Verify the report flags scratch.py
Implementation pointer
- Registry entry:
agents/registry.yaml → name: repository_hygiene
- Prompt:
agents/prompts/repository_hygiene.md
- Code: search
src/llmxive/ for the class
Parent phase: #58
Purpose
Read-only hygiene checker. Verifies gitignore patterns, flags scratch artifacts, asserts SC-007 line-count delta.
What it produces / drives
Writes a hygiene report under
state/hygiene_<run-id>.yaml; emits review-style record on violation.Dependencies
This agent depends on output from:
status_reporterAcceptance criteria
Manual test plan
Implementation pointer
agents/registry.yaml→name: repository_hygieneagents/prompts/repository_hygiene.mdsrc/llmxive/for the class