@leejungkiin/awkit 1.4.3 → 1.5.1
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.
- package/README.md +38 -14
- package/bin/awk.js +438 -86
- package/bin/claude-generators.js +3 -1
- package/bin/cline-generators.js +3 -1
- package/bin/codex-generators.js +7 -2
- package/core/orchestrator.md +17 -3
- package/core/skill-runtime-manifest.json +37 -0
- package/package.json +2 -2
- package/skill-packs/creator-studio/README.md +19 -0
- package/skill-packs/creator-studio/pack.json +10 -0
- package/skill-packs/marketing/README.md +64 -0
- package/skill-packs/marketing/pack.json +37 -0
- package/skill-packs/mobile-android/README.md +16 -0
- package/skill-packs/mobile-android/pack.json +10 -0
- package/skill-packs/mobile-ios/README.md +22 -0
- package/skill-packs/mobile-ios/pack.json +16 -0
- package/skill-packs/neural-memory/pack.json +8 -2
- package/skill-packs/superpowers/pack.json +1 -0
- package/skill-packs/superpowers/skills/single-flow-task-execution/SKILL.md +59 -358
- package/skill-packs/superpowers/skills/writing-skills/SKILL.md +60 -654
- package/skill-packs/superpowers/skills/writing-skills/examples/anti-rationalization.md +75 -0
- package/skill-packs/superpowers/skills/writing-skills/examples/cso-optimization.md +67 -0
- package/skill-packs/superpowers/skills/writing-skills/examples/tdd-for-skills.md +63 -0
- package/skills/CATALOG.md +49 -44
- package/skills/brainstorm-agent/SKILL.md +55 -315
- package/skills/brainstorm-agent/templates/brief-template.md +76 -0
- package/skills/codex-conductor/SKILL.md +55 -259
- package/skills/codex-conductor/examples/prompt-templates.md +72 -0
- package/skills/module-spec-writer/SKILL.md +38 -365
- package/skills/module-spec-writer/examples/port-migration-mode.md +40 -0
- package/skills/module-spec-writer/templates/module-spec-template.md +118 -0
- package/skills/orchestrator/SKILL.md +17 -8
- package/skills/single-flow-task-execution/SKILL.md +56 -363
- package/skills/single-flow-task-execution/examples/workflow-example.md +91 -0
- package/skills/smali-to-kotlin/SKILL.md +23 -416
- package/skills/smali-to-kotlin/examples/getting-started/tech-stack.md +58 -0
- package/skills/smali-to-kotlin/examples/pipeline/data-ui-parity.md +118 -0
- package/skills/smali-to-kotlin/examples/pipeline/scanner-and-bootstrap.md +106 -0
- package/skills/smali-to-swift/SKILL.md +18 -621
- package/skills/smali-to-swift/examples/getting-started/tech-stack.md +72 -0
- package/skills/smali-to-swift/examples/getting-started/toolchain.md +32 -0
- package/skills/smali-to-swift/examples/pipeline/core-logic.md +45 -0
- package/skills/smali-to-swift/examples/pipeline/data-layer.md +76 -0
- package/skills/smali-to-swift/examples/pipeline/framework-scanner.md +73 -0
- package/skills/smali-to-swift/examples/pipeline/project-bootstrap.md +76 -0
- package/skills/smali-to-swift/examples/pipeline/sdk-integration.md +66 -0
- package/skills/smali-to-swift/examples/pipeline/ui-viewmodel.md +96 -0
- package/skills/smali-to-swift/references/objc-to-swift-mapping.md +57 -0
- package/skills/spec-gate/SKILL.md +51 -265
- package/skills/spec-gate/templates/design-templates.md +93 -0
- package/skills/symphony-enforcer/SKILL.md +24 -555
- package/skills/symphony-enforcer/examples/startup-protocol.md +92 -0
- package/skills/symphony-enforcer/examples/task-completion.md +100 -0
- package/skills/symphony-enforcer/examples/three-phase.md +107 -0
- package/skills/symphony-enforcer/examples/trigger-points.md +99 -0
- package/skills/symphony-orchestrator/SKILL.md +1 -1
- package/skills/writing-skills/SKILL.md +82 -70
- package/skills/writing-skills/examples/anti-rationalization.md +53 -0
- package/skills/writing-skills/examples/cso-optimization.md +52 -0
- package/skills/writing-skills/examples/tdd-for-skills.md +48 -0
- package/templates/help.html +447 -0
- package/skills/memory-sync/SKILL.md +0 -424
- package/skills/memory-sync/memory-router.md +0 -185
- package/skills/memory-sync/memory-templates.md +0 -201
|
@@ -3,407 +3,108 @@ name: single-flow-task-execution
|
|
|
3
3
|
description: Use when executing implementation plans, handling multiple independent tasks, or doing structured task-by-task development with review gates in Antigravity.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Single-Flow Task Execution
|
|
6
|
+
# Single-Flow Task Execution — Router
|
|
7
7
|
|
|
8
8
|
Execute plans by working through one task at a time with two-stage review after each: spec compliance review first, then code quality review.
|
|
9
9
|
|
|
10
10
|
**Core principle:** One task at a time + two-stage review (spec then quality) = high quality, disciplined iteration.
|
|
11
11
|
|
|
12
|
-
##
|
|
13
|
-
|
|
14
|
-
Antigravity does NOT support parallel coding subagents. All work happens in a single execution thread.
|
|
15
|
-
|
|
16
|
-
**Rules:**
|
|
17
|
-
|
|
18
|
-
1. **One active task only** — never work on multiple tasks simultaneously.
|
|
19
|
-
2. **One execution thread only** — no parallel dispatch.
|
|
20
|
-
3. **No parallel coding subagents** — Antigravity does not have `Task(...)`.
|
|
21
|
-
4. **Browser automation** may use `browser_subagent` in isolated steps.
|
|
22
|
-
5. **Track progress** via Symphony task system. Update task status at each state change.
|
|
23
|
-
6. **Use `task_boundary`** to clearly delineate each unit of work.
|
|
24
|
-
|
|
25
|
-
## When to Use
|
|
26
|
-
|
|
27
|
-
```dot
|
|
28
|
-
digraph when_to_use {
|
|
29
|
-
"Have implementation plan?" [shape=diamond];
|
|
30
|
-
"Tasks mostly independent?" [shape=diamond];
|
|
31
|
-
"Multiple problems to solve?" [shape=diamond];
|
|
32
|
-
"single-flow-task-execution" [shape=box];
|
|
33
|
-
"executing-plans" [shape=box];
|
|
34
|
-
"Manual execution or brainstorm first" [shape=box];
|
|
35
|
-
|
|
36
|
-
"Have implementation plan?" -> "Tasks mostly independent?" [label="yes"];
|
|
37
|
-
"Have implementation plan?" -> "Manual execution or brainstorm first" [label="no"];
|
|
38
|
-
"Tasks mostly independent?" -> "single-flow-task-execution" [label="yes"];
|
|
39
|
-
"Tasks mostly independent?" -> "Manual execution or brainstorm first" [label="no - tightly coupled"];
|
|
40
|
-
"Multiple problems to solve?" -> "single-flow-task-execution" [label="yes - work through them sequentially"];
|
|
41
|
-
"Multiple problems to solve?" -> "Manual execution or brainstorm first" [label="no - single task"];
|
|
42
|
-
}
|
|
43
|
-
```
|
|
12
|
+
## Topic Index
|
|
44
13
|
|
|
45
|
-
|
|
14
|
+
| Topic | When to Load | File |
|
|
15
|
+
|-------|--------------|------|
|
|
16
|
+
| Example full execution cycle and task brief template | When you need a concrete reference pattern | `examples/workflow-example.md` |
|
|
46
17
|
|
|
47
|
-
|
|
48
|
-
- 2+ test files failing with different root causes (work through them one at a time)
|
|
49
|
-
- Multiple subsystems broken independently
|
|
50
|
-
- Each problem can be understood without context from others
|
|
51
|
-
- Structured execution with quality gates is needed
|
|
18
|
+
## Antigravity Execution Model
|
|
52
19
|
|
|
53
|
-
**
|
|
20
|
+
1. **One active task only** — never work on multiple tasks simultaneously
|
|
21
|
+
2. **One execution thread** — no parallel dispatch, no `Task(...)`
|
|
22
|
+
3. **Browser automation** may use `browser_subagent` in isolated steps
|
|
23
|
+
4. **Track progress** via Symphony task system
|
|
24
|
+
5. **Use `task_boundary`** to delineate each unit of work
|
|
54
25
|
|
|
55
|
-
|
|
56
|
-
- Tasks are tightly coupled and need full system understanding
|
|
57
|
-
- Single simple task that doesn't need review structure
|
|
26
|
+
## When to Use / Don't Use
|
|
58
27
|
|
|
59
|
-
**
|
|
28
|
+
**Use:** Implementation plan with multiple independent tasks | 2+ test files failing different causes | Structured execution with quality gates
|
|
60
29
|
|
|
61
|
-
|
|
62
|
-
- Fresh `task_boundary` per task (clean scope)
|
|
63
|
-
- Two-stage review after each task: spec compliance first, then code quality
|
|
64
|
-
- Faster iteration (no human-in-loop between tasks)
|
|
30
|
+
**Don't:** Related failures (fix one → fix others) | Tightly coupled tasks | Single simple task
|
|
65
31
|
|
|
66
32
|
## The Process
|
|
67
33
|
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"Spec confirms code matches spec?" [shape=diamond];
|
|
80
|
-
"Fix spec gaps" [shape=box];
|
|
81
|
-
"Run code quality review (./code-quality-reviewer-prompt.md)" [shape=box];
|
|
82
|
-
"Code quality approved?" [shape=diamond];
|
|
83
|
-
"Fix quality issues" [shape=box];
|
|
84
|
-
"Mark task complete via Symphony" [shape=box];
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
"Read plan, extract all tasks with full text, note context" [shape=box];
|
|
88
|
-
"More tasks remain?" [shape=diamond];
|
|
89
|
-
"Run final code review for entire implementation" [shape=box];
|
|
90
|
-
"Complete Symphony task and present next steps" [shape=box style=filled fillcolor=lightgreen];
|
|
91
|
-
|
|
92
|
-
"Read plan, extract all tasks with full text, note context" -> "Execute implementation (./implementer-prompt.md)";
|
|
93
|
-
"Execute implementation (./implementer-prompt.md)" -> "Questions about requirements?";
|
|
94
|
-
"Questions about requirements?" -> "Answer questions, provide context" [label="yes"];
|
|
95
|
-
"Answer questions, provide context" -> "Execute implementation (./implementer-prompt.md)";
|
|
96
|
-
"Questions about requirements?" -> "Implement, test, commit, self-review" [label="no"];
|
|
97
|
-
"Implement, test, commit, self-review" -> "Run spec compliance review (./spec-reviewer-prompt.md)";
|
|
98
|
-
"Run spec compliance review (./spec-reviewer-prompt.md)" -> "Spec confirms code matches spec?";
|
|
99
|
-
"Spec confirms code matches spec?" -> "Fix spec gaps" [label="no"];
|
|
100
|
-
"Fix spec gaps" -> "Run spec compliance review (./spec-reviewer-prompt.md)" [label="re-review"];
|
|
101
|
-
"Spec confirms code matches spec?" -> "Run code quality review (./code-quality-reviewer-prompt.md)" [label="yes"];
|
|
102
|
-
"Run code quality review (./code-quality-reviewer-prompt.md)" -> "Code quality approved?";
|
|
103
|
-
"Code quality approved?" -> "Fix quality issues" [label="no"];
|
|
104
|
-
"Fix quality issues" -> "Run code quality review (./code-quality-reviewer-prompt.md)" [label="re-review"];
|
|
105
|
-
"Code quality approved?" -> "Mark task complete via Symphony" [label="yes"];
|
|
106
|
-
"Mark task complete via Symphony" -> "More tasks remain?";
|
|
107
|
-
"More tasks remain?" -> "Execute implementation (./implementer-prompt.md)" [label="yes"];
|
|
108
|
-
"More tasks remain?" -> "Run final code review for entire implementation" [label="no"];
|
|
109
|
-
"Run final code review for entire implementation" -> "Complete Symphony task and present next steps";
|
|
110
|
-
}
|
|
34
|
+
```text
|
|
35
|
+
Read plan → Extract tasks → [Per task loop]:
|
|
36
|
+
1. Execute implementation (./implementer-prompt.md)
|
|
37
|
+
2. Questions? → Ask & wait → Re-execute
|
|
38
|
+
3. Implement, test, commit, self-review
|
|
39
|
+
4. Run spec compliance review (./spec-reviewer-prompt.md)
|
|
40
|
+
→ Issues? Fix → Re-review until approved
|
|
41
|
+
5. Run code quality review (./code-quality-reviewer-prompt.md)
|
|
42
|
+
→ Issues? Fix → Re-review until approved
|
|
43
|
+
6. Mark task complete via Symphony
|
|
44
|
+
7. More tasks? → Loop | No → Final code review → Complete
|
|
111
45
|
```
|
|
112
46
|
|
|
113
|
-
## UI-First Task Ordering (Gate 4 Three-Phase
|
|
47
|
+
## UI-First Task Ordering (Gate 4 Three-Phase)
|
|
114
48
|
|
|
115
|
-
When
|
|
49
|
+
When tasks include UI components (COMPLEX/MODERATE):
|
|
116
50
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
- Create project structure (packages, modules, DI)
|
|
123
|
-
- Set up navigation skeleton (NavGraph, Router)
|
|
124
|
-
- Configure build variants, signing
|
|
125
|
-
Gate: App MUST build successfully → proceed
|
|
126
|
-
```
|
|
51
|
+
| Phase | Priority | Examples | Gate |
|
|
52
|
+
|-------|----------|----------|------|
|
|
53
|
+
| **A: Infrastructure** | FIRST | Dependencies, DI, nav skeleton | App MUST build |
|
|
54
|
+
| **B: UI Shell** | SECOND | All screens with mock data | User or auto checkpoint |
|
|
55
|
+
| **C: Logic** | LAST | Real API/DB, business logic | Per-feature checkpoint |
|
|
127
56
|
|
|
128
|
-
|
|
129
|
-
```
|
|
130
|
-
Priority: Execute SECOND, BEFORE any logic tasks
|
|
131
|
-
Examples:
|
|
132
|
-
- Build all screen layouts with static/mock data
|
|
133
|
-
- Implement navigation between screens
|
|
134
|
-
- Add animations, transitions, loading/empty/error states
|
|
135
|
-
- Wire up UI components (no real API/DB calls)
|
|
136
|
-
Gate: 🧪 USER TEST CHECKPOINT — user must test UI on device
|
|
137
|
-
→ Present test guidance (see symphony-enforcer TP1.7)
|
|
138
|
-
→ User confirms UI OK → proceed to Phase C
|
|
139
|
-
→ User reports issue → fix → re-checkpoint
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
### Phase C: Logic Tasks (Per Feature)
|
|
143
|
-
```
|
|
144
|
-
Priority: Execute LAST, after UI is confirmed
|
|
145
|
-
Examples:
|
|
146
|
-
- Replace mock data with real API/DB calls
|
|
147
|
-
- Implement business logic, validation
|
|
148
|
-
- Add error handling, retry, offline support
|
|
149
|
-
- Wire up hardware features (camera, GPS, sensors)
|
|
150
|
-
Gate: 🧪 USER TEST CHECKPOINT per feature (batch small ones)
|
|
151
|
-
→ Especially important for hardware-dependent features
|
|
152
|
-
```
|
|
57
|
+
**Auto checkpoint:** Check `.project-identity` → `autoVerification: true` = Maestro auto-test, `false` = wait for user.
|
|
153
58
|
|
|
154
59
|
### Task Sorting Rule
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
1. Tag each task: [INFRA] [UI] [LOGIC]
|
|
60
|
+
|
|
61
|
+
1. Tag each task: `[INFRA]` `[UI]` `[LOGIC]`
|
|
158
62
|
2. Sort: INFRA first → UI second → LOGIC last
|
|
159
63
|
3. Within each phase: respect dependency ordering
|
|
160
|
-
4. Between phases: MANDATORY checkpoint where indicated
|
|
161
|
-
```
|
|
162
64
|
|
|
163
65
|
## Task Decomposition
|
|
164
66
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
Group failures by what's broken:
|
|
170
|
-
|
|
171
|
-
- File A tests: User authentication flow
|
|
172
|
-
- File B tests: Data validation logic
|
|
173
|
-
- File C tests: API response handling
|
|
174
|
-
|
|
175
|
-
Each domain is independent — fixing authentication doesn't affect validation tests.
|
|
176
|
-
|
|
177
|
-
### 2. Create Task Units
|
|
178
|
-
|
|
179
|
-
Each task gets:
|
|
180
|
-
|
|
181
|
-
- **Specific scope:** One test file or subsystem
|
|
182
|
-
- **Clear goal:** Make these tests pass / implement this feature
|
|
183
|
-
- **Constraints:** Don't change unrelated code
|
|
184
|
-
- **Expected output:** Summary of what changed and verification results
|
|
185
|
-
|
|
186
|
-
### 3. Execute Sequentially with Review
|
|
187
|
-
|
|
188
|
-
Work through each task one at a time using the full review cycle.
|
|
189
|
-
|
|
190
|
-
### 4. Review and Integrate
|
|
191
|
-
|
|
192
|
-
After all tasks:
|
|
193
|
-
|
|
194
|
-
- Run full test suite to verify no regressions
|
|
195
|
-
- Check for conflicts between task changes
|
|
196
|
-
- Run final code review on entire implementation
|
|
197
|
-
|
|
198
|
-
## Task Brief Structure
|
|
199
|
-
|
|
200
|
-
For each task, prepare:
|
|
201
|
-
|
|
202
|
-
```
|
|
203
|
-
task_boundary:
|
|
204
|
-
description: "Implement Task N: [task name]"
|
|
205
|
-
prompt: |
|
|
206
|
-
## Task Description
|
|
207
|
-
[FULL TEXT of task from plan — paste it here]
|
|
208
|
-
|
|
209
|
-
## Context
|
|
210
|
-
[Where this fits, dependencies, architectural context]
|
|
211
|
-
|
|
212
|
-
## Constraints
|
|
213
|
-
- Only modify [specific files/directories]
|
|
214
|
-
- Follow existing patterns in the codebase
|
|
215
|
-
- Write tests for new functionality
|
|
216
|
-
|
|
217
|
-
## Verification
|
|
218
|
-
- Run: [specific test command]
|
|
219
|
-
- Expected: [what success looks like]
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
**Key:** Provide full task text and context upfront. Don't make the task boundary re-read the plan file.
|
|
67
|
+
1. **Identify independent domains** — Group failures by what is broken
|
|
68
|
+
2. **Create task units** — Specific scope, clear goal, constraints, expected output
|
|
69
|
+
3. **Execute sequentially** with full review cycle
|
|
70
|
+
4. **Review and integrate** — Full test suite, check conflicts
|
|
223
71
|
|
|
224
72
|
## Review Templates
|
|
225
73
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
-
|
|
229
|
-
- **`./spec-reviewer-prompt.md`** — Template for spec compliance review (did we build what was requested?)
|
|
230
|
-
- **`./code-quality-reviewer-prompt.md`** — Template for code quality review (is it well-built?)
|
|
74
|
+
- `./implementer-prompt.md` — Implementation structure
|
|
75
|
+
- `./spec-reviewer-prompt.md` — Did we build what was requested?
|
|
76
|
+
- `./code-quality-reviewer-prompt.md` — Is it well-built?
|
|
231
77
|
|
|
232
|
-
**
|
|
78
|
+
**Order:** Always spec compliance first, then code quality.
|
|
233
79
|
|
|
234
80
|
## Checkpoint Pattern
|
|
235
81
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
- **What changed** — files modified, features implemented
|
|
239
|
-
- **What verification ran** — test results, lint results
|
|
240
|
-
- **What remains** — remaining tasks, known issues
|
|
241
|
-
|
|
242
|
-
Update Symphony task progress with current status.
|
|
243
|
-
|
|
244
|
-
## Common Mistakes
|
|
245
|
-
|
|
246
|
-
**Task scoping:**
|
|
247
|
-
|
|
248
|
-
- **Bad:** "Fix all the tests" — loses focus
|
|
249
|
-
- **Good:** "Fix user-auth.test.ts failures" — clear scope
|
|
250
|
-
|
|
251
|
-
**Context:**
|
|
252
|
-
|
|
253
|
-
- **Bad:** "Fix the validation bug" — unclear where
|
|
254
|
-
- **Good:** Paste error messages, test names, relevant code paths
|
|
255
|
-
|
|
256
|
-
**Constraints:**
|
|
82
|
+
Report at logical boundaries:
|
|
257
83
|
|
|
258
|
-
- **
|
|
259
|
-
- **
|
|
84
|
+
- **What changed**
|
|
85
|
+
- **What verification ran**
|
|
86
|
+
- **What remains**
|
|
260
87
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
- **Bad:** "Fix it" — no visibility into what changed
|
|
264
|
-
- **Good:** "Report: root cause, changes made, test results"
|
|
265
|
-
|
|
266
|
-
**Reviews:**
|
|
267
|
-
|
|
268
|
-
- **Bad:** "It works, move on" — quality debt
|
|
269
|
-
- **Good:** Implement then spec review then quality review then next task
|
|
270
|
-
|
|
271
|
-
## Example Workflow
|
|
272
|
-
|
|
273
|
-
```
|
|
274
|
-
You: I'm using single-flow-task-execution to execute this plan.
|
|
275
|
-
|
|
276
|
-
[Read plan file: docs/plans/feature-plan.md]
|
|
277
|
-
[Extract all 5 tasks with full text and context]
|
|
278
|
-
[Create Symphony tasks for tracking]
|
|
279
|
-
|
|
280
|
-
--- Task 1: Hook installation script ---
|
|
281
|
-
|
|
282
|
-
[Prepare task brief with full text + context]
|
|
283
|
-
[Execute implementation following ./implementer-prompt.md structure]
|
|
284
|
-
|
|
285
|
-
Questions: "Should the hook be installed at user or system level?"
|
|
286
|
-
Answer: "User level (~/.config/superpowers/hooks/)"
|
|
287
|
-
|
|
288
|
-
Implementation:
|
|
289
|
-
- Implemented install-hook command
|
|
290
|
-
- Added tests, 5/5 passing
|
|
291
|
-
- Self-review: Found I missed --force flag, added it
|
|
292
|
-
- Committed
|
|
293
|
-
|
|
294
|
-
[Run spec compliance review following ./spec-reviewer-prompt.md]
|
|
295
|
-
Spec review: Spec compliant — all requirements met, nothing extra
|
|
296
|
-
|
|
297
|
-
[Run code quality review following ./code-quality-reviewer-prompt.md]
|
|
298
|
-
Code review: Strengths: Good test coverage, clean. Issues: None. Approved.
|
|
299
|
-
|
|
300
|
-
[Mark Task 1 complete in Symphony]
|
|
301
|
-
|
|
302
|
-
--- Task 2: Recovery modes ---
|
|
303
|
-
|
|
304
|
-
[Prepare task brief with full text + context]
|
|
305
|
-
[Execute implementation]
|
|
306
|
-
|
|
307
|
-
Implementation:
|
|
308
|
-
- Added verify/repair modes
|
|
309
|
-
- 8/8 tests passing
|
|
310
|
-
- Self-review: All good
|
|
311
|
-
- Committed
|
|
312
|
-
|
|
313
|
-
[Run spec compliance review]
|
|
314
|
-
Spec review: Issues found:
|
|
315
|
-
- Missing: Progress reporting (spec says "report every 100 items")
|
|
316
|
-
- Extra: Added --json flag (not requested)
|
|
317
|
-
|
|
318
|
-
[Fix issues: remove --json flag, add progress reporting]
|
|
319
|
-
[Run spec compliance review again]
|
|
320
|
-
Spec review: Spec compliant now
|
|
321
|
-
|
|
322
|
-
[Run code quality review]
|
|
323
|
-
Code review: Issue (Important): Magic number (100) should be a constant
|
|
324
|
-
|
|
325
|
-
[Fix: extract PROGRESS_INTERVAL constant]
|
|
326
|
-
[Run code quality review again]
|
|
327
|
-
Code review: Approved
|
|
328
|
-
|
|
329
|
-
[Mark Task 2 complete in Symphony]
|
|
330
|
-
|
|
331
|
-
... [Continue through remaining tasks] ...
|
|
332
|
-
|
|
333
|
-
[After all tasks complete]
|
|
334
|
-
[Run final code review on entire implementation]
|
|
335
|
-
Final review: All requirements met, ready to merge
|
|
336
|
-
|
|
337
|
-
[Complete Symphony task and present next steps]
|
|
338
|
-
Done!
|
|
339
|
-
```
|
|
88
|
+
Update Symphony task progress after each meaningful boundary.
|
|
340
89
|
|
|
341
90
|
## Red Flags
|
|
342
91
|
|
|
343
|
-
**Never:**
|
|
344
|
-
|
|
345
|
-
- Start implementation on main/master branch without explicit user consent
|
|
346
|
-
- Skip reviews (spec compliance OR code quality)
|
|
347
|
-
- Proceed with unfixed review issues
|
|
348
|
-
- Work on multiple tasks simultaneously
|
|
349
|
-
- Skip scene-setting context (task needs to understand where it fits)
|
|
350
|
-
- Accept "close enough" on spec compliance (reviewer found issues = not done)
|
|
351
|
-
- Skip review loops (reviewer found issues = fix = review again)
|
|
352
|
-
- Let self-review replace actual review (both are needed)
|
|
353
|
-
- **Start code quality review before spec compliance passes** (wrong order)
|
|
354
|
-
- Move to next task while either review has open issues
|
|
355
|
-
|
|
356
|
-
**If you have questions about requirements:**
|
|
357
|
-
|
|
358
|
-
- Ask clearly and wait for answers
|
|
359
|
-
- Don't guess or make assumptions
|
|
360
|
-
- Better to ask upfront than rework later
|
|
361
|
-
|
|
362
|
-
**If reviewer finds issues:**
|
|
363
|
-
|
|
364
|
-
- Fix them
|
|
365
|
-
- Run reviewer again
|
|
366
|
-
- Repeat until approved
|
|
367
|
-
- Don't skip the re-review
|
|
92
|
+
**Never:** Start on main without consent | Skip reviews | Work on multiple tasks | Accept "close enough" | Start quality review before spec passes | Skip re-review after fixes
|
|
368
93
|
|
|
369
94
|
## Completion
|
|
370
95
|
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
3. Verify no regressions across all tasks
|
|
376
|
-
4. Summarize evidence (test output, review approvals)
|
|
377
|
-
|
|
378
|
-
## Advantages
|
|
379
|
-
|
|
380
|
-
**Structured execution:**
|
|
381
|
-
|
|
382
|
-
- Clear task boundaries prevent scope creep
|
|
383
|
-
- Review gates catch issues early (cheaper than debugging later)
|
|
384
|
-
- Progress tracking provides visibility
|
|
385
|
-
|
|
386
|
-
**Quality gates:**
|
|
387
|
-
|
|
388
|
-
- Self-review catches obvious issues before handoff
|
|
389
|
-
- Two-stage review: spec compliance prevents over/under-building, code quality ensures maintainability
|
|
390
|
-
- Review loops ensure fixes actually work
|
|
391
|
-
|
|
392
|
-
**Efficiency:**
|
|
393
|
-
|
|
394
|
-
- Provide full task text upfront (no re-reading plan files)
|
|
395
|
-
- Controller curates exactly what context is needed
|
|
396
|
-
- Questions surfaced before work begins (not after)
|
|
397
|
-
- Sequential execution avoids conflicts between tasks
|
|
96
|
+
1. All Symphony tasks marked `done` or `cancelled`
|
|
97
|
+
2. Full test or validation command ran
|
|
98
|
+
3. No regressions across all tasks
|
|
99
|
+
4. Evidence summarized
|
|
398
100
|
|
|
399
101
|
## Integration
|
|
400
102
|
|
|
401
|
-
|
|
103
|
+
- `symphony-orchestrator`
|
|
104
|
+
- `symphony-enforcer`
|
|
105
|
+
- `test-driven-development` when strict TDD is needed
|
|
106
|
+
- `verification-before-completion` when using the full `superpowers` pack
|
|
402
107
|
|
|
403
|
-
|
|
404
|
-
- **`~/.gemini/antigravity/skills/symphony-enforcer/SKILL.md`** — Enforce task discipline
|
|
405
|
-
|
|
406
|
-
**Should also use:**
|
|
108
|
+
---
|
|
407
109
|
|
|
408
|
-
-
|
|
409
|
-
- **verification-before-completion** — Final verification checklist
|
|
110
|
+
*single-flow-task-execution — Lean Router Architecture*
|