mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
refactor(issue): Simplify issue and task structures by removing unused fields
This commit is contained in:
@@ -3,20 +3,20 @@
|
||||
"title": "Issue Solution Schema",
|
||||
"description": "Schema for solution registered to an issue",
|
||||
"type": "object",
|
||||
"required": ["id", "issue_id", "tasks", "status", "created_at"],
|
||||
"required": ["id", "tasks", "is_bound", "created_at"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "Unique solution identifier",
|
||||
"pattern": "^SOL-[0-9]+$"
|
||||
},
|
||||
"issue_id": {
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "Parent issue ID"
|
||||
"description": "High-level summary of the solution"
|
||||
},
|
||||
"plan_session_id": {
|
||||
"approach": {
|
||||
"type": "string",
|
||||
"description": "Planning session that created this solution"
|
||||
"description": "Technical approach or strategy"
|
||||
},
|
||||
"tasks": {
|
||||
"type": "array",
|
||||
@@ -106,26 +106,9 @@
|
||||
"type": "integer",
|
||||
"description": "Estimated time to complete"
|
||||
},
|
||||
"executor": {
|
||||
"type": "string",
|
||||
"enum": ["codex", "gemini", "agent", "auto"],
|
||||
"default": "auto"
|
||||
},
|
||||
"lifecycle_status": {
|
||||
"type": "object",
|
||||
"description": "Lifecycle phase tracking",
|
||||
"properties": {
|
||||
"implemented": { "type": "boolean" },
|
||||
"tested": { "type": "boolean" },
|
||||
"regression_passed": { "type": "boolean" },
|
||||
"accepted": { "type": "boolean" },
|
||||
"committed": { "type": "boolean" }
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"enum": ["pending", "ready", "executing", "completed", "failed", "blocked"],
|
||||
"default": "pending"
|
||||
"description": "Task status (optional, for tracking)"
|
||||
},
|
||||
"priority": {
|
||||
"type": "integer",
|
||||
@@ -164,11 +147,6 @@
|
||||
"maximum": 1,
|
||||
"description": "Solution quality score (0.0-1.0)"
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"enum": ["draft", "candidate", "bound", "queued", "executing", "completed", "failed"],
|
||||
"default": "draft"
|
||||
},
|
||||
"is_bound": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
|
||||
Reference in New Issue
Block a user