Skip to content

Releases

v0.6.0-beta.1

v0.6.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Oct 01:41

Added

  • Make bare ggh a local projects table. Add bounded discovery, separate clone
    and checkout identities, host provenance, private index/status caches, context
    cards, scan roots, registration, exclusions, and explicit coverage gaps.
  • Add go and init zsh|bash|fish|pwsh for shell navigation, with ambiguous-name
    handling, literal path transport, and editor/T3 launch options.
  • Extend clone with alias get, clone_root, --to, --ask, paginated
    repository discovery, origin-verified reuse, progress/stall reporting,
    provenance markers, protocol selection, and guarded SSH-to-HTTPS fallback.
  • Add projects --remote, bare ggh --remote, and --uncloned. Share remote
    reads across clones, batch and serialize requests, reserve foreground quota,
    retry transient failures in smaller batches, and report field freshness and
    partial failures within a 20-second remote deadline.
  • Add sync --all and named-project sync with bounded workers, per-clone
    deadlines, fast-forward-only updates, unsafe/host-checkout skips, and partial
    effect reports. Remote fork sync requires an explicit option and confirmation.
  • Add tidy with exact-tip deletion proofs, digest-bound approvals, fresh safety
    checks, per-clone locks, and journals. Keep host checkouts manual-only and
    separate missing-worktree metadata pruning from removing checkouts.
  • Add optional tidy --audit with bounded metadata, provider consent, validated
    recommendations that can only narrow safe actions, and private audited snapshots.
  • Add lost for unpublished branch/detached commits, stashes, dirty host
    checkouts, and broken gitdirs. Count commits once per clone, show fetch age,
    and offer explicit --fetch plus suggested recovery commands.
  • Add review with safe reusable checkouts, editor and terminal fallbacks,
    explicit inspection marks, incremental review, and rewritten-history warnings.
  • Add read-only ci why with revision-linked failed steps, annotations,
    full-job log fallback, bounded evidence, and explicit truncation/unavailability.
  • Add lossless pr threads reads with nested pagination, edited-comment cursors,
    revision SHAs, resolution/outdated state, and a read-only MCP tool.
  • Add a coding-agent skill, schema-generated reference, guarded skill installer,
    and result schemas for the new workflows.
  • Add an offline agent benchmark with pinned Zod/VS Code captures, dirty-repo
    controls, evidence-recall checks, output bytes, and disclosed native-tool wins.
    Add 20 exact-scope mutation fixtures using local Git repositories and remotes.
  • Add make smoke to compile, temporarily install, and check the native binary
    against local bare remotes with isolated HOME/config and asserted JSON results.

Changed

  • Show only actionable clones in default tidy output; aggregate keep reasons,
    host worktrees, and broken checkout directories. --verbose restores every clone.
  • Keep every affected clone visible in lost with one summary line each, expanding
    branch detail for the highest-ranked clones within an 80-line budget. Use
    lost <project> or --verbose for full detail.
  • Replace default_clone_dir with clone_root and --dir with --to.
    Clones still default to the current directory.
  • Compact agent status into full HEAD identity, XY/path tuples, rename sources,
    and submodule markers. --full retains raw porcelain-v2 records. Clean status
    measures 181 bytes versus native porcelain-v2's 121 in both pinned captures.
  • Keep status local unless --remote or --providers is requested. Remove
    duplicated workflow jobs and fetch failed logs before returning machine output.
  • Fit project and cleanup views to terminal width, retain full JSON proofs, and
    show cached project rows before refreshing warm terminal views.
  • Pack the embedded skill reference and share response validators. Set the
    single-bundle CI limit to 714,271 bytes; document attribution and headroom.
  • Rewrite the README around projects, navigation, guarded upkeep, and agent use.

Removed

  • Remove label, secret, variable, gist, search, browse, workflow,
    and release; use native arguments through ggh gh.
  • Remove changelog, team snapshots, and AI triage. Generate GitHub release notes
    with native gh and maintain the local changelog by hand.
  • Move draft restore/list into named stash commands. Remove AI stash naming;
    existing ggh-draft: stashes still restore.
  • Remove notification view/unsubscribe actions; keep list and mark-read.

