agentic-qe 1.9.1 → 1.9.2

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 (47) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +17 -1
  3. package/dist/core/memory/SwarmMemoryManager.d.ts.map +1 -1
  4. package/dist/core/memory/SwarmMemoryManager.js +45 -5
  5. package/dist/core/memory/SwarmMemoryManager.js.map +1 -1
  6. package/dist/mcp/handlers/memory/memory-store.d.ts +6 -2
  7. package/dist/mcp/handlers/memory/memory-store.d.ts.map +1 -1
  8. package/dist/mcp/handlers/memory/memory-store.js +26 -4
  9. package/dist/mcp/handlers/memory/memory-store.js.map +1 -1
  10. package/dist/mcp/server.d.ts.map +1 -1
  11. package/dist/mcp/server.js +2 -1
  12. package/dist/mcp/server.js.map +1 -1
  13. package/package.json +1 -1
  14. package/.claude/commands/github/code-review-swarm.md +0 -514
  15. package/.claude/commands/github/github-modes.md +0 -147
  16. package/.claude/commands/github/issue-tracker.md +0 -292
  17. package/.claude/commands/github/multi-repo-swarm.md +0 -519
  18. package/.claude/commands/github/pr-manager.md +0 -170
  19. package/.claude/commands/github/project-board-sync.md +0 -471
  20. package/.claude/commands/github/release-manager.md +0 -338
  21. package/.claude/commands/github/release-swarm.md +0 -544
  22. package/.claude/commands/github/repo-architect.md +0 -367
  23. package/.claude/commands/github/swarm-issue.md +0 -482
  24. package/.claude/commands/github/swarm-pr.md +0 -285
  25. package/.claude/commands/github/sync-coordinator.md +0 -301
  26. package/.claude/commands/github/workflow-automation.md +0 -442
  27. package/.claude/commands/hooks/overview.md +0 -132
  28. package/.claude/commands/pair/commands.md +0 -546
  29. package/.claude/commands/pair/config.md +0 -510
  30. package/.claude/commands/pair/examples.md +0 -512
  31. package/.claude/commands/pair/modes.md +0 -348
  32. package/.claude/commands/pair/session.md +0 -407
  33. package/.claude/commands/pair/start.md +0 -209
  34. package/.claude/commands/sparc/orchestrator.md +0 -132
  35. package/.claude/commands/sparc/sparc-modes.md +0 -174
  36. package/.claude/commands/stream-chain/pipeline.md +0 -121
  37. package/.claude/commands/stream-chain/run.md +0 -70
  38. package/.claude/commands/swarm/analysis.md +0 -95
  39. package/.claude/commands/swarm/development.md +0 -96
  40. package/.claude/commands/swarm/examples.md +0 -168
  41. package/.claude/commands/swarm/maintenance.md +0 -102
  42. package/.claude/commands/swarm/optimization.md +0 -117
  43. package/.claude/commands/swarm/research.md +0 -136
  44. package/.claude/commands/swarm/testing.md +0 -131
  45. package/.claude/commands/truth/start.md +0 -143
  46. package/.claude/commands/verify/check.md +0 -50
  47. package/.claude/commands/verify/start.md +0 -128
