@champpaba/claude-agent-kit 1.8.0 → 2.0.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/.claude/CLAUDE.md +189 -39
- package/.claude/agents/01-integration.md +106 -552
- package/.claude/agents/02-uxui-frontend.md +188 -850
- package/.claude/agents/03-test-debug.md +152 -521
- package/.claude/agents/04-frontend.md +169 -549
- package/.claude/agents/05-backend.md +132 -661
- package/.claude/agents/06-database.md +149 -698
- package/.claude/agents/_shared/README.md +57 -0
- package/.claude/agents/_shared/agent-boundaries.md +64 -0
- package/.claude/agents/_shared/documentation-policy.md +47 -0
- package/.claude/agents/_shared/package-manager.md +59 -0
- package/.claude/agents/_shared/pre-work-checklist.md +57 -0
- package/.claude/commands/cdev.md +36 -61
- package/.claude/commands/csetup.md +101 -39
- package/.claude/commands/designsetup.md +1402 -337
- package/.claude/commands/extract.md +520 -245
- package/.claude/commands/pageplan.md +6 -6
- package/.claude/contexts/design/box-thinking.md +1 -1
- package/.claude/contexts/design/index.md +1 -1
- package/.claude/contexts/patterns/agent-discovery.md +2 -2
- package/.claude/contexts/patterns/animation-patterns.md +1 -1
- package/.claude/contexts/patterns/change-workflow.md +8 -5
- package/.claude/contexts/patterns/code-standards.md +10 -8
- package/.claude/contexts/patterns/error-recovery.md +4 -4
- package/.claude/contexts/patterns/frontend-component-strategy.md +1 -1
- package/.claude/contexts/patterns/performance-optimization.md +1 -1
- package/.claude/contexts/patterns/task-breakdown.md +2 -2
- package/.claude/contexts/patterns/task-classification.md +2 -2
- package/.claude/contexts/patterns/ui-component-consistency.md +3 -3
- package/.claude/contexts/patterns/validation-framework.md +36 -33
- package/.claude/lib/README.md +4 -4
- package/.claude/lib/agent-executor.md +31 -40
- package/.claude/lib/agent-router.md +91 -213
- package/.claude/lib/context-loading-protocol.md +19 -36
- package/.claude/lib/detailed-guides/agent-system.md +43 -121
- package/.claude/lib/detailed-guides/taskmaster-analysis.md +1 -1
- package/.claude/lib/document-loader.md +22 -25
- package/.claude/lib/flags-updater.md +24 -32
- package/.claude/templates/STYLE_GUIDE.template.md +1 -1
- package/.claude/templates/design-context-template.md +1 -1
- package/.claude/templates/phases-sections/frontend-mockup.md +8 -5
- package/README.md +99 -40
- package/package.json +1 -1
|
@@ -535,14 +535,14 @@ Based on context + found components + buyer avatar (if available), generate:
|
|
|
535
535
|
|
|
536
536
|
---
|
|
537
537
|
|
|
538
|
-
### Performance
|
|
538
|
+
### Performance Guidelines
|
|
539
539
|
|
|
540
|
-
|
|
540
|
+
**GPU-accelerated (preferred):**
|
|
541
541
|
- `transform` (translate, scale, rotate)
|
|
542
542
|
- `opacity`
|
|
543
543
|
- `filter` (blur, brightness)
|
|
544
544
|
|
|
545
|
-
|
|
545
|
+
**Avoid for animations (CPU-intensive):**
|
|
546
546
|
- `width`, `height` (causes layout recalculation)
|
|
547
547
|
- `top`, `left`, `margin` (use `transform` instead)
|
|
548
548
|
- `font-size` (causes text reflow)
|
|
@@ -781,9 +781,9 @@ _([length] chars - based on [source])_
|
|
|
781
781
|
- Shadows: [from STYLE_TOKENS.json]
|
|
782
782
|
|
|
783
783
|
**Agent Instructions:**
|
|
784
|
-
- uxui-frontend
|
|
785
|
-
- Use theme tokens (text-foreground/70)
|
|
786
|
-
- Use spacing scale (p-4, p-6)
|
|
784
|
+
- uxui-frontend reads STYLE_TOKENS.json in STEP 0.5
|
|
785
|
+
- Use theme tokens (text-foreground/70) for theme-awareness
|
|
786
|
+
- Use spacing scale (p-4, p-6) for consistency
|
|
787
787
|
|
|
788
788
|
## 7. Implementation Notes
|
|
789
789
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
## 🎯 Purpose
|
|
8
8
|
|
|
9
|
-
Every agent
|
|
9
|
+
Every agent should discover project context before starting work. This ensures agents have all necessary context loaded and prevents inconsistent outputs.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
@@ -136,7 +136,7 @@ ls openspec/changes/{change-id}/.claude/
|
|
|
136
136
|
|
|
137
137
|
---
|
|
138
138
|
|
|
139
|
-
##
|
|
139
|
+
## ⚠️ Fallback Strategy
|
|
140
140
|
|
|
141
141
|
**If any level fails:**
|
|
142
142
|
|
|
@@ -307,7 +307,7 @@ Report: "✅ Project Context Loaded"
|
|
|
307
307
|
|
|
308
308
|
## 📤 Agent Post-Work (Flags Update)
|
|
309
309
|
|
|
310
|
-
**After completing a phase, agents
|
|
310
|
+
**After completing a phase, agents should update flags.json:**
|
|
311
311
|
|
|
312
312
|
```json
|
|
313
313
|
{
|
|
@@ -329,10 +329,13 @@ Report: "✅ Project Context Loaded"
|
|
|
329
329
|
}
|
|
330
330
|
```
|
|
331
331
|
|
|
332
|
-
**
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
332
|
+
**Files agents should not update (read-only):**
|
|
333
|
+
|
|
334
|
+
| File | WHY Read-Only |
|
|
335
|
+
|------|---------------|
|
|
336
|
+
| `tasks.md` | OpenSpec owns this file |
|
|
337
|
+
| `phases.md` | Generated once, treated as read-only |
|
|
338
|
+
| `proposal.md`, `design.md` | OpenSpec specification files |
|
|
336
339
|
|
|
337
340
|
---
|
|
338
341
|
|
|
@@ -512,18 +512,20 @@ def calculate_band_score(speechace_score: float) -> float:
|
|
|
512
512
|
|
|
513
513
|
---
|
|
514
514
|
|
|
515
|
-
##
|
|
515
|
+
## 📁 File Creation Policy (v1.8.0)
|
|
516
516
|
|
|
517
|
-
**Simple Rule:** Agents should
|
|
517
|
+
**Simple Rule:** Agents should create **actual code/config files** that are part of the project.
|
|
518
518
|
|
|
519
|
-
###
|
|
519
|
+
### Files to Avoid
|
|
520
520
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
521
|
+
| File Type | Examples | WHY Avoid |
|
|
522
|
+
|-----------|----------|-----------|
|
|
523
|
+
| Report/Summary files | `*_REPORT.md`, `*_SUMMARY.txt` | Clutter codebase, not code |
|
|
524
|
+
| Log/Output files | `*_OUTPUT.txt`, `*_LOG.txt` | Temporary, not version-controlled |
|
|
525
|
+
| Temporary files | `temp_*.js`, `test_*.txt` | Not intended for git |
|
|
526
|
+
| Documentation files | `*_GUIDE.md` | Only create if user explicitly requests |
|
|
525
527
|
|
|
526
|
-
**How to recognize
|
|
528
|
+
**How to recognize these files:**
|
|
527
529
|
- Filename contains: `REPORT`, `SUMMARY`, `DELIVERY`, `LOG`, `OUTPUT`, `GUIDE`, `ANALYSIS`, `RESULTS`
|
|
528
530
|
- Filename is ALL_CAPS or has phase/step numbers (e.g., `PHASE_11_*`, `STEP_3_*`)
|
|
529
531
|
- File extension doesn't match project code (random `.txt`, `.ext` in a JS project)
|
|
@@ -32,7 +32,7 @@ Errors that agent can fix automatically:
|
|
|
32
32
|
|
|
33
33
|
---
|
|
34
34
|
|
|
35
|
-
###
|
|
35
|
+
### Blocking Errors (Escalate Immediately)
|
|
36
36
|
Errors that agent cannot fix alone:
|
|
37
37
|
- **Missing environment variable** (e.g., DATABASE_URL not set)
|
|
38
38
|
- **Service not running** (e.g., PostgreSQL not running)
|
|
@@ -111,14 +111,14 @@ Error: "Database connection refused"
|
|
|
111
111
|
|
|
112
112
|
---
|
|
113
113
|
|
|
114
|
-
##
|
|
114
|
+
## 📤 Step 3: Escalation Format
|
|
115
115
|
|
|
116
116
|
When escalating to Main Claude, provide this information:
|
|
117
117
|
|
|
118
118
|
### Template:
|
|
119
119
|
|
|
120
120
|
```markdown
|
|
121
|
-
|
|
121
|
+
⚠️ **Escalation Required**
|
|
122
122
|
|
|
123
123
|
**Agent:** {agent-name}
|
|
124
124
|
**Task:** {task-description}
|
|
@@ -154,7 +154,7 @@ When escalating to Main Claude, provide this information:
|
|
|
154
154
|
### Example Escalation:
|
|
155
155
|
|
|
156
156
|
```markdown
|
|
157
|
-
|
|
157
|
+
⚠️ **Escalation Required**
|
|
158
158
|
|
|
159
159
|
**Agent:** backend
|
|
160
160
|
**Task:** Create POST /api/auth/login endpoint
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
## 4-Phase Methodology
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Start small and iterate. This approach catches bugs early and reduces rework.
|
|
10
10
|
|
|
11
|
-
**
|
|
11
|
+
**Progression:**
|
|
12
12
|
|
|
13
13
|
1. **Phase 1: MVT (Minimum Viable Test)** - Start small (1 item)
|
|
14
14
|
2. **Phase 2: Complexity** - Add validation and edge cases (2-3 items)
|
|
@@ -408,9 +408,9 @@ Phase 4 (Sequential):
|
|
|
408
408
|
|
|
409
409
|
---
|
|
410
410
|
|
|
411
|
-
## Part 5:
|
|
411
|
+
## Part 5: Agent Capabilities Reference
|
|
412
412
|
|
|
413
|
-
### What Each Agent
|
|
413
|
+
### What Each Agent Does (and Delegates)
|
|
414
414
|
|
|
415
415
|
#### uxui-frontend (Blue)
|
|
416
416
|
**CAN:**
|
|
@@ -225,9 +225,9 @@ export function ComboboxField({ ... }) {
|
|
|
225
225
|
|
|
226
226
|
---
|
|
227
227
|
|
|
228
|
-
##
|
|
228
|
+
## ⚠️ Common Issues to Avoid
|
|
229
229
|
|
|
230
|
-
###
|
|
230
|
+
### Hardcoded Colors
|
|
231
231
|
```typescript
|
|
232
232
|
// WRONG
|
|
233
233
|
className="text-gray-500" // Not theme-aware
|
|
@@ -238,7 +238,7 @@ className="text-foreground/70" // Theme token
|
|
|
238
238
|
className="bg-primary" // Theme token
|
|
239
239
|
```
|
|
240
240
|
|
|
241
|
-
###
|
|
241
|
+
### Non-Standard Opacity/Size
|
|
242
242
|
```typescript
|
|
243
243
|
// WRONG
|
|
244
244
|
className="opacity-50" // Too light for foreground
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
# Comprehensive Validation Framework
|
|
2
2
|
|
|
3
|
-
> **
|
|
3
|
+
> **Validation patterns for agent pre-work**
|
|
4
|
+
> **Version:** 2.0.0 (Claude 4.5 Optimized)
|
|
4
5
|
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
## 🎯 Overview
|
|
8
9
|
|
|
9
|
-
Every agent has
|
|
10
|
+
Every agent has pre-work steps that ensure quality output.
|
|
11
|
+
|
|
12
|
+
WHY: Pre-work validation prevents inconsistent output (mismatched colors, missing error handling, duplicate components).
|
|
10
13
|
|
|
11
14
|
**Principles:**
|
|
12
15
|
1. **Report Before Code** - Agent must report completion BEFORE implementation
|
|
@@ -137,11 +140,11 @@ const MOCK_DATA = {
|
|
|
137
140
|
```
|
|
138
141
|
|
|
139
142
|
**Validation Keywords:**
|
|
140
|
-
-
|
|
141
|
-
-
|
|
142
|
-
-
|
|
143
|
-
-
|
|
144
|
-
-
|
|
143
|
+
- Contains: "Design Foundation ✓"
|
|
144
|
+
- Contains: "Box Thinking Analysis ✓"
|
|
145
|
+
- Contains: "Component Search ✓"
|
|
146
|
+
- Contains: "Design Tokens Extracted ✓"
|
|
147
|
+
- Contains: "Ready to Implement ✓"
|
|
145
148
|
|
|
146
149
|
---
|
|
147
150
|
|
|
@@ -236,12 +239,12 @@ logger.error("login_error", extra={"error": str(e)})
|
|
|
236
239
|
```
|
|
237
240
|
|
|
238
241
|
**Validation Keywords:**
|
|
239
|
-
-
|
|
240
|
-
-
|
|
241
|
-
- IF TDD:
|
|
242
|
-
-
|
|
243
|
-
-
|
|
244
|
-
-
|
|
242
|
+
- Contains: "Patterns Loaded ✓"
|
|
243
|
+
- Contains: "Existing Endpoints Search ✓"
|
|
244
|
+
- IF TDD: Contains "TDD Workflow" + "RED-GREEN-REFACTOR"
|
|
245
|
+
- Contains: "Error Handling Pattern ✓"
|
|
246
|
+
- Contains: "Logging Pattern ✓"
|
|
247
|
+
- Contains: "Ready to Implement ✓"
|
|
245
248
|
|
|
246
249
|
---
|
|
247
250
|
|
|
@@ -349,11 +352,11 @@ const handleError = (error: ApiError) => {
|
|
|
349
352
|
```
|
|
350
353
|
|
|
351
354
|
**Validation Keywords:**
|
|
352
|
-
-
|
|
353
|
-
-
|
|
354
|
-
-
|
|
355
|
-
-
|
|
356
|
-
-
|
|
355
|
+
- Contains: "Patterns Loaded ✓"
|
|
356
|
+
- Contains: "API Contract Review ✓"
|
|
357
|
+
- Contains: "State Management Strategy ✓"
|
|
358
|
+
- Contains: "Error Handling Strategy ✓"
|
|
359
|
+
- Contains: "Ready to Implement ✓"
|
|
357
360
|
|
|
358
361
|
---
|
|
359
362
|
|
|
@@ -438,11 +441,11 @@ async function updatePassword(userId: string, newHashedPassword: string): Promis
|
|
|
438
441
|
```
|
|
439
442
|
|
|
440
443
|
**Validation Keywords:**
|
|
441
|
-
-
|
|
442
|
-
-
|
|
443
|
-
-
|
|
444
|
-
-
|
|
445
|
-
-
|
|
444
|
+
- Contains: "Patterns Loaded ✓"
|
|
445
|
+
- Contains: "Existing Schema Search ✓"
|
|
446
|
+
- Contains: "Schema Design Plan ✓"
|
|
447
|
+
- Contains: "Migration Strategy ✓"
|
|
448
|
+
- Contains: "Ready to Implement ✓"
|
|
446
449
|
|
|
447
450
|
---
|
|
448
451
|
|
|
@@ -536,11 +539,11 @@ describe('Button', () => {
|
|
|
536
539
|
```
|
|
537
540
|
|
|
538
541
|
**Validation Keywords:**
|
|
539
|
-
-
|
|
540
|
-
-
|
|
541
|
-
-
|
|
542
|
-
-
|
|
543
|
-
-
|
|
542
|
+
- Contains: "Patterns Loaded ✓"
|
|
543
|
+
- Contains: "Test Scope Analysis ✓"
|
|
544
|
+
- Contains: "Test Strategy ✓"
|
|
545
|
+
- Contains: "Existing Test Patterns ✓"
|
|
546
|
+
- Contains: "Ready to Implement ✓"
|
|
544
547
|
|
|
545
548
|
---
|
|
546
549
|
|
|
@@ -608,13 +611,13 @@ Grep: "axios\\.(post|get)"
|
|
|
608
611
|
```
|
|
609
612
|
|
|
610
613
|
**Validation Keywords:**
|
|
611
|
-
-
|
|
612
|
-
-
|
|
613
|
-
-
|
|
614
|
+
- Contains: "Validation Type ✓"
|
|
615
|
+
- Contains: "Contract Sources ✓" OR "Requirements Check ✓"
|
|
616
|
+
- Contains: "Ready to Validate ✓"
|
|
614
617
|
|
|
615
618
|
---
|
|
616
619
|
|
|
617
|
-
##
|
|
620
|
+
## ✅ Validation Enforcement Logic
|
|
618
621
|
|
|
619
622
|
### Orchestrator Validation Function
|
|
620
623
|
|
|
@@ -707,7 +710,7 @@ Your response is missing required pre-work steps:
|
|
|
707
710
|
|
|
708
711
|
{missing.map(item => `- ${item}`).join('\n')}
|
|
709
712
|
|
|
710
|
-
**
|
|
713
|
+
**Complete all pre-work steps before implementation for quality output.**
|
|
711
714
|
|
|
712
715
|
Please provide a complete Pre-Implementation Validation Report covering:
|
|
713
716
|
|
package/.claude/lib/README.md
CHANGED
|
@@ -16,11 +16,11 @@ Used by `/csetup` to automatically determine which phases require TDD workflow
|
|
|
16
16
|
**`flags-updater.md`** - Progress tracking protocol
|
|
17
17
|
Ensures Main Claude updates flags.json after EVERY phase completion. Provides helper functions for extracting files, tasks, and calculating duration.
|
|
18
18
|
|
|
19
|
-
**`agent-router.md`** -
|
|
20
|
-
|
|
19
|
+
**`agent-router.md`** - Agent routing rules
|
|
20
|
+
Defines agent boundaries. Main Claude delegates implementation work to specialized agents. Includes work type detection patterns and self-check protocol.
|
|
21
21
|
|
|
22
22
|
**`validation-gates.md`** - Validation checkpoints
|
|
23
|
-
Four validation gates that Main Claude
|
|
23
|
+
Four validation gates that Main Claude passes: before work, after agent responds, before reporting, and before phase start. Ensures quality and correctness at each step.
|
|
24
24
|
|
|
25
25
|
**`task-analyzer.md`** - TaskMaster-style task analysis (v1.3.0)
|
|
26
26
|
Used by `/csetup` to analyze tasks with 6 dimensions: complexity, dependencies, risk, research, subtasks, priority. Generates intelligent phases.md with time buffers and metadata.
|
|
@@ -65,7 +65,7 @@ Complete agent system guide. Covers 6 specialist agents, Main Claude's role, sel
|
|
|
65
65
|
|
|
66
66
|
---
|
|
67
67
|
|
|
68
|
-
##
|
|
68
|
+
## 📌 Important
|
|
69
69
|
|
|
70
70
|
These are **logic specifications** (not executable code). Main Claude reads these .md files as documentation and implements the logic when running `/cdev` and `/csetup` commands.
|
|
71
71
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Agent Executor with Retry & Escalation
|
|
2
2
|
|
|
3
|
-
> **
|
|
4
|
-
> **Version:**
|
|
3
|
+
> **Resilient agent execution with automatic retry and error recovery**
|
|
4
|
+
> **Version:** 2.0.0 (Claude 4.5 Optimized)
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -136,35 +136,24 @@ What would you like to do?
|
|
|
136
136
|
|
|
137
137
|
**Check agent response for required items:**
|
|
138
138
|
|
|
139
|
-
|
|
140
|
-
- "Best Practices Loaded" ← **NEW: Must show which files were read**
|
|
141
|
-
- "Pre-Implementation Validation Report"
|
|
142
|
-
- "Ready to Implement ✓"
|
|
139
|
+
WHY: Pre-work validation ensures agents loaded context before implementing. This prevents inconsistent output.
|
|
143
140
|
|
|
144
|
-
**
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
- "
|
|
149
|
-
|
|
141
|
+
**All agents:**
|
|
142
|
+
| Marker | Purpose |
|
|
143
|
+
|--------|---------|
|
|
144
|
+
| "Best Practices Loaded" | Shows which files were read |
|
|
145
|
+
| "Pre-Implementation Validation Report" | Analysis before coding |
|
|
146
|
+
| "Ready to Implement ✓" | Confirms context loaded |
|
|
150
147
|
|
|
151
|
-
**
|
|
152
|
-
- "Best Practices Loaded" (react, nextjs, typescript)
|
|
153
|
-
- "API Contract Verified ✓"
|
|
148
|
+
**Agent-specific markers:**
|
|
154
149
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
- "Best Practices Loaded" (prisma/drizzle)
|
|
163
|
-
- "Schema Analysis ✓"
|
|
164
|
-
|
|
165
|
-
**test-debug:**
|
|
166
|
-
- "Best Practices Loaded" (vitest/jest/playwright)
|
|
167
|
-
- "Test Infrastructure ✓"
|
|
150
|
+
| Agent | Additional Markers |
|
|
151
|
+
|-------|-------------------|
|
|
152
|
+
| uxui-frontend | Design Foundation ✓, Box Thinking ✓, Component Search ✓, Design Tokens ✓ |
|
|
153
|
+
| frontend | API Contract Verified ✓ |
|
|
154
|
+
| backend | Patterns Loaded ✓, Existing Endpoints Search ✓, TDD Workflow (if required) |
|
|
155
|
+
| database | Schema Analysis ✓ |
|
|
156
|
+
| test-debug | Test Infrastructure ✓ |
|
|
168
157
|
|
|
169
158
|
**Validation Logic:**
|
|
170
159
|
```typescript
|
|
@@ -214,9 +203,11 @@ function validateBestPracticesLoaded(agentResponse: string): boolean {
|
|
|
214
203
|
|
|
215
204
|
---
|
|
216
205
|
|
|
217
|
-
## 🧹 Temp File Cleanup
|
|
206
|
+
## 🧹 Temp File Cleanup
|
|
207
|
+
|
|
208
|
+
**After each phase completes, Main Claude cleans up non-code files:**
|
|
218
209
|
|
|
219
|
-
|
|
210
|
+
WHY: Only code/config files should remain. Reports go in response text or flags.json.
|
|
220
211
|
|
|
221
212
|
```typescript
|
|
222
213
|
function cleanupTempFiles(changeDir: string) {
|
|
@@ -252,11 +243,10 @@ function cleanupTempFiles(changeDir: string) {
|
|
|
252
243
|
cleanupTempFiles(`openspec/changes/${changeId}`)
|
|
253
244
|
```
|
|
254
245
|
|
|
255
|
-
**Rule:** Only actual code/config files should remain. Reports go in response text or flags.json.
|
|
256
246
|
|
|
257
247
|
---
|
|
258
248
|
|
|
259
|
-
##
|
|
249
|
+
## 📤 Escalation
|
|
260
250
|
|
|
261
251
|
**When max retries exceeded, give user options:**
|
|
262
252
|
|
|
@@ -289,21 +279,22 @@ Please choose an option.
|
|
|
289
279
|
### Pre-Work Rejection
|
|
290
280
|
|
|
291
281
|
```markdown
|
|
292
|
-
|
|
282
|
+
⚠️ Pre-Work Validation Incomplete
|
|
293
283
|
|
|
294
284
|
Agent: {agent-type}
|
|
295
285
|
Phase: {phase-name}
|
|
296
286
|
|
|
297
|
-
Missing
|
|
287
|
+
Missing steps:
|
|
298
288
|
- {item-1}
|
|
299
289
|
- {item-2}
|
|
300
290
|
- {item-3}
|
|
301
291
|
|
|
302
|
-
|
|
292
|
+
Please complete these steps before implementation.
|
|
293
|
+
WHY: Pre-work ensures context is loaded for quality output.
|
|
303
294
|
|
|
304
|
-
|
|
295
|
+
References:
|
|
305
296
|
- .claude/contexts/patterns/validation-framework.md → {agent-type} section
|
|
306
|
-
- .claude/agents/{agent-file}.md →
|
|
297
|
+
- .claude/agents/{agent-file}.md → Pre-Work Checklist
|
|
307
298
|
|
|
308
299
|
Please provide a complete Pre-Implementation Validation Report.
|
|
309
300
|
```
|
|
@@ -396,9 +387,9 @@ This retry & escalation framework makes agent execution **robust and reliable**.
|
|
|
396
387
|
|
|
397
388
|
---
|
|
398
389
|
|
|
399
|
-
# 🔄 Incremental Testing Execution
|
|
390
|
+
# 🔄 Incremental Testing Execution
|
|
400
391
|
|
|
401
|
-
>
|
|
392
|
+
> Milestone-based execution with round-based retry and Main Claude intervention
|
|
402
393
|
|
|
403
394
|
---
|
|
404
395
|
|
|
@@ -650,7 +641,7 @@ function generateHints(analysis: Analysis, milestone: Milestone): string[] {
|
|
|
650
641
|
|
|
651
642
|
### Agent Output Format
|
|
652
643
|
|
|
653
|
-
Agent
|
|
644
|
+
Agent responds in this format:
|
|
654
645
|
|
|
655
646
|
```markdown
|
|
656
647
|
## Milestone ${id} Results
|