@ai-dev-methodologies/rlp-desk 0.0.1 → 0.0.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.
- package/README.md +3 -3
- package/docs/getting-started.md +2 -2
- package/docs/protocol-reference.md +3 -3
- package/package.json +1 -1
- package/src/commands/rlp-desk.md +1 -1
- package/src/governance.md +2 -2
package/README.md
CHANGED
|
@@ -107,8 +107,8 @@ for iteration in 1..max_iter:
|
|
|
107
107
|
| Simple, single-file changes | `haiku` |
|
|
108
108
|
| Standard work (default) | `sonnet` |
|
|
109
109
|
| Architecture changes, multi-file, prior failure | `opus` |
|
|
110
|
-
|
|
|
111
|
-
|
|
|
110
|
+
| Verification (default) | `opus` |
|
|
111
|
+
| Lightweight verification | `sonnet` |
|
|
112
112
|
|
|
113
113
|
## Commands
|
|
114
114
|
|
|
@@ -127,7 +127,7 @@ for iteration in 1..max_iter:
|
|
|
127
127
|
|------|---------|-------------|
|
|
128
128
|
| `--max-iter N` | 100 | Maximum iterations before timeout |
|
|
129
129
|
| `--worker-model MODEL` | sonnet | Worker model (haiku/sonnet/opus) |
|
|
130
|
-
| `--verifier-model MODEL` |
|
|
130
|
+
| `--verifier-model MODEL` | opus | Verifier model (haiku/sonnet/opus) |
|
|
131
131
|
|
|
132
132
|
## Project Structure
|
|
133
133
|
|
package/docs/getting-started.md
CHANGED
|
@@ -48,7 +48,7 @@ The brainstorm phase interactively determines:
|
|
|
48
48
|
| **User Stories** | US-001: calculator functions, US-002: pytest tests |
|
|
49
49
|
| **Iteration Unit** | One user story per iteration |
|
|
50
50
|
| **Verification** | `python3 -m pytest test_calc.py -v` |
|
|
51
|
-
| **Models** | Worker: sonnet, Verifier:
|
|
51
|
+
| **Models** | Worker: sonnet, Verifier: opus |
|
|
52
52
|
| **Max Iterations** | 10 |
|
|
53
53
|
|
|
54
54
|
On approval, brainstorm offers to run `init` automatically.
|
|
@@ -119,7 +119,7 @@ You'll see status updates after each iteration:
|
|
|
119
119
|
```
|
|
120
120
|
Iteration 1 | Worker (sonnet) | US-001 complete, continuing
|
|
121
121
|
Iteration 2 | Worker (sonnet) | All stories done, requesting verification
|
|
122
|
-
Iteration 3 | Verifier (
|
|
122
|
+
Iteration 3 | Verifier (opus) | PASS — all criteria met
|
|
123
123
|
✓ COMPLETE
|
|
124
124
|
```
|
|
125
125
|
|
|
@@ -179,8 +179,8 @@ Same error in iteration N+1 (opus) → BLOCKED
|
|
|
179
179
|
| Standard implementation | `sonnet` | Balanced (default) |
|
|
180
180
|
| Multi-file, architecture | `opus` | Needs broad understanding |
|
|
181
181
|
| Previous iteration failed | upgrade | Harder model may succeed |
|
|
182
|
-
| Verification (
|
|
183
|
-
| Verification (
|
|
182
|
+
| Verification (default) | `opus` | Independent verification requires thoroughness |
|
|
183
|
+
| Verification (lightweight) | `sonnet` | Simple, well-defined checks only |
|
|
184
184
|
|
|
185
185
|
### Dynamic Adaptation
|
|
186
186
|
|
|
@@ -202,7 +202,7 @@ Updated by the Leader after each iteration:
|
|
|
202
202
|
"max_iter": 100,
|
|
203
203
|
"phase": "worker|verifier|complete|blocked|timeout",
|
|
204
204
|
"worker_model": "sonnet",
|
|
205
|
-
"verifier_model": "
|
|
205
|
+
"verifier_model": "opus",
|
|
206
206
|
"last_result": "continue|verify|pass|fail|blocked",
|
|
207
207
|
"updated_at_utc": "2025-01-15T10:30:00Z"
|
|
208
208
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-dev-methodologies/rlp-desk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Fresh-context iterative loops for Claude Code — autonomous task completion with independent verification",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "node scripts/postinstall.js",
|
package/src/commands/rlp-desk.md
CHANGED
|
@@ -46,7 +46,7 @@ If brainstorm was done, auto-fill PRD and test-spec with the results.
|
|
|
46
46
|
Options (parse from `$ARGUMENTS`):
|
|
47
47
|
- `--max-iter N` (default: 100)
|
|
48
48
|
- `--worker-model MODEL` (default: sonnet)
|
|
49
|
-
- `--verifier-model MODEL` (default:
|
|
49
|
+
- `--verifier-model MODEL` (default: opus)
|
|
50
50
|
|
|
51
51
|
### Preparation
|
|
52
52
|
1. Validate scaffold: `.claude/ralph-desk/prompts/<slug>.worker.prompt.md` etc.
|
package/src/governance.md
CHANGED
|
@@ -46,8 +46,8 @@ RUNNING → DONE_CLAIMED → VERIFYING → COMPLETE | CONTINUE | BLOCKED
|
|
|
46
46
|
| Worker (simple) | haiku | Single file, clear change |
|
|
47
47
|
| Worker (standard) | sonnet | Most tasks (default) |
|
|
48
48
|
| Worker (complex) | opus | Architecture changes, multi-file, prior iteration failure |
|
|
49
|
-
| Verifier |
|
|
50
|
-
| Verifier (
|
|
49
|
+
| Verifier | opus | Independent verification requires thoroughness |
|
|
50
|
+
| Verifier (lightweight) | sonnet | Simple, well-defined checks only |
|
|
51
51
|
|
|
52
52
|
The Leader decides each iteration. Decision criteria:
|
|
53
53
|
- Previous iteration failed → upgrade model
|