AI Agents SDE Task Viewer
      • Context
      • Plan
      • Prd
  1. Home
  2. AgentSDE
  3. ai-agents-sde
  4. gh-1543
  5. plan
  6. plan.md
plan.md(1.7 KB)· Apr 3, 2026· 2 min read
  • Summary
  • Files
  • Steps
  • Verification
  • Risks

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#

FileActionDescription
scripts/setup/rollback.shmodifyReplace stale "ViewerV2" phase name at line 268 with "(removed)" to preserve array index alignment
plan.mdmodifyUpdate line 36 to remove stale .claude/skills/ reference — skills now live in agent-core

Steps#

  1. In scripts/setup/rollback.sh line 268, replace "ViewerV2" with "(removed)" in the phase_names array to preserve index alignment with phases 0-7 (phase 5 no longer exists).
  2. In root plan.md line 36, update or remove the stale skills path reference agent-core/.claude/skills/<skill-name>/SKILL.md — skills now live in the separate agent-core repo and are not referenced from this repository.
  3. Run shellcheck scripts/setup/rollback.sh (if available) and verify no regressions.

Verification#

  • grep -ri "viewerv2" --include="*.sh" --include="*.md" . returns zero hits outside tasks/ and .git/.
  • grep -rn "\.claude/skills" --include="*.md" . returns zero hits outside tasks/ and .git/.
  • Rollback phase_names array length remains 8 (indices 0-7 preserved).

Risks#

  • The plan.md root 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.
ContextPrd