Skip to content

feat: add eos debug repo-health command for repository health checks #73

@CodeMonkeyCybersecurity

Description

Summary

Wire the new pkg/repohealth package into an eos debug repo-health command that developers and CI can use to diagnose repository issues.

Proposed Features

  • eos debug repo-health - Full ownership audit with report
  • eos debug repo-health --fix - Auto-fix with sudo (with consent prompt)
  • eos debug repo-health --json - Machine-readable output for CI

Implementation

  • Orchestration in cmd/debug/repo_health.go (<100 lines)
  • Business logic already in pkg/repohealth/ownership.go
  • Follow Assess/Intervene/Evaluate pattern

References

  • pkg/repohealth/ownership.go - Core logic (80% test coverage)
  • CLAUDE.md Architecture Enforcement rules

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions