mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +08:00
feat: unified task.json schema migration and multi-module updates
- Create task-schema.json (JSON Schema draft-07) with 10 field blocks fusing Unified JSONL, 6-field Task JSON, and Solution Schema advantages - Migrate unified-execute-with-file from JSONL to .task/*.json directory scanning - Migrate 3 producers (lite-plan, plan-converter, collaborative-plan) to .task/*.json multi-file output - Add review-cycle Phase 7.5 export-to-tasks (FIX-*.json) and issue-resolve --export-tasks option - Add schema compatibility annotations to action-planning-agent, workflow-plan, and tdd-plan - Add spec-generator skill phases and templates - Add memory v2 pipeline (consolidation, extraction, job scheduler, embedder) - Add secret-redactor utility and core-memory enhancements - Add codex-lens accuracy benchmarks and staged env config overrides
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: issue-resolve
|
||||
description: Unified issue resolution pipeline with source selection. Plan issues via AI exploration, convert from artifacts, import from brainstorm sessions, or form execution queues. Triggers on "issue:plan", "issue:queue", "issue:convert-to-plan", "issue:from-brainstorm", "resolve issue", "plan issue", "queue issues", "convert plan to issue".
|
||||
description: Unified issue resolution pipeline with source selection. Plan issues via AI exploration, convert from artifacts, import from brainstorm sessions, form execution queues, or export solutions to task JSON. Triggers on "issue:plan", "issue:queue", "issue:convert-to-plan", "issue:from-brainstorm", "export-to-tasks", "resolve issue", "plan issue", "queue issues", "convert plan to issue".
|
||||
allowed-tools: spawn_agent, wait, send_input, close_agent, AskUserQuestion, Read, Write, Edit, Bash, Glob, Grep
|
||||
---
|
||||
|
||||
@@ -28,6 +28,10 @@ Unified issue resolution pipeline that orchestrates solution creation from multi
|
||||
↓ ↓ ↓ ↓ │
|
||||
Solutions Solutions Issue+Sol Exec Queue │
|
||||
(bound) (bound) (bound) (ordered) │
|
||||
│ │ │ │
|
||||
└─────┬─────┘───────────┘ │
|
||||
↓ (optional --export-tasks) │
|
||||
.task/TASK-*.json │
|
||||
│
|
||||
┌────────────────────────────────┘
|
||||
↓
|
||||
@@ -119,6 +123,7 @@ codex -p "@.codex/prompts/issue-resolve.md [FLAGS] \"<input>\""
|
||||
--issue <id> Bind to existing issue (convert mode)
|
||||
--supplement Add tasks to existing solution (convert mode)
|
||||
--queues <n> Number of parallel queues (queue mode, default: 1)
|
||||
--export-tasks Export solution tasks to .task/TASK-*.json (task-schema.json format)
|
||||
|
||||
# Examples
|
||||
codex -p "@.codex/prompts/issue-resolve.md GH-123,GH-124" # Explore & plan issues
|
||||
@@ -151,6 +156,8 @@ Phase Execution (load one phase):
|
||||
└─ Phase 4: Form Queue → phases/04-issue-queue.md
|
||||
|
||||
Post-Phase:
|
||||
├─ Export to Task JSON (optional, with --export-tasks flag)
|
||||
│ └─ For each solution.tasks[] → write .task/TASK-{T-id}.json
|
||||
└─ Summary + Next steps recommendation
|
||||
```
|
||||
|
||||
@@ -263,6 +270,29 @@ User Input (issue IDs / artifact path / session ID / flags)
|
||||
[Summary + Next Steps]
|
||||
├─ After Plan/Convert/Brainstorm → Suggest /issue:queue or /issue:execute
|
||||
└─ After Queue → Suggest /issue:execute
|
||||
|
||||
(Optional) Export to Task JSON (when --export-tasks flag is set):
|
||||
├─ For each solution.tasks[] entry:
|
||||
│ ├─ solution.task.id → id (prefixed as TASK-{T-id})
|
||||
│ ├─ solution.task.title → title
|
||||
│ ├─ solution.task.description → description
|
||||
│ ├─ solution.task.action → action
|
||||
│ ├─ solution.task.scope → scope
|
||||
│ ├─ solution.task.modification_points[] → files[]
|
||||
│ │ ├─ mp.file → files[].path
|
||||
│ │ ├─ mp.target → files[].target
|
||||
│ │ └─ mp.change → files[].changes[]
|
||||
│ ├─ solution.task.acceptance → convergence
|
||||
│ │ ├─ acceptance.criteria[] → convergence.criteria[]
|
||||
│ │ └─ acceptance.verification[]→ convergence.verification (joined)
|
||||
│ ├─ solution.task.implementation → implementation[]
|
||||
│ ├─ solution.task.test → test
|
||||
│ ├─ solution.task.depends_on → depends_on
|
||||
│ ├─ solution.task.commit → commit
|
||||
│ └─ solution.task.priority → priority (1→critical, 2→high, 3→medium, 4-5→low)
|
||||
├─ Output path: .workflow/issues/{issue-id}/.task/TASK-{T-id}.json
|
||||
├─ Each file follows task-schema.json (IDENTITY + CONVERGENCE + FILES required)
|
||||
└─ source.tool = "issue-resolve", source.issue_id = {issue-id}
|
||||
```
|
||||
|
||||
## Task Tracking Pattern
|
||||
|
||||
Reference in New Issue
Block a user