rpi-kit 1.3.0 → 1.4.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
|
|
3
3
|
"name": "rpi-kit",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.4.0",
|
|
5
5
|
"description": "Research → Plan → Implement. A systematic feature development workflow with validation gates, multi-role agent teams, and adaptive depth.",
|
|
6
6
|
"owner": {
|
|
7
7
|
"name": "Daniel Mendes"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"name": "rpi-kit",
|
|
12
12
|
"source": "./",
|
|
13
13
|
"description": "Research → Plan → Implement. A systematic feature development workflow for Claude Code and Codex.",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.4.0",
|
|
15
15
|
"author": {
|
|
16
16
|
"name": "Daniel Mendes"
|
|
17
17
|
},
|
package/README.md
CHANGED
|
@@ -189,11 +189,9 @@ Run `/rpi:init` or create `.rpi.yaml` manually:
|
|
|
189
189
|
```yaml
|
|
190
190
|
folder: rpi # Feature folder location
|
|
191
191
|
tier: standard # Default research tier
|
|
192
|
-
auto_simplify: true # Run simplify before review
|
|
193
192
|
commit_style: conventional # Commit message format
|
|
194
193
|
parallel_threshold: 8 # Task count for parallel mode
|
|
195
194
|
skip_artifacts: [] # Artifacts to never generate
|
|
196
|
-
review_after_implement: true # Mandatory review gate
|
|
197
195
|
isolation: none # none | branch | worktree
|
|
198
196
|
tdd: false # Enable Test-Driven Development
|
|
199
197
|
test_runner: auto # Test command (auto-detect or explicit)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: rpi:implement
|
|
3
|
-
description: Execute the implementation plan with task-level tracking
|
|
4
|
-
argument-hint: "<feature-slug> [--sequential|--parallel] [--
|
|
3
|
+
description: Execute the implementation plan with task-level tracking and smart parallelism.
|
|
4
|
+
argument-hint: "<feature-slug> [--sequential|--parallel] [--resume] [--from-task <id>]"
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
7
7
|
- Write
|
|
@@ -14,7 +14,7 @@ allowed-tools:
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
<objective>
|
|
17
|
-
Execute tasks from PLAN.md with per-task commits
|
|
17
|
+
Execute tasks from PLAN.md with per-task commits. Track everything in IMPLEMENT.md. Simplification and review run in separate sessions for fresh context.
|
|
18
18
|
</objective>
|
|
19
19
|
|
|
20
20
|
<process>
|
|
@@ -26,8 +26,6 @@ Parse `$ARGUMENTS`:
|
|
|
26
26
|
- First argument: `{feature-slug}` (required)
|
|
27
27
|
- `--sequential`: force single agent mode
|
|
28
28
|
- `--parallel`: force parallel wave mode
|
|
29
|
-
- `--skip-simplify`: skip the simplify step (overrides config)
|
|
30
|
-
- `--skip-review`: skip the review step (overrides config)
|
|
31
29
|
- `--resume`: resume from last completed task in existing IMPLEMENT.md
|
|
32
30
|
- `--from-task {id}`: resume from a specific task ID (used with --resume)
|
|
33
31
|
|
|
@@ -404,21 +402,7 @@ After all tasks in a PLAN.md phase complete:
|
|
|
404
402
|
```
|
|
405
403
|
4. If any tasks blocked, ask user how to proceed before next phase
|
|
406
404
|
|
|
407
|
-
## 8.
|
|
408
|
-
|
|
409
|
-
If `auto_simplify` is true in config (and no `--skip-simplify`):
|
|
410
|
-
|
|
411
|
-
Run the simplify process as defined in `/rpi:simplify {feature-slug}`.
|
|
412
|
-
Record findings in IMPLEMENT.md under "## Simplify Findings".
|
|
413
|
-
|
|
414
|
-
## 9. Run review (unless --skip-review)
|
|
415
|
-
|
|
416
|
-
If `review_after_implement` is true in config (and no `--skip-review`):
|
|
417
|
-
|
|
418
|
-
Run the review process as defined in `/rpi:review {feature-slug}`.
|
|
419
|
-
Record verdict in IMPLEMENT.md under "## Review".
|
|
420
|
-
|
|
421
|
-
## 10. Finalize IMPLEMENT.md
|
|
405
|
+
## 8. Finalize IMPLEMENT.md
|
|
422
406
|
|
|
423
407
|
Rebuild IMPLEMENT.md from all checkpoint files:
|
|
424
408
|
1. Read all files in `checkpoints/`
|
|
@@ -434,42 +418,29 @@ Sessions: {count from sessions/ directory}
|
|
|
434
418
|
Commits: {list with hashes from checkpoints}
|
|
435
419
|
Deviations: {count by severity}
|
|
436
420
|
|
|
437
|
-
##
|
|
438
|
-
{details}
|
|
439
|
-
```
|
|
421
|
+
## Simplify Findings
|
|
440
422
|
|
|
441
|
-
|
|
423
|
+
_Run in a separate session: /rpi:simplify {feature-slug}_
|
|
442
424
|
|
|
443
|
-
|
|
444
|
-
```
|
|
445
|
-
Feature {feature-slug} implemented.
|
|
446
|
-
{N} tasks completed across {M} phases.
|
|
447
|
-
Review: PASS
|
|
425
|
+
## Review
|
|
448
426
|
|
|
449
|
-
|
|
427
|
+
_Run in a separate session: /rpi:review {feature-slug}_
|
|
450
428
|
```
|
|
451
429
|
|
|
452
|
-
|
|
453
|
-
```
|
|
454
|
-
Feature {feature-slug} implementation complete but review found issues:
|
|
455
|
-
{list issues}
|
|
430
|
+
## 9. Present result
|
|
456
431
|
|
|
457
|
-
Fix and re-run: /rpi:review {feature-slug}
|
|
458
432
|
```
|
|
433
|
+
Implementation complete: {feature-slug}
|
|
434
|
+
{N} tasks completed across {M} phases.
|
|
459
435
|
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
If tier == 3, after presenting the final result, add:
|
|
436
|
+
All artifacts: {folder}/{feature-slug}/
|
|
463
437
|
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
1. Session 1: /rpi:new + /rpi:research
|
|
468
|
-
2. Session 2: /rpi:plan
|
|
469
|
-
3. Session 3+: /rpi:implement --resume (one session per wave)
|
|
438
|
+
Next steps (run each in a new session for fresh context):
|
|
439
|
+
1. /rpi:simplify {feature-slug}
|
|
440
|
+
2. /rpi:review {feature-slug}
|
|
470
441
|
```
|
|
471
442
|
|
|
472
|
-
##
|
|
443
|
+
## 10. Handle isolation cleanup
|
|
473
444
|
|
|
474
445
|
Read `isolation` from `.rpi.yaml`.
|
|
475
446
|
|
package/commands/rpi/init.md
CHANGED
|
@@ -29,7 +29,6 @@ Use AskUserQuestion to gather preferences. Ask up to 4 questions at a time:
|
|
|
29
29
|
- "What's your default research tier?" — Options: `standard` (Recommended), `quick`, `deep`
|
|
30
30
|
|
|
31
31
|
**Batch 2:**
|
|
32
|
-
- "Should code simplification run automatically before review?" — Options: Yes (Recommended), No
|
|
33
32
|
- "What commit message style do you prefer?" — Options: `conventional` (Recommended, e.g., feat(1.1): task name), `descriptive` (plain English)
|
|
34
33
|
|
|
35
34
|
**Batch 3:**
|
|
@@ -61,11 +60,9 @@ Write the config file at the project root:
|
|
|
61
60
|
|
|
62
61
|
folder: {user_choice}
|
|
63
62
|
tier: {user_choice}
|
|
64
|
-
auto_simplify: {true|false}
|
|
65
63
|
commit_style: {conventional|descriptive}
|
|
66
64
|
parallel_threshold: {number}
|
|
67
65
|
skip_artifacts: []
|
|
68
|
-
review_after_implement: true
|
|
69
66
|
isolation: {none|branch|worktree}
|
|
70
67
|
tdd: {true|false}
|
|
71
68
|
test_runner: {auto|command}
|
package/commands/rpi/simplify.md
CHANGED
|
@@ -126,6 +126,6 @@ Simplify complete for {feature-slug}:
|
|
|
126
126
|
{Or: "Code was already clean — no issues found."}
|
|
127
127
|
```
|
|
128
128
|
|
|
129
|
-
|
|
129
|
+
After finishing, update IMPLEMENT.md `## Simplify Findings` section with the results.
|
|
130
130
|
|
|
131
131
|
</process>
|
package/package.json
CHANGED
|
@@ -112,11 +112,9 @@ After implementation, isolation cleanup runs based on config:
|
|
|
112
112
|
```yaml
|
|
113
113
|
folder: rpi # Feature folder location
|
|
114
114
|
tier: standard # Default research tier
|
|
115
|
-
auto_simplify: true # Run simplify before review
|
|
116
115
|
commit_style: conventional # Commit message format
|
|
117
116
|
parallel_threshold: 8 # Task count for parallel mode
|
|
118
117
|
skip_artifacts: [] # Artifacts to never generate
|
|
119
|
-
review_after_implement: true # Mandatory review gate
|
|
120
118
|
isolation: none # none | branch | worktree
|
|
121
119
|
tdd: false # Enable Test-Driven Development
|
|
122
120
|
test_runner: auto # Test command (auto-detect or explicit)
|