ANTIGRAVITY LABJP
TAG

Git

19 articles
Back to all tags
Related:
Antigravity9antigravity8troubleshooting4workflow4automation3agents3Agents2quality-gate2ai-agent2github2AI agents1Commit Design1
Agents/2026-07-15Intermediate

When Your Agent Commits a .bak File: Why Fix-Tool Artifacts End Up in Git

Backup files like .bak and .orig slip into commits after an agent runs a --fix tool. Here are the reproduction conditions, the real root cause, and three fixes: narrowing the staged scope, wrapping the fixer, and adding a pre-commit extension gate.

Agents/2026-07-10Advanced

Tracing Why an Agent Wrote That Line Six Months Ago — Commit Granularity and Provenance Trailers

When an agent packs 14 files and 800 lines into a single commit, git blame tells you nothing six months later. Here is how I split commits at intent boundaries, recorded provenance as machine-readable Git trailers, and built a one-command path from a blamed line back to the design decision behind it.

Agents/2026-07-10Advanced

When Your Agent's Files Vanish Into .gitignore — A Pre-Commit Detection Gate

When an agent writes files that match .gitignore, the diff review looks perfect but nothing lands in the commit. Here is a gate script that catches ignored build output before you push, plus the tuning it needs.

Agents/2026-07-08Advanced

Measuring the Rework Rate of What You Delegate to Agents: Drawing Delegation Boundaries with Numbers, Not Instinct

How much should you hand to an agent? I drew that line by instinct for a long time. Here is a practical way to compute a per-category rework rate from your git history and redraw the delegation boundary with numbers, with working code.

Tips/2026-07-05Intermediate

When Your Agent's Commits Pick Up Junk Files: Fixing It With Staging Scope and a Message Convention

Agents tend to run git add -A, sweeping .bak files and caches into your history, and leave a one-word message. Here is how a staging allowlist, a preflight, and a fill-in message template stop it.

Antigravity/2026-07-02Advanced

Parallel Agents Multiply Artifacts Too — Designing Lifespans and Cleanup for Intermediate Outputs

Worktrees, screenshots, temp branches — parallel agents leave debris at parallel speed. A design for defining artifact lifespans and automating cleanup without ever destroying uncommitted work.

Editor/2026-06-26Advanced

Splitting a Giant Antigravity Diff Into Meaningful Commits

Are you committing the agent's 400-line diffs as a single blob? Here is a practical workflow, with scripts, for re-splitting an unreviewable bulk commit into one concern per commit.

Integrations/2026-06-18Intermediate

Gating Your Agent's Commits With pre-commit — Keeping Broken Changes Out of the Main Repo

How to wire up a pre-commit gate that lints, type-checks, runs fast tests, and scans for secrets the moment Antigravity's agent commits — with measured timings and the ordering that keeps it fast.

Antigravity/2026-06-16Intermediate

Putting a Verification Step After 'Done': Confirming What Your Antigravity Background Agents Actually Produced

An Antigravity 2.0 background agent reported 'Done,' yet the output was nowhere to be found. Running several sites on autopilot as a solo developer, I hit this gap more than once. Here is how I learned to check ground truth instead of the agent's self-report.

Agents/2026-06-13Advanced

Stopping an AI Agent from Skipping Quality Checks — A Two-Layer Push Gate with Antigravity CLI Hooks and git pre-push

An agent once judged my failing tests 'unrelated' and pushed anyway. Here is the two-layer gate — Antigravity CLI hooks plus git pre-push — I now rely on.

Agents/2026-06-12Intermediate

When an AI Agent's git push Reports Success but Nothing Reaches the Remote

Why agent-automated git pushes fail silently (a missing identity plus a no-op push), with three fixes: explicit config, SHA verification, and the GitHub REST API.

Antigravity/2026-05-21Intermediate

Why Antigravity Agents Hit `Permission denied` on git push, and How to Fix It for Good

Your Antigravity agent finishes the edits, tests pass, the commit message is sharp — and then git push fails with `remote: Permission to ... denied` or `fatal: Authentication failed`. Here's the diagnostic flow I actually use for multi-account, multi-PAT setups, plus the long-term fixes that keep the error from coming back.