Add importable wads.repo_audit (SSOT classifier)#55
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promotes the repo-audit logic from the wads-repo-doctor skill's bundled script into an importable module
wads/repo_audit.py, with a cleanaudit_repo(repo, *, network=True) -> dictentry point (andpython -m wads.repo_audit).wads/data/skills/wads-repo-doctor/scripts/repo_audit.py→ thin shim forwarding to the module (documentedpython scripts/repo_audit.py …still works).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