Skip to content

async/auto-git

Repository files navigation

Auto Git

Auto Git is a Codex skill suite for turning repository work into understandable Git history.

Skills

  • auto-git: stages, commits, pushes, lands, and fanouts worktrees by change intent.
  • git-intent-audit: read-only evidence for large dirty worktrees, unclear intent, oversized commits, mixed commits, and message/diff mismatches.
  • git-history-rewrite: audit-backed local history replay by change intent, preserving authorship and never force-pushing by default.

auto-git owns the canonical commit style. The audit and rewrite skills defer to skills/auto-git/references/commit-by-intent.md for intent type selection, scope selection, message wording, and chore as the last resort.

Source Layout

skills/          Installable Codex skill folders
docs/gists/      README source for each published gist package
gists/           Generated flat gist packages
scripts/         Validation, packaging, and publishing tools
tests/           Node test suite for package invariants
pipeline.ts      @async/pipeline workflow definition

Do not edit gists/** by hand. Update skills/** or docs/gists/**, then run:

pnpm gists:package

Local Verification

pnpm install
pnpm verify

Useful focused commands:

pnpm skills:validate
pnpm gists:check
pnpm test
pnpm pipeline:github:check

Gist Publishing

The published gist packages are generated from this repo:

Publishing requires a token that can update those gists:

GIST_TOKEN=... pnpm gists:publish

On GitHub Actions, configure a repository secret named GIST_TOKEN. The generated @async/pipeline workflow publishes gists on pushes to main and on manual dispatch.

Pipeline

@async/pipeline owns the GitHub Actions workflow. Regenerate after editing pipeline.ts:

pnpm pipeline:github:generate
pnpm pipeline:github:check

About

AI agent Git workflow for safe staging, intent-based commits, push/merge/land flows, worktree handling, topology-aware automation, large dirty diff splitting, unrelated edit protection, and audit/rewrite routing.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors