@open-tomato/rafa 0.35.0 → 0.37.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 +5 -4
- package/dist/bundled/operators/agents/rafa-stretch-engineer.md +4 -4
- package/dist/bundled/operators/agents/rafa-stretch-watchtower.md +9 -9
- package/dist/cli.js +13025 -11058
- package/dist/describe-5hqfwbjc.js +14 -0
- package/dist/effort/store/index.js +36 -33
- package/dist/{index-ckqfhynj.js → index-1mxv55ec.js} +588 -531
- package/dist/{index-dvrq9nfb.js → index-35ze56rz.js} +4991 -4683
- package/dist/index-3mzw3kzh.js +129 -0
- package/dist/{index-41vzahew.js → index-7bb0fdb7.js} +33 -31
- package/dist/{index-se13pvag.js → index-b16va6he.js} +3645 -2403
- package/dist/{index-hgcvjke7.js → index-d6d0942q.js} +17 -17
- package/dist/index-fzhd3d4y.js +446 -0
- package/dist/{index-2tjmxwvp.js → index-jfas157k.js} +111 -513
- package/dist/index-k6sd4ym5.js +243 -0
- package/dist/index-wp8c28fd.js +18 -0
- package/dist/index.js +152 -147
- package/dist/learning/index.js +20 -20
- package/dist/plan/index.js +45 -42
- package/package.json +1 -1
- package/dist/describe-59899b0p.js +0 -11
- package/dist/index-21jcfatr.js +0 -16
package/README.md
CHANGED
|
@@ -829,10 +829,11 @@ creates the `.rafa/` folders and the board labels newer versions expect,
|
|
|
829
829
|
and records the version in `rafa.lock` at the repository root, a small
|
|
830
830
|
JSON file meant to be committed. It works within a patch range: the
|
|
831
831
|
installed version must share the major and minor of the one the lock
|
|
832
|
-
records
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
832
|
+
records. Below 1.0.0 it also crosses newer minors, so a lock at 0.34.1
|
|
833
|
+
moves to 0.36.0, and a project with no lock is adopted. It prints every
|
|
834
|
+
change first, and `--dry-run` stops there; otherwise it asks once, or
|
|
835
|
+
takes `--yes`. The rest of `rafa update` (`self`, `project`, `board`,
|
|
836
|
+
`next`, `latest`) is in development and says so (#713).
|
|
836
837
|
|
|
837
838
|
## Runtime
|
|
838
839
|
|
|
@@ -130,10 +130,10 @@ One loop at a time; never two at once inside a stretch.
|
|
|
130
130
|
|
|
131
131
|
`setsid` is Linux's; on macOS start it with `nohup` alone and log the
|
|
132
132
|
difference as a gap. Detached loops are a gap of their own.
|
|
133
|
-
3. Watch it:
|
|
134
|
-
|
|
135
|
-
foreground command waits longer than 60 seconds; longer waits
|
|
136
|
-
the background.
|
|
133
|
+
3. Watch it: `rafa loop wait --until=pr,no-pr,halt,error,exit` reads the
|
|
134
|
+
`.rafa/runs/<session-id>.events.ndjson` file your loop wrote, not the
|
|
135
|
+
log. No foreground command waits longer than 60 seconds; longer waits
|
|
136
|
+
run in the background.
|
|
137
137
|
4. Merge its pull request:
|
|
138
138
|
- Into `stretch/<n>`: `rafa pr merge <pr> --skip-checks`. The merge push
|
|
139
139
|
runs `verify` asynchronously; read the result at the pit stop.
|
|
@@ -55,17 +55,17 @@ Four sources, all on this machine:
|
|
|
55
55
|
|
|
56
56
|
## How you wait
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
`error` line or a `halt` line reaches you as it is written. Match every
|
|
60
|
-
ending, not only the good ones:
|
|
58
|
+
Watch the running loop's events from `.rafa/runs/<session-id>.events.ndjson`:
|
|
61
59
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
```bash
|
|
61
|
+
rafa loop wait --until=blocked,quiet:<minutes>,exit
|
|
62
|
+
```
|
|
65
63
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
The `<minutes>` is 2× the p90 task time from `rafa effort dashboard`. With
|
|
65
|
+
no baseline yet, use 30 minutes and say so in the alert. The wait exits
|
|
66
|
+
when a task blocks, when the loop is quiet for that long, or when the loop
|
|
67
|
+
ends. Between waits, read the agent's session status and check the hook
|
|
68
|
+
rule at every wake: `/loop`, self-paced, every 10 to 30 minutes.
|
|
69
69
|
|
|
70
70
|
## How you alert
|
|
71
71
|
|