Non-invasive MCP accelerator plugin for Google Antigravity (CLI/Desktop/IDE): cuts LLM turns (-34%), token quota (-31%), and upload traffic (-40%) without affecting native UI or diffs.
TypeScript ai-agentai-codingantigravityantigravity-cliantigravity-ideantigravity-pluginscoding-agentcontext-optimizationdeveloper-productivitydeveloper-toolsgeminigoogle-antigravitylatency-optimizationmcpmcp-pluginmcp-servermodel-context-protocolperformanceplugintoken-optimization
Contributing to agy-fast
Thanks for contributing! agy-fast uses a protected main + dev branching model so main stays releasable and safe for one-command installers (install.sh / install.ps1) and direct git clone users.
Branching Model
| Branch | Role | Protection |
|---|---|---|
main |
Stable released code only (vX.Y.Z tags) |
Protected: PR + passing Linux/macOS/Windows CI & stress benchmark required; no direct push, force-push, or deletion |
dev |
Active integration branch for upcoming releases | Protected against deletion & force-push; default target for feature/fix PRs and Dependabot |
feat/*, fix/*, docs/* |
Short-lived topic branches branched from dev |
Automatically deleted after PR merge |
hotfix/* |
Urgent production fixes branched from main |
PR into main, then back-merged into dev |
Submitting a Pull Request
- Branch off
dev:git checkout dev git pull origin dev git checkout -b fix/your-topic - Make your edits and rebuild the bundled runtime outputs if you touched
src/:
If you also changednpm run typecheck npm run build npm testplugin.json,mcp_config.json,hooks.json, orrules/AGENTS.md, run:npm run validate - Open a PR targeting
dev. CI will automatically verify Linux, macOS, and Windows (verify (ubuntu-latest, Node 20/22/24),verify (macos-latest, Node 20/22/24),verify (windows-latest, Node 20)),dist/bundle freshness,install.shsyntax,install.ps1PowerShell AST validation, and the 11-scenario stress suite (stress).
Release Flow (Maintainers)
- On
dev, bumpversioninpackage.json,package-lock.json,plugin.json, andSERVER_VERSIONinsrc/mcp-server-core.ts, add the## [X.Y.Z] - YYYY-MM-DDsection toCHANGELOG.md, runnpm run typecheck && npm run build && npm test && npm run validate && npm run bench:stress, and commit. - Open a Release PR from
dev→mainand wait for all CI checks (verify (ubuntu-latest, Node 20/22/24),verify (macos-latest, Node 20/22/24),verify (windows-latest, Node 20), andstress) to pass. - Merge using Create a merge commit (avoid Squash on
dev→mainso branch history stays aligned), pull the mergedmain, and push a signed/annotated tagvX.Y.Z:
(Usegit checkout main && git pull origin main git tag -s vX.Y.Z -m "Release vX.Y.Z" && git push origin vX.Y.Z-aif GPG/SSH signing is not yet configured;-sis strongly recommended.) PushingvX.Y.Zautomatically triggers.github/workflows/release.yml, which verifies the tag is onmain, checks version parity acrosspackage.json,package-lock.json,plugin.json, andsrc/mcp-server-core.ts, runs tests &dist/freshness checks, generatesSHA256SUMS.txt+ SLSA build provenance attestations (actions/attest-build-provenance), extracts notes fromCHANGELOG.md, and publishes the GitHub Release (tags matchingv*are protected against deletion/mutation once pushed). - Zero-token npm Trusted Publishing (optional OIDC automation): To have
release.ymlautomatically publish stable tags to npmjs with--provenance(no long-lived npm tokens stored in GitHub Secrets), configureINK-Q/agy-fast→.github/workflows/release.ymlunder Trusted Publisher onnpmjs.comfor packageagy-fast, then set the repository variableNPM_TRUSTED_PUBLISHING=true. - Fast-forward/sync
devwithmain(git checkout dev && git merge main && git push origin dev) so the next release cycle stays conflict-free.