You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Scope local-clone scanners to the core-repos allowlist
Wire the link-health and dep-bump discovery loops to the shared
allowlist, so they act only on the curated core repos instead of every
locally cloned directory.
- program-lib.sh: add is_core_repo() (exact whole-line membership test).
Document canonical_repo_for_dir() as a TRANSITIONAL shim (see #37).
- Each clone-iteration loop now: maps the dir basename to its canonical
repo, skips non-core/archived repos (allowlist), and dedups duplicate
clone dirs (e.g. stale kagenti/ alongside rossoctl/) so each canonical
repo is processed once. API refs are built as rossoctl/<canonical>.
- dep-bump-scanner: this fixes the false "0 open Dependabot PRs" report
-- gh pr list --author silently returns empty across a rename redirect,
so querying the canonical repo restores results (rossoctl/rossoctl now
returns 11 vs 0).
- extract-broken-links.sh: arg 2 is now a full owner/name ref emitted
verbatim (was a bare name prefixed with kagenti/); test updated.
Scope: discovery/read paths only. Fixer WRITE paths (ensure_fork /
create_fork_pr / $ORG in PR creation) are intentionally left for Phase 6,
where they are resolved alongside the fork-naming decision.
Verified against the real host clone set: 8 core repos scanned (from 25),
duplicate clones deduped, archived/non-core excluded; full test suite
passes on bash 3.2.
Part of #29 (epic #32).
Assisted-By: Claude Code (Anthropic AI) <noreply@anthropic.com>
Signed-off-by: Gloire Rubambiza <gloire@ibm.com>
0 commit comments