Fixed

  • Read a finished job's log through the jobs API in ci why while its workflow
    run is still in progress, instead of reporting the log unavailable.
  • Keep SSH agent authentication available during tidy remote-branch deletion,
    disable interactive SSH prompts, and report authentication denial as refused.
  • Serialize tidy, sync, and cleanup fetches with one lock per clone. Sync waits
    up to 30 seconds for another mutation.
  • Share agent-host detection across project discovery, sync, tidy, lost, and
    project views, including Codex, global Cursor, and configured host directories.
  • Honor COLUMNS for piped project and cleanup output, default to 100 columns,
    and count the log prefix in line widths.
  • Honor GGH_CONFIG_DIR without hiding gh authentication. Drop the derived SSH
    port when an enterprise clone falls back to HTTPS.
  • Resolve main checkouts to their working directory when discovered through an
    external worktree. Batch unpublished walks and give checkouts separate deadlines.
  • Cache only successful remote fields per host/login/repository; retry failures
    rather than caching a timeout for every clone.
  • Report completed and uncertain effects for review, clone, project writes,
    launches, and single-repo sync. Keep sync dry runs from fetching or pruning.
  • Bind commits to the previewed HEAD, branch, and index; preserve partial staging,
    reject stale previews and hook-added publication content, and keep recovery refs.
  • Recheck squash state and expected tips; allow clean-index message-only amend.
    Publish stack-lock owner metadata atomically to prevent initializing-lock races.

Security

  • Restrict fetch pruning to remote-tracking refs, including mirror and bare
    clones, preserving unpublished branches and ggh review pins.
  • Protect ignored files during worktree removal and repeat tidy's file-state
    check immediately before removal.
  • Delete gone branches with an expected-old-OID check so concurrent ref movement
    cannot discard unpublished work.
  • Keep tidy candidates with unpublished branch or checkout HEAD reflog commits.
    Scan at most 1,000 entries, keep longer logs, and report reflog-only work in lost.
  • Require publication proofs fetched within tidy_max_fetch_age_days, default 30.
    Keep unknown fetch ages and missing checkouts on uncertain or unmounted volumes.
  • Strip terminal controls from human commit, branch, and PR-thread output while
    preserving raw JSON.
  • Keep agent-host checkouts manual-only during tidy. Record ggh creation in each
    checkout's private Git directory; foreign linked worktrees require exact-path
    --allow-unknown approval even when ggh created the clone.
  • Pin merges to the reviewed head, reread GitHub state, and clean up only after
    confirmed merges. Report queued, auto-merge-enabled, and unknown outcomes.
  • Keep review checkouts separate from development setup. Copy environment files
    only when development worktrees explicitly request --copy-env.
  • Preserve worktree lock/prune/path state with NUL-delimited parsing and recheck
    identity and changes before removal. Add an opt-in subprocess env allowlist.
  • Pin pushes to one source OID and destination, disable scope-expanding Git
    settings, and use exact expected-OID leases for forced updates and remote deletes.
  • Protect unpublished and checked-out branches during single-repo sync cleanup,
    including with --force. Unknown deletion proof means keep.

Source commit: 57b6400

Download the native executable for your operating system and verify its accompanying SHA-256 checksum.
The macOS executables are not Developer-ID signed or notarized by this workflow. Signed DMGs are a separate packaging step.

npm publication was explicitly disabled (PUBLISH_NPM is not true). No registry availability is claimed.
The attached package can be installed with bun add -g ./good-gh-cli-0.6.0-beta.1.tgz (Node 22+ and Bun 1.4+).

v0.5.0-beta.2

v0.5.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 15 Oct 07:38
32a3e4b

Good GH 0.5.0-beta.2 improves the path from local changes to a published pull request, with clear approval and recovery after interruption.

  • Infer private repo setup and prepare one plan for creation, remotes, pushing and PR publication.
  • Add versioned agent output, schema discovery and approval snapshots that bind destinations, revisions, content and attachment bytes.
  • Keep operation records local and metadata-only by default. Reconcile completed effects before resuming publication.
  • Add multiline PR editing, stack recovery, explicit Git/gh escapes and opt-in AI generation.
  • Fix Windows terminal input, private storage and process cleanup. Bound optional status probes and filter terminal control sequences from managed displays.
  • Parse malformed repository arguments in linear time and preserve literal dollar characters in branch fetch mappings.
  • Block project dotenv/preload files from changing CLI policy or executing during installed startup.

