@thierrynakoa/fire-flow 10.0.0

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 (215) hide show
  1. package/.claude-plugin/plugin.json +64 -0
  2. package/ARCHITECTURE-DIAGRAM.md +440 -0
  3. package/COMMAND-REFERENCE.md +172 -0
  4. package/DOMINION-FLOW-OVERVIEW.md +421 -0
  5. package/LICENSE +21 -0
  6. package/QUICK-START.md +351 -0
  7. package/README.md +398 -0
  8. package/TROUBLESHOOTING.md +264 -0
  9. package/agents/fire-codebase-mapper.md +484 -0
  10. package/agents/fire-debugger.md +535 -0
  11. package/agents/fire-executor.md +949 -0
  12. package/agents/fire-fact-checker.md +276 -0
  13. package/agents/fire-learncoding-explainer.md +237 -0
  14. package/agents/fire-learncoding-walker.md +147 -0
  15. package/agents/fire-planner.md +675 -0
  16. package/agents/fire-project-researcher.md +155 -0
  17. package/agents/fire-research-synthesizer.md +166 -0
  18. package/agents/fire-researcher.md +723 -0
  19. package/agents/fire-reviewer.md +499 -0
  20. package/agents/fire-roadmapper.md +203 -0
  21. package/agents/fire-verifier.md +880 -0
  22. package/bin/cli.js +208 -0
  23. package/commands/fire-0-orient.md +476 -0
  24. package/commands/fire-1-new.md +281 -0
  25. package/commands/fire-1a-discuss.md +455 -0
  26. package/commands/fire-2-plan.md +527 -0
  27. package/commands/fire-3-execute.md +1303 -0
  28. package/commands/fire-4-verify.md +845 -0
  29. package/commands/fire-5-handoff.md +515 -0
  30. package/commands/fire-6-resume.md +501 -0
  31. package/commands/fire-7-review.md +409 -0
  32. package/commands/fire-add-new-skill.md +598 -0
  33. package/commands/fire-analytics.md +499 -0
  34. package/commands/fire-assumptions.md +78 -0
  35. package/commands/fire-autonomous.md +528 -0
  36. package/commands/fire-brainstorm.md +413 -0
  37. package/commands/fire-complete-milestone.md +270 -0
  38. package/commands/fire-dashboard.md +375 -0
  39. package/commands/fire-debug.md +663 -0
  40. package/commands/fire-discover.md +616 -0
  41. package/commands/fire-double-check.md +460 -0
  42. package/commands/fire-execute-plan.md +182 -0
  43. package/commands/fire-learncoding.md +242 -0
  44. package/commands/fire-loop-resume.md +272 -0
  45. package/commands/fire-loop-stop.md +198 -0
  46. package/commands/fire-loop.md +1168 -0
  47. package/commands/fire-map-codebase.md +313 -0
  48. package/commands/fire-new-milestone.md +356 -0
  49. package/commands/fire-reflect.md +235 -0
  50. package/commands/fire-research.md +246 -0
  51. package/commands/fire-search.md +330 -0
  52. package/commands/fire-security-audit-repo.md +293 -0
  53. package/commands/fire-security-scan.md +484 -0
  54. package/commands/fire-session-summary.md +252 -0
  55. package/commands/fire-skills-diff.md +506 -0
  56. package/commands/fire-skills-history.md +388 -0
  57. package/commands/fire-skills-rollback.md +408 -0
  58. package/commands/fire-skills-sync.md +470 -0
  59. package/commands/fire-test.md +520 -0
  60. package/commands/fire-todos.md +335 -0
  61. package/commands/fire-transition.md +186 -0
  62. package/commands/fire-update.md +312 -0
  63. package/commands/fire-verify-uat.md +146 -0
  64. package/commands/fire-vuln-scan.md +493 -0
  65. package/hooks/hooks.json +16 -0
  66. package/hooks/run-hook.cmd +69 -0
  67. package/hooks/run-hook.sh +8 -0
  68. package/hooks/run-session-end.cmd +49 -0
  69. package/hooks/run-session-end.sh +7 -0
  70. package/hooks/session-end.sh +90 -0
  71. package/hooks/session-start.sh +111 -0
  72. package/package.json +52 -0
  73. package/plugin.json +7 -0
  74. package/references/auto-skill-extraction.md +136 -0
  75. package/references/behavioral-directives.md +365 -0
  76. package/references/blocker-tracking.md +155 -0
  77. package/references/checkpoints.md +165 -0
  78. package/references/circuit-breaker.md +410 -0
  79. package/references/context-engineering.md +587 -0
  80. package/references/decision-time-guidance.md +289 -0
  81. package/references/error-classification.md +326 -0
  82. package/references/execution-mode-intelligence.md +242 -0
  83. package/references/git-integration.md +217 -0
  84. package/references/honesty-protocols.md +304 -0
  85. package/references/integration-architecture.md +470 -0
  86. package/references/issue-to-pr-pipeline.md +150 -0
  87. package/references/metrics-and-trends.md +234 -0
  88. package/references/playwright-e2e-testing.md +326 -0
  89. package/references/questioning.md +125 -0
  90. package/references/research-improvements.md +110 -0
  91. package/references/skills-usage-guide.md +429 -0
  92. package/references/tdd.md +131 -0
  93. package/references/testing-enforcement.md +192 -0
  94. package/references/ui-brand.md +383 -0
  95. package/references/validation-checklist.md +456 -0
  96. package/references/verification-patterns.md +187 -0
  97. package/references/warrior-principles.md +173 -0
  98. package/skills-library/SKILLS-INDEX.md +588 -0
  99. package/skills-library/_general/frontend/html-visual-reports.md +292 -0
  100. package/skills-library/_general/methodology/debug-swarm-researcher-escape-hatch.md +240 -0
  101. package/skills-library/_general/methodology/learncoding-agentic-pattern.md +114 -0
  102. package/skills-library/_general/methodology/shell-autonomous-loop-fixplan.md +238 -0
  103. package/skills-library/basics/api-rest-basics.md +162 -0
  104. package/skills-library/basics/env-variables.md +96 -0
  105. package/skills-library/basics/error-handling-basics.md +125 -0
  106. package/skills-library/basics/git-commit-conventions.md +106 -0
  107. package/skills-library/basics/readme-template.md +108 -0
  108. package/skills-library/common-tasks/async-await-patterns.md +157 -0
  109. package/skills-library/common-tasks/auth-jwt-basics.md +164 -0
  110. package/skills-library/common-tasks/database-schema-design.md +166 -0
  111. package/skills-library/common-tasks/file-upload-basics.md +166 -0
  112. package/skills-library/common-tasks/form-validation.md +159 -0
  113. package/skills-library/debugging/FAILURE_TAXONOMY_CLASSIFICATION.md +117 -0
  114. package/skills-library/debugging/THREE_AGENT_HYPOTHESIS_DEBUGGING.md +86 -0
  115. package/skills-library/methodology/BREATH_BASED_PARALLEL_EXECUTION.md +678 -0
  116. package/skills-library/methodology/CONFIDENCE_GATED_EXECUTION.md +243 -0
  117. package/skills-library/methodology/EVIDENCE_BASED_VALIDATION.md +308 -0
  118. package/skills-library/methodology/MULTI_PERSPECTIVE_CODE_REVIEW.md +330 -0
  119. package/skills-library/methodology/PATH_VERIFICATION_GATE.md +211 -0
  120. package/skills-library/methodology/REFLEXION_MEMORY_PATTERN.md +183 -0
  121. package/skills-library/methodology/RESEARCH_BACKED_WORKFLOW_UPGRADE.md +263 -0
  122. package/skills-library/methodology/SABBATH_REST_PATTERN.md +267 -0
  123. package/skills-library/methodology/STONE_AND_SCAFFOLD.md +220 -0
  124. package/skills-library/performance/cache-augmented-generation.md +172 -0
  125. package/skills-library/quality-safety/debugging-steps.md +147 -0
  126. package/skills-library/quality-safety/deployment-checklist.md +155 -0
  127. package/skills-library/quality-safety/security-checklist.md +204 -0
  128. package/skills-library/quality-safety/testing-basics.md +180 -0
  129. package/skills-library/security/agent-security-scanner.md +445 -0
  130. package/skills-library/specialists/api-architecture/api-designer.md +49 -0
  131. package/skills-library/specialists/api-architecture/graphql-architect.md +49 -0
  132. package/skills-library/specialists/api-architecture/mcp-developer.md +51 -0
  133. package/skills-library/specialists/api-architecture/microservices-architect.md +50 -0
  134. package/skills-library/specialists/api-architecture/websocket-engineer.md +48 -0
  135. package/skills-library/specialists/backend/django-expert.md +52 -0
  136. package/skills-library/specialists/backend/fastapi-expert.md +52 -0
  137. package/skills-library/specialists/backend/laravel-specialist.md +52 -0
  138. package/skills-library/specialists/backend/nestjs-expert.md +51 -0
  139. package/skills-library/specialists/backend/rails-expert.md +53 -0
  140. package/skills-library/specialists/backend/spring-boot-engineer.md +56 -0
  141. package/skills-library/specialists/data-ml/fine-tuning-expert.md +48 -0
  142. package/skills-library/specialists/data-ml/ml-pipeline.md +47 -0
  143. package/skills-library/specialists/data-ml/pandas-pro.md +47 -0
  144. package/skills-library/specialists/data-ml/rag-architect.md +51 -0
  145. package/skills-library/specialists/data-ml/spark-engineer.md +47 -0
  146. package/skills-library/specialists/frontend/angular-architect.md +52 -0
  147. package/skills-library/specialists/frontend/flutter-expert.md +51 -0
  148. package/skills-library/specialists/frontend/nextjs-developer.md +54 -0
  149. package/skills-library/specialists/frontend/react-native-expert.md +50 -0
  150. package/skills-library/specialists/frontend/vue-expert.md +51 -0
  151. package/skills-library/specialists/infrastructure/chaos-engineer.md +74 -0
  152. package/skills-library/specialists/infrastructure/cloud-architect.md +70 -0
  153. package/skills-library/specialists/infrastructure/database-optimizer.md +64 -0
  154. package/skills-library/specialists/infrastructure/devops-engineer.md +70 -0
  155. package/skills-library/specialists/infrastructure/kubernetes-specialist.md +52 -0
  156. package/skills-library/specialists/infrastructure/monitoring-expert.md +70 -0
  157. package/skills-library/specialists/infrastructure/sre-engineer.md +70 -0
  158. package/skills-library/specialists/infrastructure/terraform-engineer.md +51 -0
  159. package/skills-library/specialists/languages/cpp-pro.md +74 -0
  160. package/skills-library/specialists/languages/csharp-developer.md +69 -0
  161. package/skills-library/specialists/languages/dotnet-core-expert.md +54 -0
  162. package/skills-library/specialists/languages/golang-pro.md +51 -0
  163. package/skills-library/specialists/languages/java-architect.md +49 -0
  164. package/skills-library/specialists/languages/javascript-pro.md +68 -0
  165. package/skills-library/specialists/languages/kotlin-specialist.md +68 -0
  166. package/skills-library/specialists/languages/php-pro.md +49 -0
  167. package/skills-library/specialists/languages/python-pro.md +52 -0
  168. package/skills-library/specialists/languages/react-expert.md +51 -0
  169. package/skills-library/specialists/languages/rust-engineer.md +50 -0
  170. package/skills-library/specialists/languages/sql-pro.md +56 -0
  171. package/skills-library/specialists/languages/swift-expert.md +69 -0
  172. package/skills-library/specialists/languages/typescript-pro.md +51 -0
  173. package/skills-library/specialists/platform/atlassian-mcp.md +52 -0
  174. package/skills-library/specialists/platform/embedded-systems.md +53 -0
  175. package/skills-library/specialists/platform/game-developer.md +53 -0
  176. package/skills-library/specialists/platform/salesforce-developer.md +53 -0
  177. package/skills-library/specialists/platform/shopify-expert.md +49 -0
  178. package/skills-library/specialists/platform/wordpress-pro.md +49 -0
  179. package/skills-library/specialists/quality/code-documenter.md +51 -0
  180. package/skills-library/specialists/quality/code-reviewer.md +67 -0
  181. package/skills-library/specialists/quality/debugging-wizard.md +51 -0
  182. package/skills-library/specialists/quality/fullstack-guardian.md +51 -0
  183. package/skills-library/specialists/quality/legacy-modernizer.md +50 -0
  184. package/skills-library/specialists/quality/playwright-expert.md +65 -0
  185. package/skills-library/specialists/quality/spec-miner.md +56 -0
  186. package/skills-library/specialists/quality/test-master.md +65 -0
  187. package/skills-library/specialists/security/secure-code-guardian.md +55 -0
  188. package/skills-library/specialists/security/security-reviewer.md +53 -0
  189. package/skills-library/specialists/workflow/architecture-designer.md +53 -0
  190. package/skills-library/specialists/workflow/cli-developer.md +70 -0
  191. package/skills-library/specialists/workflow/feature-forge.md +65 -0
  192. package/skills-library/specialists/workflow/prompt-engineer.md +54 -0
  193. package/skills-library/specialists/workflow/the-fool.md +62 -0
  194. package/templates/ASSUMPTIONS.md +125 -0
  195. package/templates/BLOCKERS.md +73 -0
  196. package/templates/DECISION_LOG.md +116 -0
  197. package/templates/UAT.md +96 -0
  198. package/templates/blueprint.md +94 -0
  199. package/templates/brainstorm.md +185 -0
  200. package/templates/conscience.md +92 -0
  201. package/templates/fire-handoff.md +159 -0
  202. package/templates/metrics.md +67 -0
  203. package/templates/phase-prompt.md +142 -0
  204. package/templates/record.md +131 -0
  205. package/templates/review-report.md +117 -0
  206. package/templates/skills-index.md +157 -0
  207. package/templates/verification.md +149 -0
  208. package/templates/vision.md +79 -0
  209. package/validation-config.yml +793 -0
  210. package/version.json +7 -0
  211. package/workflows/execute-phase.md +732 -0
  212. package/workflows/handoff-session.md +678 -0
  213. package/workflows/new-project.md +578 -0
  214. package/workflows/plan-phase.md +592 -0
  215. package/workflows/verify-phase.md +874 -0
