Files
Claude-Code-Workflow/.codex/skills/team-tech-debt/specs/pipelines.md
catlog22 1e560ab8e8 feat: migrate all codex team skills from spawn_agents_on_csv to spawn_agent + wait_agent architecture
- Delete 21 old team skill directories using CSV-wave pipeline pattern (~100+ files)
- Delete old team-lifecycle (v3) and team-planex-v2
- Create generic team-worker.toml and team-supervisor.toml (replacing tlv4-specific TOMLs)
- Convert 19 team skills from Claude Code format (Agent/SendMessage/TaskCreate)
  to Codex format (spawn_agent/wait_agent/tasks.json/request_user_input)
- Update team-lifecycle-v4 to use generic agent types (team_worker/team_supervisor)
- Convert all coordinator role files: dispatch.md, monitor.md, role.md
- Convert all worker role files: remove run_in_background, fix Bash syntax
- Convert all specs/pipelines.md references
- Final state: 20 team skills, 217 .md files, zero Claude Code API residuals

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 16:54:48 +08:00

2.1 KiB

Pipeline Definitions

Tech debt pipeline modes and task registry.

Pipeline Modes

Mode Description Task Chain
scan Scan and assess only, no fixes TDSCAN-001 -> TDEVAL-001
remediate Full pipeline: scan -> assess -> plan -> fix -> validate TDSCAN-001 -> TDEVAL-001 -> TDPLAN-001 -> TDFIX-001 -> TDVAL-001
targeted Skip scan/assess, direct fix path TDPLAN-001 -> TDFIX-001 -> TDVAL-001

Task Registry

Task ID Role Prefix blockedBy Description
TDSCAN-001 scanner TDSCAN [] Fan-out multi-dimension codebase scan (code, architecture, testing, dependency, documentation)
TDEVAL-001 assessor TDEVAL [TDSCAN-001] Severity assessment with priority quadrant matrix
TDPLAN-001 planner TDPLAN [TDEVAL-001] 3-phase remediation plan with effort estimates
TDFIX-001 executor TDFIX [TDPLAN-001] Worktree-based incremental fixes (inner_loop: true)
TDVAL-001 validator TDVAL [TDFIX-001] 4-layer validation: syntax, tests, integration, regression

Checkpoints

Checkpoint Trigger Condition Action
Plan Approval Gate TDPLAN-001 completes Always request_user_input: Approve / Revise / Abort
Worktree Creation Plan approved Before TDFIX git worktree add .worktrees/TD--
Fix-Verify GC Loop TDVAL-* completes Regressions found Create TDFIX-fix- + TDVAL-recheck- (max 3 rounds)

GC Loop Behavior

Condition Action
No regressions Pipeline complete
Regressions AND gc_rounds < 3 Create fix-verify tasks, increment gc_rounds
Regressions AND gc_rounds >= 3 Accept current state, handleComplete

Output Artifacts

Task Output Path
TDSCAN-001 /scan/scan-report.json
TDEVAL-001 /assessment/debt-assessment.json
TDPLAN-001 /plan/remediation-plan.md
TDFIX-001 /fixes/ (worktree)
TDVAL-001 /validation/validation-report.md