You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relocate specifications to a new `specs` directory and update agent workflows to support the Gemini CLI and Codex, improving organization and functionality.
@@ -19,19 +19,21 @@ Domain expert for SQLSpec implementation. Handles all technical work: core devel
19
19
20
20
## Implementation Workflow
21
21
22
+
Codex or Gemini CLI can emulate this workflow without the `/implement` command. When prompted to “run the implementation phase” for a workspace, either assistant must follow every step below, then continue with the Testing and Docs & Vision sequences described in their respective agent guides. Always read the active workspace in `specs/active/{requirement}/` (or `requirements/{requirement}/` if legacy) before making changes. Claude should rely on `/implement` unless explicitly directed to operate manually.
Copy file name to clipboardExpand all lines: .claude/agents/planner.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,12 @@ Strategic planning agent for SQLSpec development. Creates research-grounded, mul
14
14
1.**Research-Grounded Planning** - Consult guides, docs, and best practices before planning
15
15
2.**Multi-Session Planning** - Use zen planner for structured, resumable plans
16
16
3.**Consensus Verification** - Get multi-model agreement on complex decisions
17
-
4.**Session Continuity** - Produce detailed artifacts in `requirements/` workspace
17
+
4.**Session Continuity** - Produce detailed artifacts in `specs/active/` workspace
18
18
19
19
## Planning Workflow
20
20
21
+
Codex or Gemini CLI can mirror this workflow without using `/plan`. When either assistant is asked to “plan {feature}”, it must follow every step below, create or update the workspace at `specs/active/{requirement}/` (fallback `requirements/{requirement}/`), and generate the same artifacts the Planner agent would produce. Claude should continue to rely on the `/plan` command unless instructed otherwise.
Copy file name to clipboardExpand all lines: .claude/agents/testing.md
+19-12Lines changed: 19 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,16 @@ Comprehensive testing specialist for SQLSpec. Creates pytest-based unit and inte
19
19
20
20
## Testing Workflow
21
21
22
+
Codex or Gemini CLI can execute this workflow directly. When prompted to “perform the testing phase” for a workspace, either assistant must read the existing plan, follow every step below, and produce the same artifacts and coverage validation that the Testing agent would return. Claude should continue to use `/test` unless instructed otherwise.
23
+
22
24
### Step 1: Read Implementation
23
25
24
26
Understand what needs testing:
25
27
26
28
```python
27
29
# Read workspace
28
-
Read("requirements/{requirement}/prd.md")
29
-
Read("requirements/{requirement}/tasks.md")
30
+
Read("specs/active/{requirement}/prd.md")
31
+
Read("specs/active/{requirement}/tasks.md")
30
32
31
33
# Read implementation
32
34
Read("sqlspec/adapters/asyncpg/driver.py")
@@ -290,7 +292,7 @@ uv run pytest -n 2 --dist=loadgroup
290
292
**Mark testing complete:**
291
293
292
294
```markdown
293
-
# In requirements/{requirement}/tasks.md:
295
+
# In specs/active/{requirement}/tasks.md:
294
296
- [x] 3. Adapter-specific code
295
297
- [x] 4. Testing ← JUST COMPLETED
296
298
- [ ] 5. Documentation ← HAND OFF TO DOCS & VISION
@@ -308,10 +310,12 @@ Tests added:
308
310
All tests passing ✅
309
311
310
312
## Next Steps
311
-
Documentation agent should:
313
+
Docs & Vision agent (auto-invoked by Expert) should:
312
314
- Update adapter documentation
313
-
- Add usage examples
314
-
- Update API reference
315
+
- Run quality gate
316
+
- Capture new testing patterns in AGENTS.md
317
+
- Update docs/guides/ with patterns
318
+
- Re-validate and archive
315
319
```
316
320
317
321
## Test Organization
@@ -404,7 +408,7 @@ open htmlcov/index.html
404
408
assert result isnotNone
405
409
```
406
410
407
-
## Handoff to Docs & Vision
411
+
## Return to Expert Agent
408
412
409
413
When testing complete:
410
414
@@ -418,25 +422,28 @@ When testing complete:
418
422
2.**Update workspace:**
419
423
420
424
```markdown
425
+
# In specs/active/{requirement}/tasks.md:
421
426
- [x] 4. Testing
422
-
- [ ] 5. Documentation ← HAND OFF TO DOCS & VISION
Next: Invoke Docs & Vision agent for documentation and final review.
442
+
Expert agent will now auto-invoke Docs & Vision for documentation, quality gate, knowledge capture, and archival.
438
443
```
439
444
445
+
**Note**: This agent is typically invoked automatically by the Expert agent. It returns control to Expert, which then auto-invokes Docs & Vision agent.
0 commit comments