Skip to content

Add importable wads.repo_audit (SSOT classifier)#55

Merged
thorwhalen merged 1 commit into
masterfrom
claude/repo-audit-module
Jun 30, 2026
Merged

Add importable wads.repo_audit (SSOT classifier)#55
thorwhalen merged 1 commit into
masterfrom
claude/repo-audit-module

Conversation

@thorwhalen

Copy link
Copy Markdown
Member

Promotes the repo-audit logic from the wads-repo-doctor skill's bundled script into an importable module wads/repo_audit.py, with a clean audit_repo(repo, *, network=True) -> dict entry point (and python -m wads.repo_audit).

  • wads/data/skills/wads-repo-doctor/scripts/repo_audit.py → thin shim forwarding to the module (documented python scripts/repo_audit.py … still works).
  • SKILL.md points at the canonical module form.

Why: the audit is the SSOT for "what is a modern wads repo", but it lived only as a script under a skills directory, so consumers (priv's fleet_status) had to shell out to a machine-specific path. Now the skill, fleet_status, and CI share one importable definition (DRY/SSOT). Purely additive; stdlib-only; read-only.

https://claude.ai/code/session_01YCQixbm35DhTVVGBVUsxP4

Promotes the repo-audit logic from the wads-repo-doctor skill's bundled script
to an importable module, wads/repo_audit.py, with a clean
audit_repo(repo, *, network=True) -> dict entry point (plus `python -m
wads.repo_audit`). The skill's scripts/repo_audit.py becomes a thin shim that
forwards to the module, so the documented invocation keeps working; SKILL.md
points at the module form.

Makes the "what is a modern wads repo" classification a single source of truth
shared by the skill, priv.fleet_status, and CI — instead of a copy living under
a skills directory that consumers had to shell out to via a machine-specific path.

Claude-Session: https://claude.ai/code/session_01YCQixbm35DhTVVGBVUsxP4
@thorwhalen thorwhalen merged commit 26c6c39 into master Jun 30, 2026
2 checks passed
@thorwhalen thorwhalen deleted the claude/repo-audit-module branch June 30, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant