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