@@ -1,143 +0,0 @@
1
- # 📊 Truth Command
2
-
3
- View truth scores and reliability metrics for your codebase and agent tasks.
4
-
5
- ## Overview
6
-
7
- The `truth` command provides comprehensive insights into code quality, agent performance, and verification metrics.
8
-
9
- ## Usage
10
-
11
- ```bash
12
- claude-flow truth [options]
13
- ```
14
-
15
- ## Options
16
-
17
- - `--format <type>` - Output format: table (default), json, csv, html
18
- - `--period <time>` - Time period: 1h, 24h, 7d, 30d
19
- - `--agent <name>` - Filter by specific agent
20
- - `--threshold <0-1>` - Show only scores below threshold
21
- - `--export <file>` - Export metrics to file
22
- - `--watch` - Real-time monitoring mode
23
-
24
- ## Metrics Displayed
25
-
26
- ### Truth Scores
27
- - **Overall Score**: Aggregate truth score (0.0-1.0)
28
- - **File Scores**: Individual file truth ratings
29
- - **Agent Scores**: Per-agent reliability metrics
30
- - **Task Scores**: Task completion quality
31
-
32
- ### Trends
33
- - **Improvement Rate**: Quality trend over time
34
- - **Regression Detection**: Identifies declining scores
35
- - **Agent Learning**: Shows agent improvement curves
36
-
37
- ### Statistics
38
- - **Mean Score**: Average truth score
39
- - **Median Score**: Middle value of scores
40
- - **Standard Deviation**: Score consistency
41
- - **Confidence Interval**: Statistical reliability
42
-
43
- ## Examples
44
-
45
- ### Basic Usage
46
- ```bash
47
- # View current truth scores
48
- claude-flow truth
49
-
50
- # View scores for last 7 days
51
- claude-flow truth --period 7d
52
-
53
- # Export to HTML report
54
- claude-flow truth --export report.html --format html
55
- ```
56
-
57
- ### Advanced Analysis
58
- ```bash
59
- # Monitor real-time scores
60
- claude-flow truth --watch
61
-
62
- # Find problematic files
63
- claude-flow truth --threshold 0.8
64
-
65
- # Agent-specific metrics
66
- claude-flow truth --agent coder --period 24h
67
-
68
- # JSON for processing
69
- claude-flow truth --format json | jq '.overall_score'
70
- ```
71
-
72
- ## Dashboard View
73
-
74
- ```
75
- 📊 Truth Metrics Dashboard
76
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
77
-
78
- Overall Truth Score: 0.947 ✅
79
- Trend: ↗️ +2.3% (7d)
80
-
81
- Top Performers:
82
- verification-agent 0.982 ⭐
83
- code-analyzer 0.971 ⭐
84
- test-generator 0.958 ✅
85
-
86
- Needs Attention:
87
- refactor-agent 0.821 ⚠️
88
- docs-generator 0.794 ⚠️
89
-
90
- Recent Tasks:
91
- task-456 0.991 ✅ "Implement auth"
92
- task-455 0.967 ✅ "Add tests"
93
- task-454 0.743 ❌ "Refactor API"
94
- ```
95
-
96
- ## Integration
97
-
98
- ### With CI/CD
99
- ```yaml
100
- # GitHub Actions example
101
- - name: Check Truth Scores
102
- run: |
103
- claude-flow truth --format json > truth.json
104
- score=$(jq '.overall_score' truth.json)
105
- if (( $(echo "$score < 0.95" | bc -l) )); then
106
- echo "Truth score too low: $score"
107
- exit 1
108
- fi
109
- ```
110
-
111
- ### With Monitoring
112
- ```bash
113
- # Send to monitoring system
114
- claude-flow truth --format json | \
115
- curl -X POST https://metrics.example.com/api/truth \
116
- -H "Content-Type: application/json" \
117
- -d @-
118
- ```
119
-
120
- ## Configuration
121
-
122
- Set truth display preferences in `.claude-flow/config.json`:
123
-
124
- ```json
125
- {
126
- "truth": {
127
- "defaultFormat": "table",
128
- "defaultPeriod": "24h",
129
- "warningThreshold": 0.85,
130
- "criticalThreshold": 0.75,
131
- "autoExport": {
132
- "enabled": true,
133
- "path": ".claude-flow/metrics/truth-daily.json"
134
- }
135
- }
136
- }
137
- ```
138
-
139
- ## Related Commands
140
-
141
- - `verify` - Run verification checks
142
- - `pair` - Collaborative development with truth tracking
143
- - `report` - Generate detailed reports
@@ -1,50 +0,0 @@
1
- # verify check
2
-
3
- Run verification checks on code, tasks, or agent outputs.
4
-
5
- ## Usage
6
-
7
- ```bash
8
- claude-flow verify check [options]
9
- ```
10
-
11
- ## Options
12
-
13
- - `--file <path>` - Verify specific file
14
- - `--task <id>` - Verify task output
15
- - `--directory <path>` - Verify entire directory
16
- - `--threshold <0-1>` - Override default threshold (0.95)
17
- - `--auto-fix` - Attempt automatic fixes
18
- - `--json` - Output results as JSON
19
- - `--verbose` - Show detailed verification steps
20
-
21
- ## Examples
22
-
23
- ```bash
24
- # Basic file verification
25
- claude-flow verify check --file src/app.js
26
-
27
- # Verify with higher threshold
28
- claude-flow verify check --file src/critical.js --threshold 0.99
29
-
30
- # Verify and auto-fix issues
31
- claude-flow verify check --directory src/ --auto-fix
32
-
33
- # Get JSON output for CI/CD
34
- claude-flow verify check --json > verification.json
35
- ```
36
-
37
- ## Truth Scoring
38
-
39
- The check command evaluates:
40
- - Code correctness
41
- - Best practices adherence
42
- - Security vulnerabilities
43
- - Performance implications
44
- - Documentation completeness
45
-
46
- ## Exit Codes
47
-
48
- - `0` - Verification passed
49
- - `1` - Verification failed
50
- - `2` - Error during verification
@@ -1,128 +0,0 @@
1
- # 🔍 Verification Commands
2
-
3
- Truth verification system for ensuring code quality and correctness with a 0.95 accuracy threshold.
4
-
5
- ## Overview
6
-
7
- The verification system provides real-time truth checking and validation for all agent tasks, ensuring high-quality outputs and automatic rollback on failures.
8
-
9
- ## Subcommands
10
-
11
- ### `verify check`
12
- Run verification checks on current code or agent outputs.
13
-
14
- ```bash
15
- claude-flow verify check --file src/app.js
16
- claude-flow verify check --task "task-123"
17
- claude-flow verify check --threshold 0.98
18
- ```
19
-
20
- ### `verify rollback`
21
- Automatically rollback changes that fail verification.
22
-
23
- ```bash
24
- claude-flow verify rollback --to-commit abc123
25
- claude-flow verify rollback --last-good
26
- claude-flow verify rollback --interactive
27
- ```
28
-
29
- ### `verify report`
30
- Generate verification reports and metrics.
31
-
32
- ```bash
33
- claude-flow verify report --format json
34
- claude-flow verify report --export metrics.html
35
- claude-flow verify report --period 7d
36
- ```
37
-
38
- ### `verify dashboard`
39
- Launch interactive verification dashboard.
40
-
41
- ```bash
42
- claude-flow verify dashboard
43
- claude-flow verify dashboard --port 3000
44
- claude-flow verify dashboard --export
45
- ```
46
-
47
- ## Configuration
48
-
49
- Default threshold: **0.95** (95% accuracy required)
50
-
51
- Configure in `.claude-flow/config.json`:
52
- ```json
53
- {
54
- "verification": {
55
- "threshold": 0.95,
56
- "autoRollback": true,
57
- "gitIntegration": true,
58
- "hooks": {
59
- "preCommit": true,
60
- "preTask": true,
61
- "postEdit": true
62
- }
63
- }
64
- }
65
- ```
66
-
67
- ## Integration
68
-
69
- ### With Swarm Commands
70
- ```bash
71
- claude-flow swarm --verify --threshold 0.98
72
- claude-flow hive-mind --verify
73
- ```
74
-
75
- ### With Training Pipeline
76
- ```bash
77
- claude-flow train --verify --rollback-on-fail
78
- ```
79
-
80
- ### With Pair Programming
81
- ```bash
82
- claude-flow pair --verify --real-time
83
- ```
84
-
85
- ## Metrics
86
-
87
- - **Truth Score**: 0.0 to 1.0 (higher is better)
88
- - **Confidence Level**: Statistical confidence in verification
89
- - **Rollback Rate**: Percentage of changes rolled back
90
- - **Quality Improvement**: Trend over time
91
-
92
- ## Examples
93
-
94
- ### Basic Verification
95
- ```bash
96
- # Verify current directory
97
- claude-flow verify check
98
-
99
- # Verify with custom threshold
100
- claude-flow verify check --threshold 0.99
101
-
102
- # Verify and auto-fix
103
- claude-flow verify check --auto-fix
104
- ```
105
-
106
- ### Advanced Workflows
107
- ```bash
108
- # Continuous verification during development
109
- claude-flow verify watch --directory src/
110
-
111
- # Batch verification
112
- claude-flow verify batch --files "*.js" --parallel
113
-
114
- # Integration testing
115
- claude-flow verify integration --test-suite full
116
- ```
117
-
118
- ## Performance
119
-
120
- - Verification latency: <100ms for most checks
121
- - Rollback time: <1s for git-based rollback
122
- - Dashboard refresh: Real-time via WebSocket
123
-
124
- ## Related Commands
125
-
126
- - `truth` - View truth scores and metrics
127
- - `pair` - Collaborative development with verification
128
- - `train` - Training with verification feedback