claude-code-workflow 6.3.27 → 6.3.29

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.
Files changed (133) hide show
  1. package/.claude/CLAUDE.md +7 -1
  2. package/.claude/agents/action-planning-agent.md +1 -0
  3. package/.claude/agents/cli-discuss-agent.md +391 -0
  4. package/.claude/agents/cli-execution-agent.md +2 -0
  5. package/.claude/agents/cli-explore-agent.md +2 -1
  6. package/.claude/agents/cli-lite-planning-agent.md +1 -0
  7. package/.claude/agents/cli-planning-agent.md +1 -0
  8. package/.claude/agents/code-developer.md +1 -0
  9. package/.claude/agents/conceptual-planning-agent.md +2 -0
  10. package/.claude/agents/context-search-agent.md +1 -0
  11. package/.claude/agents/debug-explore-agent.md +2 -0
  12. package/.claude/agents/doc-generator.md +1 -0
  13. package/.claude/agents/issue-plan-agent.md +2 -1
  14. package/.claude/agents/issue-queue-agent.md +2 -1
  15. package/.claude/agents/memory-bridge.md +2 -0
  16. package/.claude/agents/test-context-search-agent.md +2 -0
  17. package/.claude/agents/test-fix-agent.md +1 -0
  18. package/.claude/agents/ui-design-agent.md +2 -0
  19. package/.claude/agents/universal-executor.md +1 -0
  20. package/.claude/commands/issue/execute.md +269 -176
  21. package/.claude/commands/workflow/debug.md +6 -0
  22. package/.claude/commands/workflow/execute.md +4 -0
  23. package/.claude/commands/workflow/lite-execute.md +4 -0
  24. package/.claude/commands/workflow/lite-lite-lite.md +433 -0
  25. package/.claude/commands/workflow/multi-cli-plan.md +510 -0
  26. package/.claude/commands/workflow/review-fix.md +4 -0
  27. package/.claude/commands/workflow/test-cycle-execute.md +4 -0
  28. package/.claude/skills/ccw/SKILL.md +262 -372
  29. package/.claude/skills/ccw/command.json +547 -0
  30. package/.claude/skills/ccw-help/SKILL.md +46 -107
  31. package/.claude/skills/ccw-help/command.json +511 -0
  32. package/.claude/skills/skill-tuning/SKILL.md +303 -0
  33. package/.claude/skills/skill-tuning/phases/actions/action-abort.md +164 -0
  34. package/.claude/skills/skill-tuning/phases/actions/action-analyze-requirements.md +406 -0
  35. package/.claude/skills/skill-tuning/phases/actions/action-apply-fix.md +206 -0
  36. package/.claude/skills/skill-tuning/phases/actions/action-complete.md +195 -0
  37. package/.claude/skills/skill-tuning/phases/actions/action-diagnose-agent.md +317 -0
  38. package/.claude/skills/skill-tuning/phases/actions/action-diagnose-context.md +243 -0
  39. package/.claude/skills/skill-tuning/phases/actions/action-diagnose-dataflow.md +318 -0
  40. package/.claude/skills/skill-tuning/phases/actions/action-diagnose-docs.md +299 -0
  41. package/.claude/skills/skill-tuning/phases/actions/action-diagnose-memory.md +269 -0
  42. package/.claude/skills/skill-tuning/phases/actions/action-diagnose-token-consumption.md +200 -0
  43. package/.claude/skills/skill-tuning/phases/actions/action-gemini-analysis.md +322 -0
  44. package/.claude/skills/skill-tuning/phases/actions/action-generate-report.md +228 -0
  45. package/.claude/skills/skill-tuning/phases/actions/action-init.md +149 -0
  46. package/.claude/skills/skill-tuning/phases/actions/action-propose-fixes.md +317 -0
  47. package/.claude/skills/skill-tuning/phases/actions/action-verify.md +222 -0
  48. package/.claude/skills/skill-tuning/phases/orchestrator.md +377 -0
  49. package/.claude/skills/skill-tuning/phases/state-schema.md +378 -0
  50. package/.claude/skills/skill-tuning/specs/category-mappings.json +284 -0
  51. package/.claude/skills/skill-tuning/specs/dimension-mapping.md +212 -0
  52. package/.claude/skills/skill-tuning/specs/problem-taxonomy.md +318 -0
  53. package/.claude/skills/skill-tuning/specs/quality-gates.md +263 -0
  54. package/.claude/skills/skill-tuning/specs/skill-authoring-principles.md +189 -0
  55. package/.claude/skills/skill-tuning/specs/tuning-strategies.md +1537 -0
  56. package/.claude/skills/skill-tuning/templates/diagnosis-report.md +153 -0
  57. package/.claude/skills/skill-tuning/templates/fix-proposal.md +204 -0
  58. package/.claude/workflows/cli-templates/schemas/multi-cli-discussion-schema.json +421 -0
  59. package/.claude/workflows/cli-tools-usage.md +0 -41
  60. package/.codex/prompts/issue-execute.md +72 -12
  61. package/README.md +3 -0
  62. package/ccw/dist/core/data-aggregator.d.ts +2 -0
  63. package/ccw/dist/core/data-aggregator.d.ts.map +1 -1
  64. package/ccw/dist/core/data-aggregator.js +5 -2
  65. package/ccw/dist/core/data-aggregator.js.map +1 -1
  66. package/ccw/dist/core/lite-scanner.d.ts +2 -1
  67. package/ccw/dist/core/lite-scanner.d.ts.map +1 -1
  68. package/ccw/dist/core/lite-scanner.js +348 -6
  69. package/ccw/dist/core/lite-scanner.js.map +1 -1
  70. package/ccw/dist/core/routes/session-routes.d.ts.map +1 -1
  71. package/ccw/dist/core/routes/session-routes.js +166 -48
  72. package/ccw/dist/core/routes/session-routes.js.map +1 -1
  73. package/ccw/dist/core/routes/system-routes.d.ts.map +1 -1
  74. package/ccw/dist/core/routes/system-routes.js +87 -0
  75. package/ccw/dist/core/routes/system-routes.js.map +1 -1
  76. package/ccw/dist/core/server.js +2 -2
  77. package/ccw/dist/core/server.js.map +1 -1
  78. package/ccw/dist/tools/memory-update-queue.d.ts.map +1 -1
  79. package/ccw/dist/tools/memory-update-queue.js +5 -11
  80. package/ccw/dist/tools/memory-update-queue.js.map +1 -1
  81. package/ccw/scripts/IMPLEMENTATION-SUMMARY.md +226 -0
  82. package/ccw/scripts/QUICK-REFERENCE.md +135 -0
  83. package/ccw/scripts/README-memory-embedder.md +157 -0
  84. package/ccw/scripts/__pycache__/memory_embedder.cpython-313.pyc +0 -0
  85. package/ccw/scripts/__pycache__/test_memory_embedder.cpython-313-pytest-8.4.2.pyc +0 -0
  86. package/ccw/scripts/memory-embedder-example.ts +184 -0
  87. package/ccw/scripts/memory_embedder.py +428 -0
  88. package/ccw/scripts/test_memory_embedder.py +245 -0
  89. package/ccw/src/core/data-aggregator.ts +7 -2
  90. package/ccw/src/core/lite-scanner.ts +495 -6
  91. package/ccw/src/core/routes/session-routes.ts +201 -48
  92. package/ccw/src/core/routes/system-routes.ts +102 -0
  93. package/ccw/src/core/server.ts +2 -2
  94. package/ccw/src/templates/dashboard-css/01-base.css +8 -0
  95. package/ccw/src/templates/dashboard-css/02-session.css +81 -0
  96. package/ccw/src/templates/dashboard-css/03-tasks.css +5 -0
  97. package/ccw/src/templates/dashboard-css/04-lite-tasks.css +3071 -0
  98. package/ccw/src/templates/dashboard-css/21-cli-toolmgmt.css +157 -0
  99. package/ccw/src/templates/dashboard-css/32-issue-manager.css +23 -0
  100. package/ccw/src/templates/dashboard-js/components/cli-stream-viewer.js +38 -4
  101. package/ccw/src/templates/dashboard-js/components/hook-manager.js +68 -34
  102. package/ccw/src/templates/dashboard-js/components/navigation.js +24 -4
  103. package/ccw/src/templates/dashboard-js/i18n.js +278 -4
  104. package/ccw/src/templates/dashboard-js/views/api-settings.js +32 -0
  105. package/ccw/src/templates/dashboard-js/views/claude-manager.js +44 -3
  106. package/ccw/src/templates/dashboard-js/views/cli-manager.js +303 -31
  107. package/ccw/src/templates/dashboard-js/views/history.js +44 -6
  108. package/ccw/src/templates/dashboard-js/views/home.js +1 -0
  109. package/ccw/src/templates/dashboard-js/views/issue-manager.js +54 -7
  110. package/ccw/src/templates/dashboard-js/views/lite-tasks.js +2621 -4
  111. package/ccw/src/templates/dashboard.html +5 -0
  112. package/ccw/src/tools/memory-update-queue.js +5 -11
  113. package/package.json +2 -1
  114. package/.claude/skills/ccw/index/command-capabilities.json +0 -127
  115. package/.claude/skills/ccw/index/intent-rules.json +0 -136
  116. package/.claude/skills/ccw/index/workflow-chains.json +0 -451
  117. package/.claude/skills/ccw/phases/actions/bugfix.md +0 -218
  118. package/.claude/skills/ccw/phases/actions/coupled.md +0 -194
  119. package/.claude/skills/ccw/phases/actions/docs.md +0 -93
  120. package/.claude/skills/ccw/phases/actions/full.md +0 -154
  121. package/.claude/skills/ccw/phases/actions/issue.md +0 -201
  122. package/.claude/skills/ccw/phases/actions/rapid.md +0 -104
  123. package/.claude/skills/ccw/phases/actions/review-fix.md +0 -84
  124. package/.claude/skills/ccw/phases/actions/tdd.md +0 -66
  125. package/.claude/skills/ccw/phases/actions/ui.md +0 -79
  126. package/.claude/skills/ccw/phases/orchestrator.md +0 -435
  127. package/.claude/skills/ccw/specs/intent-classification.md +0 -336
  128. package/.claude/skills/ccw-help/index/all-agents.json +0 -82
  129. package/.claude/skills/ccw-help/index/all-commands.json +0 -882
  130. package/.claude/skills/ccw-help/index/by-category.json +0 -914
  131. package/.claude/skills/ccw-help/index/by-use-case.json +0 -896
  132. package/.claude/skills/ccw-help/index/command-relationships.json +0 -160
  133. 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
 
