mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-28 09:23:08 +08:00
fix: correct issue CLI endpoints across team-planex, commands, and help text
- team-planex/planner: fix `ccw issue new` → `ccw issue create --data`, `solutions` → `solution` - team-planex/executor: fix `in-progress` → `executing`, `resolved` → `completed`, `solutions` → `solution` - commands/issue/convert-to-plan: fix `solutions --issue <id>` → `solution <id>` - issue-manage SKILL: add solution/solutions endpoint documentation - issue.ts help text: add missing `solutions` and `task` subcommand entries
This commit is contained in:
@@ -55,7 +55,7 @@ Converts various planning artifact formats into issue workflow solutions with in
|
||||
| Get issue | `ccw issue status <id> --json` | Read issues.jsonl directly |
|
||||
| Create issue | `ccw issue init <id> --title "..."` | Write to issues.jsonl |
|
||||
| Bind solution | `ccw issue bind <id> <sol-id>` | Edit issues.jsonl |
|
||||
| List solutions | `ccw issue solutions --issue <id> --brief` | Read solutions/*.jsonl |
|
||||
| List solutions | `ccw issue solution <id> --brief` | Read solutions/*.jsonl |
|
||||
|
||||
## Solution Schema Reference
|
||||
|
||||
|
||||
@@ -33,6 +33,12 @@ ccw issue task <id> --title "..." # Add task
|
||||
ccw issue bind <id> <solution-id> # Bind solution
|
||||
ccw issue update <id> --status completed # Complete & auto-archive
|
||||
|
||||
# Solution queries
|
||||
ccw issue solution <id> # List solutions for a single issue
|
||||
ccw issue solution <id> --brief # Brief: solution_id, files_touched, task_count
|
||||
ccw issue solutions # Batch list all bound solutions
|
||||
ccw issue solutions --status planned --brief # Filter by issue status
|
||||
|
||||
# Queue management
|
||||
ccw issue queue # List current queue
|
||||
ccw issue queue add <id> # Add to queue
|
||||
|
||||
@@ -61,9 +61,9 @@
|
||||
| CLI Command | Purpose |
|
||||
|-------------|---------|
|
||||
| `ccw issue status <id> --json` | 查看 issue 状态 |
|
||||
| `ccw issue solutions <id> --json` | 加载 bound solution |
|
||||
| `ccw issue update <id> --status in-progress` | 更新 issue 状态为进行中 |
|
||||
| `ccw issue update <id> --status resolved` | 标记 issue 已解决 |
|
||||
| `ccw issue solution <id> --json` | 加载单个 issue 的 bound solution(需要 issue ID) |
|
||||
| `ccw issue update <id> --status executing` | 更新 issue 状态为执行中 |
|
||||
| `ccw issue update <id> --status completed` | 标记 issue 已完成 |
|
||||
|
||||
## Execution Method Resolution
|
||||
|
||||
@@ -166,7 +166,7 @@ if (!issueId) {
|
||||
}
|
||||
|
||||
// Load solution plan
|
||||
const solJson = Bash(`ccw issue solutions ${issueId} --json`)
|
||||
const solJson = Bash(`ccw issue solution ${issueId} --json`)
|
||||
const solution = JSON.parse(solJson)
|
||||
|
||||
if (!solution.bound) {
|
||||
@@ -190,7 +190,7 @@ const executor = resolveExecutor(task.description, taskCount)
|
||||
const codeReview = resolveCodeReview(task.description)
|
||||
|
||||
// Update issue status
|
||||
Bash(`ccw issue update ${issueId} --status in-progress`)
|
||||
Bash(`ccw issue update ${issueId} --status executing`)
|
||||
```
|
||||
|
||||
### Phase 3: Implementation (Multi-Backend Routing)
|
||||
@@ -297,7 +297,7 @@ if (codeReview !== 'Skip') {
|
||||
}
|
||||
|
||||
// Update issue status to resolved
|
||||
Bash(`ccw issue update ${issueId} --status resolved`)
|
||||
Bash(`ccw issue update ${issueId} --status completed`)
|
||||
```
|
||||
|
||||
### Code Review (Optional)
|
||||
|
||||
@@ -48,9 +48,10 @@
|
||||
|
||||
| CLI Command | Purpose |
|
||||
|-------------|---------|
|
||||
| `ccw issue new --text '...' --json` | 从文本创建 issue |
|
||||
| `ccw issue create --data '{"title":"..."}' --json` | 从文本创建 issue |
|
||||
| `ccw issue status <id> --json` | 查看 issue 状态 |
|
||||
| `ccw issue solutions <id> --json` | 查看已绑定 solution |
|
||||
| `ccw issue solution <id> --json` | 查看单个 issue 的 solutions(需要 issue ID) |
|
||||
| `ccw issue solutions --status planned --brief` | 批量列出所有已绑定 solutions(跨 issue) |
|
||||
| `ccw issue bind <id> <sol-id>` | 绑定 solution 到 issue |
|
||||
|
||||
### Skill Capabilities
|
||||
|
||||
Reference in New Issue
Block a user