@itz4blitz/agentful 0.1.0
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/agents/architect.md +446 -0
- package/.claude/agents/backend.md +251 -0
- package/.claude/agents/fixer.md +263 -0
- package/.claude/agents/frontend.md +351 -0
- package/.claude/agents/orchestrator.md +1139 -0
- package/.claude/agents/reviewer.md +332 -0
- package/.claude/agents/tester.md +319 -0
- package/.claude/commands/agentful-decide.md +139 -0
- package/.claude/commands/agentful-start.md +180 -0
- package/.claude/commands/agentful-status.md +96 -0
- package/.claude/commands/agentful-validate.md +105 -0
- package/.claude/product/CHANGES.md +276 -0
- package/.claude/product/EXAMPLES.md +610 -0
- package/.claude/product/README.md +312 -0
- package/.claude/product/index.md +152 -0
- package/.claude/settings.json +63 -0
- package/.claude/skills/product-tracking/SKILL.md +654 -0
- package/.claude/skills/validation/SKILL.md +271 -0
- package/LICENSE +21 -0
- package/README.md +335 -0
- package/bin/cli.js +580 -0
- package/package.json +42 -0
- package/template/CLAUDE.md +197 -0
- package/template/PRODUCT.md +496 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agentful-decide
|
|
3
|
+
description: Answer pending decisions that are blocking development progress.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Agentful Decide
|
|
7
|
+
|
|
8
|
+
This command helps you resolve pending decisions that are blocking development.
|
|
9
|
+
|
|
10
|
+
## Process
|
|
11
|
+
|
|
12
|
+
### 1. Read Decisions
|
|
13
|
+
|
|
14
|
+
Read `.agentful/decisions.json`:
|
|
15
|
+
|
|
16
|
+
```json
|
|
17
|
+
{
|
|
18
|
+
"pending": [
|
|
19
|
+
{
|
|
20
|
+
"id": "decision-001",
|
|
21
|
+
"question": "Should auth use JWT or session cookies?",
|
|
22
|
+
"options": [
|
|
23
|
+
"JWT (stateless, scalable)",
|
|
24
|
+
"Sessions (simpler, built-in)",
|
|
25
|
+
"Clerk (managed service)"
|
|
26
|
+
],
|
|
27
|
+
"context": "Building authentication system for .claude/product/index.md",
|
|
28
|
+
"blocking": ["auth-feature", "user-profile-feature"],
|
|
29
|
+
"timestamp": "2026-01-18T00:00:00Z"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"resolved": []
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### 2. Present to User
|
|
37
|
+
|
|
38
|
+
For each pending decision, display:
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
┌────────────────────────────────────────────────────────────┐
|
|
42
|
+
│ Decision #1 │
|
|
43
|
+
├────────────────────────────────────────────────────────────┤
|
|
44
|
+
│ Question: Should auth use JWT or session cookies? │
|
|
45
|
+
│ │
|
|
46
|
+
│ Context: Building authentication system for .claude/product/index.md │
|
|
47
|
+
│ │
|
|
48
|
+
│ Options: │
|
|
49
|
+
│ [1] JWT (stateless, scalable) │
|
|
50
|
+
│ [2] Sessions (simpler, built-in) │
|
|
51
|
+
│ [3] Clerk (managed service) │
|
|
52
|
+
│ [4] Custom input... │
|
|
53
|
+
│ │
|
|
54
|
+
│ Blocking: auth-feature, user-profile-feature │
|
|
55
|
+
└────────────────────────────────────────────────────────────┘
|
|
56
|
+
|
|
57
|
+
Your choice:
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### 3. Record Decision
|
|
61
|
+
|
|
62
|
+
After user selects:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
# Move from pending to resolved
|
|
66
|
+
{
|
|
67
|
+
"resolved": [
|
|
68
|
+
{
|
|
69
|
+
"id": "decision-001",
|
|
70
|
+
"question": "Should auth use JWT or session cookies?",
|
|
71
|
+
"answer": "JWT (stateless, scalable)",
|
|
72
|
+
"timestamp_resolved": "2026-01-18T00:30:00Z"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"pending": []
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### 4. Update State
|
|
80
|
+
|
|
81
|
+
Remove from `.agentful/state.json` blocked_on array:
|
|
82
|
+
|
|
83
|
+
```json
|
|
84
|
+
{
|
|
85
|
+
"blocked_on": [] // Was: ["auth-feature", "user-profile-feature"]
|
|
86
|
+
}
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## Interactive Mode
|
|
90
|
+
|
|
91
|
+
If there are multiple pending decisions, process them one at a time:
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
You have 3 pending decisions to resolve:
|
|
95
|
+
|
|
96
|
+
[1/3] Should auth use JWT or session cookies?
|
|
97
|
+
> 1
|
|
98
|
+
|
|
99
|
+
[2/3] Which database provider?
|
|
100
|
+
> 2
|
|
101
|
+
|
|
102
|
+
[3/3] Styling framework preference?
|
|
103
|
+
> 4 (custom: "Tailwind CSS")
|
|
104
|
+
|
|
105
|
+
✅ All decisions resolved! Run /agentful-start to continue.
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## No Pending Decisions
|
|
109
|
+
|
|
110
|
+
If decisions.json is empty or pending array is empty:
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
✅ No pending decisions!
|
|
114
|
+
|
|
115
|
+
All features are unblocked. Run /agentful-start to continue development.
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## Implementation
|
|
119
|
+
|
|
120
|
+
Use AskUserQuestion tool to present decisions interactively:
|
|
121
|
+
|
|
122
|
+
```
|
|
123
|
+
AskUserQuestion({
|
|
124
|
+
questions: [{
|
|
125
|
+
question: "Should auth use JWT or session cookies?",
|
|
126
|
+
options: [
|
|
127
|
+
{ label: "JWT", description: "Stateless, scalable" },
|
|
128
|
+
{ label: "Sessions", description: "Simpler, built-in" },
|
|
129
|
+
{ label: "Clerk", description: "Managed service" }
|
|
130
|
+
]
|
|
131
|
+
}]
|
|
132
|
+
})
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
After receiving answers:
|
|
136
|
+
1. Update decisions.json
|
|
137
|
+
2. Update state.json blocked_on
|
|
138
|
+
3. Show summary of what was resolved
|
|
139
|
+
4. Suggest running /agentful-start
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agentful-start
|
|
3
|
+
description: Start or resume autonomous product development loop. Delegates to orchestrator agent.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Agentful Start
|
|
7
|
+
|
|
8
|
+
This command initiates the autonomous product development loop.
|
|
9
|
+
|
|
10
|
+
## Startup Sequence
|
|
11
|
+
|
|
12
|
+
### 1. Detect User Intent
|
|
13
|
+
|
|
14
|
+
Check if the user provided a specific request with this command:
|
|
15
|
+
|
|
16
|
+
**Examples:**
|
|
17
|
+
- `/agentful-start "Fix the login bug"` → BUGFIX workflow
|
|
18
|
+
- `/agentful-start "Add authentication"` → FEATURE_DEVELOPMENT workflow
|
|
19
|
+
- `/agentful-start "Refactor user service"` → REFACTOR workflow
|
|
20
|
+
- `/agentful-start` (no args) → Continue autonomous development loop
|
|
21
|
+
|
|
22
|
+
**User Request Detection:**
|
|
23
|
+
```
|
|
24
|
+
If user provided a specific request:
|
|
25
|
+
- Pass it to orchestrator for classification
|
|
26
|
+
- Orchestrator will route to appropriate workflow
|
|
27
|
+
- May or may not loop depending on work type
|
|
28
|
+
|
|
29
|
+
If no request provided:
|
|
30
|
+
- Assume FEATURE_DEVELOPMENT
|
|
31
|
+
- Read product specs and continue autonomous loop
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### 2. Load State
|
|
35
|
+
|
|
36
|
+
Read these files in order:
|
|
37
|
+
- `.claude/product/index.md` - What we're building
|
|
38
|
+
- `.agentful/state.json` - Current work state
|
|
39
|
+
- `.agentful/completion.json` - What's done vs not done
|
|
40
|
+
- `.agentful/decisions.json` - Pending user decisions
|
|
41
|
+
- `.agentful/agent-improvements.json` - Agent improvement suggestions (if exists)
|
|
42
|
+
- `.agentful/skill-improvements.json` - Skill improvement suggestions (if exists)
|
|
43
|
+
- `.agentful/last-known-framework-version.json` - Framework version tracking (if exists)
|
|
44
|
+
|
|
45
|
+
### 3. Check Framework Updates
|
|
46
|
+
|
|
47
|
+
If `.agentful/last-known-framework-version.json` exists:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
# Calculate current checksums
|
|
51
|
+
current_checksums = calculate_checksums(".claude/")
|
|
52
|
+
|
|
53
|
+
# Compare with stored checksums
|
|
54
|
+
if current_checksums != stored_checksums:
|
|
55
|
+
if context == "agentful_framework":
|
|
56
|
+
# We're in Agentful repo
|
|
57
|
+
"Framework updated. Changes detected in:
|
|
58
|
+
- orchestrator.md (improved)
|
|
59
|
+
- validation skill (new gate added)
|
|
60
|
+
|
|
61
|
+
Testing updated framework..."
|
|
62
|
+
else:
|
|
63
|
+
# User project - Agentful was updated
|
|
64
|
+
"Agentful framework updated.
|
|
65
|
+
New capabilities available:
|
|
66
|
+
- Enhanced orchestrator with work classification
|
|
67
|
+
- New validation gates
|
|
68
|
+
|
|
69
|
+
Would you like to:
|
|
70
|
+
1. Continue using current setup
|
|
71
|
+
2. Re-run architect to regenerate specialized agents
|
|
72
|
+
3. See what's new"
|
|
73
|
+
|
|
74
|
+
# Update stored checksums
|
|
75
|
+
update_last_known_version()
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### 4. Check Agent Improvement Suggestions
|
|
79
|
+
|
|
80
|
+
If `.agentful/agent-improvements.json` has HIGH priority items:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
if agent_improvements.pending.any(priority == "HIGH"):
|
|
84
|
+
if context == "agentful_framework":
|
|
85
|
+
"Agent improvement suggestions detected:
|
|
86
|
+
- Backend agent needs migration workflow
|
|
87
|
+
|
|
88
|
+
Proceeding with agent improvements..."
|
|
89
|
+
|
|
90
|
+
# Delegate to orchestrator for META_WORK
|
|
91
|
+
else:
|
|
92
|
+
"Note: The Agentful framework has suggested improvements.
|
|
93
|
+
These will be available when you update Agentful."
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### 5. Check Decisions
|
|
97
|
+
|
|
98
|
+
If `.agentful/decisions.json` has pending items:
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
⚠️ Pending decisions need your input:
|
|
102
|
+
1. "Should auth use JWT or session cookies?"
|
|
103
|
+
Run: /agentful-decide
|
|
104
|
+
|
|
105
|
+
Cannot proceed until decisions are resolved.
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### 6. Initialize State if Needed
|
|
109
|
+
|
|
110
|
+
If `.agentful/state.json` doesn't exist or is empty:
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
echo '{
|
|
114
|
+
"version": "1.0",
|
|
115
|
+
"current_task": null,
|
|
116
|
+
"current_phase": "idle",
|
|
117
|
+
"iterations": 0,
|
|
118
|
+
"last_updated": "'$(date -u +"%Y-%m-%dT%H:%M:%SZ")'",
|
|
119
|
+
"blocked_on": []
|
|
120
|
+
}' > .agentful/state.json
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### 7. Delegate to Orchestrator
|
|
124
|
+
|
|
125
|
+
You are NOT the orchestrator. Use the Task tool to delegate:
|
|
126
|
+
|
|
127
|
+
**If user provided a specific request:**
|
|
128
|
+
```
|
|
129
|
+
Task("orchestrator", "User request: [USER_REQUEST]. Classify work type and execute appropriate workflow.")
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
**If no request provided (default autonomous mode):**
|
|
133
|
+
```
|
|
134
|
+
Task("orchestrator", "Run autonomous development loop. Read state, pick next task, delegate to specialist agents, validate, update state, continue until complete.")
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## Ralph Wiggum Integration
|
|
138
|
+
|
|
139
|
+
When running in a Ralph loop (`/ralph-loop`), this command will be called repeatedly.
|
|
140
|
+
|
|
141
|
+
Output this **ONLY when truly complete** (all features done, all gates passing):
|
|
142
|
+
|
|
143
|
+
```
|
|
144
|
+
<promise>AGENTFUL_COMPLETE</promise>
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
## Example Flow
|
|
148
|
+
|
|
149
|
+
```
|
|
150
|
+
1. Read state.json → "backend-auth" in progress
|
|
151
|
+
2. Read completion.json → auth: 30% complete
|
|
152
|
+
3. Read .claude/product/index.md → auth requirements
|
|
153
|
+
4. Delegate to @backend → "Complete auth implementation"
|
|
154
|
+
5. Wait for completion
|
|
155
|
+
6. Delegate to @reviewer → "Review auth changes"
|
|
156
|
+
7. If issues → @fixer → @reviewer again
|
|
157
|
+
8. Update completion.json → auth: 100%
|
|
158
|
+
9. Loop → What's next?
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
## Manual Usage
|
|
162
|
+
|
|
163
|
+
For one-shot development (not a Ralph loop):
|
|
164
|
+
1. Run `/agentful-start`
|
|
165
|
+
2. Orchestrator picks one task
|
|
166
|
+
3. Completes it with validation
|
|
167
|
+
4. Reports progress
|
|
168
|
+
5. Run again to continue
|
|
169
|
+
|
|
170
|
+
## Autonomous Usage
|
|
171
|
+
|
|
172
|
+
For continuous development:
|
|
173
|
+
```bash
|
|
174
|
+
/ralph-loop "/agentful-start" --max-iterations 50 --completion-promise "AGENTFUL_COMPLETE"
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
This will run 24/7 until:
|
|
178
|
+
- All features complete (100%)
|
|
179
|
+
- All quality gates passing
|
|
180
|
+
- Or max-iterations reached
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agentful-status
|
|
3
|
+
description: Show current progress, completion percentage, and what's being worked on.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Agentful Status
|
|
7
|
+
|
|
8
|
+
This command shows the current state of autonomous product development.
|
|
9
|
+
|
|
10
|
+
## Display Format
|
|
11
|
+
|
|
12
|
+
### Header
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
16
|
+
Agentful Development Status
|
|
17
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
18
|
+
|
|
19
|
+
Product: [from .claude/product/index.md title]
|
|
20
|
+
Overall Progress: ████░░░░░░░░░░ 48%
|
|
21
|
+
Phase: [current phase from state.json]
|
|
22
|
+
Iterations: [number from state.json]
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Completion Table
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
┌─────────────────────┬──────────┬─────────┬────────────────┐
|
|
29
|
+
│ Feature │ Status │ Score │ Notes │
|
|
30
|
+
├─────────────────────┼──────────┼─────────┼────────────────┤
|
|
31
|
+
│ Authentication │ ✅ Done │ 100% │ │
|
|
32
|
+
│ User Profile │ 🔄 Active│ 45% │ Backend done │
|
|
33
|
+
│ Dashboard │ ⏸ Pending│ 0% │ Blocked on UX │
|
|
34
|
+
│ Settings │ ⏸ Pending│ 0% │ │
|
|
35
|
+
└─────────────────────┴──────────┴─────────┴────────────────┘
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Quality Gates
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
┌─────────────────────┬────────┐
|
|
42
|
+
│ Quality Gate │ Status │
|
|
43
|
+
├─────────────────────┼────────┤
|
|
44
|
+
│ Tests Passing │ ✅ │
|
|
45
|
+
│ No Type Errors │ ✅ │
|
|
46
|
+
│ No Dead Code │ ❌ │
|
|
47
|
+
│ Coverage ≥ 80% │ ⚠️ 72% │
|
|
48
|
+
└─────────────────────┴────────┘
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Pending Decisions
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
⚠️ Decisions Needed:
|
|
55
|
+
|
|
56
|
+
1. "Should auth use JWT or session cookies?"
|
|
57
|
+
Options: JWT (stateless), Sessions (simpler), Clerk (managed)
|
|
58
|
+
Blocking: auth-feature
|
|
59
|
+
|
|
60
|
+
→ Run /agentful-decide to resolve
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Current Work
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
🔧 Currently Working On:
|
|
67
|
+
Task: user-profile-backend
|
|
68
|
+
Agent: backend
|
|
69
|
+
Started: 2 minutes ago
|
|
70
|
+
|
|
71
|
+
Last output: "Implementing user profile service layer..."
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Implementation
|
|
75
|
+
|
|
76
|
+
Read and display:
|
|
77
|
+
|
|
78
|
+
1. `.agentful/state.json` - Current work, phase, iterations
|
|
79
|
+
2. `.agentful/completion.json` - Features and gates
|
|
80
|
+
3. `.agentful/decisions.json` - Pending decisions
|
|
81
|
+
4. `.claude/product/index.md` - Product name and overview
|
|
82
|
+
|
|
83
|
+
Format the output nicely with ASCII art for readability.
|
|
84
|
+
|
|
85
|
+
## Quick Actions
|
|
86
|
+
|
|
87
|
+
At the end, suggest next actions:
|
|
88
|
+
|
|
89
|
+
```
|
|
90
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
91
|
+
|
|
92
|
+
Next Actions:
|
|
93
|
+
• /agentful-start - Continue development
|
|
94
|
+
• /agentful-decide - Answer pending decisions
|
|
95
|
+
• /agentful-validate- Run quality checks
|
|
96
|
+
```
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agentful-validate
|
|
3
|
+
description: Run all quality checks and validation gates. Delegates to reviewer agent.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Agentful Validate
|
|
7
|
+
|
|
8
|
+
This command runs all quality checks and validation gates.
|
|
9
|
+
|
|
10
|
+
## What It Validates
|
|
11
|
+
|
|
12
|
+
Delegate to the reviewer agent to run:
|
|
13
|
+
|
|
14
|
+
1. **TypeScript Check** - `npx tsc --noEmit`
|
|
15
|
+
2. **Lint Check** - `npm run lint`
|
|
16
|
+
3. **Dead Code Detection** - Find unused exports, files, imports
|
|
17
|
+
4. **Test Check** - `npm test`
|
|
18
|
+
5. **Coverage Check** - Verify ≥ 80% coverage
|
|
19
|
+
6. **Security Check** - Scan for secrets, vulnerabilities, debug logs
|
|
20
|
+
|
|
21
|
+
## Process
|
|
22
|
+
|
|
23
|
+
### 1. Run Reviewer
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
Task("reviewer", "Run all validation checks on the current codebase and report results.")
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### 2. Display Results
|
|
30
|
+
|
|
31
|
+
After reviewer completes, display:
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
35
|
+
Validation Results
|
|
36
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
37
|
+
|
|
38
|
+
TypeScript ✅ PASS - No type errors
|
|
39
|
+
Lint ✅ PASS - No lint errors
|
|
40
|
+
Dead Code ❌ FAIL - 3 issues found
|
|
41
|
+
Tests ✅ PASS - 47 tests passed
|
|
42
|
+
Coverage ⚠️ WARN - 72% (needs 80%)
|
|
43
|
+
Security ⚠️ WARN - 2 issues found
|
|
44
|
+
|
|
45
|
+
Overall: ❌ FAILED
|
|
46
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
47
|
+
|
|
48
|
+
Issues that must be fixed:
|
|
49
|
+
|
|
50
|
+
1. Unused export: formatDate in src/utils/date.ts
|
|
51
|
+
2. Unused file: src/components/OldWidget.tsx
|
|
52
|
+
3. Unused dependency: lodash in package.json
|
|
53
|
+
4. Coverage below 80% threshold (8 points needed)
|
|
54
|
+
5. console.log in src/auth/login.ts:45
|
|
55
|
+
|
|
56
|
+
Run /agentful-start to auto-fix these issues.
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### 3. Update Completion JSON
|
|
60
|
+
|
|
61
|
+
Update `.agentful/completion.json` gates:
|
|
62
|
+
|
|
63
|
+
```json
|
|
64
|
+
{
|
|
65
|
+
"gates": {
|
|
66
|
+
"tests_passing": true,
|
|
67
|
+
"no_type_errors": true,
|
|
68
|
+
"no_dead_code": false,
|
|
69
|
+
"coverage_80": false
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Standalone Mode
|
|
75
|
+
|
|
76
|
+
When run directly (not via orchestrator):
|
|
77
|
+
1. Execute all checks
|
|
78
|
+
2. Display results
|
|
79
|
+
3. Ask if user wants to auto-fix:
|
|
80
|
+
```
|
|
81
|
+
Issues found. Would you like to auto-fix them? [y/N]
|
|
82
|
+
```
|
|
83
|
+
4. If yes, delegate to @fixer
|
|
84
|
+
|
|
85
|
+
## Quick Mode
|
|
86
|
+
|
|
87
|
+
For faster feedback, use specific checks:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
# Quick type check only
|
|
91
|
+
/agentful-validate --type-check
|
|
92
|
+
|
|
93
|
+
# Quick test run only
|
|
94
|
+
/agentful-validate --tests
|
|
95
|
+
|
|
96
|
+
# Security scan only
|
|
97
|
+
/agentful-validate --security
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Exit Codes
|
|
101
|
+
|
|
102
|
+
For CI/CD integration:
|
|
103
|
+
- `0` - All checks passed
|
|
104
|
+
- `1` - One or more checks failed
|
|
105
|
+
- `2` - Unable to run checks (missing dependencies, etc.)
|