cc-os/plugins/cc-architect/planning/phase-0-task-tool-issues.md

3.2 KiB

Phase 0: Task Tool Invocation Issues

This document identifies Task tool invocations that reference custom agents (description-architect, skill-architect, etc.) in workflow files. These issues should be addressed in Phase 4 when those workflow files are being edited to avoid duplicate edits.

Identified Issues

Issue 1: new-skill.md

File: /home/jared/dev/cc-plugins/cc-architect/skills/skill-architect/workflows/new-skill.md Line: 155 Status: RESOLVED (Phase 4)

Original text:

- Generate description via description-architect (Task tool with `description-architect` agent)
  - Input: type=skill, name, purpose, triggers from task document
  - Output: description string for frontmatter

Resolution: Updated to use Skill tool invocation with /description-architect pattern instead of Task tool with custom agent reference.


Issue 2: new-command.md

File: /home/jared/dev/cc-plugins/cc-architect/skills/slash-command-architect/workflows/new-command.md Line: 77 Status: RESOLVED (Phase 4)

Original text:

2. Generate description via description-architect (Task tool with `description-architect` agent)
   - Input: type=command, name, purpose, triggers from requirements
   - Output: description string for frontmatter

Resolution: Updated to use Skill tool invocation with /description-architect pattern. Note that this workflow is in the legacy-maintenance skill slash-command-architect.


Issue 3: new-workflow.md (ALREADY FIXED)

File: /home/jared/dev/cc-plugins/cc-architect/skills/workflow-architect/workflows/new-workflow.md Original line: ~90 Status: ALREADY FIXED during Phase 0

The original file (new-agent.md) had a reference to description-architect on line 90, but this has been removed during the agent-architect → workflow-architect transformation in Phase 0.


Additional Findings

Other description-architect references (NOT Task tool invocations)

These are not Task tool invocations but references to the description-architect skill in documentation:

  1. Invariants files - Multiple skills reference "Always generates descriptions via description-architect" as an invariant. These are policy statements, not invocations.

  2. Golden examples - Multiple golden example files mention description-architect in their workflow descriptions. These are documentation, not invocations.

  3. Redirect files (descriptions.md) - Multiple plugins have redirect files pointing to description-architect. These are navigation aids, not invocations.

These documentation references may need updating in Phase 4 depending on the final architecture decision, but they are not the critical Task tool invocations that need immediate attention.


Resolution Summary

All identified Task tool invocation issues have been resolved in Phase 4:

  1. Issue #1 (new-skill.md): RESOLVED - Updated to use Skill tool with /description-architect
  2. Issue #2 (new-command.md): RESOLVED - Updated to use Skill tool with /description-architect
  3. Issue #3 (new-workflow.md): RESOLVED during Phase 0 - No Task tool invocations present

The migration to the general subagent pattern with Skill tool invocations is complete.