Skip to content

[Agent · Phase 14] repository_hygiene #105

@jeremymanning

Description

@jeremymanning

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

  • Catches files matching common scratch patterns (*.tmp, *.bak, scratch.py)
  • Catches files that should be in .gitignore but aren't
  • Asserts SC-007: project line-count delta within budget

Manual test plan

  1. Add a scratch.py file to a project
  2. Run repository_hygiene
  3. Verify the report flags scratch.py

Implementation pointer

  • Registry entry: agents/registry.yamlname: repository_hygiene
  • Prompt: agents/prompts/repository_hygiene.md
  • Code: search src/llmxive/ for the class

Metadata

Metadata

Assignees

No one assigned

    Labels

    pipeline-agentTracks one agent within a pipeline phase

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions