@open-tomato/rafa 0.24.1 → 0.26.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 +17 -0
- package/dist/bundled/skills/dev-planner/SKILL.md +11 -0
- package/dist/cli.js +3480 -1679
- package/dist/{describe-66gth329.js → describe-vbwqxj1f.js} +3 -3
- package/dist/effort/store/index.js +4 -4
- package/dist/{index-amyd4dse.js → index-2yd8bber.js} +1137 -732
- package/dist/{index-4fwgqveh.js → index-4j1e3h26.js} +1 -1
- package/dist/{index-h369efkh.js → index-59x3zsh4.js} +2865 -2256
- package/dist/{index-7qgng1rf.js → index-azptzvp3.js} +945 -193
- package/dist/{index-21qkxk63.js → index-p1265xgj.js} +4 -33
- package/dist/{index-twbp38kz.js → index-rv7y8y1j.js} +36 -2
- package/dist/{index-pmkgvtfe.js → index-sf2brh4w.js} +7 -1
- package/dist/{index-w1dnwja1.js → index-xwr54rzt.js} +2 -2
- package/dist/index.js +16 -16
- package/dist/plan/index.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -279,6 +279,23 @@ project's file outranks the same one in yours. `rafa init` writes both
|
|
|
279
279
|
with every setting commented out at its default, so uncomment a line,
|
|
280
280
|
with its section line, to change it.
|
|
281
281
|
|
|
282
|
+
### `effort`
|
|
283
|
+
|
|
284
|
+
One setting says how long a command waits for another rafa process that
|
|
285
|
+
is writing the effort store before it gives up with `SQLITE_BUSY`.
|
|
286
|
+
|
|
287
|
+
| Key | Default | What it sets |
|
|
288
|
+
|---|---|---|
|
|
289
|
+
| `effort.busyTimeoutMs` | `5000` | the wait in milliseconds, a whole number from 1 to 60000 |
|
|
290
|
+
|
|
291
|
+
There is no unlimited wait, since a lock wait with no end can hang a
|
|
292
|
+
loop; `0`, a fraction and a quoted `"5000"` are refused.
|
|
293
|
+
|
|
294
|
+
```yaml
|
|
295
|
+
effort:
|
|
296
|
+
busyTimeoutMs: 10000
|
|
297
|
+
```
|
|
298
|
+
|
|
282
299
|
### `cleanup`
|
|
283
300
|
|
|
284
301
|
Three settings shape what `rafa cleanup` lists.
|
|
@@ -503,6 +503,17 @@ The report rules in this skill restate `src/report/parse.ts`, which is the autho
|
|
|
503
503
|
|
|
504
504
|
---
|
|
505
505
|
|
|
506
|
+
## Plans that change the effort store
|
|
507
|
+
|
|
508
|
+
When the spec adds or changes anything in `.rafa/effort/`:
|
|
509
|
+
|
|
510
|
+
- Give each migration its own task, naming its id and whether it is additive or which side it breaks. Never write a schema version number or an array position.
|
|
511
|
+
- A task that runs the branch's store code over real data first runs `bun src/rafa.ts effort copy --to=.rafa/scratch/<stub>-effort`, and runs each command with `RAFA_EFFORT_DIR=<absolute path of that dir>` on the same line. The close-out task removes the copy.
|
|
512
|
+
- Work that must land in the live store goes under "Operator steps after the plan merges [human]": `rafa self-update`, then the command.
|
|
513
|
+
- PREREQUISITES carries `- [ ] The installed rafa can read and write the live store: \`rafa effort schema --check\`` under an `[auto]` heading.
|
|
514
|
+
|
|
515
|
+
---
|
|
516
|
+
|
|
506
517
|
## Command-development rule: Claude session declaration
|
|
507
518
|
|
|
508
519
|
When planning work on rafa commands: every command that can start a Claude
|