@@ -391,11 +391,7 @@ async function execute(params) {
391
391
  if (timeoutCheck.flushed) {
392
392
  // Queue was flushed due to timeout, add to fresh queue
393
393
  const result = addToQueue(path, { tool, strategy });
394
- return {
395
- ...result,
396
- timeoutFlushed: true,
397
- flushResult: timeoutCheck.result
398
- };
394
+ return `[MemoryQueue] Timeout flush (${timeoutCheck.result.processed} items) → ${result.message}`;
399
395
  }
400
396
 
401
397
  const addResult = addToQueue(path, { tool, strategy });
@@ -403,14 +399,12 @@ async function execute(params) {
403
399
  // Auto-flush if threshold reached
404
400
  if (addResult.willFlush) {
405
401
  const flushResult = await flushQueue();
406
- return {
407
- ...addResult,
408
- flushed: true,
409
- flushResult
410
- };
402
+ // Return string for hook-friendly output
403
+ return `[MemoryQueue] ${addResult.message} → Flushed ${flushResult.processed} items`;
411
404
  }
412
405
 
413
- return addResult;
406
+ // Return string for hook-friendly output
407
+ return `[MemoryQueue] ${addResult.message}`;
414
408
 
415
409
  case 'status':
416
410
  // Check timeout first
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-workflow",
3
- "version": "6.3.27",
3
+ "version": "6.3.29",
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
- }