claude-flow-novice 2.14.29 → 2.14.31

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 (140) hide show
  1. package/.claude/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md +4 -14
  2. package/.claude/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md.backup +481 -0
  3. package/.claude/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md +3 -4
  4. package/.claude/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md.backup +371 -0
  5. package/.claude/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md +20 -26
  6. package/.claude/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md.backup +637 -0
  7. package/.claude/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md +295 -50
  8. package/.claude/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md.backup +398 -0
  9. package/.claude/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md +27 -25
  10. package/.claude/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md.backup +401 -0
  11. package/.claude/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md +5 -106
  12. package/.claude/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md.backup +552 -0
  13. package/.claude/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md +5 -25
  14. package/.claude/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md.backup +223 -0
  15. package/.claude/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md +5 -27
  16. package/.claude/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md.backup +367 -0
  17. package/.claude/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md +5 -27
  18. package/.claude/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md.backup +247 -0
  19. package/.claude/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md +5 -27
  20. package/.claude/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md.backup +269 -0
  21. package/.claude/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md +5 -25
  22. package/.claude/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md.backup +311 -0
  23. package/.claude/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md +6 -26
  24. package/.claude/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md.backup +222 -0
  25. package/.claude/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md +5 -25
  26. package/.claude/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md.backup +408 -0
  27. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md +6 -26
  28. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md.backup +354 -0
  29. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md +4 -4
  30. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md.backup +561 -0
  31. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md +2 -2
  32. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md.backup +480 -0
  33. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md +1 -1
  34. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md.backup +448 -0
  35. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md +2 -2
  36. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md.backup +329 -0
  37. package/.claude/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md +361 -199
  38. package/.claude/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md.backup +208 -0
  39. package/.claude/commands/CFN_LOOP_TASK_MODE.md +2 -32
  40. package/.claude/commands/cfn-mode.md +2 -2
  41. package/claude-assets/agents/cfn-dev-team/CLAUDE.md +34 -23
  42. package/claude-assets/agents/cfn-dev-team/architecture/api-designer-persona.md +0 -7
  43. package/claude-assets/agents/cfn-dev-team/architecture/base-template-generator.md +7 -14
  44. package/claude-assets/agents/cfn-dev-team/architecture/goal-planner.md +0 -10
  45. package/claude-assets/agents/cfn-dev-team/architecture/planner.md +0 -10
  46. package/claude-assets/agents/cfn-dev-team/architecture/system-architect.md +1 -12
  47. package/claude-assets/agents/cfn-dev-team/coordinators/cfn-frontend-coordinator.md +337 -62
  48. package/claude-assets/agents/cfn-dev-team/coordinators/cfn-v3-coordinator.md +504 -484
  49. package/claude-assets/agents/cfn-dev-team/coordinators/consensus-builder.md +428 -171
  50. package/claude-assets/agents/cfn-dev-team/coordinators/multi-sprint-coordinator.md +454 -66
  51. package/claude-assets/agents/cfn-dev-team/dev-ops/devops-engineer.md +12 -17
  52. package/claude-assets/agents/cfn-dev-team/dev-ops/docker-specialist.md +15 -12
  53. package/claude-assets/agents/cfn-dev-team/dev-ops/github-commit-agent.md +11 -10
  54. package/claude-assets/agents/cfn-dev-team/dev-ops/kubernetes-specialist.md +0 -6
  55. package/claude-assets/agents/cfn-dev-team/dev-ops/monitoring-specialist.md +13 -8
  56. package/claude-assets/agents/cfn-dev-team/developers/api-gateway-specialist.md +15 -19
  57. package/claude-assets/agents/cfn-dev-team/developers/backend-developer.md +11 -6
  58. package/claude-assets/agents/cfn-dev-team/developers/data/data-engineer.md +0 -6
  59. package/claude-assets/agents/cfn-dev-team/developers/database/database-architect.md +4 -7
  60. package/claude-assets/agents/cfn-dev-team/developers/frontend/mobile-dev.md +6 -29
  61. package/claude-assets/agents/cfn-dev-team/developers/frontend/react-frontend-engineer.md +11 -6
  62. package/claude-assets/agents/cfn-dev-team/developers/frontend/typescript-specialist.md +1 -1
  63. package/claude-assets/agents/cfn-dev-team/developers/frontend/ui-designer.md +9 -23
  64. package/claude-assets/agents/cfn-dev-team/developers/graphql-specialist.md +10 -5
  65. package/claude-assets/agents/cfn-dev-team/developers/rust-developer.md +4 -11
  66. package/claude-assets/agents/cfn-dev-team/documentation/api-documentation.md +1 -1
  67. package/claude-assets/agents/cfn-dev-team/documentation/pseudocode.md +5 -20
  68. package/claude-assets/agents/cfn-dev-team/documentation/specification-agent.md +6 -16
  69. package/claude-assets/agents/cfn-dev-team/product-owners/accessibility-advocate-persona.md +11 -6
  70. package/claude-assets/agents/cfn-dev-team/product-owners/cto-agent.md +0 -5
  71. package/claude-assets/agents/cfn-dev-team/product-owners/power-user-persona.md +0 -3
  72. package/claude-assets/agents/cfn-dev-team/product-owners/product-owner.md +56 -242
  73. package/claude-assets/agents/cfn-dev-team/reviewers/quality/code-quality-validator.md +2 -15
  74. package/claude-assets/agents/cfn-dev-team/reviewers/quality/cyclomatic-complexity-reducer.md +4 -64
  75. package/claude-assets/agents/cfn-dev-team/reviewers/quality/perf-analyzer.md +0 -11
  76. package/claude-assets/agents/cfn-dev-team/reviewers/quality/performance-benchmarker.md +0 -10
  77. package/claude-assets/agents/cfn-dev-team/reviewers/quality/security-specialist.md +4 -63
  78. package/claude-assets/agents/cfn-dev-team/reviewers/reviewer.md +231 -209
  79. package/claude-assets/agents/cfn-dev-team/testers/api-testing-specialist.md +0 -6
  80. package/claude-assets/agents/cfn-dev-team/testers/chaos-engineering-specialist.md +0 -6
  81. package/claude-assets/agents/cfn-dev-team/testers/e2e/playwright-tester.md +0 -14
  82. package/claude-assets/agents/cfn-dev-team/testers/interaction-tester.md +2 -29
  83. package/claude-assets/agents/cfn-dev-team/testers/load-testing-specialist.md +0 -6
  84. package/claude-assets/agents/cfn-dev-team/testers/playwright-tester.md +12 -28
  85. package/claude-assets/agents/cfn-dev-team/testers/tester.md +167 -166
  86. package/claude-assets/agents/cfn-dev-team/testers/unit/tdd-london-unit-swarm.md +0 -9
  87. package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +3 -3
  88. package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +5 -5
  89. package/claude-assets/agents/cfn-dev-team/utility/analyst.md +0 -7
  90. package/claude-assets/agents/cfn-dev-team/utility/code-booster.md +1 -38
  91. package/claude-assets/agents/cfn-dev-team/{coordinators → utility}/epic-creator.md +18 -58
  92. package/claude-assets/agents/cfn-dev-team/utility/memory-leak-specialist.md +10 -5
  93. package/claude-assets/agents/cfn-dev-team/utility/researcher.md +8 -34
  94. package/claude-assets/agents/cfn-dev-team/utility/z-ai-specialist.md +10 -5
  95. package/claude-assets/agents/project-only-agents/npm-package-specialist.md +9 -26
  96. package/claude-assets/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md +4 -14
  97. package/claude-assets/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md.backup +481 -0
  98. package/claude-assets/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md +3 -4
  99. package/claude-assets/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md.backup +371 -0
  100. package/claude-assets/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md +20 -26
  101. package/claude-assets/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md.backup +637 -0
  102. package/claude-assets/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md +295 -50
  103. package/claude-assets/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md.backup +398 -0
  104. package/claude-assets/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md +27 -25
  105. package/claude-assets/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md.backup +401 -0
  106. package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md +5 -106
  107. package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md.backup +552 -0
  108. package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md +5 -25
  109. package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md.backup +223 -0
  110. package/claude-assets/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md +5 -27
  111. package/claude-assets/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md.backup +367 -0
  112. package/claude-assets/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md +5 -27
  113. package/claude-assets/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md.backup +247 -0
  114. package/claude-assets/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md +5 -27
  115. package/claude-assets/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md.backup +269 -0
  116. package/claude-assets/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md +5 -25
  117. package/claude-assets/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md.backup +311 -0
  118. package/claude-assets/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md +6 -26
  119. package/claude-assets/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md.backup +222 -0
  120. package/claude-assets/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md +5 -25
  121. package/claude-assets/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md.backup +408 -0
  122. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md +6 -26
  123. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md.backup +354 -0
  124. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md +4 -4
  125. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md.backup +561 -0
  126. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md +2 -2
  127. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md.backup +480 -0
  128. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md +1 -1
  129. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md.backup +448 -0
  130. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md +2 -2
  131. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md.backup +329 -0
  132. package/claude-assets/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md +361 -199
  133. package/claude-assets/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md.backup +208 -0
  134. package/claude-assets/commands/CFN_LOOP_TASK_MODE.md +2 -32
  135. package/claude-assets/commands/cfn-mode.md +2 -2
  136. package/claude-assets/skills/agent-lifecycle/SKILL.md +60 -0
  137. package/claude-assets/skills/agent-lifecycle/execute-lifecycle-hook.sh +573 -0
  138. package/claude-assets/skills/agent-lifecycle/simple-audit.sh +31 -0
  139. package/package.json +1 -1
  140. package/readme/README.md +71 -14