@@ -0,0 +1,192 @@
1
+ # Dominion Flow Testing Enforcement Reference
2
+
3
+ > **Origin:** NEW for Dominion Flow v2.0 - Mandatory testing requirements.
4
+
5
+ ## Overview
6
+
7
+ Dominion Flow enforces testing as a first-class requirement, not an afterthought. Every plan that creates or modifies application code must include test verification. This reference defines what testing is required, when, and how it integrates with the execution pipeline.
8
+
9
+ ---
10
+
11
+ ## Testing Requirements by Plan Type
12
+
13
+ | Plan Type | Unit Tests | Integration Tests | E2E Tests | Build Check |
14
+ |-----------|-----------|------------------|-----------|-------------|
15
+ | API endpoint | Required | Required | Optional | Required |
16
+ | UI component | Required | Optional | Recommended | Required |
17
+ | Database schema | Optional | Required | Optional | Required |
18
+ | Utility/helper | Required | Optional | Optional | Required |
19
+ | Configuration | Optional | Optional | Optional | Required |
20
+ | Documentation | Not needed | Not needed | Not needed | Not needed |
21
+
22
+ ---
23
+
24
+ ## Test Enforcement Points
25
+
26
+ ### 1. During Planning (`/fire-2-plan`)
27
+
28
+ Every plan's `<verification>` section MUST include:
29
+
30
+ ```xml
31
+ <verification>
32
+ ### Test Requirements
33
+ - [ ] [Specific test command] (e.g., npm test -- --testPathPattern=auth)
34
+ - [ ] Build passes: npm run build
35
+ - [ ] No new lint warnings: npm run lint
36
+
37
+ ### WARRIOR Quality Gates
38
+ - [ ] Code builds without errors
39
+ - [ ] Tests pass (existing + new)
40
+ - [ ] No regressions in existing tests
41
+ </verification>
42
+ ```
43
+
44
+ Plans without test requirements are flagged during plan review.
45
+
46
+ ### 2. During Execution (`/fire-execute-plan`)
47
+
48
+ After each segment completes:
49
+
50
+ ```bash
51
+ # Auto-detect and run test suite
52
+ npm test 2>/dev/null || yarn test 2>/dev/null || pytest 2>/dev/null || go test ./... 2>/dev/null
53
+ ```
54
+
55
+ **If tests pass:** Continue to next segment.
56
+
57
+ **If tests fail:**
58
+ - Attempt auto-fix (deviation Rule 1)
59
+ - If still failing after 2 attempts, create P1 blocker
60
+ - Present options: Fix / Skip (tracked) / Stop
61
+
62
+ ### 3. During Verification (`/fire-4-verify`)
63
+
64
+ Verification agent checks:
65
+ - [ ] All planned tests exist and pass
66
+ - [ ] No test files are stubs or placeholders
67
+ - [ ] Test assertions are meaningful (not `expect(true).toBe(true)`)
68
+ - [ ] Critical flows have test coverage
69
+ - [ ] No skipped tests without justification
70
+
71
+ ### 4. During Phase Transition (`/fire-transition`)
72
+
73
+ Phase metrics include:
74
+ - Tests added this phase
75
+ - Test coverage delta
76
+ - Test pass rate
77
+ - Regression count
78
+
79
+ ---
80
+
81
+ ## Test Quality Standards
82
+
83
+ ### Meaningful Assertions
84
+
85
+ ```javascript
86
+ // BAD - Tests nothing
87
+ expect(true).toBe(true);
88
+ expect(1).toBe(1);
89
+
90
+ // BAD - Only checks existence
91
+ expect(result).toBeDefined();
92
+
93
+ // GOOD - Tests behavior
94
+ expect(result.status).toBe(201);
95
+ expect(result.body.user.email).toBe('test@example.com');
96
+ expect(result.body.token).toMatch(/^eyJ/);
97
+
98
+ // GOOD - Tests error handling
99
+ await expect(login({ email: '' })).rejects.toThrow('Email required');
100
+ ```
101
+
102
+ ### Test Structure
103
+
104
+ ```javascript
105
+ describe('POST /api/auth/register', () => {
106
+ it('creates user with valid credentials', async () => {
107
+ // Happy path - REQUIRED
108
+ });
109
+
110
+ it('rejects duplicate email', async () => {
111
+ // Error path - REQUIRED for critical flows
112
+ });
113
+
114
+ it('rejects weak password', async () => {
115
+ // Validation - REQUIRED for user input
116
+ });
117
+ });
118
+ ```
119
+
120
+ ### Coverage Expectations
121
+
122
+ | Flow Type | Minimum Coverage |
123
+ |-----------|-----------------|
124
+ | Authentication | Happy + 2 error paths |
125
+ | Payment | Happy + all error paths |
126
+ | Data mutation | Happy + validation + auth check |
127
+ | Read-only API | Happy + not-found + auth check |
128
+ | UI component | Renders + key interactions |
129
+
130
+ ---
131
+
132
+ ## TDD Integration
133
+
134
+ When `plan.type === "tdd"` in frontmatter:
135
+
136
+ 1. **RED:** Write failing test first, commit: `test({phase}-{plan}): add failing test for [feature]`
137
+ 2. **GREEN:** Implement to pass, commit: `feat({phase}-{plan}): implement [feature]`
138
+ 3. **REFACTOR:** Clean up if needed, commit: `refactor({phase}-{plan}): clean up [feature]`
139
+
140
+ TDD plans produce 2-3 atomic commits per feature. See `references/tdd.md` for full TDD reference.
141
+
142
+ ---
143
+
144
+ ## Framework Setup
145
+
146
+ When no test framework exists in the project:
147
+
148
+ | Stack | Framework | Setup Command |
149
+ |-------|-----------|---------------|
150
+ | Node.js | Jest | `npm install -D jest @types/jest ts-jest` |
151
+ | Node.js (Vite) | Vitest | `npm install -D vitest` |
152
+ | Python | pytest | `pip install pytest` |
153
+ | Go | testing | Built-in |
154
+ | E2E | Playwright | `npm install -D @playwright/test` |
155
+
156
+ Framework setup is included in the first plan's execution as an auto task.
157
+
158
+ ---
159
+
160
+ ## Anti-Patterns
161
+
162
+ - **No tests:** Plan creates code without any test verification
163
+ - **Stub tests:** Tests exist but assert nothing meaningful
164
+ - **Only happy path:** Missing error/edge case coverage
165
+ - **Test after:** Writing all code first, then adding tests as afterthought
166
+ - **Skipping without reason:** Using `.skip()` without documented justification
167
+ - **Testing implementation:** Mocking internals instead of testing behavior
168
+ - **Ignoring failures:** Marking failing tests as "known issue" without blocker
169
+
170
+ ---
171
+
172
+ ## Enforcement Levels
173
+
174
+ Configurable in `.planning/config.json`:
175
+
176
+ ```json
177
+ {
178
+ "testing": {
179
+ "enforcement": "strict",
180
+ "min_assertions_per_test": 1,
181
+ "require_error_paths": true,
182
+ "allow_skip_with_reason": true,
183
+ "auto_detect_framework": true
184
+ }
185
+ }
186
+ ```
187
+
188
+ | Level | Behavior |
189
+ |-------|----------|
190
+ | `strict` | Tests required for all code changes, block on failure |
191
+ | `standard` | Tests required for API/logic, warn on missing UI tests |
192
+ | `relaxed` | Tests recommended, never block |
@@ -0,0 +1,383 @@
1
+ # Dominion Flow UI Brand Guide
2
+
3
+ > Visual patterns for consistent, recognizable user-facing output
4
+
5
+ ---
6
+
7
+ ## Stage Banners
8
+
9
+ Use stage banners to mark major workflow phases. Always use the Dominion Flow prefix for brand recognition.
10
+
11
+ ```
12
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
13
+ DOMINION FLOW > DISCOVERY
14
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
15
+ ```
16
+
17
+ ### Standard Stage Names
18
+
19
+ | Stage | Usage |
20
+ |-------|-------|
21
+ | `DOMINION FLOW > DISCOVERY` | Gathering requirements, exploring codebase |
22
+ | `DOMINION FLOW > PLANNING` | Creating execution plans |
23
+ | `DOMINION FLOW > EXECUTION` | Implementing changes |
24
+ | `DOMINION FLOW > VERIFICATION` | Testing and validation |
25
+ | `DOMINION FLOW > CHECKPOINT` | Mid-execution review points |
26
+ | `DOMINION FLOW > COMPLETE` | Task finished successfully |
27
+
28
+ ### Compact Banner (for sub-stages)
29
+
30
+ ```
31
+ ━━━ DOMINION FLOW > BREATH 1 EXECUTION ━━━
32
+ ```
33
+
34
+ ---
35
+
36
+ ## Checkpoint Boxes
37
+
38
+ Use checkpoint boxes for critical decision points and status summaries.
39
+
40
+ ### Standard Checkpoint
41
+
42
+ ```
43
+ ╔══════════════════════════════════════════════════════════════════════════════╗
44
+ ║ CHECKPOINT ║
45
+ ╠══════════════════════════════════════════════════════════════════════════════╣
46
+ ║ ║
47
+ ║ ✓ Database schema created ║
48
+ ║ ✓ API routes implemented ║
49
+ ║ ○ Frontend components pending ║
50
+ ║ ○ Tests not started ║
51
+ ║ ║
52
+ ║ Progress: ████████░░░░░░░░ 50% ║
53
+ ║ ║
54
+ ╚══════════════════════════════════════════════════════════════════════════════╝
55
+ ```
56
+
57
+ ### Decision Checkpoint
58
+
59
+ ```
60
+ ╔══════════════════════════════════════════════════════════════════════════════╗
61
+ ║ DECISION REQUIRED ║
62
+ ╠══════════════════════════════════════════════════════════════════════════════╣
63
+ ║ ║
64
+ ║ Issue: API response format inconsistent with frontend expectations ║
65
+ ║ ║
66
+ ║ Options: ║
67
+ ║ A) Modify API to match frontend schema ║
68
+ ║ B) Update frontend to handle current API format ║
69
+ ║ C) Create adapter layer ║
70
+ ║ ║
71
+ ║ Recommendation: Option A (lower complexity, single change point) ║
72
+ ║ ║
73
+ ╚══════════════════════════════════════════════════════════════════════════════╝
74
+ ```
75
+
76
+ ---
77
+
78
+ ## Status Symbols
79
+
80
+ ### Primary Symbols
81
+
82
+ | Symbol | Meaning | Usage |
83
+ |--------|---------|-------|
84
+ | `✓` | Complete/Success | Task finished, test passed |
85
+ | `✗` | Failed/Error | Task failed, test failed |
86
+ | `◆` | In Progress | Currently executing |
87
+ | `○` | Pending | Not yet started |
88
+ | `⚡` | Active/Running | Live process, spawned agent |
89
+ | `⚠` | Warning | Non-blocking issue |
90
+ | `🎉` | Celebration | Major milestone achieved |
91
+
92
+ ### Secondary Symbols
93
+
94
+ | Symbol | Meaning | Usage |
95
+ |--------|---------|-------|
96
+ | `→` | Flow/Next | Indicates next step |
97
+ | `↳` | Sub-item | Nested task or detail |
98
+ | `│` | Vertical line | Tree structure |
99
+ | `├` | Branch | Tree branching |
100
+ | `└` | Last branch | Final item in tree |
101
+
102
+ ### Usage Examples
103
+
104
+ ```
105
+ ✓ Build successful
106
+ ✗ Test failed: authentication.spec.ts
107
+ ◆ Running database migrations...
108
+ ○ Deploy to staging (pending)
109
+ ⚡ Agent spawned: code-review
110
+ ⚠ Warning: No tests for new endpoint
111
+ 🎉 Phase 3 Complete!
112
+ ```
113
+
114
+ ---
115
+
116
+ ## Progress Display
117
+
118
+ ### Standard Progress Bar
119
+
120
+ ```
121
+ Progress: ████████████░░░░░░░░ 60%
122
+ ```
123
+
124
+ ### Detailed Progress
125
+
126
+ ```
127
+ Overall: ████████████████░░░░ 80%
128
+ ├─ Backend: ████████████████████ 100%
129
+ ├─ Frontend: ████████████░░░░░░░░ 60%
130
+ └─ Tests: ████████░░░░░░░░░░░░ 40%
131
+ ```
132
+
133
+ ### Progress with Context
134
+
135
+ ```
136
+ Breath 2 of 4: ██████████░░░░░░░░░░ 50%
137
+ Tasks: 3/6 complete
138
+ Time: ~15 min remaining
139
+ ```
140
+
141
+ ---
142
+
143
+ ## Spawning Indicators
144
+
145
+ Use when launching parallel agents or sub-processes.
146
+
147
+ ### Agent Spawn
148
+
149
+ ```
150
+ ◆ Spawning agents for Breath 2...
151
+ ⚡ Agent 1: Backend API implementation
152
+ ⚡ Agent 2: Database schema updates
153
+ ⚡ Agent 3: Test scaffolding
154
+ ```
155
+
156
+ ### Single Spawn
157
+
158
+ ```
159
+ ◆ Spawning code-review agent...
160
+ ```
161
+
162
+ ### Spawn Complete
163
+
164
+ ```
165
+ ✓ All agents spawned (3 active)
166
+ ├─ ⚡ Agent 1: Running (backend)
167
+ ├─ ⚡ Agent 2: Running (database)
168
+ └─ ⚡ Agent 3: Running (tests)
169
+ ```
170
+
171
+ ---
172
+
173
+ ## Next Up Blocks
174
+
175
+ Use to show upcoming work and maintain momentum.
176
+
177
+ ### Simple Next Up
178
+
179
+ ```
180
+ ┌─────────────────────────────────────────────────────────────────────────────┐
181
+ │ NEXT UP │
182
+ ├─────────────────────────────────────────────────────────────────────────────┤
183
+ │ │
184
+ │ → Implement user authentication endpoint │
185
+ │ → Add input validation middleware │
186
+ │ → Create integration tests │
187
+ │ │
188
+ └─────────────────────────────────────────────────────────────────────────────┘
189
+ ```
190
+
191
+ ### Detailed Next Up
192
+
193
+ ```
194
+ ┌─────────────────────────────────────────────────────────────────────────────┐
195
+ │ NEXT UP: Breath 3 │
196
+ ├─────────────────────────────────────────────────────────────────────────────┤
197
+ │ │
198
+ │ Priority Tasks: │
199
+ │ 1. [HIGH] Fix authentication token refresh │
200
+ │ 2. [MED] Add error boundary to dashboard │
201
+ │ 3. [LOW] Update loading spinners │
202
+ │ │
203
+ │ Blocked: │
204
+ │ - Payment integration (waiting on API keys) │
205
+ │ │
206
+ └─────────────────────────────────────────────────────────────────────────────┘
207
+ ```
208
+
209
+ ---
210
+
211
+ ## Error Boxes
212
+
213
+ Use for critical errors that need immediate attention.
214
+
215
+ ### Standard Error
216
+
217
+ ```
218
+ ╔══════════════════════════════════════════════════════════════════════════════╗
219
+ ║ ✗ ERROR ║
220
+ ╠══════════════════════════════════════════════════════════════════════════════╣
221
+ ║ ║
222
+ ║ Build failed: TypeScript compilation error ║
223
+ ║ ║
224
+ ║ Location: src/services/auth.service.ts:47 ║
225
+ ║ Message: Property 'token' does not exist on type 'User' ║
226
+ ║ ║
227
+ ║ Action: Fix type definition before proceeding ║
228
+ ║ ║
229
+ ╚══════════════════════════════════════════════════════════════════════════════╝
230
+ ```
231
+
232
+ ### Warning Box
233
+
234
+ ```
235
+ ┌─────────────────────────────────────────────────────────────────────────────┐
236
+ │ ⚠ WARNING │
237
+ ├─────────────────────────────────────────────────────────────────────────────┤
238
+ │ │
239
+ │ No tests found for: src/components/Dashboard.tsx │
240
+ │ │
241
+ │ Recommendation: Add unit tests before merge │
242
+ │ │
243
+ └─────────────────────────────────────────────────────────────────────────────┘
244
+ ```
245
+
246
+ ---
247
+
248
+ ## Success/Completion Boxes
249
+
250
+ ### Phase Complete
251
+
252
+ ```
253
+ ╔══════════════════════════════════════════════════════════════════════════════╗
254
+ ║ 🎉 PHASE COMPLETE ║
255
+ ╠══════════════════════════════════════════════════════════════════════════════╣
256
+ ║ ║
257
+ ║ Phase 2: Backend API Implementation ║
258
+ ║ ║
259
+ ║ Achievements: ║
260
+ ║ ✓ 12 API endpoints created ║
261
+ ║ ✓ Authentication middleware added ║
262
+ ║ ✓ 94% test coverage ║
263
+ ║ ✓ Documentation generated ║
264
+ ║ ║
265
+ ║ Time: 2h 15m | Breaths: 4 | Agents Used: 8 ║
266
+ ║ ║
267
+ ╚══════════════════════════════════════════════════════════════════════════════╝
268
+ ```
269
+
270
+ ---
271
+
272
+ ## Anti-Patterns (Avoid These)
273
+
274
+ ### DON'T: Inconsistent symbols
275
+
276
+ ```
277
+ ❌ Bad:
278
+ [x] Task complete
279
+ [DONE] Another task
280
+ * Third task done
281
+ ```
282
+
283
+ ```
284
+ ✓ Good:
285
+ ✓ Task complete
286
+ ✓ Another task
287
+ ✓ Third task done
288
+ ```
289
+
290
+ ### DON'T: Missing Dominion Flow branding
291
+
292
+ ```
293
+ ❌ Bad:
294
+ === STARTING PHASE 2 ===
295
+ ```
296
+
297
+ ```
298
+ ✓ Good:
299
+ ━━━ DOMINION FLOW > PHASE 2 EXECUTION ━━━
300
+ ```
301
+
302
+ ### DON'T: Plain text errors
303
+
304
+ ```
305
+ ❌ Bad:
306
+ Error: Build failed
307
+ ```
308
+
309
+ ```
310
+ ✓ Good:
311
+ ╔══════════════════════════════════════════════════════════════════════════════╗
312
+ ║ ✗ ERROR: Build failed ║
313
+ ╚══════════════════════════════════════════════════════════════════════════════╝
314
+ ```
315
+
316
+ ### DON'T: Unclear progress
317
+
318
+ ```
319
+ ❌ Bad:
320
+ Working on it...
321
+ Almost done...
322
+ ```
323
+
324
+ ```
325
+ ✓ Good:
326
+ Progress: ████████████░░░░░░░░ 60%
327
+ ├─ ✓ Schema created
328
+ ├─ ◆ Migrations running
329
+ └─ ○ Seeding pending
330
+ ```
331
+
332
+ ### DON'T: Emoji overload
333
+
334
+ ```
335
+ ❌ Bad:
336
+ 🚀 Starting! 💪 Let's go! 🎯 Targeting API! 🔥 Hot fixes!
337
+ ```
338
+
339
+ ```
340
+ ✓ Good:
341
+ ━━━ DOMINION FLOW > EXECUTION ━━━
342
+ ◆ Implementing API endpoints...
343
+ ```
344
+
345
+ ### DON'T: Inconsistent box styles
346
+
347
+ ```
348
+ ❌ Bad:
349
+ +------------------+
350
+ | Some content |
351
+ +------------------+
352
+
353
+ [Another Box]
354
+ | Different style |
355
+ ```
356
+
357
+ ```
358
+ ✓ Good:
359
+ ┌─────────────────────────────────────────────────────────────────────────────┐
360
+ │ Standard content box │
361
+ └─────────────────────────────────────────────────────────────────────────────┘
362
+
363
+ ╔══════════════════════════════════════════════════════════════════════════════╗
364
+ ║ Important/checkpoint box ║
365
+ ╚══════════════════════════════════════════════════════════════════════════════╝
366
+ ```
367
+
368
+ ---
369
+
370
+ ## Quick Reference
371
+
372
+ | Element | Character Set |
373
+ |---------|--------------|
374
+ | Stage banners | `━` (heavy horizontal) |
375
+ | Checkpoint boxes | `╔ ╗ ╚ ╝ ║ ═ ╠ ╣` (double line) |
376
+ | Standard boxes | `┌ ┐ └ ┘ │ ─ ├ ┤` (single line) |
377
+ | Progress fill | `█` (full block) |
378
+ | Progress empty | `░` (light shade) |
379
+ | Tree structure | `│ ├ └ ─` |
380
+
381
+ ---
382
+
383
+ *Consistent branding builds trust and recognition. Every Dominion Flow output should be immediately identifiable.*