Plan: Audit and remove stale viewerv2 and skills path references#
Summary#
Remove remaining stale references to the removed viewerv2/ directory and old .claude/skills/ paths from docs and config files. Two files contain stale references: scripts/setup/rollback.sh (ViewerV2 phase name) and root plan.md (skills path). Historical task artefacts in tasks/ are left untouched.
Files#
| File | Action | Description |
|---|---|---|
scripts/setup/rollback.sh | modify | Replace stale "ViewerV2" phase name at line 268 with "(removed)" to preserve array index alignment |
plan.md | modify | Update line 36 to remove stale .claude/skills/ reference — skills now live in agent-core |
Steps#
- In
scripts/setup/rollback.shline 268, replace"ViewerV2"with"(removed)"in thephase_namesarray to preserve index alignment with phases 0-7 (phase 5 no longer exists). - In root
plan.mdline 36, update or remove the stale skills path referenceagent-core/.claude/skills/<skill-name>/SKILL.md— skills now live in the separateagent-corerepo and are not referenced from this repository. - Run
shellcheck scripts/setup/rollback.sh(if available) and verify no regressions.
Verification#
grep -ri "viewerv2" --include="*.sh" --include="*.md" .returns zero hits outsidetasks/and.git/.grep -rn "\.claude/skills" --include="*.md" .returns zero hits outsidetasks/and.git/.- Rollback phase_names array length remains 8 (indices 0-7 preserved).
Risks#
- The
plan.mdroot file may itself be a legacy artefact that should be removed entirely rather than patched. If so, the scope should expand to delete the file. Check with maintainers if uncertain.