claude-code-workflow 6.3.26 → 6.3.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/CLAUDE.md +7 -1
- package/.claude/agents/action-planning-agent.md +1 -0
- package/.claude/agents/cli-discuss-agent.md +391 -0
- package/.claude/agents/cli-execution-agent.md +2 -0
- package/.claude/agents/cli-explore-agent.md +2 -1
- package/.claude/agents/cli-lite-planning-agent.md +1 -0
- package/.claude/agents/cli-planning-agent.md +1 -0
- package/.claude/agents/code-developer.md +1 -0
- package/.claude/agents/conceptual-planning-agent.md +2 -0
- package/.claude/agents/context-search-agent.md +1 -0
- package/.claude/agents/debug-explore-agent.md +2 -0
- package/.claude/agents/doc-generator.md +1 -0
- package/.claude/agents/issue-plan-agent.md +2 -1
- package/.claude/agents/issue-queue-agent.md +2 -1
- package/.claude/agents/memory-bridge.md +2 -0
- package/.claude/agents/test-context-search-agent.md +2 -0
- package/.claude/agents/test-fix-agent.md +1 -0
- package/.claude/agents/ui-design-agent.md +2 -0
- package/.claude/agents/universal-executor.md +1 -0
- package/.claude/commands/issue/execute.md +141 -163
- package/.claude/commands/workflow/lite-lite-lite.md +798 -0
- package/.claude/commands/workflow/multi-cli-plan.md +510 -0
- package/.claude/skills/ccw/SKILL.md +262 -372
- package/.claude/skills/ccw/command.json +547 -0
- package/.claude/skills/ccw-help/SKILL.md +46 -107
- package/.claude/skills/ccw-help/command.json +511 -0
- package/.claude/skills/skill-tuning/SKILL.md +303 -0
- package/.claude/skills/skill-tuning/phases/actions/action-abort.md +164 -0
- package/.claude/skills/skill-tuning/phases/actions/action-analyze-requirements.md +406 -0
- package/.claude/skills/skill-tuning/phases/actions/action-apply-fix.md +206 -0
- package/.claude/skills/skill-tuning/phases/actions/action-complete.md +195 -0
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-agent.md +317 -0
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-context.md +243 -0
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-dataflow.md +318 -0
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-docs.md +299 -0
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-memory.md +269 -0
- package/.claude/skills/skill-tuning/phases/actions/action-diagnose-token-consumption.md +200 -0
- package/.claude/skills/skill-tuning/phases/actions/action-gemini-analysis.md +322 -0
- package/.claude/skills/skill-tuning/phases/actions/action-generate-report.md +228 -0
- package/.claude/skills/skill-tuning/phases/actions/action-init.md +149 -0
- package/.claude/skills/skill-tuning/phases/actions/action-propose-fixes.md +317 -0
- package/.claude/skills/skill-tuning/phases/actions/action-verify.md +222 -0
- package/.claude/skills/skill-tuning/phases/orchestrator.md +377 -0
- package/.claude/skills/skill-tuning/phases/state-schema.md +378 -0
- package/.claude/skills/skill-tuning/specs/category-mappings.json +284 -0
- package/.claude/skills/skill-tuning/specs/dimension-mapping.md +212 -0
- package/.claude/skills/skill-tuning/specs/problem-taxonomy.md +318 -0
- package/.claude/skills/skill-tuning/specs/quality-gates.md +263 -0
- package/.claude/skills/skill-tuning/specs/skill-authoring-principles.md +189 -0
- package/.claude/skills/skill-tuning/specs/tuning-strategies.md +1537 -0
- package/.claude/skills/skill-tuning/templates/diagnosis-report.md +153 -0
- package/.claude/skills/skill-tuning/templates/fix-proposal.md +204 -0
- package/.claude/workflows/cli-templates/schemas/multi-cli-discussion-schema.json +421 -0
- package/.claude/workflows/cli-tools-usage.md +0 -41
- package/ccw/dist/core/auth/csrf-middleware.d.ts.map +1 -1
- package/ccw/dist/core/auth/csrf-middleware.js +3 -1
- package/ccw/dist/core/auth/csrf-middleware.js.map +1 -1
- package/ccw/dist/core/data-aggregator.d.ts +2 -0
- package/ccw/dist/core/data-aggregator.d.ts.map +1 -1
- package/ccw/dist/core/data-aggregator.js +5 -2
- package/ccw/dist/core/data-aggregator.js.map +1 -1
- package/ccw/dist/core/lite-scanner.d.ts +2 -1
- package/ccw/dist/core/lite-scanner.d.ts.map +1 -1
- package/ccw/dist/core/lite-scanner.js +295 -6
- package/ccw/dist/core/lite-scanner.js.map +1 -1
- package/ccw/dist/core/routes/codexlens/config-handlers.d.ts.map +1 -1
- package/ccw/dist/core/routes/codexlens/config-handlers.js +5 -5
- package/ccw/dist/core/routes/codexlens/config-handlers.js.map +1 -1
- package/ccw/dist/core/routes/session-routes.d.ts.map +1 -1
- package/ccw/dist/core/routes/session-routes.js +166 -48
- package/ccw/dist/core/routes/session-routes.js.map +1 -1
- package/ccw/dist/core/routes/system-routes.d.ts.map +1 -1
- package/ccw/dist/core/routes/system-routes.js +87 -0
- package/ccw/dist/core/routes/system-routes.js.map +1 -1
- package/ccw/dist/core/server.js +2 -2
- package/ccw/dist/core/server.js.map +1 -1
- package/ccw/scripts/IMPLEMENTATION-SUMMARY.md +226 -0
- package/ccw/scripts/QUICK-REFERENCE.md +135 -0
- package/ccw/scripts/README-memory-embedder.md +157 -0
- package/ccw/scripts/__pycache__/memory_embedder.cpython-313.pyc +0 -0
- package/ccw/scripts/__pycache__/test_memory_embedder.cpython-313-pytest-8.4.2.pyc +0 -0
- package/ccw/scripts/memory-embedder-example.ts +184 -0
- package/ccw/scripts/memory_embedder.py +428 -0
- package/ccw/scripts/test_memory_embedder.py +245 -0
- package/ccw/src/core/auth/csrf-middleware.ts +3 -1
- package/ccw/src/core/data-aggregator.ts +7 -2
- package/ccw/src/core/lite-scanner.ts +440 -6
- package/ccw/src/core/routes/codexlens/config-handlers.ts +12 -9
- package/ccw/src/core/routes/session-routes.ts +201 -48
- package/ccw/src/core/routes/system-routes.ts +102 -0
- package/ccw/src/core/server.ts +2 -2
- package/ccw/src/templates/dashboard-css/01-base.css +8 -0
- package/ccw/src/templates/dashboard-css/02-session.css +81 -0
- package/ccw/src/templates/dashboard-css/04-lite-tasks.css +2442 -0
- package/ccw/src/templates/dashboard-css/21-cli-toolmgmt.css +157 -0
- package/ccw/src/templates/dashboard-css/32-issue-manager.css +23 -0
- package/ccw/src/templates/dashboard-js/components/cli-stream-viewer.js +38 -4
- package/ccw/src/templates/dashboard-js/components/hook-manager.js +38 -13
- package/ccw/src/templates/dashboard-js/components/navigation.js +24 -4
- package/ccw/src/templates/dashboard-js/i18n.js +194 -6
- package/ccw/src/templates/dashboard-js/views/api-settings.js +32 -0
- package/ccw/src/templates/dashboard-js/views/claude-manager.js +44 -3
- package/ccw/src/templates/dashboard-js/views/cli-manager.js +303 -31
- package/ccw/src/templates/dashboard-js/views/history.js +44 -6
- package/ccw/src/templates/dashboard-js/views/home.js +1 -0
- package/ccw/src/templates/dashboard-js/views/issue-manager.js +54 -7
- package/ccw/src/templates/dashboard-js/views/lite-tasks.js +1817 -4
- package/ccw/src/templates/dashboard.html +5 -0
- package/package.json +2 -1
- package/.claude/skills/ccw/index/command-capabilities.json +0 -127
- package/.claude/skills/ccw/index/intent-rules.json +0 -136
- package/.claude/skills/ccw/index/workflow-chains.json +0 -451
- package/.claude/skills/ccw/phases/actions/bugfix.md +0 -218
- package/.claude/skills/ccw/phases/actions/coupled.md +0 -194
- package/.claude/skills/ccw/phases/actions/docs.md +0 -93
- package/.claude/skills/ccw/phases/actions/full.md +0 -154
- package/.claude/skills/ccw/phases/actions/issue.md +0 -201
- package/.claude/skills/ccw/phases/actions/rapid.md +0 -104
- package/.claude/skills/ccw/phases/actions/review-fix.md +0 -84
- package/.claude/skills/ccw/phases/actions/tdd.md +0 -66
- package/.claude/skills/ccw/phases/actions/ui.md +0 -79
- package/.claude/skills/ccw/phases/orchestrator.md +0 -435
- package/.claude/skills/ccw/specs/intent-classification.md +0 -336
- package/.claude/skills/ccw-help/index/all-agents.json +0 -82
- package/.claude/skills/ccw-help/index/all-commands.json +0 -882
- package/.claude/skills/ccw-help/index/by-category.json +0 -914
- package/.claude/skills/ccw-help/index/by-use-case.json +0 -896
- package/.claude/skills/ccw-help/index/command-relationships.json +0 -160
- package/.claude/skills/ccw-help/index/essential-commands.json +0 -112
|
@@ -405,6 +405,11 @@
|
|
|
405
405
|
<span class="nav-text flex-1" data-i18n="nav.liteFix">Lite Fix</span>
|
|
406
406
|
<span class="badge px-2 py-0.5 text-xs font-semibold rounded-full bg-orange-light text-orange" id="badgeLiteFix">0</span>
|
|
407
407
|
</li>
|
|
408
|
+
<li class="nav-item flex items-center gap-2 px-3 py-2.5 text-sm text-muted-foreground hover:bg-hover hover:text-foreground rounded cursor-pointer transition-colors" data-lite="multi-cli-plan" data-tooltip="Multi-CLI Plan Sessions">
|
|
409
|
+
<i data-lucide="messages-square" class="nav-icon text-purple"></i>
|
|
410
|
+
<span class="nav-text flex-1" data-i18n="nav.multiCliPlan">Multi-CLI Plan</span>
|
|
411
|
+
<span class="badge px-2 py-0.5 text-xs font-semibold rounded-full bg-purple-light text-purple" id="badgeMultiCliPlan">0</span>
|
|
412
|
+
</li>
|
|
408
413
|
</ul>
|
|
409
414
|
</div>
|
|
410
415
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-workflow",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.28",
|
|
4
4
|
"description": "JSON-driven multi-agent development framework with intelligent CLI orchestration (Gemini/Qwen/Codex), context-first architecture, and automated workflow execution",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "ccw/src/index.js",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"ccw/bin/",
|
|
51
51
|
"ccw/dist/",
|
|
52
52
|
"ccw/src/",
|
|
53
|
+
"ccw/scripts/",
|
|
53
54
|
".claude/agents/",
|
|
54
55
|
".claude/commands/",
|
|
55
56
|
".claude/output-styles/",
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_metadata": {
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"generated": "2026-01-03",
|
|
5
|
-
"description": "CCW command capability index for intelligent workflow coordination"
|
|
6
|
-
},
|
|
7
|
-
"capabilities": {
|
|
8
|
-
"explore": {
|
|
9
|
-
"description": "Codebase exploration and context gathering",
|
|
10
|
-
"commands": [
|
|
11
|
-
{ "command": "/workflow:init", "weight": 1.0, "tags": ["project-setup", "context"] },
|
|
12
|
-
{ "command": "/workflow:tools:gather", "weight": 0.9, "tags": ["context", "analysis"] },
|
|
13
|
-
{ "command": "/memory:load", "weight": 0.8, "tags": ["context", "memory"] }
|
|
14
|
-
],
|
|
15
|
-
"agents": ["cli-explore-agent", "context-search-agent"]
|
|
16
|
-
},
|
|
17
|
-
"brainstorm": {
|
|
18
|
-
"description": "Multi-perspective analysis and ideation",
|
|
19
|
-
"commands": [
|
|
20
|
-
{ "command": "/workflow:brainstorm:auto-parallel", "weight": 1.0, "tags": ["exploration", "multi-role"] },
|
|
21
|
-
{ "command": "/workflow:brainstorm:artifacts", "weight": 0.9, "tags": ["clarification", "guidance"] },
|
|
22
|
-
{ "command": "/workflow:brainstorm:synthesis", "weight": 0.8, "tags": ["consolidation", "refinement"] }
|
|
23
|
-
],
|
|
24
|
-
"roles": ["product-manager", "system-architect", "ux-expert", "data-architect", "api-designer"]
|
|
25
|
-
},
|
|
26
|
-
"plan": {
|
|
27
|
-
"description": "Task planning and decomposition",
|
|
28
|
-
"commands": [
|
|
29
|
-
{ "command": "/workflow:lite-plan", "weight": 1.0, "complexity": "low-medium", "tags": ["fast", "interactive"] },
|
|
30
|
-
{ "command": "/workflow:plan", "weight": 0.9, "complexity": "medium-high", "tags": ["comprehensive", "persistent"] },
|
|
31
|
-
{ "command": "/workflow:tdd-plan", "weight": 0.7, "complexity": "medium-high", "tags": ["test-first", "quality"] },
|
|
32
|
-
{ "command": "/task:create", "weight": 0.6, "tags": ["single-task", "manual"] },
|
|
33
|
-
{ "command": "/task:breakdown", "weight": 0.5, "tags": ["decomposition", "subtasks"] }
|
|
34
|
-
],
|
|
35
|
-
"agents": ["cli-lite-planning-agent", "action-planning-agent"]
|
|
36
|
-
},
|
|
37
|
-
"verify": {
|
|
38
|
-
"description": "Plan and quality verification",
|
|
39
|
-
"commands": [
|
|
40
|
-
{ "command": "/workflow:action-plan-verify", "weight": 1.0, "tags": ["plan-quality", "consistency"] },
|
|
41
|
-
{ "command": "/workflow:tdd-verify", "weight": 0.8, "tags": ["tdd-compliance", "coverage"] }
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
"execute": {
|
|
45
|
-
"description": "Task execution and implementation",
|
|
46
|
-
"commands": [
|
|
47
|
-
{ "command": "/workflow:lite-execute", "weight": 1.0, "complexity": "low-medium", "tags": ["fast", "agent-or-cli"] },
|
|
48
|
-
{ "command": "/workflow:execute", "weight": 0.9, "complexity": "medium-high", "tags": ["dag-parallel", "comprehensive"] },
|
|
49
|
-
{ "command": "/task:execute", "weight": 0.7, "tags": ["single-task"] }
|
|
50
|
-
],
|
|
51
|
-
"agents": ["code-developer", "cli-execution-agent", "universal-executor"]
|
|
52
|
-
},
|
|
53
|
-
"bugfix": {
|
|
54
|
-
"description": "Bug diagnosis and fixing",
|
|
55
|
-
"commands": [
|
|
56
|
-
{ "command": "/workflow:lite-fix", "weight": 1.0, "tags": ["diagnosis", "fix", "standard"] },
|
|
57
|
-
{ "command": "/workflow:lite-fix --hotfix", "weight": 0.9, "tags": ["emergency", "production", "fast"] }
|
|
58
|
-
],
|
|
59
|
-
"agents": ["code-developer"]
|
|
60
|
-
},
|
|
61
|
-
"test": {
|
|
62
|
-
"description": "Test generation and execution",
|
|
63
|
-
"commands": [
|
|
64
|
-
{ "command": "/workflow:test-gen", "weight": 1.0, "tags": ["post-implementation", "coverage"] },
|
|
65
|
-
{ "command": "/workflow:test-fix-gen", "weight": 0.9, "tags": ["from-description", "flexible"] },
|
|
66
|
-
{ "command": "/workflow:test-cycle-execute", "weight": 0.8, "tags": ["iterative", "fix-cycle"] }
|
|
67
|
-
],
|
|
68
|
-
"agents": ["test-fix-agent"]
|
|
69
|
-
},
|
|
70
|
-
"review": {
|
|
71
|
-
"description": "Code review and quality analysis",
|
|
72
|
-
"commands": [
|
|
73
|
-
{ "command": "/workflow:review-session-cycle", "weight": 1.0, "tags": ["session-based", "comprehensive"] },
|
|
74
|
-
{ "command": "/workflow:review-module-cycle", "weight": 0.9, "tags": ["module-based", "targeted"] },
|
|
75
|
-
{ "command": "/workflow:review", "weight": 0.8, "tags": ["single-pass", "type-specific"] },
|
|
76
|
-
{ "command": "/workflow:review-fix", "weight": 0.7, "tags": ["auto-fix", "findings"] }
|
|
77
|
-
]
|
|
78
|
-
},
|
|
79
|
-
"issue": {
|
|
80
|
-
"description": "Batch issue management",
|
|
81
|
-
"commands": [
|
|
82
|
-
{ "command": "/issue:new", "weight": 1.0, "tags": ["create", "import"] },
|
|
83
|
-
{ "command": "/issue:discover", "weight": 0.9, "tags": ["find", "analyze"] },
|
|
84
|
-
{ "command": "/issue:plan", "weight": 0.8, "tags": ["solutions", "planning"] },
|
|
85
|
-
{ "command": "/issue:queue", "weight": 0.7, "tags": ["prioritize", "order"] },
|
|
86
|
-
{ "command": "/issue:execute", "weight": 0.6, "tags": ["batch-execute", "dag"] }
|
|
87
|
-
],
|
|
88
|
-
"agents": ["issue-plan-agent", "issue-queue-agent"]
|
|
89
|
-
},
|
|
90
|
-
"ui-design": {
|
|
91
|
-
"description": "UI design and prototyping",
|
|
92
|
-
"commands": [
|
|
93
|
-
{ "command": "/workflow:ui-design:explore-auto", "weight": 1.0, "tags": ["from-scratch", "variants"] },
|
|
94
|
-
{ "command": "/workflow:ui-design:imitate-auto", "weight": 0.9, "tags": ["reference-based", "copy"] },
|
|
95
|
-
{ "command": "/workflow:ui-design:design-sync", "weight": 0.7, "tags": ["sync", "finalize"] },
|
|
96
|
-
{ "command": "/workflow:ui-design:generate", "weight": 0.6, "tags": ["assemble", "prototype"] }
|
|
97
|
-
],
|
|
98
|
-
"agents": ["ui-design-agent"]
|
|
99
|
-
},
|
|
100
|
-
"memory": {
|
|
101
|
-
"description": "Documentation and knowledge management",
|
|
102
|
-
"commands": [
|
|
103
|
-
{ "command": "/memory:docs", "weight": 1.0, "tags": ["generate", "planning"] },
|
|
104
|
-
{ "command": "/memory:update-related", "weight": 0.9, "tags": ["incremental", "git-based"] },
|
|
105
|
-
{ "command": "/memory:update-full", "weight": 0.8, "tags": ["comprehensive", "all-modules"] },
|
|
106
|
-
{ "command": "/memory:skill-memory", "weight": 0.7, "tags": ["package", "reusable"] }
|
|
107
|
-
],
|
|
108
|
-
"agents": ["doc-generator", "memory-bridge"]
|
|
109
|
-
},
|
|
110
|
-
"session": {
|
|
111
|
-
"description": "Workflow session management",
|
|
112
|
-
"commands": [
|
|
113
|
-
{ "command": "/workflow:session:start", "weight": 1.0, "tags": ["init", "discover"] },
|
|
114
|
-
{ "command": "/workflow:session:list", "weight": 0.9, "tags": ["view", "status"] },
|
|
115
|
-
{ "command": "/workflow:session:resume", "weight": 0.8, "tags": ["continue", "restore"] },
|
|
116
|
-
{ "command": "/workflow:session:complete", "weight": 0.7, "tags": ["finish", "archive"] }
|
|
117
|
-
]
|
|
118
|
-
},
|
|
119
|
-
"debug": {
|
|
120
|
-
"description": "Debugging and problem solving",
|
|
121
|
-
"commands": [
|
|
122
|
-
{ "command": "/workflow:debug", "weight": 1.0, "tags": ["hypothesis", "iterative"] },
|
|
123
|
-
{ "command": "/workflow:clean", "weight": 0.6, "tags": ["cleanup", "artifacts"] }
|
|
124
|
-
]
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_metadata": {
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "Externalized intent classification rules for CCW orchestrator"
|
|
5
|
-
},
|
|
6
|
-
"intent_patterns": {
|
|
7
|
-
"bugfix": {
|
|
8
|
-
"priority": 1,
|
|
9
|
-
"description": "Bug修复意图",
|
|
10
|
-
"variants": {
|
|
11
|
-
"hotfix": {
|
|
12
|
-
"patterns": ["hotfix", "urgent", "production", "critical", "emergency", "紧急", "生产环境", "线上"],
|
|
13
|
-
"workflow": "lite-fix --hotfix"
|
|
14
|
-
},
|
|
15
|
-
"standard": {
|
|
16
|
-
"patterns": ["fix", "bug", "error", "issue", "crash", "broken", "fail", "wrong", "incorrect", "修复", "错误", "崩溃", "失败"],
|
|
17
|
-
"workflow": "lite-fix"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"issue_batch": {
|
|
22
|
-
"priority": 2,
|
|
23
|
-
"description": "批量Issue处理意图",
|
|
24
|
-
"patterns": {
|
|
25
|
-
"batch_keywords": ["issues", "issue", "batch", "queue", "多个", "批量", "一批"],
|
|
26
|
-
"action_keywords": ["fix", "resolve", "处理", "解决", "修复"]
|
|
27
|
-
},
|
|
28
|
-
"require_both": true,
|
|
29
|
-
"workflow": "issue:plan → issue:queue → issue:execute"
|
|
30
|
-
},
|
|
31
|
-
"exploration": {
|
|
32
|
-
"priority": 3,
|
|
33
|
-
"description": "探索/不确定意图",
|
|
34
|
-
"patterns": ["不确定", "不知道", "explore", "研究", "分析一下", "怎么做", "what if", "should i", "探索", "可能", "或许", "建议"],
|
|
35
|
-
"workflow": "brainstorm → plan → execute"
|
|
36
|
-
},
|
|
37
|
-
"ui_design": {
|
|
38
|
-
"priority": 4,
|
|
39
|
-
"description": "UI/设计意图",
|
|
40
|
-
"patterns": ["ui", "界面", "design", "设计", "component", "组件", "style", "样式", "layout", "布局", "前端", "frontend", "页面"],
|
|
41
|
-
"variants": {
|
|
42
|
-
"imitate": {
|
|
43
|
-
"triggers": ["参考", "模仿", "像", "类似", "reference", "like"],
|
|
44
|
-
"workflow": "ui-design:imitate-auto → plan → execute"
|
|
45
|
-
},
|
|
46
|
-
"explore": {
|
|
47
|
-
"triggers": [],
|
|
48
|
-
"workflow": "ui-design:explore-auto → plan → execute"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"tdd": {
|
|
53
|
-
"priority": 5,
|
|
54
|
-
"description": "测试驱动开发意图",
|
|
55
|
-
"patterns": ["tdd", "test-driven", "测试驱动", "先写测试", "red-green", "test first"],
|
|
56
|
-
"workflow": "tdd-plan → execute → tdd-verify"
|
|
57
|
-
},
|
|
58
|
-
"review": {
|
|
59
|
-
"priority": 6,
|
|
60
|
-
"description": "代码审查意图",
|
|
61
|
-
"patterns": ["review", "审查", "检查代码", "code review", "质量检查", "安全审查"],
|
|
62
|
-
"workflow": "review-session-cycle → review-fix"
|
|
63
|
-
},
|
|
64
|
-
"documentation": {
|
|
65
|
-
"priority": 7,
|
|
66
|
-
"description": "文档生成意图",
|
|
67
|
-
"patterns": ["文档", "documentation", "docs", "readme", "注释", "api doc", "说明"],
|
|
68
|
-
"variants": {
|
|
69
|
-
"incremental": {
|
|
70
|
-
"triggers": ["更新", "增量", "相关"],
|
|
71
|
-
"workflow": "memory:update-related"
|
|
72
|
-
},
|
|
73
|
-
"full": {
|
|
74
|
-
"triggers": ["全部", "完整", "所有"],
|
|
75
|
-
"workflow": "memory:docs → execute"
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"complexity_indicators": {
|
|
81
|
-
"high": {
|
|
82
|
-
"score_threshold": 4,
|
|
83
|
-
"patterns": {
|
|
84
|
-
"architecture": {
|
|
85
|
-
"keywords": ["refactor", "重构", "migrate", "迁移", "architect", "架构", "system", "系统"],
|
|
86
|
-
"weight": 2
|
|
87
|
-
},
|
|
88
|
-
"multi_module": {
|
|
89
|
-
"keywords": ["multiple", "多个", "across", "跨", "all", "所有", "entire", "整个"],
|
|
90
|
-
"weight": 2
|
|
91
|
-
},
|
|
92
|
-
"integration": {
|
|
93
|
-
"keywords": ["integrate", "集成", "connect", "连接", "api", "database", "数据库"],
|
|
94
|
-
"weight": 1
|
|
95
|
-
},
|
|
96
|
-
"quality": {
|
|
97
|
-
"keywords": ["security", "安全", "performance", "性能", "scale", "扩展", "优化"],
|
|
98
|
-
"weight": 1
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
"workflow": "plan → verify → execute"
|
|
102
|
-
},
|
|
103
|
-
"medium": {
|
|
104
|
-
"score_threshold": 2,
|
|
105
|
-
"workflow": "lite-plan → lite-execute"
|
|
106
|
-
},
|
|
107
|
-
"low": {
|
|
108
|
-
"score_threshold": 0,
|
|
109
|
-
"workflow": "lite-plan → lite-execute"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
"cli_tool_triggers": {
|
|
113
|
-
"gemini": {
|
|
114
|
-
"explicit": ["用 gemini", "gemini 分析", "让 gemini", "用gemini"],
|
|
115
|
-
"semantic": ["深度分析", "架构理解", "执行流追踪", "根因分析"]
|
|
116
|
-
},
|
|
117
|
-
"qwen": {
|
|
118
|
-
"explicit": ["用 qwen", "qwen 评估", "让 qwen", "用qwen"],
|
|
119
|
-
"semantic": ["第二视角", "对比验证", "模式识别"]
|
|
120
|
-
},
|
|
121
|
-
"codex": {
|
|
122
|
-
"explicit": ["用 codex", "codex 实现", "让 codex", "用codex"],
|
|
123
|
-
"semantic": ["自主完成", "批量修改", "自动实现"]
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
"fallback_rules": {
|
|
127
|
-
"no_match": {
|
|
128
|
-
"default_workflow": "lite-plan → lite-execute",
|
|
129
|
-
"use_complexity_assessment": true
|
|
130
|
-
},
|
|
131
|
-
"ambiguous": {
|
|
132
|
-
"action": "ask_user",
|
|
133
|
-
"message": "检测到多个可能意图,请确认工作流选择"
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|