Validation passed on macOS, Linux and Windows, with five native targets, installed package checks, 570 source tests, 71 native regression cases, real terminal checks, private/public GitHub workflows, recovery and private attachment checks. Redundant tests were removed; the retained checks cover behavior.

For macOS, prefer Good-GH-CLI-0.5.0-beta.2-universal.dmg. It supports Apple Silicon and Intel and is Developer ID signed, notarized and stapled. Verify its SHA-256 file before installation. The separate raw Mac executables are ad-hoc signed and are not notarized.

Linux and Windows native executables include the Bun runtime. Git 2.31+ is required; GitHub operations also require gh. AI is optional. See the versioned installation guide for PATH and checksum instructions.

npm registry publication is disabled. The attached good-gh-cli-0.5.0-beta.2.tgz is tested and installable with Node 22+ and Bun 1.4+. No registry availability is claimed.

Source commit: 32a3e4b

v0.4.0-beta.2

v0.4.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 04 Sep 07:43

Security

  • Replaced four regular-expression paths that CodeQL identified as potential
    denial-of-service risks. Private-key redaction, clone suffix trimming, clone
    directory extraction, and worktree directory naming now run in bounded or
    single-pass time on untrusted input.

Install

Download a standalone binary below. On macOS, the Developer ID-signed universal DMG is available, but this beta is not notarized yet and Gatekeeper will reject a normal double-click install. npm publishing was skipped because NPM_TOKEN is not configured.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 03 Sep 03:36

Added

  • Pull request lifecycle: create, view, merge, ready, close, reopen,
    comment, edit
  • ggh pr review — AI findings anchored to real diff lines, submitted as a
    genuine GitHub review rather than terminal output
  • ggh issue — list, view, create, close, reopen, comment, and develop to
    branch from an issue
  • ggh run — workflow runs, with AI triage of the failing job's log
  • ggh repo — view, fork, create, set-default
  • ggh stack — stacked branches built on the gh-merge-base pointers ggh
    already recorded: list, next, on, restack, submit, checkout
  • ggh changelog — keeps the release notes it used to discard
  • ggh api — passthrough escape hatch to gh api
  • Claude Code and Ollama providers; the local one is last in the chain, so
    running out of credits everywhere still leaves something that answers
  • --json on 13 commands, --dry-run on 12, plus --quiet, --no-input,
    and -R/--repo
  • Layered configuration: flags > GGH_* environment > project .ggh.json >
    user file > defaults, with ggh config list naming the winning layer
  • Disk cache for GitHub responses, and ggh config cache-clear

Changed

  • stdout is now data and stderr is everything else. ggh log | grep no
    longer matches its own banner, and redirecting stdout no longer hides errors
  • Shell completions are generated from the command tree instead of maintained by
    hand in three scripts
  • checks --watch backs off from 5s to 30s and stops at --timeout
  • Aliases: st now means status; stash moved to sh, stack took stk
  • Dropped @clack/prompts; the output layer is now first-party

Fixed

  • Ctrl-C during AI generation did nothing at all. It now exits 130, kills the
    provider subprocess, and restores the cursor
  • ggh add <file> searched GitHub and cloned a stranger's repository, because
    add was an alias of clone. It now falls through to git add
  • Interactive prompts silently auto-answered without a TTY, so ggh resolve in
    a script discarded the incoming side of every conflict and reported success
  • ggh clone --fast prompted for a clone mode anyway, discarding the flag
  • ggh commit --pr described the wrong changes, building the body from an index
    its own commit had just emptied
  • getCurrentBranch reported HEAD in a repository with no commits, tripping
    the detached-HEAD guards on a first push
  • Eight commands reported failures and exited 0
  • Secret redaction missed Slack, Google, GitLab, npm, and fine-grained GitHub
    tokens, JWTs, database URLs, and unquoted assignments

Install

bun add -g good-gh-cli@0.2.0

Or download a standalone binary below. On macOS, ad-hoc sign it once:

chmod +x ggh-darwin-arm64 && codesign --force --sign - ggh-darwin-arm64