@@ -9,15 +9,6 @@ acl_level: 1
9
9
  validation_hooks:
10
10
  - agent-template-validator
11
11
  - cfn-loop-memory-validator
12
- lifecycle:
13
- pre_task: |
14
- sqlite-cli exec "INSERT INTO agents (id, type, status, spawned_at)
15
- VALUES ('${AGENT_ID}', 'github-commit-agent', 'active', CURRENT_TIMESTAMP)"
16
- post_task: |
17
- sqlite-cli exec "UPDATE agents
18
- SET status = 'completed', confidence = ${CONFIDENCE_SCORE},
19
- completed_at = CURRENT_TIMESTAMP
20
- WHERE id = '${AGENT_ID}'"
21
12
  ---
22
13
 
23
14
  # GitHub Commit Agent
@@ -111,4 +102,14 @@ Co-Authored-By: Claude <noreply@anthropic.com>
111
102
  "secretsDetected": false
112
103
  }
113
104
  }
114
- ```
105
+ ```
106
+
107
+ ## Completion Protocol
108
+
109
+ Complete your work and provide a structured response with:
110
+ - Confidence score (0.0-1.0) based on work quality
111
+ - Summary of analysis/review completed
112
+ - List of findings or deliverables
113
+ - Any recommendations made
114
+
115
+ **Note:** Coordination instructions are provided when spawned via CLI.
@@ -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}', 'kubernetes-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
  # Kubernetes Specialist Agent
