x-ipe 1.0.24__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 (139) hide show
  1. x_ipe/app.py +25 -3
  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 +17 -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 +2 -0
  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 +30 -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 +19 -0
  87. x_ipe/services/kb_service.py +378 -0
  88. x_ipe/services/proxy_service.py +4 -0
  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 +32 -0
  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 +1 -0
  103. x_ipe/static/css/tracing-dashboard.css +796 -0
  104. x_ipe/static/css/workplace.css +20 -0
  105. x_ipe/static/img/homepage-infinity-loop.png +0 -0
  106. x_ipe/static/js/features/homepage-infinity.js +314 -0
  107. x_ipe/static/js/features/kb-core.js +371 -0
  108. x_ipe/static/js/features/quality-evaluation.js +387 -0
  109. x_ipe/static/js/features/sidebar.js +255 -12
  110. x_ipe/static/js/features/tracing-dashboard.js +855 -0
  111. x_ipe/static/js/features/tracing-graph.js +1031 -0
  112. x_ipe/static/js/features/tree-search.js +6 -2
  113. x_ipe/static/js/features/workplace.js +200 -6
  114. x_ipe/static/js/init.js +76 -0
  115. x_ipe/static/js/uiux-feedback.js +18 -2
  116. x_ipe/templates/base.html +19 -0
  117. x_ipe/templates/index.html +7 -1
  118. x_ipe/templates/knowledge-base.html +110 -0
  119. x_ipe/templates/workplace.html +4 -0
  120. x_ipe/tracing/__init__.py +37 -0
  121. x_ipe/tracing/buffer.py +135 -0
  122. x_ipe/tracing/context.py +125 -0
  123. x_ipe/tracing/decorator.py +288 -0
  124. x_ipe/tracing/middleware.py +197 -0
  125. x_ipe/tracing/parser.py +235 -0
  126. x_ipe/tracing/redactor.py +111 -0
  127. x_ipe/tracing/writer.py +122 -0
  128. {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/METADATA +2 -2
  129. {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/RECORD +132 -62
  130. x_ipe/resources/skills/x-ipe-skill-creator/SKILL.md +0 -329
  131. x_ipe/resources/skills/x-ipe-skill-creator/references/output-patterns.md +0 -169
  132. x_ipe/resources/skills/x-ipe-skill-creator/references/skill-structure.md +0 -162
  133. x_ipe/resources/skills/x-ipe-skill-creator/references/workflows.md +0 -110
  134. x_ipe/resources/skills/x-ipe-skill-creator/templates/references/examples.md +0 -113
  135. x_ipe/resources/skills/x-ipe-skill-creator/templates/skill-category-skill.md +0 -296
  136. x_ipe/resources/skills/x-ipe-skill-creator/templates/task-type-skill.md +0 -269
  137. {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/WHEEL +0 -0
  138. {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/entry_points.txt +0 -0
  139. {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,329 @@
1
+ # Workflow Orchestration Skill Template
2
+
3
+ Use this template when creating a skill that orchestrates multiple other skills in a coordinated workflow. Workflow orchestration skills manage the execution order, data flow, and decision points across multiple skills.
4
+
5
+ **Section Order (Cognitive Flow):**
6
+ 1. CONTEXT: Purpose → Important Notes
7
+ 2. DECISION: Input Parameters → Definition of Ready
8
+ 3. ACTION: Execution Flow Summary → Execution Procedure
9
+ 4. VERIFY: Output Result → Definition of Done
10
+ 5. REFERENCE: Registry (Skill Mapping) → Error Handling → Examples
11
+
12
+ ---
13
+
14
+ ```markdown
15
+ ---
16
+ name: x-ipe-workflow-{name}
17
+ description: Orchestrates {description of workflow}. Use when {trigger conditions}. Coordinates skills: {skill-1}, {skill-2}, {skill-3}. Triggers on requests like "{trigger 1}", "{trigger 2}".
18
+ ---
19
+
20
+ # {Workflow Name}
21
+
22
+ ## Purpose
23
+
24
+ Orchestrate a multi-skill workflow by:
25
+ 1. **Coordinate** - {Brief description of coordination}
26
+ 2. **Sequence** - {Brief description of sequencing logic}
27
+ 3. **Aggregate** - {Brief description of result aggregation}
28
+ 4. **Handle Failures** - {Brief description of error handling}
29
+
30
+ ---
31
+
32
+ ## Important Notes
33
+
34
+ BLOCKING: All orchestrated skills must exist and be valid before execution.
35
+
36
+ CRITICAL: Workflow orchestration skills do NOT implement logic themselves - they coordinate existing skills.
37
+
38
+ **Note:** If Agent does not have skill capability, go to `.github/skills/` folder to learn skills.
39
+
40
+ ---
41
+
42
+ ## About
43
+
44
+ Workflow orchestration manages the execution of multiple skills in a defined sequence or parallel pattern.
45
+
46
+ **Key Concepts:**
47
+ - **Pipeline** - Sequential execution where output of one skill feeds the next
48
+ - **Parallel Group** - Skills that can execute concurrently
49
+ - **Decision Point** - Conditional branching based on skill output
50
+ - **Rollback** - Recovery actions when skills fail
51
+
52
+ ---
53
+
54
+ ## Input Parameters
55
+
56
+ ```yaml
57
+ input:
58
+ # Workflow trigger
59
+ workflow_trigger: "{what initiates this workflow}"
60
+
61
+ # Context passed to all skills
62
+ shared_context:
63
+ {context_field_1}: "{value}"
64
+ {context_field_2}: "{value}"
65
+
66
+ # Workflow options
67
+ options:
68
+ parallel_execution: true | false
69
+ stop_on_first_failure: true | false
70
+ max_retries: {number}
71
+ ```
72
+
73
+ ---
74
+
75
+ ## Definition of Ready
76
+
77
+ ```xml
78
+ <definition_of_ready>
79
+ <checkpoint required="true">
80
+ <name>All Skills Available</name>
81
+ <verification>Each skill in registry exists at .github/skills/{skill-name}/SKILL.md</verification>
82
+ </checkpoint>
83
+ <checkpoint required="true">
84
+ <name>Input Context Complete</name>
85
+ <verification>All required context fields are populated</verification>
86
+ </checkpoint>
87
+ <checkpoint required="true">
88
+ <name>Prerequisites Met</name>
89
+ <verification>Any workflow-level prerequisites are satisfied</verification>
90
+ </checkpoint>
91
+ </definition_of_ready>
92
+ ```
93
+
94
+ ---
95
+
96
+ ## Execution Flow
97
+
98
+ | Phase | Skills | Mode | Gate |
99
+ |-------|--------|------|------|
100
+ | 1 | {skill-1} | Sequential | {skill-1} complete |
101
+ | 2 | {skill-2}, {skill-3} | Parallel | Both complete |
102
+ | 3 | {skill-4} | Sequential | Decision: {condition} |
103
+ | 4 | {skill-5} OR {skill-6} | Conditional | Based on Phase 3 decision |
104
+
105
+ BLOCKING: Skills in same parallel group must have no data dependencies.
106
+
107
+ ---
108
+
109
+ ## Execution Procedure
110
+
111
+ ```xml
112
+ <procedure name="{workflow-name}">
113
+ <!-- CRITICAL: Both DoR/DoD check elements below are MANDATORY -->
114
+ <execute_dor_checks_before_starting/>
115
+ <schedule_dod_checks_with_sub_agent_before_starting/>
116
+
117
+ <phase_1>
118
+ <name>{Phase Name}</name>
119
+ <skills>
120
+ <skill name="{skill-1}">
121
+ <input_mapping>
122
+ - shared_context.{field} → skill_input.{field}
123
+ </input_mapping>
124
+ <output_capture>
125
+ - skill_output.{field} → workflow_state.{field}
126
+ </output_capture>
127
+ </skill>
128
+ </skills>
129
+ <gate>workflow_state.{field} is valid</gate>
130
+ </phase_1>
131
+
132
+ <phase_2>
133
+ <name>{Phase Name}</name>
134
+ <mode>parallel</mode>
135
+ <skills>
136
+ <skill name="{skill-2}">
137
+ <input_mapping>
138
+ - workflow_state.{field} → skill_input.{field}
139
+ </input_mapping>
140
+ </skill>
141
+ <skill name="{skill-3}">
142
+ <input_mapping>
143
+ - workflow_state.{field} → skill_input.{field}
144
+ </input_mapping>
145
+ </skill>
146
+ </skills>
147
+ <merge_strategy>
148
+ - Aggregate results into workflow_state.{merged_field}
149
+ </merge_strategy>
150
+ <gate>All parallel skills complete</gate>
151
+ </phase_2>
152
+
153
+ <phase_3>
154
+ <name>{Decision Phase}</name>
155
+ <decision>
156
+ IF: workflow_state.{condition_field} == {value_a}
157
+ THEN: Execute {skill-5}
158
+ ELSE: Execute {skill-6}
159
+ </decision>
160
+ </phase_3>
161
+
162
+ </procedure>
163
+ ```
164
+
165
+ ---
166
+
167
+ ## Skill Registry
168
+
169
+ MANDATORY: List all skills this workflow orchestrates with their role.
170
+
171
+ | Skill | Role in Workflow | Required Input | Produced Output |
172
+ |-------|------------------|----------------|-----------------|
173
+ | `{skill-1}` | {Role description} | {input fields} | {output fields} |
174
+ | `{skill-2}` | {Role description} | {input fields} | {output fields} |
175
+ | `{skill-3}` | {Role description} | {input fields} | {output fields} |
176
+ | `{skill-4}` | {Role description} | {input fields} | {output fields} |
177
+
178
+ ### Data Flow Diagram
179
+
180
+ ```yaml
181
+ data_flow:
182
+ phase_1:
183
+ input: shared_context
184
+ skill: {skill-1}
185
+ output: result_1
186
+
187
+ phase_2:
188
+ input: result_1
189
+ skills: [{skill-2}, {skill-3}]
190
+ output: [result_2a, result_2b]
191
+ merge: merged_result
192
+
193
+ phase_3:
194
+ input: merged_result
195
+ decision: condition_check
196
+ branch_a: {skill-5} → final_result_a
197
+ branch_b: {skill-6} → final_result_b
198
+ ```
199
+
200
+ ---
201
+
202
+ ## Output Result
203
+
204
+ ```yaml
205
+ workflow_output:
206
+ status: completed | partial | failed
207
+ phases_completed: {number}
208
+ total_phases: {number}
209
+ results:
210
+ phase_1: {result_summary}
211
+ phase_2: {result_summary}
212
+ phase_3: {result_summary}
213
+ failed_skills: [] # If any
214
+ rollback_executed: true | false
215
+ ```
216
+
217
+ ---
218
+
219
+ ## Definition of Done
220
+
221
+ ```xml
222
+ <definition_of_done>
223
+ <checkpoint required="true">
224
+ <name>All Required Phases Complete</name>
225
+ <verification>Each mandatory phase executed successfully</verification>
226
+ </checkpoint>
227
+ <checkpoint required="true">
228
+ <name>Output Aggregated</name>
229
+ <verification>Final workflow output contains all expected data</verification>
230
+ </checkpoint>
231
+ <checkpoint required="true">
232
+ <name>No Failed Skills</name>
233
+ <verification>failed_skills array is empty OR failures handled by rollback</verification>
234
+ </checkpoint>
235
+ </definition_of_done>
236
+ ```
237
+
238
+ ---
239
+
240
+ ## Error Handling
241
+
242
+ | Error | Cause | Recovery |
243
+ |-------|-------|----------|
244
+ | `SKILL_NOT_FOUND` | Referenced skill doesn't exist | Fail workflow, report missing skill |
245
+ | `SKILL_EXECUTION_FAILED` | Skill returned error | Retry (if max_retries > 0), then rollback |
246
+ | `DATA_MAPPING_ERROR` | Input/output field mismatch | Fail workflow, report mapping issue |
247
+ | `PARALLEL_DEADLOCK` | Circular dependency detected | Fail workflow, report dependency cycle |
248
+
249
+ ### Rollback Strategy
250
+
251
+ ```yaml
252
+ rollback:
253
+ trigger: Any skill failure when stop_on_first_failure == true
254
+ actions:
255
+ - step: 1
256
+ action: "Log failure details"
257
+ - step: 2
258
+ action: "Execute compensating actions for completed skills (if defined)"
259
+ - step: 3
260
+ action: "Restore workflow_state to pre-execution snapshot"
261
+ - step: 4
262
+ action: "Report final status with rollback flag"
263
+ ```
264
+
265
+ ---
266
+
267
+ ## Examples
268
+
269
+ See [references/examples.md](references/examples.md) for workflow orchestration examples.
270
+ ```
271
+
272
+ ---
273
+
274
+ ## Template Usage Notes
275
+
276
+ ### Naming Convention
277
+
278
+ Workflow orchestration skills use compound names:
279
+ - `{category}+{operation}` format
280
+ - Examples:
281
+ - `feature+full-pipeline` - Full feature development pipeline
282
+ - `requirement+breakdown` - Requirement to feature breakdown
283
+ - `code+review-merge` - Code review and merge workflow
284
+
285
+ ### Section Order (v2 Cognitive Flow)
286
+
287
+ MANDATORY: Sections must appear in this sequence:
288
+
289
+ ```yaml
290
+ workflow_orchestration_skills:
291
+ section_order:
292
+ # CONTEXT
293
+ 1: Purpose
294
+ 2: Important Notes
295
+ # DECISION
296
+ 3: Input Parameters
297
+ 4: Definition of Ready (DoR)
298
+ # ACTION
299
+ 5: Execution Flow Summary (DAG/Sub-agent)
300
+ 6: Execution Procedure (Steps)
301
+ # VERIFY
302
+ 7: Output Result
303
+ 8: Definition of Done (DoD)
304
+ # REFERENCE
305
+ 9: Registry (Task Types / Skill Mapping)
306
+ 10: Error Handling
307
+ 11: Templates
308
+ 12: Examples
309
+ ```
310
+
311
+ ### Format Standards
312
+
313
+ | Element | Format |
314
+ |---------|--------|
315
+ | Execution procedure | XML `<procedure>` with `<phase_N>` blocks |
316
+ | Skill registry | Markdown table |
317
+ | Data flow | YAML diagram |
318
+ | Decision points | IF/THEN/ELSE in XML |
319
+ | DoR/DoD | XML checkpoints |
320
+ | Importance signals | Keywords (BLOCKING, CRITICAL, MANDATORY) |
321
+
322
+ ### Key Differences from Task Type Skills
323
+
324
+ | Aspect | Task Type | Workflow Orchestration |
325
+ |--------|-----------|------------------------|
326
+ | Implements logic | Yes | No - coordinates other skills |
327
+ | Produces artifacts | Directly | Aggregates from coordinated skills |
328
+ | Execution unit | Single skill | Multiple skills in phases |
329
+ | Error handling | Self-contained | Rollback across skills |