Repository navigation
Releases
v0.6.0-beta.1
Added
- Make bare
ggha 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
goandinit zsh|bash|fish|pwshfor shell navigation, with ambiguous-name
handling, literal path transport, and editor/T3 launch options. - Extend
clonewith aliasget,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, bareggh --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 --alland 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
tidywith 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 --auditwith bounded metadata, provider consent, validated
recommendations that can only narrow safe actions, and private audited snapshots. - Add
lostfor unpublished branch/detached commits, stashes, dirty host
checkouts, and broken gitdirs. Count commits once per clone, show fetch age,
and offer explicit--fetchplus suggested recovery commands. - Add
reviewwith safe reusable checkouts, editor and terminal fallbacks,
explicit inspection marks, incremental review, and rewritten-history warnings. - Add read-only
ci whywith revision-linked failed steps, annotations,
full-job log fallback, bounded evidence, and explicit truncation/unavailability. - Add lossless
pr threadsreads 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 smoketo 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
tidyoutput; aggregate keep reasons,
host worktrees, and broken checkout directories.--verboserestores every clone. - Keep every affected clone visible in
lostwith one summary line each, expanding
branch detail for the highest-ranked clones within an 80-line budget. Use
lost <project>or--verbosefor full detail. - Replace
default_clone_dirwithclone_rootand--dirwith--to.
Clones still default to the current directory. - Compact agent status into full HEAD identity, XY/path tuples, rename sources,
and submodule markers.--fullretains raw porcelain-v2 records. Clean status
measures 181 bytes versus native porcelain-v2's 121 in both pinned captures. - Keep status local unless
--remoteor--providersis 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,
andrelease; use native arguments throughggh 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;
existingggh-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 whywhile 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
COLUMNSfor piped project and cleanup output, default to 100 columns,
and count the log prefix in line widths. - Honor
GGH_CONFIG_DIRwithout 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-unknownapproval 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
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
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
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 outputggh issue— list, view, create, close, reopen, comment, anddevelopto
branch from an issueggh run— workflow runs, with AI triage of the failing job's logggh repo— view, fork, create, set-defaultggh stack— stacked branches built on thegh-merge-basepointers ggh
already recorded:list,next,on,restack,submit,checkoutggh changelog— keeps the release notes it used to discardggh api— passthrough escape hatch togh 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 --jsonon 13 commands,--dry-runon 12, plus--quiet,--no-input,
and-R/--repo- Layered configuration: flags >
GGH_*environment > project.ggh.json>
user file > defaults, withggh config listnaming 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 | grepno
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 --watchbacks off from 5s to 30s and stops at--timeout- Aliases:
stnow meansstatus; stash moved tosh, stack tookstk - 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
addwas an alias ofclone. It now falls through togit add- Interactive prompts silently auto-answered without a TTY, so
ggh resolvein
a script discarded the incoming side of every conflict and reported success ggh clone --fastprompted for a clone mode anyway, discarding the flagggh commit --prdescribed the wrong changes, building the body from an index
its own commit had just emptiedgetCurrentBranchreportedHEADin 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.0Or download a standalone binary below. On macOS, ad-hoc sign it once:
chmod +x ggh-darwin-arm64 && codesign --force --sign - ggh-darwin-arm64