@open-tomato/rafa 0.35.0 → 0.36.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/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 +12102 -10915
- package/dist/describe-5hqfwbjc.js +14 -0
- package/dist/effort/store/index.js +36 -33
- package/dist/{index-dvrq9nfb.js → index-2n2nedrk.js} +4988 -4683
- package/dist/index-3mzw3kzh.js +129 -0
- package/dist/{index-41vzahew.js → index-7bb0fdb7.js} +33 -31
- package/dist/{index-hgcvjke7.js → index-d6d0942q.js} +17 -17
- package/dist/{index-se13pvag.js → index-ddzzmcaz.js} +2856 -2243
- 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-ckqfhynj.js → index-qvbeqrx3.js} +417 -494
- 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
|
@@ -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
|
|