19
13
 
@@ -16,11 +16,6 @@ acl_level: 1
16
16
  validation_hooks:
17
17
  - agent-template-validator
18
18
  - test-coverage-validator
19
- lifecycle:
20
- pre_task: |
21
- sqlite-cli exec "INSERT INTO agents (id, type, status, spawned_at) VALUES ('${AGENT_ID}', 'monitoring-specialist', 'active', CURRENT_TIMESTAMP)"
22
- post_task: |
23
- sqlite-cli exec "UPDATE agents SET status = 'completed', confidence = ${CONFIDENCE_SCORE}, completed_at = CURRENT_TIMESTAMP WHERE id = '${AGENT_ID}'"
24
19
  ---
25
20
 
26
21
  # Monitoring Specialist Agent
@@ -109,10 +104,10 @@ scrape_configs:
109
104
  static_configs:
110
105
  - targets: ['postgres-exporter:9187']
111
106
 
112
- # Redis metrics
113
- - job_name: 'redis'
107
+ # Cache metrics
108
+ - job_name: 'memcached'
114
109
  static_configs:
115
- - targets: ['redis-exporter:9121']
110
+ - targets: ['memcached-exporter:9150']
116
111
 
117
112
  # Blackbox monitoring (external endpoints)
118
113
  - job_name: 'blackbox'
@@ -728,6 +723,16 @@ Before reporting high confidence:
728
723
  - SLO tracking accurate within 0.1%
729
724
  - Confidence score ≥ 0.90
730
725
 
