mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-07 16:41:06 +08:00
feat: add spec-setup command for project initialization and interactive configuration
- Introduced a new command `spec-setup` to initialize project-level state. - Generates `.workflow/project-tech.json` and `.ccw/specs/*.md` files. - Implements a multi-round interactive questionnaire for configuring project guidelines. - Supports flags for regeneration, skipping specs, and resetting existing content. - Integrates analysis via `cli-explore-agent` for comprehensive project understanding. - Provides detailed execution process and error handling for various scenarios.
This commit is contained in:
@@ -717,7 +717,17 @@ AskUserQuestion({
|
||||
| Retry Failed | Filter tasks with `_execution.status === 'failed'`, re-execute, append `[RETRY]` events |
|
||||
| View Events | Display execution-events.md content |
|
||||
| Create Issue | `Skill(skill="issue:new", args="...")` from failed task details |
|
||||
| Done | Display artifact paths, end workflow |
|
||||
| Done | Display artifact paths, sync session state, end workflow |
|
||||
|
||||
### Step 4.5: Sync Session State
|
||||
|
||||
After completion (regardless of user selection), unless `--dry-run`:
|
||||
|
||||
```bash
|
||||
$session-sync -y "Execution complete: {completed}/{total} tasks succeeded"
|
||||
```
|
||||
|
||||
Updates specs/*.md with execution learnings and project-tech.json with development index entry.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user