@whittlelabs/sifter 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 +3 -1
- package/bin.js +352 -97
- package/bin.js.map +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -122,7 +122,9 @@ A running Sifter deals with Sift or `claude` going away on its own, and says wha
|
|
|
122
122
|
- **The pairing is revoked** (removed in Sift, or replaced by a newer pairing): it exits with code 3 and shows the two ways to pair again. A review it was running goes back to the queue for another Sifter.
|
|
123
123
|
- **It is decommissioned from Sift's settings page**: it finishes the review in hand and exits with code 0.
|
|
124
124
|
|
|
125
|
-
Ctrl-C stops it at any time, including while it waits.
|
|
125
|
+
Ctrl-C stops it at any time, including while it waits. A review in progress goes back to the queue for the next Sifter that checks in, and one that had already finished is submitted first; it quits within 20 seconds, or at once on a second Ctrl-C. Closing the terminal and `kill` do the same. If it stops without that chance (a crash, the machine asleep, the network gone), it stops checking in, and Jobs puts its reviews back in the queue once two minutes pass without a check-in (whittlelabs ADR 0129).
|
|
126
|
+
|
|
127
|
+
Each run is logged to `~/.sifter/sifter.log` as well as the terminal (`~/.sifter/<profile>/sifter.log` for a named profile), rotated to `sifter.log.1` past 5 MB. A hosted Sifter logs to stdout only.
|
|
126
128
|
|
|
127
129
|
## Check
|
|
128
130
|
|