@open-tomato/rafa 0.10.0 → 0.12.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/README.md +66 -30
- package/dist/cli.js +20364 -16545
- package/dist/effort/store/index.js +1 -1
- package/dist/{index-srdtw7w1.js → index-4g6vyznd.js} +5 -4
- package/dist/index.js +903 -155
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,7 +31,9 @@ What guides it:
|
|
|
31
31
|
|
|
32
32
|
## Before you run it
|
|
33
33
|
|
|
34
|
-
Read this once; rafa also says it the first time you start a run.
|
|
34
|
+
Read this once; rafa also says it the first time you start a run. Use
|
|
35
|
+
`rafa plan risk` to see what the plan may do on this machine and under
|
|
36
|
+
your accounts.
|
|
35
37
|
|
|
36
38
|
- **Every Claude Code session rafa starts runs with
|
|
37
39
|
`--dangerously-skip-permissions`.** That is what lets a plan run
|
|
@@ -52,6 +54,8 @@ Read this once; rafa also says it the first time you start a run.
|
|
|
52
54
|
| `rafa loop start` | 🪙 one session per task, one for the wrap-up, and repair sessions while CI is red |
|
|
53
55
|
| `rafa pr triage --resolve` | 🪙 runs a small fixed plan through the loop; without `--resolve`, nothing |
|
|
54
56
|
| `rafa skill backfill --propose` | 🪙 one session per batch of skills; without `--propose`, nothing |
|
|
57
|
+
| `rafa skill search` | 🪙 one `haiku` session reading the twelve best-ranked files, one per kind with `--all`; with `--no-model`, nothing |
|
|
58
|
+
| `rafa agent search` | 🪙 the same as `rafa skill search`, over agent definitions |
|
|
55
59
|
| `rafa next` | 🪙 when the step it runs is one of the above; it asks before each step |
|
|
56
60
|
|
|
57
61
|
The same 🪙 marks appear in `rafa --help` at all levels and in `rafa describe` output.
|
|
@@ -301,48 +305,80 @@ the root of `exports` names. The package ships no type declarations:
|
|
|
301
305
|
## Roadmap
|
|
302
306
|
|
|
303
307
|
What rafa does today and what is planned, in the order it is being
|
|
304
|
-
built.
|
|
308
|
+
built. ✅ is shipped, ⬜ is next; the order and each issue's state live
|
|
309
|
+
in the pinned [Roadmap issue](https://github.com/open-tomato/rafa/issues/31),
|
|
310
|
+
and a line here is ticked by the change that finishes the feature.
|
|
305
311
|
|
|
306
|
-
-
|
|
312
|
+
- ✅ Run a plan task by task: one Claude Code session per task, one
|
|
307
313
|
commit per task, then a pull request and a wait for CI
|
|
308
|
-
-
|
|
314
|
+
- ✅ Plans that carry their own background, so each task reads only the
|
|
309
315
|
part of the plan it needs
|
|
310
|
-
-
|
|
316
|
+
- ✅ Every task reports back what it did, what it found and what
|
|
311
317
|
blocked it, and rafa keeps the record
|
|
312
|
-
-
|
|
313
|
-
-
|
|
314
|
-
-
|
|
318
|
+
- ✅ See what each plan cost: sessions, tokens and commits per plan
|
|
319
|
+
- ✅ Install once, set up any project with `rafa init`
|
|
320
|
+
- ✅ Checks before a run: a missing tool or key stops the run with its
|
|
315
321
|
name, before any session is paid for
|
|
316
|
-
-
|
|
317
|
-
-
|
|
322
|
+
- ✅ A spending cap per task
|
|
323
|
+
- ✅ One consistent command line, with help at every level that people
|
|
318
324
|
and agents can both read
|
|
319
|
-
-
|
|
320
|
-
-
|
|
325
|
+
- ✅ Stop, pause, resume and check on a running plan
|
|
326
|
+
- ✅ Blockers and unrelated bugs found along the way are filed as
|
|
321
327
|
issues, once each
|
|
322
|
-
-
|
|
323
|
-
-
|
|
324
|
-
-
|
|
328
|
+
- ✅ rafa can safely work on its own code and update itself
|
|
329
|
+
- ✅ Usable as a library inside other services, not only as a command
|
|
330
|
+
- ✅ A health check for skills: one format, and a checker that refuses
|
|
325
331
|
a broken skill before an agent can follow it
|
|
326
|
-
-
|
|
332
|
+
- ✅ The agents a plan needs are checked before the run, and copied
|
|
327
333
|
into the project with one command
|
|
328
|
-
-
|
|
329
|
-
-
|
|
330
|
-
-
|
|
331
|
-
-
|
|
332
|
-
-
|
|
333
|
-
-
|
|
334
|
+
- ✅ Plan straight from the issue board, or from whatever is next on the roadmap
|
|
335
|
+
- ✅ Review, merge and clean up pull requests from the command line
|
|
336
|
+
- ✅ A failing pull request is diagnosed, and fixed when the fix is simple
|
|
337
|
+
- ✅ A version bump and a changelog entry with every pull request
|
|
338
|
+
- ✅ Start a plan from the main branch and rafa makes the branch for you
|
|
339
|
+
- ✅ One command takes you to the next step: merge, clean up, plan,
|
|
334
340
|
branch, start
|
|
335
|
-
-
|
|
336
|
-
-
|
|
341
|
+
- ✅ Every command that spends Claude usage says so in its help
|
|
342
|
+
- ✅ Before a run, see what it can do on this machine and under your accounts
|
|
343
|
+
- ✅ See every skill and agent a run would use, browse them, and ask
|
|
344
|
+
about them in plain language
|
|
345
|
+
- ⬜ The roadmap in one table: what is ready, what blocks it, and what
|
|
346
|
+
already has a plan, a branch or a pull request
|
|
347
|
+
- ⬜ `rafa doctor --deep`: what a loop session and its subagents can
|
|
348
|
+
actually reach — settings, `PATH`, providers and the tools its stack needs
|
|
349
|
+
- ⬜ Clean up merged, stale and unpushed branches and idle worktrees
|
|
350
|
+
- ⬜ `rafa status`: everything in one snapshot, and one line about what
|
|
351
|
+
changed since you last looked
|
|
352
|
+
- ⬜ The right skills reach the right task, chosen when the plan is
|
|
337
353
|
written
|
|
338
|
-
-
|
|
339
|
-
-
|
|
354
|
+
- ⬜ Know which skills earn their place and which are ignored
|
|
355
|
+
- ⬜ rafa learns from its own runs: what one task works out is handed
|
|
340
356
|
to the tasks that need it later
|
|
341
|
-
-
|
|
342
|
-
-
|
|
343
|
-
|
|
357
|
+
- ⬜ Skills and lessons shared across projects and machines
|
|
358
|
+
- ⬜ Config as code: a typed `rafa.config.ts` holding your settings, your
|
|
359
|
+
passes and your flows, with today's behaviour as the default
|
|
360
|
+
- ⬜ Every check rafa runs has a class you can see, and your workflow can
|
|
361
|
+
move the rest: one question per decision, and a dry run that walks the
|
|
362
|
+
whole flow
|
|
363
|
+
- ⬜ Every outside call doubled in tests, every outcome produced, and each
|
|
364
|
+
past incident kept out for good
|
|
365
|
+
- ⬜ Find skills and agents that overlap or contradict, and refine one
|
|
366
|
+
without losing the original
|
|
367
|
+
- ⬜ A retrospective: evidence, independent conclusions, a ranked action
|
|
368
|
+
plan
|
|
369
|
+
- ⬜ Work on several issues or specs at the same time
|
|
370
|
+
- ⬜ Team retrospective and a project status check in server mode
|
|
371
|
+
- ⬜ Feedback from outside projects reaches the rafa board through triage
|
|
372
|
+
- ⬜ Add-ons: install a tracker, an output or a set of skills (Linear,
|
|
344
373
|
Obsidian and others) without changing rafa
|
|
345
|
-
-
|
|
374
|
+
- ⬜ A live terminal dashboard
|
|
375
|
+
- ⬜ Change how rafa works without changing rafa: settings, prompts and
|
|
376
|
+
steps live in your project
|
|
377
|
+
- ⬜ Other coding agents: run a plan without Claude Code
|
|
378
|
+
- ⬜ Run a plan with enforced permissions instead of
|
|
379
|
+
`--dangerously-skip-permissions`
|
|
380
|
+
- ⬜ `rafa doctor --security`: an outside scan of your Claude Code setup,
|
|
381
|
+
with what rafa itself does stated first
|
|
346
382
|
|
|
347
383
|
## Attribution
|
|
348
384
|
|