AI Agents SDE Task Viewer
      • Context
      • Plan
      • Prd
  1. Home
  2. AgentSDE
  3. ai-agents-sde
  4. gh-1543
  5. plan
  6. context.json
context.json(2.4 KB)· Apr 3, 2026
{
  "meta": {
    "agent": "planner",
    "task_id": "1543",
    "title": "Audit remaining docs/config files for stale viewerv2 and skills path references",
    "created_at": "2026-04-03T12:00:00Z"
  },
  "inputs": [
    {
      "name": "issue-1543",
      "type": "context",
      "ref": "https://github.com/AgentSDE/ai-agents-sde/issues/1543",
      "notes": "Repo-wide sweep for stale viewerv2 and skills path references"
    },
    {
      "name": "issue-1536",
      "type": "link",
      "ref": "https://github.com/AgentSDE/ai-agents-sde/pull/1536",
      "notes": "Prior cleanup that removed some stale refs from plan.md"
    },
    {
      "name": "issue-1533",
      "type": "link",
      "ref": "https://github.com/AgentSDE/ai-agents-sde/issues/1533",
      "notes": "Prior workflow audit"
    }
  ],
  "outputs": [
    {
      "name": "plan.md",
      "type": "plan",
      "format": "md",
      "content": "Implementation plan for stale reference cleanup"
    }
  ],
  "files": [
    {
      "path": "scripts/setup/rollback.sh",
      "action": "modify",
      "reason": "Replace stale ViewerV2 phase name with (removed) placeholder"
    },
    {
      "path": "plan.md",
      "action": "modify",
      "reason": "Remove stale .claude/skills path reference"
    }
  ],
  "steps": [
    {
      "id": "S1",
      "summary": "Update rollback.sh phase_names array — replace ViewerV2 with (removed)",
      "acceptance": [
        "phase_names array at line 268 uses '(removed)' instead of 'ViewerV2'",
        "Array length remains 8 to preserve index alignment"
      ],
      "depends_on": []
    },
    {
      "id": "S2",
      "summary": "Update root plan.md — remove stale .claude/skills path reference",
      "acceptance": [
        "Line 36 no longer references .claude/skills/<skill-name>/SKILL.md",
        "Architecture section accurately reflects current repo structure"
      ],
      "depends_on": []
    },
    {
      "id": "S3",
      "summary": "Verify no remaining stale references outside tasks/ and .git/",
      "acceptance": [
        "grep -ri viewerv2 returns zero hits outside tasks/ and .git/",
        "grep -rn .claude/skills returns zero hits outside tasks/ and .git/"
      ],
      "depends_on": [
        "S1",
        "S2"
      ]
    }
  ],
  "risks": [
    {
      "risk": "Root plan.md may be entirely stale and should be deleted",
      "mitigation": "Plan patches it; if maintainer prefers deletion, expand scope"
    }
  ],
  "assumptions": [
    "Historical task artefacts in tasks/ should not be modified",
    "The rollback.sh phase_names array must preserve index alignment with phase numbers 0-7"
  ],
  "open_questions": []
}
Plan