Release 0.2.0 (batch command) - #4
Merged
Merged
Conversation
Ships the `batch` command. Move the CHANGELOG Unreleased entry under a dated 0.2.0 heading and fix the version compare links. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Booyaka101
added a commit
that referenced
this pull request
Jul 19, 2026
Addresses a completed audit and bumps to 0.3.0. HIGH - research --watch no longer marks a live, already-submitted task `failed` on a transient poll error mid-watch. The watch loop rides out poll errors (retry next interval, bounded), and only a failed *submit* (no interaction_id yet) is ever marked failed, so the daemon can still collect the result. (#1) - A 404 poll now retires the task locally to `incomplete`, so a wedged or expired interaction leaves the active set and `daemon --exit-when-idle` converges. `watch`/`batch -w` give up after GEMCATCH_WATCH_MAX_FAILS consecutive failures instead of spinning forever. (#2) MED - Cover the default @google/genai SDK transport with a stubbed client (submit -> poll -> completed and one friendly() error); the suite no longer only exercises the REST fallback. (#3) - prune -d <negative>/non-numeric is rejected instead of putting the cutoff in the future and wiping every finished task. (#4) - A completed-but-empty result is served from cache (gate on presence, not truthiness) instead of re-polling and 404ing after 24h. (#5) - batch treats `#` as a comment only when followed by whitespace, so `#1 cause of X?` survives; skipped blank/comment lines are counted on stderr. (#6) Smaller correctness (#7) - watch/daemon reject non-positive -i; list -n 0 returns zero rows and -n rejects negatives; a second daemon Ctrl-C force-exits (130); one-shot commands close the store (no lingering -wal/-shm); stderr-written colour keys off process.stderr.isTTY so redirecting one stream can't strip/leak ANSI on the other. Feature (#8) - `gemcatch export [--tag] [--status] [--format md|json] [-o <file>]` — the "gather" for batch's "scatter": concatenate finished results under their prompts, to stdout or a file. Plus `gemcatch digest --tag <t>` to synthesize a tag's completed results through one Gemini call. Docs: README (export/digest, flag validation, per-process RPM note, 404 retirement) and CHANGELOG [0.3.0]. All offline tests pass, including new coverage for #1-#8. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cuts 0.2.0, shipping the
batchcommand (already on main via #3).[Unreleased]batch entry under[0.2.0] - 2026-07-19After merge: tag
v0.2.0andnpm publish.🤖 Generated with Claude Code