726
+ ## Completion Protocol
727
+
728
+ Complete your work and provide a structured response with:
729
+ - Confidence score (0.0-1.0) based on work quality
730
+ - Summary of analysis/review completed
731
+ - List of findings or deliverables
732
+ - Any recommendations made
733
+
734
+ **Note:** Coordination instructions are provided when spawned via CLI.
735
+
731
736
  ## Skill References
732
737
  → **Prometheus Setup**: `.claude/skills/prometheus-monitoring/SKILL.md`
733
738
  → **Grafana Dashboards**: `.claude/skills/grafana-dashboard-creation/SKILL.md`
@@ -17,11 +17,8 @@ acl_level: 1
17
17
  validation_hooks:
18
18
  - agent-template-validator
19
19
  - test-coverage-validator
20
- lifecycle:
21
- pre_task: |
22
- sqlite-cli exec "INSERT INTO agents (id, type, status, spawned_at) VALUES ('${AGENT_ID}', 'api-gateway-specialist', 'active', CURRENT_TIMESTAMP)"
23
- post_task: |
24
- sqlite-cli exec "UPDATE agents SET status = 'completed', confidence = ${CONFIDENCE_SCORE}, completed_at = CURRENT_TIMESTAMP WHERE id = '${AGENT_ID}'"
20
+ completion_protocol: |
21
+ Complete your work and provide a structured response with confidence score.
25
22
  ---
26
23
 
27
24
  # API Gateway Specialist Agent
