refactor: Standardize agent references to @agent-name format

- Convert direct agent name references to @agent-name format in documentation
- Preserve Task() function calls and subagent_type parameters unchanged
- Keep task content agent identifiers in original format (for display only)
- Maintain document reference paths in original format
- Update workflow architecture, task management, and execution files

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-09-23 19:53:46 +08:00
parent 410d0efd7b
commit 0f01cecc2d
9 changed files with 53 additions and 53 deletions

View File

@@ -111,7 +111,7 @@ Each documentation task uses the workflow-architecture.md 5-field schema:
- **id**: IMPL-N format
- **title**: Documentation task name
- **status**: pending|active|completed|blocked
- **meta**: { type: "documentation", agent: "doc-generator" }
- **meta**: { type: "documentation", agent: "@doc-generator" }
- **context**: { requirements, focus_paths, acceptance, scope }
- **flow_control**: { pre_analysis[], implementation_approach, target_files[] }

View File

@@ -233,10 +233,10 @@ Task(subagent_type="{agent_type}",
```
meta.agent specified → Use specified agent
meta.agent missing → Infer from meta.type:
- "feature" → code-developer
- "test" → code-review-test-agent
- "review" → code-review-agent
- "docs" → doc-generator
- "feature" → @code-developer
- "test" → @code-review-test-agent
- "review" → @code-review-agent
- "docs" → @doc-generator
```
#### Error Handling During Execution

View File

@@ -70,7 +70,7 @@ Shows detailed task information:
**Title**: Build authentication module
**Status**: active
**Agent**: code-developer
**Agent**: @code-developer
**Type**: feature
## Context
@@ -245,7 +245,7 @@ Performs integrity checks:
/workflow:status --format=tasks --filter=completed
# Show tasks for specific agent
/workflow:status --format=tasks --agent=code-developer
/workflow:status --format=tasks --agent=@code-developer
```
## Related Commands