feat(conductor): add track manager command for lifecycle management

Add /conductor:manage command with comprehensive track lifecycle operations:
- Archive completed tracks with reason tracking
- Restore archived tracks to active state
- Delete tracks permanently with safety confirmations
- Rename track IDs with full reference updates
- Cleanup orphaned artifacts and stale tracks
- Interactive menu when invoked without arguments

Also includes:
- Add Archived Tracks section to tracks.md template
- Update README with manage command documentation
- Bump version to 1.1.0
- Format files with prettier
This commit is contained in:
Seth Hobson
2026-01-16 12:02:24 -05:00
parent d750cf0e44
commit e5255782cd
9 changed files with 1167 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
{
"name": "conductor",
"version": "1.1.0",
"description": "Context-Driven Development plugin that transforms Claude Code into a project management tool with structured workflow: Context → Spec & Plan → Implement",
"author": {
"name": "Seth Hobson",

View File

@@ -30,6 +30,7 @@ By treating context as a managed artifact alongside code, teams establish a pers
| `/conductor:implement` | Execute tasks from the plan following workflow rules |
| `/conductor:status` | Display project progress overview |
| `/conductor:revert` | Git-aware undo by track, phase, or task |
| `/conductor:manage` | Manage track lifecycle: archive, restore, delete, rename, and cleanup |
## Generated Artifacts
@@ -44,6 +45,7 @@ conductor/
├── setup_state.json # Resumable setup state
├── code_styleguides/ # Language-specific conventions
└── tracks/
├── _archive/ # Archived tracks
└── <track-id>/
├── spec.md # Requirements specification
├── plan.md # Phased task breakdown
@@ -96,6 +98,16 @@ Undo work by logical unit:
- Git-aware: finds all associated commits
- Requires confirmation before execution
### 6. Manage (`/conductor:manage`)
Manage track lifecycle:
- Archive completed tracks with reason tracking
- Restore archived tracks to active state
- Delete tracks permanently (with safeguards)
- Rename track IDs with reference updates
- Cleanup orphaned artifacts and stale tracks
## Installation
```bash

View File

@@ -1,7 +1,17 @@
---
description: "Execute tasks from a track's implementation plan following TDD workflow"
argument-hint: "[track-id] [--task X.Y] [--phase N]"
allowed-tools: ["Read", "Write", "Edit", "Glob", "Grep", "Bash", "AskUserQuestion", "TodoWrite"]
allowed-tools:
[
"Read",
"Write",
"Edit",
"Glob",
"Grep",
"Bash",
"AskUserQuestion",
"TodoWrite",
]
---
# Implement Track

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,8 @@
---
description: "Create a new track with specification and phased implementation plan"
argument-hint: "<feature|bug|chore|refactor> <name>"
allowed-tools: ["Read", "Write", "Edit", "Glob", "Grep", "Bash", "AskUserQuestion"]
allowed-tools:
["Read", "Write", "Edit", "Glob", "Grep", "Bash", "AskUserQuestion"]
---
# New Track

View File

@@ -1,7 +1,8 @@
---
description: "Git-aware undo by logical work unit (track, phase, or task)"
argument-hint: "[track-id | track-id:phase | track-id:task]"
allowed-tools: ["Read", "Write", "Edit", "Glob", "Grep", "Bash", "AskUserQuestion"]
allowed-tools:
["Read", "Write", "Edit", "Glob", "Grep", "Bash", "AskUserQuestion"]
---
# Revert Track

View File

@@ -1,7 +1,8 @@
---
description: "Initialize project with Conductor artifacts (product definition, tech stack, workflow, style guides)"
argument-hint: "[--resume]"
allowed-tools: ["Read", "Write", "Edit", "Glob", "Grep", "Bash", "AskUserQuestion"]
allowed-tools:
["Read", "Write", "Edit", "Glob", "Grep", "Bash", "AskUserQuestion"]
---
# Conductor Setup

View File

@@ -34,6 +34,15 @@ This file maintains the registry of all development tracks for the project. Each
---
## Archived Tracks
<!-- Archived tracks are moved here with reason and date -->
| Track ID | Type | Reason | Archived | Folder |
| -------- | ---- | ------ | -------- | ------ |
---
## Track Creation Checklist
When creating a new track: