ai-eng-system 0.2.2 → 0.2.3
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/dist/.claude-plugin/commands/plan.md +5 -19
- package/dist/.claude-plugin/commands/ralph-wiggum.md +19 -18
- package/dist/.claude-plugin/commands/review.md +3 -15
- package/dist/.claude-plugin/commands/specify.md +8 -22
- package/dist/.claude-plugin/commands/work.md +8 -23
- package/dist/.claude-plugin/plugin.json +1 -1
- package/dist/.opencode/command/ai-eng/plan.md +5 -19
- package/dist/.opencode/command/ai-eng/ralph-wiggum.md +19 -18
- package/dist/.opencode/command/ai-eng/review.md +3 -15
- package/dist/.opencode/command/ai-eng/specify.md +8 -22
- package/dist/.opencode/command/ai-eng/work.md +8 -23
- package/package.json +1 -1
|
@@ -493,25 +493,11 @@ Successful planning achieves:
|
|
|
493
493
|
- ✅ Dependencies are clearly documented
|
|
494
494
|
- ✅ All spec acceptance criteria are covered (if spec exists)
|
|
495
495
|
- ✅ Supporting artifacts generated (data-model, contracts)
|
|
496
|
-
- ✅ Risk assessment completed
|
|
497
|
-
- ✅ Testing strategy defined
|
|
498
|
-
- ✅ Ready to feed into `/ai-eng/work`
|
|
499
|
-
|
|
500
|
-
##
|
|
501
|
-
|
|
502
|
-
After planning, execute the plan using:
|
|
503
|
-
|
|
504
|
-
```bash
|
|
505
|
-
bun run scripts/run-command.ts plan "$ARGUMENTS" [options]
|
|
506
|
-
```
|
|
507
|
-
|
|
508
|
-
For example:
|
|
509
|
-
- `bun run scripts/run-command.ts plan "implement auth" --from-spec=specs/auth/spec.md --output=plans/auth.yaml`
|
|
510
|
-
- `bun run scripts/run-command.ts plan --from-research=docs/research/auth.md --scope=implementation`
|
|
511
|
-
|
|
512
|
-
After creating the plan, rate your confidence in its completeness and accuracy (0.0-1.0). Identify any uncertainties about task decomposition, missing dependencies, or areas where acceptance criteria may be ambiguous. Note any implementation risks that weren't adequately addressed in the plan.
|
|
513
|
-
|
|
514
|
-
## Ralph Wiggum Iteration Mode
|
|
496
|
+
- ✅ Risk assessment completed
|
|
497
|
+
- ✅ Testing strategy defined
|
|
498
|
+
- ✅ Ready to feed into `/ai-eng/work`
|
|
499
|
+
|
|
500
|
+
## Ralph Wiggum Iteration Mode
|
|
515
501
|
|
|
516
502
|
When `--ralph` flag is enabled, the planning process follows a persistent refinement cycle:
|
|
517
503
|
|
|
@@ -65,6 +65,21 @@ I bet you can't manage continuous iteration across all workflow phases without g
|
|
|
65
65
|
/ai-eng/ralph-wiggum "user authentication" --dry-run
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
+
## How This Command Works
|
|
69
|
+
|
|
70
|
+
This command is a **self-orchestrating prompt** - when you invoke `/ai-eng/ralph-wiggum`, the AI reads these instructions and executes each phase directly within the conversation.
|
|
71
|
+
|
|
72
|
+
**Execution Model:**
|
|
73
|
+
1. **NOT a CLI script** - There is no external runner. The AI IS the executor.
|
|
74
|
+
2. **Phase commands are internal** - When instructions say "Execute `/ai-eng/research`", the AI follows that command's instructions directly (not spawning a subprocess).
|
|
75
|
+
3. **Continuous flow** - The AI proceeds through all phases autonomously unless checkpoints are set.
|
|
76
|
+
|
|
77
|
+
**To run this command:**
|
|
78
|
+
- Claude Code: Type `/ai-eng/ralph-wiggum "your feature description"`
|
|
79
|
+
- OpenCode: Type `/ai-eng/ralph-wiggum "your feature description"`
|
|
80
|
+
|
|
81
|
+
The AI will then follow all phases in this document from start to finish.
|
|
82
|
+
|
|
68
83
|
## Options
|
|
69
84
|
|
|
70
85
|
| Option | Type | Default | Description |
|
|
@@ -768,22 +783,8 @@ Successful build achieves:
|
|
|
768
783
|
- ✅ Checkpoints saved and can be loaded
|
|
769
784
|
- ✅ Progress displayed at appropriate verbosity
|
|
770
785
|
- ✅ Safety limits enforced (max cycles, stuck detection)
|
|
771
|
-
- ✅ Token usage tracked and displayed
|
|
772
|
-
- ✅ Draft PR created with comprehensive summary
|
|
773
|
-
- ✅ Build report generated with all artifacts and metrics
|
|
774
|
-
|
|
775
|
-
---
|
|
776
|
-
|
|
777
|
-
## Execution
|
|
778
|
-
|
|
779
|
-
After creating this command, the agent can invoke it with:
|
|
780
|
-
|
|
781
|
-
```bash
|
|
782
|
-
bun run scripts/run-command.ts ralph-wiggum "feature description" [options]
|
|
783
|
-
```
|
|
784
|
-
|
|
785
|
-
Examples:
|
|
786
|
-
- `bun run scripts/run-command.ts ralph-wiggum "implement user auth" --checkpoint=all --verbose`
|
|
787
|
-
- `bun run scripts/run-command.ts ralph-wiggum "API caching" --from-spec=specs/cache/spec.md --resume`
|
|
786
|
+
- ✅ Token usage tracked and displayed
|
|
787
|
+
- ✅ Draft PR created with comprehensive summary
|
|
788
|
+
- ✅ Build report generated with all artifacts and metrics
|
|
788
789
|
|
|
789
|
-
|
|
790
|
+
---
|
|
@@ -115,24 +115,12 @@ For each finding provide:
|
|
|
115
115
|
|
|
116
116
|
## Summary
|
|
117
117
|
|
|
118
|
+
|
|
118
119
|
End with overall assessment: APPROVE, CHANGES_REQUESTED, or NEEDS_DISCUSSION.
|
|
119
120
|
|
|
120
121
|
After completing review, rate your confidence in findings comprehensiveness (0.0-1.0). Identify any uncertainties about severity classifications, areas where review coverage may have been insufficient, or assumptions about code context. Note any perspectives that should have been applied or findings that may be false positives.
|
|
121
|
-
|
|
122
|
-
##
|
|
123
|
-
|
|
124
|
-
Run a review using:
|
|
125
|
-
|
|
126
|
-
```bash
|
|
127
|
-
bun run scripts/run-command.ts review "$ARGUMENTS" [options]
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
For example:
|
|
131
|
-
- `bun run scripts/run-command.ts review "src/" --type=security --severity=high --output=security-review.json`
|
|
132
|
-
- `bun run scripts/run-command.ts review "." --focus=performance --verbose`
|
|
133
|
-
|
|
134
|
-
## Ralph Wiggum Iteration Mode
|
|
135
|
-
|
|
122
|
+
|
|
123
|
+
## Ralph Wiggum Iteration Mode
|
|
136
124
|
When `--ralph` flag is enabled, the review process follows a persistent refinement cycle:
|
|
137
125
|
|
|
138
126
|
### Ralph Wiggum Review Cycle
|
|
@@ -288,28 +288,14 @@ Always consider these categories:
|
|
|
288
288
|
## Success Criteria
|
|
289
289
|
|
|
290
290
|
Successful specification achieves:
|
|
291
|
-
- ✅ Well-structured user stories with acceptance criteria
|
|
292
|
-
- ✅ All non-functional requirements defined
|
|
293
|
-
- ✅ Ambiguities marked with [NEEDS CLARIFICATION]
|
|
294
|
-
- ✅ Aligned with project philosophy (CLAUDE.md)
|
|
295
|
-
- ✅ Ready to feed into `/ai-eng/plan`
|
|
296
|
-
- ✅ User reviewed and approved
|
|
297
|
-
|
|
298
|
-
##
|
|
299
|
-
|
|
300
|
-
After specification, create a plan using:
|
|
301
|
-
|
|
302
|
-
```bash
|
|
303
|
-
bun run scripts/run-command.ts specify "$ARGUMENTS" [options]
|
|
304
|
-
```
|
|
305
|
-
|
|
306
|
-
For example:
|
|
307
|
-
- `bun run scripts/run-command.ts specify "user auth" --from-research=docs/research/auth.md --output=specs/auth/spec.md`
|
|
308
|
-
- `bun run scripts/run-command.ts specify "payment system" --template=api --verbose`
|
|
309
|
-
|
|
310
|
-
After creating specification, rate your confidence in its completeness and clarity (0.0-1.0). Identify any uncertainties about user requirements, areas where acceptance criteria may be ambiguous, or constraints that weren't adequately considered. Note any open questions or clarifications needed from stakeholders.
|
|
311
|
-
|
|
312
|
-
## Integration
|
|
291
|
+
- ✅ Well-structured user stories with acceptance criteria
|
|
292
|
+
- ✅ All non-functional requirements defined
|
|
293
|
+
- ✅ Ambiguities marked with [NEEDS CLARIFICATION]
|
|
294
|
+
- ✅ Aligned with project philosophy (CLAUDE.md)
|
|
295
|
+
- ✅ Ready to feed into `/ai-eng/plan`
|
|
296
|
+
- ✅ User reviewed and approved
|
|
297
|
+
|
|
298
|
+
## Integration
|
|
313
299
|
|
|
314
300
|
- Can use output from `/ai-eng/research` via `--from-research`
|
|
315
301
|
- Feeds into `/ai-eng/plan` for implementation planning
|
|
@@ -573,29 +573,14 @@ This will:
|
|
|
573
573
|
## Success Criteria
|
|
574
574
|
|
|
575
575
|
A work session is successful when:
|
|
576
|
-
- ✅ All tasks completed
|
|
577
|
-
- ✅ All quality gates passed
|
|
578
|
-
- ✅ All tests passing
|
|
579
|
-
- ✅ Build succeeds
|
|
580
|
-
- ✅ PR created and reviewed
|
|
581
|
-
- ✅ Code merged to main
|
|
582
|
-
|
|
583
|
-
##
|
|
584
|
-
|
|
585
|
-
Execute a plan using:
|
|
586
|
-
|
|
587
|
-
```bash
|
|
588
|
-
bun run scripts/run-command.ts work "$ARGUMENTS" [options]
|
|
589
|
-
```
|
|
590
|
-
|
|
591
|
-
For example:
|
|
592
|
-
- `bun run scripts/run-command.ts work "specs/auth/plan.yaml" --verbose`
|
|
593
|
-
- `bun run scripts/run-command.ts work --from-plan=plans/auth.yaml --continue`
|
|
594
|
-
- `bun run scripts/run-command.ts work "FEAT-001" --dry-run`
|
|
595
|
-
|
|
596
|
-
After completing implementation, rate your confidence in code quality and completeness (0.0-1.0). Identify any uncertainties about test coverage, areas where quality gates may have been too lenient, or implementation details that may need follow-up. Note any technical debt or known issues that should be tracked.
|
|
597
|
-
|
|
598
|
-
## Integration
|
|
576
|
+
- ✅ All tasks completed
|
|
577
|
+
- ✅ All quality gates passed
|
|
578
|
+
- ✅ All tests passing
|
|
579
|
+
- ✅ Build succeeds
|
|
580
|
+
- ✅ PR created and reviewed
|
|
581
|
+
- ✅ Code merged to main
|
|
582
|
+
|
|
583
|
+
## Integration
|
|
599
584
|
|
|
600
585
|
- Reads from `/ai-eng/plan` output (plan.yaml)
|
|
601
586
|
- Validates against `/ai-eng/specify` output (spec.md)
|
|
@@ -493,25 +493,11 @@ Successful planning achieves:
|
|
|
493
493
|
- ✅ Dependencies are clearly documented
|
|
494
494
|
- ✅ All spec acceptance criteria are covered (if spec exists)
|
|
495
495
|
- ✅ Supporting artifacts generated (data-model, contracts)
|
|
496
|
-
- ✅ Risk assessment completed
|
|
497
|
-
- ✅ Testing strategy defined
|
|
498
|
-
- ✅ Ready to feed into `/ai-eng/work`
|
|
499
|
-
|
|
500
|
-
##
|
|
501
|
-
|
|
502
|
-
After planning, execute the plan using:
|
|
503
|
-
|
|
504
|
-
```bash
|
|
505
|
-
bun run scripts/run-command.ts plan "$ARGUMENTS" [options]
|
|
506
|
-
```
|
|
507
|
-
|
|
508
|
-
For example:
|
|
509
|
-
- `bun run scripts/run-command.ts plan "implement auth" --from-spec=specs/auth/spec.md --output=plans/auth.yaml`
|
|
510
|
-
- `bun run scripts/run-command.ts plan --from-research=docs/research/auth.md --scope=implementation`
|
|
511
|
-
|
|
512
|
-
After creating the plan, rate your confidence in its completeness and accuracy (0.0-1.0). Identify any uncertainties about task decomposition, missing dependencies, or areas where acceptance criteria may be ambiguous. Note any implementation risks that weren't adequately addressed in the plan.
|
|
513
|
-
|
|
514
|
-
## Ralph Wiggum Iteration Mode
|
|
496
|
+
- ✅ Risk assessment completed
|
|
497
|
+
- ✅ Testing strategy defined
|
|
498
|
+
- ✅ Ready to feed into `/ai-eng/work`
|
|
499
|
+
|
|
500
|
+
## Ralph Wiggum Iteration Mode
|
|
515
501
|
|
|
516
502
|
When `--ralph` flag is enabled, the planning process follows a persistent refinement cycle:
|
|
517
503
|
|
|
@@ -65,6 +65,21 @@ I bet you can't manage continuous iteration across all workflow phases without g
|
|
|
65
65
|
/ai-eng/ralph-wiggum "user authentication" --dry-run
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
+
## How This Command Works
|
|
69
|
+
|
|
70
|
+
This command is a **self-orchestrating prompt** - when you invoke `/ai-eng/ralph-wiggum`, the AI reads these instructions and executes each phase directly within the conversation.
|
|
71
|
+
|
|
72
|
+
**Execution Model:**
|
|
73
|
+
1. **NOT a CLI script** - There is no external runner. The AI IS the executor.
|
|
74
|
+
2. **Phase commands are internal** - When instructions say "Execute `/ai-eng/research`", the AI follows that command's instructions directly (not spawning a subprocess).
|
|
75
|
+
3. **Continuous flow** - The AI proceeds through all phases autonomously unless checkpoints are set.
|
|
76
|
+
|
|
77
|
+
**To run this command:**
|
|
78
|
+
- Claude Code: Type `/ai-eng/ralph-wiggum "your feature description"`
|
|
79
|
+
- OpenCode: Type `/ai-eng/ralph-wiggum "your feature description"`
|
|
80
|
+
|
|
81
|
+
The AI will then follow all phases in this document from start to finish.
|
|
82
|
+
|
|
68
83
|
## Options
|
|
69
84
|
|
|
70
85
|
| Option | Type | Default | Description |
|
|
@@ -768,22 +783,8 @@ Successful build achieves:
|
|
|
768
783
|
- ✅ Checkpoints saved and can be loaded
|
|
769
784
|
- ✅ Progress displayed at appropriate verbosity
|
|
770
785
|
- ✅ Safety limits enforced (max cycles, stuck detection)
|
|
771
|
-
- ✅ Token usage tracked and displayed
|
|
772
|
-
- ✅ Draft PR created with comprehensive summary
|
|
773
|
-
- ✅ Build report generated with all artifacts and metrics
|
|
774
|
-
|
|
775
|
-
---
|
|
776
|
-
|
|
777
|
-
## Execution
|
|
778
|
-
|
|
779
|
-
After creating this command, the agent can invoke it with:
|
|
780
|
-
|
|
781
|
-
```bash
|
|
782
|
-
bun run scripts/run-command.ts ralph-wiggum "feature description" [options]
|
|
783
|
-
```
|
|
784
|
-
|
|
785
|
-
Examples:
|
|
786
|
-
- `bun run scripts/run-command.ts ralph-wiggum "implement user auth" --checkpoint=all --verbose`
|
|
787
|
-
- `bun run scripts/run-command.ts ralph-wiggum "API caching" --from-spec=specs/cache/spec.md --resume`
|
|
786
|
+
- ✅ Token usage tracked and displayed
|
|
787
|
+
- ✅ Draft PR created with comprehensive summary
|
|
788
|
+
- ✅ Build report generated with all artifacts and metrics
|
|
788
789
|
|
|
789
|
-
|
|
790
|
+
---
|
|
@@ -115,24 +115,12 @@ For each finding provide:
|
|
|
115
115
|
|
|
116
116
|
## Summary
|
|
117
117
|
|
|
118
|
+
|
|
118
119
|
End with overall assessment: APPROVE, CHANGES_REQUESTED, or NEEDS_DISCUSSION.
|
|
119
120
|
|
|
120
121
|
After completing review, rate your confidence in findings comprehensiveness (0.0-1.0). Identify any uncertainties about severity classifications, areas where review coverage may have been insufficient, or assumptions about code context. Note any perspectives that should have been applied or findings that may be false positives.
|
|
121
|
-
|
|
122
|
-
##
|
|
123
|
-
|
|
124
|
-
Run a review using:
|
|
125
|
-
|
|
126
|
-
```bash
|
|
127
|
-
bun run scripts/run-command.ts review "$ARGUMENTS" [options]
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
For example:
|
|
131
|
-
- `bun run scripts/run-command.ts review "src/" --type=security --severity=high --output=security-review.json`
|
|
132
|
-
- `bun run scripts/run-command.ts review "." --focus=performance --verbose`
|
|
133
|
-
|
|
134
|
-
## Ralph Wiggum Iteration Mode
|
|
135
|
-
|
|
122
|
+
|
|
123
|
+
## Ralph Wiggum Iteration Mode
|
|
136
124
|
When `--ralph` flag is enabled, the review process follows a persistent refinement cycle:
|
|
137
125
|
|
|
138
126
|
### Ralph Wiggum Review Cycle
|
|
@@ -288,28 +288,14 @@ Always consider these categories:
|
|
|
288
288
|
## Success Criteria
|
|
289
289
|
|
|
290
290
|
Successful specification achieves:
|
|
291
|
-
- ✅ Well-structured user stories with acceptance criteria
|
|
292
|
-
- ✅ All non-functional requirements defined
|
|
293
|
-
- ✅ Ambiguities marked with [NEEDS CLARIFICATION]
|
|
294
|
-
- ✅ Aligned with project philosophy (CLAUDE.md)
|
|
295
|
-
- ✅ Ready to feed into `/ai-eng/plan`
|
|
296
|
-
- ✅ User reviewed and approved
|
|
297
|
-
|
|
298
|
-
##
|
|
299
|
-
|
|
300
|
-
After specification, create a plan using:
|
|
301
|
-
|
|
302
|
-
```bash
|
|
303
|
-
bun run scripts/run-command.ts specify "$ARGUMENTS" [options]
|
|
304
|
-
```
|
|
305
|
-
|
|
306
|
-
For example:
|
|
307
|
-
- `bun run scripts/run-command.ts specify "user auth" --from-research=docs/research/auth.md --output=specs/auth/spec.md`
|
|
308
|
-
- `bun run scripts/run-command.ts specify "payment system" --template=api --verbose`
|
|
309
|
-
|
|
310
|
-
After creating specification, rate your confidence in its completeness and clarity (0.0-1.0). Identify any uncertainties about user requirements, areas where acceptance criteria may be ambiguous, or constraints that weren't adequately considered. Note any open questions or clarifications needed from stakeholders.
|
|
311
|
-
|
|
312
|
-
## Integration
|
|
291
|
+
- ✅ Well-structured user stories with acceptance criteria
|
|
292
|
+
- ✅ All non-functional requirements defined
|
|
293
|
+
- ✅ Ambiguities marked with [NEEDS CLARIFICATION]
|
|
294
|
+
- ✅ Aligned with project philosophy (CLAUDE.md)
|
|
295
|
+
- ✅ Ready to feed into `/ai-eng/plan`
|
|
296
|
+
- ✅ User reviewed and approved
|
|
297
|
+
|
|
298
|
+
## Integration
|
|
313
299
|
|
|
314
300
|
- Can use output from `/ai-eng/research` via `--from-research`
|
|
315
301
|
- Feeds into `/ai-eng/plan` for implementation planning
|
|
@@ -573,29 +573,14 @@ This will:
|
|
|
573
573
|
## Success Criteria
|
|
574
574
|
|
|
575
575
|
A work session is successful when:
|
|
576
|
-
- ✅ All tasks completed
|
|
577
|
-
- ✅ All quality gates passed
|
|
578
|
-
- ✅ All tests passing
|
|
579
|
-
- ✅ Build succeeds
|
|
580
|
-
- ✅ PR created and reviewed
|
|
581
|
-
- ✅ Code merged to main
|
|
582
|
-
|
|
583
|
-
##
|
|
584
|
-
|
|
585
|
-
Execute a plan using:
|
|
586
|
-
|
|
587
|
-
```bash
|
|
588
|
-
bun run scripts/run-command.ts work "$ARGUMENTS" [options]
|
|
589
|
-
```
|
|
590
|
-
|
|
591
|
-
For example:
|
|
592
|
-
- `bun run scripts/run-command.ts work "specs/auth/plan.yaml" --verbose`
|
|
593
|
-
- `bun run scripts/run-command.ts work --from-plan=plans/auth.yaml --continue`
|
|
594
|
-
- `bun run scripts/run-command.ts work "FEAT-001" --dry-run`
|
|
595
|
-
|
|
596
|
-
After completing implementation, rate your confidence in code quality and completeness (0.0-1.0). Identify any uncertainties about test coverage, areas where quality gates may have been too lenient, or implementation details that may need follow-up. Note any technical debt or known issues that should be tracked.
|
|
597
|
-
|
|
598
|
-
## Integration
|
|
576
|
+
- ✅ All tasks completed
|
|
577
|
+
- ✅ All quality gates passed
|
|
578
|
+
- ✅ All tests passing
|
|
579
|
+
- ✅ Build succeeds
|
|
580
|
+
- ✅ PR created and reviewed
|
|
581
|
+
- ✅ Code merged to main
|
|
582
|
+
|
|
583
|
+
## Integration
|
|
599
584
|
|
|
600
585
|
- Reads from `/ai-eng/plan` output (plan.yaml)
|
|
601
586
|
- Validates against `/ai-eng/specify` output (spec.md)
|
package/package.json
CHANGED