@@ -754,12 +751,10 @@ http {
754
751
  ```javascript
755
752
  // jwt-auth.js
756
753
  const jwt = require('jsonwebtoken');
757
- const redis = require('redis');
758
754
 
759
- const redisClient = redis.createClient({
760
- host: process.env.REDIS_HOST,
761
- port: process.env.REDIS_PORT
762
- });
755
+ // In-memory token store (for production, use database or proper cache)
756
+ const tokenStore = new Map();
757
+ const blacklistedTokens = new Set();
763
758
 
764
759
  const JWT_SECRET = process.env.JWT_SECRET;
765
760
  const JWT_EXPIRES_IN = '1h';
@@ -779,8 +774,9 @@ function generateTokens(userId, payload = {}) {
779
774
  { expiresIn: REFRESH_TOKEN_EXPIRES_IN, issuer: 'api.example.com' }
780
775
  );
781
776
 
782
- // Store refresh token in Redis
783
- redisClient.setex(`refresh:${userId}`, 7 * 24 * 60 * 60, refreshToken);
777
+ // Store refresh token in memory store
778
+ const expiryTime = Date.now() + (7 * 24 * 60 * 60 * 1000); // 7 days
779
+ tokenStore.set(`refresh:${userId}`, { token: refreshToken, expires: expiryTime });
784
780
 
785
781
  return { accessToken, refreshToken };
786
782
  }
@@ -801,8 +797,7 @@ async function verifyToken(req, res, next) {
801
797
  });
802
798
 
803
799
  // Check if token is blacklisted
804
- const blacklisted = await redisClient.get(`blacklist:${token}`);
805
- if (blacklisted) {
800
+ if (blacklistedTokens.has(token)) {
806
801
  return res.status(401).json({ error: 'Token revoked' });
807
802
  }
808
803
 
@@ -827,10 +822,10 @@ async function refreshAccessToken(req, res) {
827
822
  return res.status(401).json({ error: 'Invalid refresh token' });
828
823
  }
829
824
 
830
- // Check Redis for valid refresh token
831
- const storedToken = await redisClient.get(`refresh:${decoded.userId}`);
832
- if (storedToken !== refreshToken) {
833
- return res.status(401).json({ error: 'Refresh token not found' });
825
+ // Check store for valid refresh token
826
+ const storedData = tokenStore.get(`refresh:${decoded.userId}`);
827
+ if (!storedData || storedData.token !== refreshToken || Date.now() > storedData.expires) {
828
+ return res.status(401).json({ error: 'Refresh token not found or expired' });
834
829
  }
835
830
 
836
831
  // Generate new tokens
@@ -850,7 +845,8 @@ async function revokeToken(req, res) {
850
845
  const ttl = decoded.exp - Math.floor(Date.now() / 1000);
851
846
 
852
847
  // Blacklist token until expiration
853
- await redisClient.setex(`blacklist:${token}`, ttl, '1');
848
+ blacklistedTokens.add(token);
849
+ setTimeout(() => blacklistedTokens.delete(token), ttl * 1000);
854
850
 
855
851
  res.json({ message: 'Token revoked' });
856
852
  }
@@ -8,11 +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}', 'backend-developer', '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
11
  ---
17
12
 
18
13
  # Backend Developer Agent
@@ -91,4 +86,14 @@ After creating or modifying API endpoints, you MUST perform functional testing:
91
86
  - Implement caching strategies
92
87
  - Use connection pooling
93
88
  - Profile and optimize slow queries
94
- - Minimize N+1 query patterns
89
+ - Minimize N+1 query patterns
90
+
91
+ ## Completion Protocol
92
+
93
+ Complete your work and provide a structured response with:
94
+ - Confidence score (0.0-1.0) based on work quality
95
+ - Summary of analysis/review completed
96
+ - List of findings or deliverables
97
+ - Any recommendations made
98
+
99
+ **Note:** Coordination instructions are provided when spawned via CLI.
@@ -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}', 'data-engineer', '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
  # Data Engineer Agent
19
13
 
@@ -8,11 +8,8 @@ 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}', 'database-architect', '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}'"
11
+ completion_protocol: |
12
+ Complete your work and provide a structured response with confidence score.
16
13
  ---
17
14
 
18
15
  # Database Architect Agent
@@ -34,7 +31,7 @@ lifecycle:
34
31
 
35
32
  ### NoSQL Databases
36
33
  - **MongoDB**: Document modeling, aggregation pipelines, sharding
37
- - **Redis**: Data structures, caching strategies, pub/sub
34
+ - **Memcached**: Simple key-value caching strategies for application use
38
35
  - **Cassandra**: Wide-column modeling, partition keys
39
36
  - **DynamoDB**: Single-table design, GSI/LSI strategies
40
37
 
@@ -195,7 +192,7 @@ WHERE id = 123 AND version = 5;
195
192
 
196
193
  ### Caching Strategy
197
194
  ```
198
- Application → Redis Cache → Database
195
+ Application → Cache Layer → Database
199
196
  ↓ (cache miss)
200
197
  Database → Populate Cache
201
198
  ```
@@ -13,39 +13,16 @@ capabilities:
13
13
  - android-development
14
14
  - cross-platform
15
15
  - native-modules
16
- coordination_role: implementer
16
+ role: implementer
17
17
  mode_support: [mvp, standard, enterprise]
18
18
  validation_hooks:
19
19
  - agent-template-validator
20
20
  - cfn-loop-memory-validator
21
21
  - test-coverage-validator
22
22
  acl_level: 1 # Private - implementer level
23
- lifecycle:
24
- pre_task: |
25
- sqlite-cli exec "INSERT INTO agents (id, type, status, spawned_at, coordination_role, mode, platform_focus)
26
- VALUES ('${AGENT_ID}', 'mobile-dev', 'active', CURRENT_TIMESTAMP, 'implementer', '${MODE:-standard}', '${PLATFORM:-cross_platform}')"
27
-
28
- # Initialize mobile development context
29
- sqlite-cli exec "INSERT INTO mobile_development_context (agent_id, task_id, mode, platform, created_at)
30
- VALUES ('${AGENT_ID}', '${TASK_ID}', '${MODE:-standard}', '${PLATFORM:-cross_platform}', CURRENT_TIMESTAMP)"
31
-
32
- post_task: |
33
- # Update agent status with comprehensive mobile metrics
34
- sqlite-cli exec "UPDATE agents
35
- SET status = 'completed', confidence = ${CONFIDENCE_SCORE},
36
- completed_at = CURRENT_TIMESTAMP, mode = '${MODE:-standard}'
37
- WHERE id = '${AGENT_ID}'"
38
-
39
- # Store comprehensive mobile development results
40
- sqlite-cli exec "INSERT INTO mobile_development_results (agent_id, task_id, mode, platform, confidence, screens_implemented, components_created, native_modules_integrated, performance_score, accessibility_score, timestamp)
41
- VALUES ('${AGENT_ID}', '${TASK_ID}', '${MODE:-standard}', '${PLATFORM:-cross_platform}', ${CONFIDENCE_SCORE}, ${SCREENS_COUNT}, ${COMPONENTS_COUNT}, ${NATIVE_MODULES_COUNT}, ${PERFORMANCE_SCORE}, ${ACCESSIBILITY_SCORE}, CURRENT_TIMESTAMP)"
42
-
43
- # Templates referenced from global Claude Flow repository
44
- templates:
45
- - redis-coordination: .claude/templates/redis-coordination.md
46
- - memory-operations: .claude/templates/memory-operations.md
47
- - post-edit-validation: .claude/templates/post-edit-validation.md
48
- - test-coverage: .claude/templates/test-coverage.md
23
+ completion_protocol: |
24
+ Complete your work and provide a structured response with confidence score.
25
+
49
26
  ---
50
27
 
51
28
  # React Native Mobile Development Specialist
@@ -165,7 +142,7 @@ Key performance indicators:
165
142
  - Native module integration success
166
143
  - Cross-platform consistency
167
144
 
168
- Remember: Mobile development requires constant testing on actual devices and consideration of platform-specific patterns. Deliver high-quality, performant mobile applications while maintaining seamless coordination.
145
+ Remember: Mobile development requires constant testing on actual devices and consideration of platform-specific patterns. Deliver high-quality, performant mobile applications.
169
146
 
170
147
  ## Completion Protocol
171
148
 
@@ -175,4 +152,4 @@ Complete your work and provide a structured response with:
175
152
  - List of findings or deliverables
176
153
  - Any recommendations made
177
154
 
178
- **Note:** Coordination instructions are provided when spawned via CLI.
155
+ **Note:** Complete your work and provide a structured response with your confidence score and deliverables.
@@ -8,11 +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}', 'react-frontend-engineer', '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
11
  ---
17
12
 
18
13
  # React Frontend Engineer Agent Profile
@@ -163,4 +158,14 @@ lifecycle:
163
158
  - Add internationalization (i18n)
164
159
  - Create storybook documentation
165
160
  - Implement micro-interactions
166
- - Progressive enhancement techniques
161
+ - Progressive enhancement techniques
162
+
163
+ ## Completion Protocol
164
+
165
+ Complete your work and provide a structured response with:
166
+ - Confidence score (0.0-1.0) based on work quality
167
+ - Summary of analysis/review completed
168
+ - List of findings or deliverables
169
+ - Any recommendations made
170
+
171
+ **Note:** Coordination instructions are provided when spawned via CLI.
@@ -301,4 +301,4 @@ Complete your work and provide a structured response with:
301
301
  - List of findings or deliverables
302
302
  - Any recommendations made
303
303
 
304
- **Note:** Coordination instructions are provided when spawned via CLI.
304
+ **Note:** Complete your work and provide a structured response with your confidence score and deliverables.
@@ -10,15 +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}', 'ui-designer', 'active', CURRENT_TIMESTAMP)"
17
- post_task: |
18
- sqlite-cli exec "UPDATE agents
19
- SET status = 'completed', confidence = ${CONFIDENCE_SCORE},
20
- completed_at = CURRENT_TIMESTAMP
21
- WHERE id = '${AGENT_ID}'"
22
13
  ---
23
14
 
24
15
  # UI Designer Agent
@@ -53,20 +44,15 @@ npx claude-flow@alpha hooks post-edit [FILE_PATH] --memory-key "ui-designer/cont
53
44
  - Touch-friendly interfaces
54
45
  - Performance-aware design
55
46
 
56
- ## SQLite Integration
57
-
58
- ```javascript
59
- // Persist design system details
60
- await sqlite.memoryAdapter.set(
61
- `ui-designer/${agentId}/design-system/${projectName}`,
62
- {
63
- colorPalette: colorTokens,
64
- typography: typographyScale,
65
- accessibilityScore: 0.92
66
- },
67
- { aclLevel: 1, ttl: 2592000 } // 30 days retention
68
- );
69
- ```
47
+ ## Completion Protocol
48
+
49
+ Complete your work and provide a structured response with:
50
+ - Confidence score (0.0-1.0) based on work quality
51
+ - Summary of analysis/review completed
52
+ - List of findings or deliverables
53
+ - Any recommendations made
54
+
55
+ **Note:** Coordination instructions are provided when spawned via CLI.
70
56
 
71
57
  ## Technology Stack
72
58
 
@@ -8,11 +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}', 'graphql-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
11
  ---
17
12
 
18
13
  # GraphQL Specialist Agent
@@ -609,3 +604,13 @@ describe('User resolvers', () => {
609
604
  - Verifying DataLoader batching effectiveness
610
605
  - Testing federation if using Apollo Federation
611
606
  - Security review of authorization logic
607
+
608
+ ## Completion Protocol
609
+
610
+ Complete your work and provide a structured response with:
611
+ - Confidence score (0.0-1.0) based on work quality
612
+ - Summary of analysis/review completed
613
+ - List of findings or deliverables
614
+ - Any recommendations made
615
+
616
+ **Note:** Coordination instructions are provided when spawned via CLI.
@@ -13,17 +13,10 @@ validation_hooks:
13
13
  - agent-template-validator
14
14
  - cfn-loop-memory-validator
15
15
  - test-coverage-validator
16
- lifecycle:
17
- pre_task: |
18
- sqlite-cli exec "INSERT INTO agents (id, type, status, spawned_at)
19
- VALUES ('${AGENT_ID}', 'rust-developer', 'active', CURRENT_TIMESTAMP)"
20
- post_task: |
21
- sqlite-cli exec "UPDATE agents
22
- SET status = 'completed', confidence = ${CONFIDENCE_SCORE},
23
- completed_at = CURRENT_TIMESTAMP
24
- WHERE id = '${AGENT_ID}'"
16
+ completion_protocol: |
17
+ Complete your work and provide a structured response with confidence score.
25
18
  acl_level: 1
26
- coordination_role: implementer
19
+ role: implementer
27
20
  mode_support: [mvp, standard, enterprise]
28
21
  ---
29
22
  # Rust Developer Agent
@@ -128,4 +121,4 @@ Complete your work and provide a structured response with:
128
121
  - List of findings or deliverables
129
122
  - Any recommendations made
130
123
 
131
- **Note:** Coordination instructions are provided when spawned via CLI.
124
+ **Note:** Complete your work and provide a structured response with your confidence score and deliverables.
@@ -72,7 +72,7 @@ You are a technical documentation expert focused on creating comprehensive, user
72
72
  ## Coordination Patterns
73
73
 
74
74
  ### Documentation Updates
75
- - Real-time Redis coordination
75
+ - Automated documentation synchronization
76
76
  - Semantic versioning tracking
77
77
  - Automated changelog generation
78
78
  - Review and approval workflows
@@ -17,15 +17,8 @@ validation_hooks:
17
17
  - agent-template-validator
18
18
  - cfn-loop-memory-validator
19
19
  - test-coverage-validator
20
- lifecycle:
21
- pre_task: |
22
- sqlite-cli exec "INSERT INTO agents (id, type, status, spawned_at)
23
- VALUES ('${AGENT_ID}', 'pseudocode', 'active', CURRENT_TIMESTAMP)"
24
- post_task: |
25
- sqlite-cli exec "UPDATE agents
26
- SET status = 'completed', confidence = ${CONFIDENCE_SCORE},
27
- completed_at = CURRENT_TIMESTAMP
28
- WHERE id = '${AGENT_ID}'"
20
+ completion_protocol: |
21
+ Complete your work and provide a structured response with confidence score.
29
22
  acl_level: 1
30
23
  ---
31
24
 
@@ -42,19 +35,11 @@ acl_level: 1
42
35
  - Formatting Validation
43
36
  - Test Coverage Verification
44
37
  - Quality Recommendations
45
- - Cross-Agent Memory Coordination
38
+ - Algorithm Documentation
46
39
 
47
- ## SQLite & Redis Integration
40
+ ## Documentation Approach
48
41
 
49
- See: `.claude/templates/sqlite-integration.md`
50
-
51
- ### Memory Persistence Example
52
- ```typescript
53
- await sqlite.memoryAdapter.set(
54
- `agent/${agentId}/pseudocode/${taskId}`,
55
- {
56
- confidence: 0.85,
57
- algorithms: ['auth-algorithm.txt', 'rate-limit-algorithm.txt'],
42
+ Focus on clear, executable algorithm documentation that can be implemented across different programming languages.
58
43
  reasoning: "Algorithms designed, complexity analyzed"
59
44
  },
60
45
  { agentId, aclLevel: 1 }
@@ -24,11 +24,7 @@ threshold_targets:
24
24
 
25
25
  # SPARC Specification Agent
26
26
 
27
- Common templates:
28
- - `.claude/templates/redis-coordination.md`
29
- - `.claude/templates/memory-operations.md`
30
- - `.claude/templates/post-edit-validation.md`
31
- - `.claude/templates/cfn-loop-mechanics.md`
27
+ **This agent focuses on requirements specification and analysis without coordination dependencies.**
32
28
 
33
29
  ## Team Role Awareness
34
30
 
@@ -112,8 +108,7 @@ threshold_targets:
112
108
  ## Collaboration and Coordination
113
109
 
114
110
  ### Cross-Agent Communication
115
- - Share requirements via SQLite (ACL Level 3)
116
- - Publish specification events via Redis
111
+ - Share requirements through structured documentation
117
112
  - Coordinate with:
118
113
  - Analyst agents (requirements refinement)
119
114
  - Technical architect (feasibility validation)
@@ -140,15 +135,10 @@ threshold_targets:
140
135
  - Confidence score tracking
141
136
  - Fallback mechanisms for requirement validation
142
137
 
143
- ## Template Inheritance and Extensibility
138
+ ## Unique Capabilities
144
139
 
145
- This specification agent inherits from:
146
- - Redis coordination template
147
- - SQLite memory operations
148
- - Post-edit validation hooks
149
- - CFN Loop mechanics
150
-
151
- **Unique Extensions:**
140
+ **Specialized Features:**
152
141
  - SPARC-specific requirement gathering techniques
153
142
  - Stakeholder analysis methodology
154
- - Mode-adaptive specification development
143
+ - Structured specification development
144
+ - Evidence-based requirement validation
@@ -9,11 +9,6 @@ acl_level: 3
9
9
  validation_hooks:
10
10
  - agent-template-validator
11
11
  - cfn-loop-memory-validator
12
- lifecycle:
13
- pre_task: |
14
- sqlite-cli exec "INSERT INTO agents (id, type, status, spawned_at) VALUES ('${AGENT_ID}', 'accessibility-advocate-persona', 'active', CURRENT_TIMESTAMP)"
15
- post_task: |
16
- sqlite-cli exec "UPDATE agents SET status = 'completed', confidence = ${CONFIDENCE_SCORE}, completed_at = CURRENT_TIMESTAMP WHERE id = '${AGENT_ID}'"
17
12
  ---
18
13
 
19
14
  # Accessibility Advocate Agent
@@ -103,4 +98,14 @@ confidence = (
103
98
  "Enhance keyboard navigation"
104
99
  ]
105
100
  }
106
- ```
101
+ ```
102
+
103
+ ## Completion Protocol
104
+
105
+ Complete your work and provide a structured response with:
106
+ - Confidence score (0.0-1.0) based on work quality
107
+ - Summary of analysis/review completed
108
+ - List of findings or deliverables
109
+ - Any recommendations made
110
+
111
+ **Note:** Coordination instructions are provided when spawned via CLI.
@@ -15,11 +15,6 @@ acl_level: 4
15
15
  validation_hooks:
16
16
  - agent-template-validator
17
17
  - cfn-loop-memory-validator
18
- lifecycle:
19
- pre_task: |
20
- sqlite-cli exec "INSERT INTO agents (id, type, status, spawned_at) VALUES ('${AGENT_ID}', 'cto-agent', 'active', CURRENT_TIMESTAMP)"
21
- post_task: |
22
- sqlite-cli exec "UPDATE agents SET status = 'completed', confidence = ${CONFIDENCE_SCORE}, completed_at = CURRENT_TIMESTAMP WHERE id = '${AGENT_ID}'"
23
18
  ---
24
19
 
25
20
  # CTO Agent - Dr. Tech
@@ -9,9 +9,6 @@ acl_level: 3
9
9
  validation_hooks:
10
10
  - agent-template-validator
11
11
  - cfn-loop-memory-validator
12
- lifecycle:
13
- pre_task: "sqlite-cli exec 'INSERT INTO agents (id, type, status, spawned_at) VALUES ('${AGENT_ID}', 'power-user-persona', 'active', CURRENT_TIMESTAMP)'"
14
- post_task: "sqlite-cli exec 'UPDATE agents SET status = 'completed', confidence = ${CONFIDENCE_SCORE}, completed_at = CURRENT_TIMESTAMP WHERE id = '${AGENT_ID}''"
15
12
  ---
16
13
 
17
14
  # Power User Persona - Alex Pro