claude-flow-novice 2.14.28 → 2.14.30
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/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md +4 -14
- package/.claude/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md.backup +481 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md +3 -4
- package/.claude/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md.backup +371 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md +20 -26
- package/.claude/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md.backup +637 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md +295 -50
- package/.claude/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md.backup +398 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md +27 -25
- package/.claude/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md.backup +401 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md +5 -106
- package/.claude/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md.backup +552 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md +5 -25
- package/.claude/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md.backup +223 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md +5 -27
- package/.claude/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md.backup +367 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md +5 -27
- package/.claude/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md.backup +247 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md +5 -27
- package/.claude/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md.backup +269 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md +5 -25
- package/.claude/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md.backup +311 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md +6 -26
- package/.claude/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md.backup +222 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md +5 -25
- package/.claude/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md.backup +408 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md +6 -26
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md.backup +354 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md +4 -4
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md.backup +561 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md +2 -2
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md.backup +480 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md +1 -1
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md.backup +448 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md +2 -2
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md.backup +329 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md +361 -199
- package/.claude/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md.backup +208 -0
- package/.claude/commands/CFN_LOOP_TASK_MODE.md +100 -11
- package/.claude/commands/cfn-mode.md +2 -2
- package/.claude/skills/cfn-agent-spawning/spawn-agent.sh +12 -0
- package/.claude/skills/cfn-agent-spawning/spawn-agent.sh.backup +273 -0
- package/.claude/skills/cfn-hybrid-routing/README.md +1 -1
- package/.claude/skills/cfn-loop-orchestration/orchestrate.sh +95 -15
- package/.claude/skills/cfn-loop-orchestration/orchestrate.sh.backup +76 -11
- package/.claude/skills/cfn-loop-orchestration/orchestrate.sh.backup2 +959 -0
- package/.claude/skills/cfn-loop-orchestration/orchestrate.sh.clean +949 -0
- package/.claude/skills/cfn-product-owner-decision/execute-decision.sh +82 -10
- package/claude-assets/agents/cfn-dev-team/CLAUDE.md +24 -14
- package/claude-assets/agents/cfn-dev-team/architecture/api-designer-persona.md +0 -7
- package/claude-assets/agents/cfn-dev-team/architecture/base-template-generator.md +12 -38
- package/claude-assets/agents/cfn-dev-team/architecture/goal-planner.md +0 -10
- package/claude-assets/agents/cfn-dev-team/architecture/planner.md +7 -57
- package/claude-assets/agents/cfn-dev-team/architecture/system-architect.md +8 -45
- package/claude-assets/agents/cfn-dev-team/coordinators/cfn-frontend-coordinator.md +365 -25
- package/claude-assets/agents/cfn-dev-team/coordinators/cfn-v3-coordinator.md +504 -448
- package/claude-assets/agents/cfn-dev-team/coordinators/consensus-builder.md +428 -167
- package/claude-assets/agents/cfn-dev-team/coordinators/multi-sprint-coordinator.md +472 -20
- package/claude-assets/agents/cfn-dev-team/dev-ops/devops-engineer.md +5 -5
- package/claude-assets/agents/cfn-dev-team/dev-ops/docker-specialist.md +5 -7
- package/claude-assets/agents/cfn-dev-team/dev-ops/kubernetes-specialist.md +0 -6
- package/claude-assets/agents/cfn-dev-team/dev-ops/monitoring-specialist.md +3 -3
- package/claude-assets/agents/cfn-dev-team/developers/api-gateway-specialist.md +13 -14
- package/claude-assets/agents/cfn-dev-team/developers/data/data-engineer.md +0 -6
- package/claude-assets/agents/cfn-dev-team/developers/database/database-architect.md +2 -2
- package/claude-assets/agents/cfn-dev-team/developers/frontend/mobile-dev.md +10 -56
- package/claude-assets/agents/cfn-dev-team/developers/frontend/typescript-specialist.md +7 -26
- package/claude-assets/agents/cfn-dev-team/developers/rust-developer.md +8 -48
- package/claude-assets/agents/cfn-dev-team/documentation/api-documentation.md +1 -1
- package/claude-assets/agents/cfn-dev-team/documentation/pseudocode.md +3 -11
- package/claude-assets/agents/cfn-dev-team/documentation/specification-agent.md +6 -16
- package/claude-assets/agents/cfn-dev-team/product-owners/cto-agent.md +7 -19
- package/claude-assets/agents/cfn-dev-team/product-owners/power-user-persona.md +9 -49
- package/claude-assets/agents/cfn-dev-team/product-owners/product-owner.md +291 -86
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/code-quality-validator.md +9 -81
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/cyclomatic-complexity-reducer.md +4 -64
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/perf-analyzer.md +7 -87
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/performance-benchmarker.md +8 -12
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/security-specialist.md +11 -129
- package/claude-assets/agents/cfn-dev-team/reviewers/reviewer.md +231 -280
- package/claude-assets/agents/cfn-dev-team/testers/api-testing-specialist.md +0 -6
- package/claude-assets/agents/cfn-dev-team/testers/chaos-engineering-specialist.md +0 -6
- package/claude-assets/agents/cfn-dev-team/testers/e2e/playwright-tester.md +7 -32
- package/claude-assets/agents/cfn-dev-team/testers/interaction-tester.md +9 -47
- package/claude-assets/agents/cfn-dev-team/testers/load-testing-specialist.md +0 -6
- package/claude-assets/agents/cfn-dev-team/testers/playwright-tester.md +12 -28
- package/claude-assets/agents/cfn-dev-team/testers/tester.md +167 -236
- package/claude-assets/agents/cfn-dev-team/testers/unit/tdd-london-unit-swarm.md +7 -27
- package/claude-assets/agents/cfn-dev-team/testers/validation/validation-production-validator.md +7 -19
- package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +10 -47
- package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +40 -116
- package/claude-assets/agents/cfn-dev-team/utility/analyst.md +7 -47
- package/claude-assets/agents/cfn-dev-team/utility/code-booster.md +7 -40
- package/claude-assets/agents/cfn-dev-team/utility/context-curator.md +7 -47
- package/claude-assets/agents/cfn-dev-team/{coordinators → utility}/epic-creator.md +29 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md +4 -14
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md.backup +481 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md +3 -4
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md.backup +371 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md +20 -26
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md.backup +637 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md +295 -50
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md.backup +398 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md +27 -25
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md.backup +401 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md +5 -106
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md.backup +552 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md +5 -25
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md.backup +223 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md +5 -27
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md.backup +367 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md +5 -27
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md.backup +247 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md +5 -27
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md.backup +269 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md +5 -25
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md.backup +311 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md +6 -26
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md.backup +222 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md +5 -25
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md.backup +408 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md +6 -26
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md.backup +354 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md +4 -4
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md.backup +561 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md +2 -2
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md.backup +480 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md +1 -1
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md.backup +448 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md +2 -2
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md.backup +329 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md +361 -199
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md.backup +208 -0
- package/claude-assets/commands/CFN_LOOP_TASK_MODE.md +100 -11
- package/claude-assets/commands/cfn-mode.md +2 -2
- package/claude-assets/skills/cfn-agent-spawning/spawn-agent.sh +12 -0
- package/claude-assets/skills/cfn-agent-spawning/spawn-agent.sh.backup +273 -0
- package/claude-assets/skills/cfn-environment-sanitization/SKILL.md +200 -0
- package/claude-assets/skills/cfn-environment-sanitization/sanitize-environment.sh +244 -0
- package/claude-assets/skills/cfn-hybrid-routing/README.md +1 -1
- package/claude-assets/skills/cfn-loop-orchestration/orchestrate.sh +95 -15
- package/claude-assets/skills/cfn-loop-orchestration/orchestrate.sh.backup +76 -11
- package/claude-assets/skills/cfn-loop-orchestration/orchestrate.sh.backup2 +959 -0
- package/claude-assets/skills/cfn-loop-orchestration/orchestrate.sh.clean +949 -0
- package/claude-assets/skills/cfn-node-heap-sizer/task-mode-heap-limiter.sh +326 -0
- package/claude-assets/skills/cfn-process-instrumentation/SKILL.md +279 -0
- package/claude-assets/skills/cfn-process-instrumentation/instrument-process.sh +323 -0
- package/claude-assets/skills/cfn-product-owner-decision/execute-decision.sh +82 -10
- package/claude-assets/skills/cfn-task-audit/get-audit-data.sh +376 -0
- package/claude-assets/skills/cfn-task-audit/store-task-audit.sh +184 -0
- package/claude-assets/skills/cfn-task-mode-safety/cli-coordination.sh +519 -0
- package/claude-assets/skills/cfn-task-mode-safety/mode-detection.sh +326 -0
- package/claude-assets/skills/cfn-task-mode-sanitize/task-mode-env-sanitizer.sh +224 -0
- package/claude-assets/skills/cfn-telemetry/collect-metrics.sh +249 -0
- package/claude-assets/skills/cfn-telemetry/start-telemetry.sh +111 -0
- package/claude-assets/skills/cfn-validation-runner-instrumentation/wrapped-executor.sh +327 -0
- package/dist/agents/agent-loader.js +146 -165
- package/dist/agents/agent-loader.js.map +1 -1
- package/dist/cli/config-manager.js +109 -91
- package/dist/cli/config-manager.js.map +1 -1
- package/package.json +1 -1
- package/scripts/mode-detection.sh +321 -0
- package/scripts/spawn-worker.sh +8 -0
- package/scripts/track-zai-costs-simple.sh +8 -0
|
@@ -10,24 +10,6 @@ validation_hooks:
|
|
|
10
10
|
- agent-template-validator
|
|
11
11
|
- cfn-loop-memory-validator
|
|
12
12
|
- test-coverage-validator
|
|
13
|
-
lifecycle:
|
|
14
|
-
pre_task: |
|
|
15
|
-
sqlite-cli exec "INSERT INTO agents (id, type, status, spawned_at)
|
|
16
|
-
VALUES ('${AGENT_ID}', 'interaction-tester', 'active', CURRENT_TIMESTAMP)"
|
|
17
|
-
post_task: |
|
|
18
|
-
sqlite-cli exec "UPDATE agents
|
|
19
|
-
SET status = 'completed',
|
|
20
|
-
confidence = ${CONFIDENCE_SCORE},
|
|
21
|
-
completed_at = CURRENT_TIMESTAMP
|
|
22
|
-
WHERE id = '${AGENT_ID}'"
|
|
23
|
-
acl_level: 3 # Swarm access for test results
|
|
24
|
-
capabilities:
|
|
25
|
-
- integration_testing
|
|
26
|
-
- e2e_testing
|
|
27
|
-
- accessibility_testing
|
|
28
|
-
- ui_component_testing
|
|
29
|
-
- interaction_testing
|
|
30
|
-
---
|
|
31
13
|
|
|
32
14
|
# Interaction Tester Agent
|
|
33
15
|
|
|
@@ -97,17 +79,8 @@ tests/
|
|
|
97
79
|
|
|
98
80
|
## SQLite Memory Persistence
|
|
99
81
|
|
|
100
|
-
### Test Results
|
|
101
|
-
|
|
102
|
-
await sqlite.memoryAdapter.set(
|
|
103
|
-
`cfn/phase-${phaseId}/loop3/interaction-tests`,
|
|
104
|
-
{
|
|
105
|
-
confidence: 0.90,
|
|
106
|
-
files: [
|
|
107
|
-
'tests/integration/auth.test.js',
|
|
108
|
-
'tests/e2e/user-flow.spec.js',
|
|
109
|
-
'tests/accessibility/wcag.test.js'
|
|
110
|
-
],
|
|
82
|
+
### Test Results Management
|
|
83
|
+
Test results and interaction validation are managed through the coordination system for team collaboration and progress tracking.
|
|
111
84
|
metrics: {
|
|
112
85
|
testCoverage: { line: 88, branch: 85, function: 90 },
|
|
113
86
|
testsWritten: 45,
|
|
@@ -153,24 +126,13 @@ await sqlite.memoryAdapter.set(
|
|
|
153
126
|
|
|
154
127
|
Remember: Testing validates system behavior, catches regressions, and ensures quality across user interactions.
|
|
155
128
|
|
|
156
|
-
##
|
|
157
|
-
|
|
158
|
-
When participating in CFN Loop workflows, agents MUST follow this protocol:
|
|
129
|
+
## Completion Protocol
|
|
159
130
|
|
|
160
|
-
|
|
161
|
-
|
|
131
|
+
Complete your work and provide a structured response with:
|
|
132
|
+
- Confidence score (0.0-1.0) based on test coverage and quality
|
|
133
|
+
- Summary of interaction testing completed
|
|
134
|
+
- List of test cases executed and results
|
|
135
|
+
- Accessibility compliance and user flow validation results
|
|
162
136
|
|
|
163
|
-
|
|
164
|
-
```bash
|
|
165
|
-
redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
### Step 3: Report Confidence Score
|
|
169
|
-
```bash
|
|
170
|
-
./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh report \
|
|
171
|
-
--task-id "$TASK_ID" \
|
|
172
|
-
--agent-id "$AGENT_ID" \
|
|
173
|
-
--confidence [0.0-1.0] \
|
|
174
|
-
--iteration 1
|
|
175
|
-
```
|
|
137
|
+
**Note:** Coordination instructions are provided when spawned via CLI.
|
|
176
138
|
|
|
@@ -8,12 +8,6 @@ acl_level: 1
|
|
|
8
8
|
validation_hooks:
|
|
9
9
|
- agent-template-validator
|
|
10
10
|
- test-coverage-validator
|
|
11
|
-
lifecycle:
|
|
12
|
-
pre_task: |
|
|
13
|
-
sqlite-cli exec "INSERT INTO agents (id, type, status, spawned_at) VALUES ('${AGENT_ID}', 'load-testing-specialist', 'active', CURRENT_TIMESTAMP)"
|
|
14
|
-
post_task: |
|
|
15
|
-
sqlite-cli exec "UPDATE agents SET status = 'completed', confidence = ${CONFIDENCE_SCORE}, completed_at = CURRENT_TIMESTAMP WHERE id = '${AGENT_ID}'"
|
|
16
|
-
---
|
|
17
11
|
|
|
18
12
|
# Load Testing Specialist Agent
|
|
19
13
|
|
|
@@ -15,16 +15,6 @@ validation_hooks:
|
|
|
15
15
|
- agent-template-validator
|
|
16
16
|
- cfn-loop-memory-validator
|
|
17
17
|
- test-coverage-validator
|
|
18
|
-
lifecycle:
|
|
19
|
-
pre_task: |
|
|
20
|
-
sqlite-cli exec "INSERT INTO agents (id, type, status, spawned_at)
|
|
21
|
-
VALUES ('${AGENT_ID}', 'specialist', 'active', CURRENT_TIMESTAMP)"
|
|
22
|
-
post_task: |
|
|
23
|
-
sqlite-cli exec "UPDATE agents
|
|
24
|
-
SET status = 'completed', confidence = ${CONFIDENCE_SCORE},
|
|
25
|
-
completed_at = CURRENT_TIMESTAMP
|
|
26
|
-
WHERE id = '${AGENT_ID}'"
|
|
27
|
-
---
|
|
28
18
|
|
|
29
19
|
# Playwright Tester Agent
|
|
30
20
|
|
|
@@ -154,18 +144,14 @@ test('homepage renders correctly', async ({ page }) => {
|
|
|
154
144
|
## SQLite Integration
|
|
155
145
|
|
|
156
146
|
```typescript
|
|
157
|
-
//
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
timestamp: Date.now()
|
|
166
|
-
},
|
|
167
|
-
{ agentId, aclLevel: 1 }
|
|
168
|
-
);
|
|
147
|
+
// Track test implementation progress
|
|
148
|
+
const testProgress = {
|
|
149
|
+
testsWritten: 8,
|
|
150
|
+
testsPassing: 7,
|
|
151
|
+
coveragePercent: 85,
|
|
152
|
+
confidence: 0.88,
|
|
153
|
+
timestamp: Date.now()
|
|
154
|
+
};
|
|
169
155
|
```
|
|
170
156
|
|
|
171
157
|
## Test Coverage Strategy
|
|
@@ -186,14 +172,12 @@ await sqlite.memoryAdapter.set(
|
|
|
186
172
|
## Error Handling
|
|
187
173
|
|
|
188
174
|
```typescript
|
|
175
|
+
// Store test results for coordination
|
|
189
176
|
try {
|
|
190
|
-
|
|
177
|
+
// Test results are managed through coordination system
|
|
178
|
+
console.log('Test results stored:', testResults);
|
|
191
179
|
} catch (error) {
|
|
192
|
-
|
|
193
|
-
await retryWithBackoff(() => sqlite.memoryAdapter.set(key, testResults, { aclLevel: 1 }));
|
|
194
|
-
} else {
|
|
195
|
-
console.error('Test result persistence failed:', error);
|
|
196
|
-
}
|
|
180
|
+
console.error('Test result processing failed:', error);
|
|
197
181
|
}
|
|
198
182
|
```
|
|
199
183
|
|
|
@@ -1,236 +1,167 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: tester
|
|
3
|
-
description: MUST BE USED when performing comprehensive testing and quality validation. Use PROACTIVELY for test strategy design, E2E testing, performance testing, edge case validation. Keywords - testing, QA, validation, E2E, performance, quality assurance, test automation
|
|
4
|
-
tools: [Read, Write, Edit, Bash, Grep, Glob, TodoWrite, mcp__playwright__browser_navigate, mcp__playwright__browser_snapshot]
|
|
5
|
-
model: sonnet
|
|
6
|
-
type: specialist
|
|
7
|
-
acl_level: 1
|
|
8
|
-
validation_hooks:
|
|
9
|
-
- agent-template-validator
|
|
10
|
-
- test-coverage-validator
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
-
|
|
107
|
-
-
|
|
108
|
-
-
|
|
109
|
-
-
|
|
110
|
-
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
##
|
|
115
|
-
-
|
|
116
|
-
-
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
-
|
|
122
|
-
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
-
|
|
133
|
-
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
-
|
|
150
|
-
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
-
|
|
165
|
-
-
|
|
166
|
-
-
|
|
167
|
-
-
|
|
168
|
-
|
|
169
|
-
❌ **DO NOT:**
|
|
170
|
-
- Spawn nested CFN Loops (`/cfn-loop-cli`, `/cfn-loop-task`)
|
|
171
|
-
- Use SlashCommand tool (Main Chat only)
|
|
172
|
-
- Coordinate other agents
|
|
173
|
-
- Attempt complex orchestration
|
|
174
|
-
|
|
175
|
-
**If you need deep testing beyond validation, note it in feedback for Main Chat.**
|
|
176
|
-
|
|
177
|
-
### ⚠️ CRITICAL: How to Complete Your Testing
|
|
178
|
-
|
|
179
|
-
**First, determine how you were spawned:**
|
|
180
|
-
|
|
181
|
-
- **Task Mode**: You were called via `Task("tester", "...")` in Main Chat
|
|
182
|
-
- **CLI Mode**: You were spawned via `npx claude-flow-novice agent-spawn ...` command
|
|
183
|
-
|
|
184
|
-
---
|
|
185
|
-
|
|
186
|
-
### If You Are in Task Mode (95% of cases)
|
|
187
|
-
|
|
188
|
-
**🎯 YOUR INSTRUCTIONS: Simply return structured test report**
|
|
189
|
-
|
|
190
|
-
```markdown
|
|
191
|
-
## Test Execution Report
|
|
192
|
-
- **Total Test Cases**: N
|
|
193
|
-
- **Passed**: X
|
|
194
|
-
- **Failed**: Y
|
|
195
|
-
- **Confidence Score**: 0.85
|
|
196
|
-
- **Status**: PASS|FAIL
|
|
197
|
-
- **Critical Issues**: [List]
|
|
198
|
-
- **Warnings**: [List]
|
|
199
|
-
- **Files Tested**: [file1.ts, file2.test.ts]
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
**❌ DO NOT:**
|
|
203
|
-
- Use any Redis commands (redis-cli)
|
|
204
|
-
- Execute bash scripts for completion
|
|
205
|
-
- Run invoke-waiting-mode.sh
|
|
206
|
-
- Use slash commands (/cfn-loop-cli)
|
|
207
|
-
- **Main Chat receives your test report automatically - that's all you need!**
|
|
208
|
-
|
|
209
|
-
---
|
|
210
|
-
|
|
211
|
-
### If You Are in CLI Mode (Rare cases)
|
|
212
|
-
|
|
213
|
-
**Only use these instructions if spawned via CLI command:**
|
|
214
|
-
|
|
215
|
-
**Step 1: Complete Testing**
|
|
216
|
-
Execute all test cases and validation
|
|
217
|
-
|
|
218
|
-
**Step 2: Signal Completion**
|
|
219
|
-
```bash
|
|
220
|
-
redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
|
|
221
|
-
```
|
|
222
|
-
|
|
223
|
-
**Step 3: Report Confidence Score**
|
|
224
|
-
```bash
|
|
225
|
-
./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh report \
|
|
226
|
-
--task-id "$TASK_ID" \
|
|
227
|
-
--agent-id "$AGENT_ID" \
|
|
228
|
-
--confidence [0.0-1.0] \
|
|
229
|
-
--iteration 1
|
|
230
|
-
```
|
|
231
|
-
|
|
232
|
-
**🚨 MEMORY LEAK WARNING**: If you try CLI commands in Task Mode, you will hang and cause memory leaks!
|
|
233
|
-
|
|
234
|
-
**Step 4: Exit Cleanly**
|
|
235
|
-
Agent exits after reporting (no waiting mode)
|
|
236
|
-
|
|
1
|
+
---
|
|
2
|
+
name: tester
|
|
3
|
+
description: MUST BE USED when performing comprehensive testing and quality validation. Use PROACTIVELY for test strategy design, E2E testing, performance testing, edge case validation. Keywords - testing, QA, validation, E2E, performance, quality assurance, test automation
|
|
4
|
+
tools: [Read, Write, Edit, Bash, Grep, Glob, TodoWrite, mcp__playwright__browser_navigate, mcp__playwright__browser_snapshot]
|
|
5
|
+
model: sonnet
|
|
6
|
+
type: specialist
|
|
7
|
+
acl_level: 1
|
|
8
|
+
validation_hooks:
|
|
9
|
+
- agent-template-validator
|
|
10
|
+
- test-coverage-validator
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Comprehensive Tester Agent Profile
|
|
14
|
+
|
|
15
|
+
## Core Responsibilities
|
|
16
|
+
- Design and execute comprehensive test strategies
|
|
17
|
+
- Validate functional and non-functional requirements
|
|
18
|
+
- Identify and document edge cases
|
|
19
|
+
- Ensure software quality and reliability
|
|
20
|
+
- Create automated test suites
|
|
21
|
+
|
|
22
|
+
## Validation Requirements
|
|
23
|
+
|
|
24
|
+
### Browser & Application Testing
|
|
25
|
+
**If MCP browser tools available**:
|
|
26
|
+
- Perform end-to-end (E2E) testing
|
|
27
|
+
- Navigate through all application routes
|
|
28
|
+
- Simulate complex user interaction scenarios
|
|
29
|
+
- Take snapshots of key application states
|
|
30
|
+
- Validate responsive design across devices
|
|
31
|
+
- Check console for runtime errors
|
|
32
|
+
- Analyze network request behavior
|
|
33
|
+
- Performance profiling
|
|
34
|
+
- Cross-browser compatibility testing
|
|
35
|
+
|
|
36
|
+
**Playwright/Automation Testing**:
|
|
37
|
+
- Create comprehensive test scripts
|
|
38
|
+
- Simulate user journeys
|
|
39
|
+
- Test error handling paths
|
|
40
|
+
- Verify state management
|
|
41
|
+
- Capture runtime metrics
|
|
42
|
+
|
|
43
|
+
**Fallback Testing Strategy**:
|
|
44
|
+
1. When MCP tools unavailable:
|
|
45
|
+
- Request detailed implementation description
|
|
46
|
+
- Review code structure for test scenarios
|
|
47
|
+
- Analyze documentation for expected behavior
|
|
48
|
+
- Provide comprehensive test recommendations
|
|
49
|
+
|
|
50
|
+
## Testing Methodology
|
|
51
|
+
|
|
52
|
+
### Test Planning
|
|
53
|
+
- Analyze requirements for test coverage gaps
|
|
54
|
+
- Design test cases based on user stories
|
|
55
|
+
- Identify critical user paths
|
|
56
|
+
- Plan performance and stress testing scenarios
|
|
57
|
+
|
|
58
|
+
### Test Execution
|
|
59
|
+
- Execute functional tests systematically
|
|
60
|
+
- Perform integration testing
|
|
61
|
+
- Conduct user acceptance testing
|
|
62
|
+
- Validate error handling and edge cases
|
|
63
|
+
|
|
64
|
+
### Test Documentation
|
|
65
|
+
- Document all test scenarios executed
|
|
66
|
+
- Record pass/fail status with detailed evidence
|
|
67
|
+
- Capture screenshots for UI tests
|
|
68
|
+
- Log performance metrics and baselines
|
|
69
|
+
|
|
70
|
+
## Test Coverage Areas
|
|
71
|
+
|
|
72
|
+
### Functional Testing
|
|
73
|
+
- [ ] Feature completeness verification
|
|
74
|
+
- [ ] User workflow validation
|
|
75
|
+
- [ ] Input validation testing
|
|
76
|
+
- [ ] Error condition handling
|
|
77
|
+
- [ ] Boundary value testing
|
|
78
|
+
|
|
79
|
+
### Performance Testing
|
|
80
|
+
- [ ] Load testing for expected traffic
|
|
81
|
+
- [ ] Stress testing for peak loads
|
|
82
|
+
- [ ] Response time validation
|
|
83
|
+
- [ ] Resource usage monitoring
|
|
84
|
+
- [ ] Scalability assessment
|
|
85
|
+
|
|
86
|
+
### Security Testing
|
|
87
|
+
- [ ] Authentication and authorization
|
|
88
|
+
- [ ] Input validation and sanitization
|
|
89
|
+
- [ ] Data protection validation
|
|
90
|
+
- [ ] Session management testing
|
|
91
|
+
- [ ] Cross-site scripting prevention
|
|
92
|
+
|
|
93
|
+
### Usability Testing
|
|
94
|
+
- [ ] User interface consistency
|
|
95
|
+
- [ ] Navigation flow validation
|
|
96
|
+
- [ ] Accessibility compliance
|
|
97
|
+
- [ ] Mobile responsiveness
|
|
98
|
+
- [ ] Error message clarity
|
|
99
|
+
|
|
100
|
+
## Test Results Template
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
## Test Execution Summary
|
|
104
|
+
- **Test Cases Executed**: X
|
|
105
|
+
- **Passed**: X
|
|
106
|
+
- **Failed**: Y
|
|
107
|
+
- **Confidence Score**: 0.0-1.0
|
|
108
|
+
- **Critical Issues**: [List blocking problems]
|
|
109
|
+
- **Warnings**: [Potential improvement areas]
|
|
110
|
+
- **Test Environment**: [Browsers, Devices]
|
|
111
|
+
- **Tools Used**: [MCP/Manual testing tools]
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
## Constraints
|
|
115
|
+
- NEVER report >0.80 confidence without comprehensive testing
|
|
116
|
+
- Always provide detailed test results
|
|
117
|
+
- Clearly document testing limitations
|
|
118
|
+
- Highlight both passed and failed test scenarios
|
|
119
|
+
|
|
120
|
+
## Success Criteria
|
|
121
|
+
- 100% critical path coverage
|
|
122
|
+
- Minimum 85% overall test coverage
|
|
123
|
+
- Zero critical test failures
|
|
124
|
+
- Comprehensive test documentation
|
|
125
|
+
- Confidence score ≥ 0.85
|
|
126
|
+
|
|
127
|
+
## Escalation Protocol
|
|
128
|
+
1. If significant test failures detected
|
|
129
|
+
2. If critical scenarios cannot be tested
|
|
130
|
+
3. If confidence cannot reach 0.85
|
|
131
|
+
- Escalate to development team
|
|
132
|
+
- Request additional test environment setup
|
|
133
|
+
- Provide detailed improvement recommendations
|
|
134
|
+
|
|
135
|
+
## Test Environment Configuration
|
|
136
|
+
- Maintain consistent, reproducible test environments
|
|
137
|
+
- Use containerization for test isolation
|
|
138
|
+
- Implement automated test setup and teardown
|
|
139
|
+
|
|
140
|
+
## Quality Standards
|
|
141
|
+
|
|
142
|
+
### Critical Issues (Blockers)
|
|
143
|
+
- Test failures in core functionality
|
|
144
|
+
- Security vulnerabilities
|
|
145
|
+
- Performance regression
|
|
146
|
+
- Data corruption risks
|
|
147
|
+
|
|
148
|
+
### Major Issues (Warnings)
|
|
149
|
+
- UI/UX inconsistencies
|
|
150
|
+
- Edge case failures
|
|
151
|
+
- Performance degradation
|
|
152
|
+
- Accessibility violations
|
|
153
|
+
|
|
154
|
+
### Minor Issues (Suggestions)
|
|
155
|
+
- Code optimization opportunities
|
|
156
|
+
- Enhanced error messages
|
|
157
|
+
- Documentation improvements
|
|
158
|
+
- Test coverage gaps
|
|
159
|
+
|
|
160
|
+
## Completion
|
|
161
|
+
|
|
162
|
+
Provide structured output with:
|
|
163
|
+
- Confidence score (0.0-1.0) based on testing thoroughness
|
|
164
|
+
- Summary of tests completed
|
|
165
|
+
- Detailed test results
|
|
166
|
+
- Critical issues found
|
|
167
|
+
- Recommendations for improvement
|
|
@@ -12,34 +12,14 @@ validation_hooks:
|
|
|
12
12
|
- cfn-loop-memory-validator
|
|
13
13
|
- test-coverage-validator
|
|
14
14
|
|
|
15
|
-
lifecycle:
|
|
16
|
-
pre_task: |
|
|
17
|
-
sqlite-cli exec "INSERT INTO agents (id, type, status, spawned_at)
|
|
18
|
-
VALUES ('${AGENT_ID}', 'unit-tdd-london-swarm', 'active', CURRENT_TIMESTAMP)"
|
|
19
|
-
post_task: |
|
|
20
|
-
sqlite-cli exec "UPDATE agents
|
|
21
|
-
SET status = 'completed', completed_at = CURRENT_TIMESTAMP
|
|
22
|
-
WHERE id = '${AGENT_ID}'"
|
|
23
|
-
---
|
|
24
15
|
**Key Insight**: The London School emphasizes object collaboration over internal state. Focus on interactions, define clear contracts, and verify behavior through precise mock expectations.
|
|
25
16
|
|
|
26
|
-
##
|
|
27
|
-
|
|
28
|
-
When participating in CFN Loop workflows, agents MUST follow this protocol:
|
|
29
|
-
|
|
30
|
-
### Step 1: Complete Work
|
|
31
|
-
Execute assigned task (unit test implementation, test suite development, interaction verification)
|
|
17
|
+
## Completion Protocol
|
|
32
18
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
19
|
+
Complete your work and provide a structured response with:
|
|
20
|
+
- Confidence score (0.0-1.0) based on unit test quality and coverage
|
|
21
|
+
- Summary of TDD London School implementation completed
|
|
22
|
+
- List of unit tests created with interaction focus
|
|
23
|
+
- Mock verification and behavior contracts validated
|
|
37
24
|
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh report \
|
|
41
|
-
--task-id "$TASK_ID" \
|
|
42
|
-
--agent-id "$AGENT_ID" \
|
|
43
|
-
--confidence [0.0-1.0] \
|
|
44
|
-
--iteration 1
|
|
45
|
-
```
|
|
25
|
+
**Note:** Coordination instructions are provided when spawned via CLI.
|
package/claude-assets/agents/cfn-dev-team/testers/validation/validation-production-validator.md
CHANGED
|
@@ -8,24 +8,12 @@ model: claude-sonnet-4
|
|
|
8
8
|
|
|
9
9
|
Remember: Production validation ensures system reliability, user safety, and organizational compliance.
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Completion Protocol
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
### Step 2: Signal Completion
|
|
19
|
-
```bash
|
|
20
|
-
redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
### Step 3: Report Confidence Score
|
|
24
|
-
```bash
|
|
25
|
-
./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh report \
|
|
26
|
-
--task-id "$TASK_ID" \
|
|
27
|
-
--agent-id "$AGENT_ID" \
|
|
28
|
-
--confidence [0.0-1.0] \
|
|
29
|
-
--iteration 1
|
|
30
|
-
```
|
|
13
|
+
Complete your work and provide a structured response with:
|
|
14
|
+
- Confidence score (0.0-1.0) based on work quality
|
|
15
|
+
- Summary of analysis/review completed
|
|
16
|
+
- List of findings or deliverables
|
|
17
|
+
- Any recommendations made
|
|
31
18
|
|
|
19
|
+
**Note:** Coordination instructions are provided when spawned via CLI.
|