Files
claude/.claude/audits/CODE-CLEAN-SCOPE.md
T

2.7 KiB

CODE-CLEAN SCOPE — approved 2026-11-09 (BDR-125 obsolescence pass)

Source report: .claude/tasks/plans/2026-11-09-bdr125-obsolescence-clean-1650.md (r2 + confirmation). Approved: all 6 items. Zero behavior change: comments and dead source lines only.

A1. install-plugins.sh:29-30, update-all.sh:18-19 — source lib/detect-plugins.sh with no detect_* call in either file or the libs they source (verified by all 3 lenses + confirmation; PRE-PHASE debt: git log -S last hit 50db70c 2026-04-15) — warn — delete the source lines (and their comment line if it only explains that source); update lib/detect-plugins.sh:4 "Sourced by:" header to drop install-plugins.sh and update-all.sh; in lib/tests/curated-config-guard.test.sh:9 replace the stale "install-plugins.sh:43-44" line citation with "the GUARDED_CONFIGS array in install-plugins.sh" (comment only) B4a. link.sh:57-58 — comment says gstack is exposed via flat per-skill symlinks under skills/ created by gstack's ./setup, naming autoplan (retired, lib/gstack-removed.list) — info — rewrite: gstack skills are tracked links under skills/pack-gstack-/skills/ → skills-external/gstack/ (packs, BDR-134); no skill names B4b. doctor.sh:607-610 — comment says gstack skills (health, status, …) are OFF by default and profile-managed — info — rewrite: gstack skills ship in three packs (pack-gstack-dev/-browser/-design, on by manifest default = full, off per project or conversation by a profile) and live under skills/pack-gstack-/skills/, while the check below reads $HOME/.claude/skills//SKILL.md, so they are excluded here; drop status from the examples (repo-owned skill, listed in EXPECTED_SKILLS) B4c. lib/gstack-links.sh:9 — cites "BDR-030 links gstack skills individually" — info — keep BDR-030 and add "(superseded by BDR-134: packs)" B4d. install-plugins.sh:37-38 — comment says the graphify installer "clobbers" the curated graphify section — info — keep the guard rationale, fix the facts (graphifyy 0.9.67 install.py): Step 7 runs graphify install (default platform claude: appends a # graphify block to ~/.claude/CLAUDE.md = CLAUDE.global.md, which holds the curated ## graphify section; matches the heading and appends, it does not clobber) and graphify claude install (writes CLAUDE.md and .claude/settings.json in the caller's cwd); the EXIT trap restores the four $REPO files in GUARDED_CONFIGS (fully effective when run from $REPO, e.g. make plugin); replace "clobbers" accordingly B4e. lib/doctor-skills.sh:5-6 and doctor.sh:511-512 — comments say the skill count covers <skills_dir>/*/SKILL.md only, but phase 5 (6509ab2) added the pack-*/skills/*/SKILL.md glob (lib/doctor-skills.sh:50) — info — name both globs in both comments