x-ipe 1.0.23__py3-none-any.whl → 1.0.25__py3-none-any.whl

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 (146) hide show
  1. x_ipe/app.py +32 -1
  2. x_ipe/handlers/terminal_handlers.py +6 -0
  3. x_ipe/handlers/voice_handlers.py +5 -0
  4. x_ipe/resources/copilot-instructions.md +19 -6
  5. x_ipe/resources/skills/lesson-learned/SKILL.md +208 -0
  6. x_ipe/resources/skills/lesson-learned/references/examples.md +238 -0
  7. x_ipe/resources/skills/project-quality-board-management/SKILL.md +135 -298
  8. x_ipe/resources/skills/project-quality-board-management/references/evaluation-principles.md +213 -0
  9. x_ipe/resources/skills/project-quality-board-management/references/evaluation-procedures.md +214 -0
  10. x_ipe/resources/skills/project-quality-board-management/templates/quality-report.md +70 -18
  11. x_ipe/resources/skills/task-execution-guideline/SKILL.md +2 -2
  12. x_ipe/resources/skills/task-execution-guideline/templates/task-record.yaml +1 -1
  13. x_ipe/resources/skills/task-type-code-implementation/SKILL.md +72 -270
  14. x_ipe/resources/skills/task-type-code-implementation/references/implementation-guidelines.md +432 -0
  15. x_ipe/resources/skills/task-type-code-refactor-v2/SKILL.md +127 -353
  16. x_ipe/resources/skills/task-type-code-refactor-v2/references/refactoring-techniques.md +373 -0
  17. x_ipe/resources/skills/task-type-feature-breakdown/SKILL.md +31 -243
  18. x_ipe/resources/skills/task-type-feature-breakdown/references/breakdown-guidelines.md +330 -0
  19. x_ipe/resources/skills/task-type-feature-refinement/SKILL.md +27 -180
  20. x_ipe/resources/skills/task-type-feature-refinement/references/specification-writing-guide.md +267 -0
  21. x_ipe/resources/skills/task-type-idea-mockup/SKILL.md +38 -276
  22. x_ipe/resources/skills/task-type-idea-mockup/references/mockup-guidelines.md +299 -0
  23. x_ipe/resources/skills/task-type-idea-to-architecture/SKILL.md +20 -218
  24. x_ipe/resources/skills/task-type-idea-to-architecture/references/architecture-patterns.md +342 -0
  25. x_ipe/resources/skills/task-type-ideation/SKILL.md +10 -266
  26. x_ipe/resources/skills/task-type-ideation/references/folder-naming-guide.md +55 -0
  27. x_ipe/resources/skills/task-type-ideation/references/tool-usage-guide.md +236 -0
  28. x_ipe/resources/skills/task-type-ideation-v2/SKILL.md +488 -0
  29. x_ipe/resources/skills/task-type-ideation-v2/references/examples.md +377 -0
  30. x_ipe/resources/skills/task-type-ideation-v2/references/folder-naming-guide.md +74 -0
  31. x_ipe/resources/skills/task-type-ideation-v2/references/tool-usage-guide.md +145 -0
  32. x_ipe/resources/skills/task-type-ideation-v2/references/visualization-guide.md +160 -0
  33. x_ipe/resources/skills/task-type-ideation-v2/templates/idea-summary.md +86 -0
  34. x_ipe/resources/skills/task-type-refactoring-analysis/SKILL.md +83 -145
  35. x_ipe/resources/skills/task-type-refactoring-analysis/references/output-schema.md +172 -0
  36. x_ipe/resources/skills/task-type-technical-design/SKILL.md +28 -214
  37. x_ipe/resources/skills/task-type-technical-design/references/design-templates.md +422 -0
  38. x_ipe/resources/skills/task-type-test-generation/SKILL.md +47 -332
  39. x_ipe/resources/skills/task-type-test-generation/references/test-patterns.md +368 -0
  40. x_ipe/resources/skills/tool-tracing-creator/SKILL.md +312 -0
  41. x_ipe/resources/skills/tool-tracing-creator/references/examples.md +324 -0
  42. x_ipe/resources/skills/tool-tracing-instrumentation/SKILL.md +373 -0
  43. x_ipe/resources/skills/tool-tracing-instrumentation/references/examples.md +264 -0
  44. x_ipe/resources/skills/x-ipe-skill-creator-v3/SKILL.md +486 -0
  45. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/10. example-gate-conditions.md +73 -0
  46. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/11. reference-quality-standards.md +127 -0
  47. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/2. reference-section-order.md +127 -0
  48. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/3. example-step-based-code-review.md +84 -0
  49. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/4. example-step-based-feature-implementation.md +113 -0
  50. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/5. example-function-based-validation.md +73 -0
  51. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/6. example-function-based-analysis.md +94 -0
  52. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/7. example-task-io-code-implementation.md +36 -0
  53. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/8. example-structured-summary.md +43 -0
  54. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/9. example-dor-dod.md +77 -0
  55. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/examples.md +429 -0
  56. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/skill-general-guidelines-v2.md +611 -0
  57. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-meta.md +153 -0
  58. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-task-based.md +324 -0
  59. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-task-category.md +109 -0
  60. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-tool.md +205 -0
  61. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-meta.md +334 -0
  62. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-task-based.md +279 -0
  63. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-tool.md +175 -0
  64. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-workflow-orchestration.md +329 -0
  65. x_ipe/resources/skills/x-ipe-task-based-ideation/SKILL.md +487 -0
  66. x_ipe/resources/skills/x-ipe-task-based-ideation/references/examples.md +377 -0
  67. x_ipe/resources/skills/x-ipe-task-based-ideation/references/folder-naming-guide.md +74 -0
  68. x_ipe/resources/skills/x-ipe-task-based-ideation/references/tool-usage-guide.md +145 -0
  69. x_ipe/resources/skills/x-ipe-task-based-ideation/references/visualization-guide.md +160 -0
  70. x_ipe/resources/skills/x-ipe-task-based-ideation/templates/idea-summary.md +86 -0
  71. x_ipe/routes/__init__.py +2 -0
  72. x_ipe/routes/ideas_routes.py +289 -0
  73. x_ipe/routes/kb_routes.py +80 -0
  74. x_ipe/routes/main_routes.py +18 -0
  75. x_ipe/routes/project_routes.py +7 -0
  76. x_ipe/routes/proxy_routes.py +10 -2
  77. x_ipe/routes/quality_evaluation_routes.py +193 -0
  78. x_ipe/routes/settings_routes.py +6 -0
  79. x_ipe/routes/tools_routes.py +6 -0
  80. x_ipe/routes/tracing_routes.py +232 -0
  81. x_ipe/routes/uiux_feedback_routes.py +50 -0
  82. x_ipe/services/__init__.py +5 -0
  83. x_ipe/services/config_service.py +6 -0
  84. x_ipe/services/file_service.py +20 -0
  85. x_ipe/services/homepage_service.py +160 -0
  86. x_ipe/services/ideas_service.py +535 -2
  87. x_ipe/services/kb_service.py +378 -0
  88. x_ipe/services/proxy_service.py +37 -7
  89. x_ipe/services/settings_service.py +13 -0
  90. x_ipe/services/skills_service.py +4 -0
  91. x_ipe/services/terminal_service.py +24 -0
  92. x_ipe/services/themes_service.py +4 -0
  93. x_ipe/services/tools_config_service.py +4 -0
  94. x_ipe/services/tracing_service.py +333 -0
  95. x_ipe/services/uiux_feedback_service.py +148 -1
  96. x_ipe/services/voice_input_service_v2.py +11 -0
  97. x_ipe/static/css/base.css +7 -0
  98. x_ipe/static/css/homepage-infinity.css +330 -0
  99. x_ipe/static/css/kb-core.css +301 -0
  100. x_ipe/static/css/quality-evaluation.css +345 -0
  101. x_ipe/static/css/sidebar.css +14 -4
  102. x_ipe/static/css/terminal.css +23 -0
  103. x_ipe/static/css/tracing-dashboard.css +796 -0
  104. x_ipe/static/css/uiux-feedback.css +7 -1
  105. x_ipe/static/css/workplace.css +636 -0
  106. x_ipe/static/img/homepage-infinity-loop.png +0 -0
  107. x_ipe/static/js/features/confirm-dialog.js +169 -0
  108. x_ipe/static/js/features/folder-view.js +742 -0
  109. x_ipe/static/js/features/homepage-infinity.js +314 -0
  110. x_ipe/static/js/features/kb-core.js +371 -0
  111. x_ipe/static/js/features/quality-evaluation.js +387 -0
  112. x_ipe/static/js/features/sidebar.js +255 -12
  113. x_ipe/static/js/features/tracing-dashboard.js +855 -0
  114. x_ipe/static/js/features/tracing-graph.js +1031 -0
  115. x_ipe/static/js/features/tree-drag.js +227 -0
  116. x_ipe/static/js/features/tree-search.js +228 -0
  117. x_ipe/static/js/features/workplace.js +661 -33
  118. x_ipe/static/js/init.js +76 -0
  119. x_ipe/static/js/terminal-v2.js +45 -14
  120. x_ipe/static/js/terminal.js +50 -49
  121. x_ipe/static/js/uiux-feedback.js +75 -16
  122. x_ipe/templates/base.html +24 -0
  123. x_ipe/templates/index.html +10 -1
  124. x_ipe/templates/knowledge-base.html +110 -0
  125. x_ipe/templates/workplace.html +4 -0
  126. x_ipe/tracing/__init__.py +37 -0
  127. x_ipe/tracing/buffer.py +135 -0
  128. x_ipe/tracing/context.py +125 -0
  129. x_ipe/tracing/decorator.py +288 -0
  130. x_ipe/tracing/middleware.py +197 -0
  131. x_ipe/tracing/parser.py +235 -0
  132. x_ipe/tracing/redactor.py +111 -0
  133. x_ipe/tracing/writer.py +122 -0
  134. {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/METADATA +2 -2
  135. {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/RECORD +138 -65
  136. x_ipe/app.py.bak +0 -1333
  137. x_ipe/resources/skills/x-ipe-skill-creator/SKILL.md +0 -329
  138. x_ipe/resources/skills/x-ipe-skill-creator/references/output-patterns.md +0 -169
  139. x_ipe/resources/skills/x-ipe-skill-creator/references/skill-structure.md +0 -162
  140. x_ipe/resources/skills/x-ipe-skill-creator/references/workflows.md +0 -110
  141. x_ipe/resources/skills/x-ipe-skill-creator/templates/references/examples.md +0 -113
  142. x_ipe/resources/skills/x-ipe-skill-creator/templates/skill-category-skill.md +0 -296
  143. x_ipe/resources/skills/x-ipe-skill-creator/templates/task-type-skill.md +0 -269
  144. {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/WHEEL +0 -0
  145. {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/entry_points.txt +0 -0
  146. {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,488 @@
1
+ ---
2
+ name: task-type-ideation-v2
3
+ description: Learn and refine user ideas through brainstorming. Use when user uploads idea files to Workplace. Analyzes content, asks clarifying questions, and produces structured idea summary. Triggers on "ideate", "brainstorm", "refine idea", "analyze my idea".
4
+ ---
5
+
6
+ # Task Type: Ideation
7
+
8
+ ## Purpose
9
+
10
+ Learn and refine user ideas through collaborative brainstorming by:
11
+ 1. Analyzing uploaded idea files from Workplace
12
+ 2. Generating an initial understanding summary
13
+ 3. Asking clarifying questions to brainstorm with user
14
+ 4. Creating a structured idea summary document with visual infographics
15
+ 5. Preparing for Idea Mockup, Idea to Architecture, or Requirement Gathering
16
+
17
+ ---
18
+
19
+ ## Important Notes
20
+
21
+ BLOCKING: Learn `task-execution-guideline` skill before executing this skill.
22
+
23
+ BLOCKING: Learn `infographic-syntax-creator` skill for visual infographics in the idea summary.
24
+
25
+ **Note:** If Agent does not have skill capability, go to `.github/skills/` folder to learn skills. SKILL.md is the entry point.
26
+
27
+ ---
28
+
29
+ ## Input Parameters
30
+
31
+ ```yaml
32
+ input:
33
+ task_id: "{TASK-XXX}"
34
+ task_type: "Ideation"
35
+
36
+ category: ideation-stage
37
+ next_task_type: "Idea Mockup | Idea to Architecture"
38
+ require_human_review: yes
39
+
40
+ auto_proceed: false
41
+ idea_folder_path: "x-ipe-docs/ideas/{folder}"
42
+ toolbox_meta_path: "x-ipe-docs/config/tools.json"
43
+ extra_instructions: "{N/A | from config | from human}"
44
+ ```
45
+
46
+ ### Extra Instructions Loading
47
+
48
+ ```yaml
49
+ loading_logic:
50
+ - step: 1
51
+ condition: "human provides explicit Extra Instructions"
52
+ action: "Use human-provided value"
53
+ - step: 2
54
+ condition: "x-ipe-docs/config/tools.json exists"
55
+ action: "Read stages.ideation.ideation._extra_instruction field"
56
+ - step: 3
57
+ condition: "field not found or empty"
58
+ action: "Set Extra Instructions = N/A"
59
+ ```
60
+
61
+ ---
62
+
63
+ ## Definition of Ready
64
+
65
+ ```xml
66
+ <definition_of_ready>
67
+ <checkpoint required="true">
68
+ <name>Idea Files Uploaded</name>
69
+ <verification>Files exist in x-ipe-docs/ideas/{folder}/</verification>
70
+ </checkpoint>
71
+ <checkpoint required="true">
72
+ <name>Human Available</name>
73
+ <verification>Human available for brainstorming session</verification>
74
+ </checkpoint>
75
+ <checkpoint required="true">
76
+ <name>Idea Folder Path Provided</name>
77
+ <verification>Path to idea folder specified</verification>
78
+ </checkpoint>
79
+ </definition_of_ready>
80
+ ```
81
+
82
+ ---
83
+
84
+ ## Execution Flow
85
+
86
+ | Step | Name | Action | Gate |
87
+ |------|------|--------|------|
88
+ | 1 | Load Toolbox | Read tools.json config | config loaded |
89
+ | 2 | Analyze Files | Read all files in idea folder | files analyzed |
90
+ | 3 | Initialize Tools | Set up enabled tools from config | tools ready |
91
+ | 4 | Generate Summary | Create understanding summary | summary shared |
92
+ | 5 | Brainstorm | Ask clarifying questions (3-5 at a time) | idea refined |
93
+ | 6 | Research | Search for common principles | research complete |
94
+ | 7 | Generate Draft | Create idea draft using enabled tools | draft created |
95
+ | 8 | Critique | Sub-agent provides constructive feedback | feedback received |
96
+ | 9 | Improve Summary | Incorporate feedback, deliver final | summary finalized |
97
+ | 10 | Rename Folder | Rename if "Draft Idea - xxx" | folder renamed |
98
+ | 11 | Complete | Request human review | human approves |
99
+
100
+ BLOCKING: Step 5 - Continue brainstorming until idea is well-defined.
101
+
102
+ BLOCKING: Step 11 - Human MUST approve idea summary before proceeding.
103
+
104
+ ---
105
+
106
+ ## Execution Procedure
107
+
108
+ ```xml
109
+ <procedure name="ideation-v2">
110
+
111
+ <step_1>
112
+ <name>Load Ideation Toolbox Meta</name>
113
+ <action>
114
+ 1. Check if x-ipe-docs/config/tools.json exists
115
+ 2. If exists: parse JSON, extract enabled tools from stages.ideation
116
+ 3. If NOT exists: create default config with all tools disabled
117
+ 4. Load Extra Instructions (human → config → N/A)
118
+ 5. Log active tool configuration
119
+ </action>
120
+ <branch>
121
+ IF: file exists
122
+ THEN: Parse and extract enabled tools
123
+ ELSE: Create default config, inform user
124
+ </branch>
125
+ <output>tool_config, extra_instructions</output>
126
+ </step_1>
127
+
128
+ <step_2>
129
+ <name>Analyze Idea Files</name>
130
+ <action>
131
+ 1. Navigate to x-ipe-docs/ideas/{folder}/files/
132
+ 2. Read each file (text, markdown, code, etc.)
133
+ 3. Identify key themes, concepts, and goals
134
+ 4. Note any gaps or ambiguities
135
+ </action>
136
+ <constraints>
137
+ - BLOCKING: All files must be analyzed before proceeding
138
+ </constraints>
139
+ <output>initial_analysis</output>
140
+ </step_2>
141
+
142
+ <step_3>
143
+ <name>Initialize Tools</name>
144
+ <action>
145
+ 1. For each enabled tool in config
146
+ 2. Check tool availability
147
+ 3. Log status (available/unavailable)
148
+ </action>
149
+ <branch>
150
+ IF: config.stages.ideation.ideation["antv-infographic"] == true
151
+ THEN: Verify infographic-syntax-creator skill available
152
+
153
+ IF: config.stages.ideation.ideation["mermaid"] == true
154
+ THEN: Verify mermaid capability available
155
+
156
+ IF: config.stages.ideation.mockup["frontend-design"] == true
157
+ THEN: Verify frontend-design skill available
158
+ </branch>
159
+ <output>tools_status</output>
160
+ </step_3>
161
+
162
+ <step_4>
163
+ <name>Generate Understanding Summary</name>
164
+ <action>
165
+ 1. Create summary of what you understand
166
+ 2. Include: Core Concept, Key Goals, Identified Components
167
+ 3. List Questions and Ambiguities
168
+ 4. List enabled tools from config
169
+ 5. Share summary with user for validation
170
+ </action>
171
+ <output>understanding_summary</output>
172
+ </step_4>
173
+
174
+ <step_5>
175
+ <name>Brainstorming Session</name>
176
+ <action>
177
+ 1. Ask questions in batches (3-5 at a time)
178
+ 2. Wait for human response before proceeding
179
+ 3. Build on previous answers
180
+ 4. Challenge assumptions constructively
181
+ 5. Invoke enabled tools when user describes visuals/flows
182
+ </action>
183
+ <constraints>
184
+ - BLOCKING: Continue until idea is well-defined
185
+ - CRITICAL: Batch questions (3-5), do not overwhelm
186
+ - MANDATORY: Use enabled tools for visualization
187
+ </constraints>
188
+ <branch>
189
+ IF: user describes UI layout AND frontend-design enabled
190
+ THEN: Invoke frontend-design skill, create mockup
191
+
192
+ IF: user describes flow AND mermaid enabled
193
+ THEN: Generate mermaid diagram
194
+
195
+ IF: user describes architecture AND tool-architecture-dsl enabled
196
+ THEN: Invoke tool-architecture-dsl skill
197
+ </branch>
198
+ <output>brainstorming_notes, artifacts[]</output>
199
+ </step_5>
200
+
201
+ <step_6>
202
+ <name>Research Common Principles</name>
203
+ <action>
204
+ 1. Identify if topic is common/established
205
+ 2. Research: industry best practices, design patterns
206
+ 3. Document findings as "Common Principles"
207
+ 4. Note authoritative sources for references
208
+ </action>
209
+ <branch>
210
+ IF: topic is common (auth, API, UI/UX, security)
211
+ THEN: Research and document principles
212
+ ELSE: Skip this step
213
+ </branch>
214
+ <output>common_principles[], references[]</output>
215
+ </step_6>
216
+
217
+ <step_7>
218
+ <name>Generate Idea Draft</name>
219
+ <action>
220
+ 1. Synthesize outputs from steps 4, 5, 6 (summary, brainstorming, research)
221
+ 2. Determine version number (auto-increment)
222
+ 3. Create draft using template from templates/idea-summary.md
223
+ 4. Apply enabled visualization tools
224
+ 5. Link to artifacts created during brainstorming
225
+ </action>
226
+ <constraints>
227
+ - CRITICAL: Use visualization tools based on config
228
+ - MANDATORY: Include all sections from template
229
+ </constraints>
230
+ <branch>
231
+ IF: antv-infographic enabled
232
+ THEN: Use infographic DSL for features/roadmaps
233
+
234
+ IF: mermaid enabled
235
+ THEN: Use mermaid for flowcharts/sequences
236
+
237
+ IF: tool-architecture-dsl enabled
238
+ THEN: Use architecture DSL for system diagrams
239
+
240
+ IF: all disabled
241
+ THEN: Use standard markdown (bullet lists, tables)
242
+ </branch>
243
+ <output>idea_draft</output>
244
+ </step_7>
245
+
246
+ <step_8>
247
+ <name>Critique and Feedback</name>
248
+ <action>
249
+ 1. Invoke sub-agent to review the idea draft
250
+ 2. Sub-agent evaluates against quality criteria
251
+ 3. Sub-agent provides constructive feedback
252
+ </action>
253
+ <sub_agent>
254
+ role: idea-critic
255
+ goal: Provide constructive feedback on idea draft
256
+ model_hint: sonnet
257
+ evaluation_criteria:
258
+ - Clarity: Is the problem statement clear?
259
+ - Completeness: Are all key sections filled?
260
+ - Consistency: Do sections align with each other?
261
+ - Feasibility: Are goals realistic?
262
+ - Visualization: Are tools used effectively?
263
+ feedback_format:
264
+ - Strengths: What works well
265
+ - Improvements: Specific actionable suggestions
266
+ - Questions: Clarifications needed
267
+ </sub_agent>
268
+ <constraints>
269
+ - CRITICAL: Feedback must be constructive, not just critical
270
+ - MANDATORY: Include specific improvement suggestions
271
+ </constraints>
272
+ <output>critique_feedback</output>
273
+ </step_8>
274
+
275
+ <step_9>
276
+ <name>Improve and Deliver Summary</name>
277
+ <action>
278
+ 1. Review critique feedback from step 8
279
+ 2. Address each improvement suggestion
280
+ 3. Resolve any questions raised
281
+ 4. Finalize idea-summary-vN.md
282
+ 5. Save to x-ipe-docs/ideas/{folder}/idea-summary-vN.md
283
+ </action>
284
+ <constraints>
285
+ - MANDATORY: Create NEW versioned file, do not update existing
286
+ - CRITICAL: All feedback items must be addressed
287
+ </constraints>
288
+ <output>idea_summary_path</output>
289
+ </step_9>
290
+
291
+ <step_10>
292
+ <name>Rename Folder</name>
293
+ <action>
294
+ 1. Check if folder matches "Draft Idea - MMDDYYYY HHMMSS"
295
+ 2. Generate new name based on idea content
296
+ 3. Rename folder
297
+ 4. Update internal links
298
+ </action>
299
+ <branch>
300
+ IF: folder matches draft pattern AND idea has clear identity
301
+ THEN: Rename to "{Idea Name} - {timestamp}"
302
+ ELSE: Skip rename
303
+ </branch>
304
+ <output>folder_renamed, new_folder_name</output>
305
+ </step_10>
306
+
307
+ <step_11>
308
+ <name>Complete and Request Review</name>
309
+ <action>
310
+ 1. Present final idea summary to human
311
+ 2. Ask human to choose next task
312
+ 3. Wait for approval
313
+ </action>
314
+ <constraints>
315
+ - BLOCKING: Human MUST approve before proceeding
316
+ </constraints>
317
+ <output>human_approval, next_task_choice</output>
318
+ </step_11>
319
+
320
+ </procedure>
321
+ ```
322
+
323
+ ---
324
+
325
+ ## Output Result
326
+
327
+ ```yaml
328
+ task_completion_output:
329
+ category: ideation-stage
330
+ status: completed | blocked
331
+ next_task_type: "Idea Mockup | Idea to Architecture"
332
+ require_human_review: yes
333
+ task_output_links:
334
+ - "x-ipe-docs/ideas/{folder}/idea-summary-vN.md"
335
+ - "x-ipe-docs/ideas/{folder}/mockups/mockup-vN.html"
336
+ idea_id: "IDEA-XXX"
337
+ idea_status: Refined
338
+ idea_version: "vN"
339
+ idea_folder: "{renamed folder name or original}"
340
+ folder_renamed: true | false
341
+ ```
342
+
343
+ ### Next Task Selection
344
+
345
+ After ideation completes, ask human to choose:
346
+
347
+ ```yaml
348
+ next_task_options:
349
+ - option: "Idea Mockup"
350
+ best_for: "Ideas with strong UI focus"
351
+ - option: "Idea to Architecture"
352
+ best_for: "Ideas requiring system design, integrations"
353
+ - option: "Skip to Requirement Gathering"
354
+ best_for: "Simple ideas or when mockups/architecture not needed"
355
+ ```
356
+
357
+ ---
358
+
359
+ ## Definition of Done
360
+
361
+ CRITICAL: Use a sub-agent to validate DoD checkpoints independently.
362
+
363
+ CRITICAL: Every step output in Execution Procedure MUST have a corresponding DoD checkpoint.
364
+
365
+ ```xml
366
+ <definition_of_done>
367
+ <checkpoint required="true">
368
+ <name>Config Loaded</name>
369
+ <verification>x-ipe-docs/config/tools.json loaded and parsed</verification>
370
+ <step_output>tool_config, extra_instructions</step_output>
371
+ </checkpoint>
372
+ <checkpoint required="true">
373
+ <name>Files Analyzed</name>
374
+ <verification>All files in idea folder analyzed</verification>
375
+ <step_output>initial_analysis</step_output>
376
+ </checkpoint>
377
+ <checkpoint required="true">
378
+ <name>Understanding Summary Shared</name>
379
+ <verification>Initial understanding summary shared with user</verification>
380
+ <step_output>understanding_summary</step_output>
381
+ </checkpoint>
382
+ <checkpoint required="true">
383
+ <name>Brainstorming Complete</name>
384
+ <verification>Idea is well-defined with clear goals</verification>
385
+ <step_output>brainstorming_notes, artifacts[]</step_output>
386
+ </checkpoint>
387
+ <checkpoint required="true">
388
+ <name>Draft Created</name>
389
+ <verification>Idea draft generated using enabled tools</verification>
390
+ <step_output>idea_draft</step_output>
391
+ </checkpoint>
392
+ <checkpoint required="true">
393
+ <name>Critique Received</name>
394
+ <verification>Sub-agent provided constructive feedback</verification>
395
+ <step_output>critique_feedback</step_output>
396
+ </checkpoint>
397
+ <checkpoint required="true">
398
+ <name>Feedback Addressed</name>
399
+ <verification>All critique items addressed in final summary</verification>
400
+ <step_output>N/A (validation step)</step_output>
401
+ </checkpoint>
402
+ <checkpoint required="true">
403
+ <name>Summary Created</name>
404
+ <verification>x-ipe-docs/ideas/{folder}/idea-summary-vN.md exists</verification>
405
+ <step_output>idea_summary_path</step_output>
406
+ </checkpoint>
407
+ <checkpoint required="true">
408
+ <name>Human Approved</name>
409
+ <verification>Human has reviewed and approved idea summary</verification>
410
+ <step_output>human_approval, next_task_choice</step_output>
411
+ </checkpoint>
412
+ <checkpoint required="recommended">
413
+ <name>Tools Initialized</name>
414
+ <verification>Enabled tools checked and status logged</verification>
415
+ <step_output>tools_status</step_output>
416
+ </checkpoint>
417
+ <checkpoint required="recommended">
418
+ <name>Folder Renamed</name>
419
+ <verification>Draft folder renamed if applicable</verification>
420
+ <step_output>folder_renamed, new_folder_name</step_output>
421
+ </checkpoint>
422
+ <checkpoint required="recommended">
423
+ <name>Principles Researched</name>
424
+ <verification>Common principles researched if topic is established</verification>
425
+ <step_output>common_principles[], references[]</step_output>
426
+ </checkpoint>
427
+ </definition_of_done>
428
+ ```
429
+
430
+ MANDATORY: After completing this skill, return to `task-execution-guideline` to continue the task execution flow.
431
+
432
+ ---
433
+
434
+ ## Patterns & Anti-Patterns
435
+
436
+ ### Pattern: Raw Notes Upload
437
+
438
+ **When:** User uploads unstructured notes or braindump
439
+ **Then:**
440
+ ```
441
+ 1. Extract key themes from notes
442
+ 2. Organize into logical categories
443
+ 3. Ask clarifying questions about each category
444
+ 4. Help structure into coherent idea
445
+ ```
446
+
447
+ ### Pattern: Technical Specification Upload
448
+
449
+ **When:** User uploads detailed technical spec
450
+ **Then:**
451
+ ```
452
+ 1. Validate technical feasibility
453
+ 2. Ask about business goals (why this spec?)
454
+ 3. Identify missing user context
455
+ 4. Connect technical details to user value
456
+ ```
457
+
458
+ ### Pattern: Multiple Conflicting Ideas
459
+
460
+ **When:** Uploaded files contain conflicting approaches
461
+ **Then:**
462
+ ```
463
+ 1. Surface the conflicts clearly
464
+ 2. Ask user to prioritize or choose
465
+ 3. Help evaluate trade-offs
466
+ 4. Document decision rationale
467
+ ```
468
+
469
+ ### Anti-Patterns
470
+
471
+ | Anti-Pattern | Why Bad | Do Instead |
472
+ |--------------|---------|------------|
473
+ | Summarizing without questions | Misses refinement | Engage in brainstorming |
474
+ | Too many questions at once | Overwhelms user | Batch 3-5 questions |
475
+ | Accepting at face value | May miss issues | Challenge constructively |
476
+ | Skipping to requirements | Idea not refined | Complete ideation first |
477
+ | Ignoring tools.json | Misses capabilities | Always check config |
478
+ | Using tools when disabled | Unexpected behavior | Respect config settings |
479
+
480
+ ---
481
+
482
+ ## Examples
483
+
484
+ See [references/examples.md](references/examples.md) for concrete execution examples:
485
+ - Business plan ideation with tools enabled
486
+ - Ideation without tools (all disabled)
487
+ - Missing config file handling
488
+ - Draft folder rename scenario