You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Security & Reliability
Notify-only background update checks by default (src/utils/updater-core.ts, scripts/install.mjs)
Changed the default autoUpdate mode from auto to notify so background checks only inspect GitHub release tags and surface a one-time session notice without silently replacing local executable files (dist/*.mjs / rules/AGENTS.md). Users who want background auto-apply can opt in explicitly via config --auto-update auto or AGY_FAST_AUTO_UPDATE=auto (existing explicit config.json preferences are preserved).
Default workspace cwd write boundary for apply_edits & Plan Mode guard (src/tools/apply-edits.ts, rules/AGENTS.md, scripts/install.mjs)
Rejected apply_edits file writes and verify.cwd targets that escape workspace cwd (including ../, out-of-workspace absolute paths, and symlink/directory-symlink escapes) by default with 0 files modified, while preserving in-workspace symlinks and ..hidden filenames and supporting explicit opt-out via AGY_FAST_ALLOW_OUTSIDE_CWD=1 (0 B MCP schema cost).
Explicitly instructed agents in rules/AGENTS.md and mcp-config --rules never to invoke apply_edits (or write-side run_checks) during read-only Plan Mode.
Fixed annotated-tag commit SHA peeling (git ls-remote --tags + ^{} resolution in pickLatestSemverTag), persisted knownTagCommits in update-state.json to hard-refuse force re-tagged / hijacked release tags (even under --force, with safe pre-v0.3.4 unpeeled annotated tag object SHA migration), verified cloned stagingDirHEAD equals the observed commit SHA fail-closed (blocking fetch-time TOCTOU hijacking), enforced LF checkouts (-c core.autocrlf=false -c core.eol=lf + root .gitattributes) so Windows hosts with default core.autocrlf=true match Linux-generated SHA256SUMS.txt digests verified via constant-time timingSafeEqual (strict opt-in via AGY_FAST_REQUIRE_CHECKSUMS=1), and printed target commit SHA + GitHub compare diff URL in update --prompt / update --check.
Pinned all GitHub Actions in ci.yml and release.yml to immutable 40-char commit SHAs, enforced package-lock.json and SERVER_VERSION parity in release.yml, added SHA256SUMS.txt release assets + actions/attest-build-provenance SLSA attestations, added an opt-in zero-token npm OIDC --provenance publish job (vars.NPM_TRUSTED_PUBLISHING == 'true'), and expanded SECURITY.md with a 2-minute independent supply-chain audit guide.
Added opt-in --bin-shim / --bin-shim-dir <dir> installation support creating agy-fast and agy-fast-mcp shims on PATH (POSIX symlinks + Windows .cmd trampolines supporting non-ASCII paths), with ownership safety guards and full doctor / update / uninstall lifecycle wiring.
Preserved compact 1-line trailing pass summaries (test counts, build/typecheck output summaries) in run_checkscompact mode with water-fill shrinking and spill integration within the 8,800 B UTF-8 budget.
Surfaced Flask/FastAPI routes, @dataclass, and @pytest.fixture decorator metadata in Python outlines, with non-route receiver guards, escaped-newline rejection, and PEP 614/701 f-string handling.
Added actionable CLI error hints when callers pass MCP-only JSON keys/flags to --cli subcommands, plus Unicode payload path and --file byte-limit regression tests (test/cli-runner.test.ts, #118, thanks @pzy19-prog).
Japanese documentation (README.ja.md, package.json, scripts/install.mjs, src/utils/updater-core.ts, #117, thanks @dgtlchika)
Added Japanese README (README.ja.md), 4-language navigation switcher across all READMEs, and installer/updater/package registration.
Fixed
Serialized in-process commits, stale snapshot guards & rollback reporting in apply_edits (src/tools/apply-edits.ts, #102, thanks @0x7b1e)
Serialized concurrent in-process apply_edits commits, rejected stale pre-write file/symlink swaps before touching disk, and reported incomplete rollback failures cleanly within the 8,800 B budget.
Rejected ambiguous self-overlapping targets consistently across in-range and drift-recovery paths (#128), and surfaced the [VERIFY ... — fix before proceeding] badge on line 1 within the 8,800 B budget (#122).
Isolated piped remote installs (irm ... | iex) from arbitrary workspace CWD decoys, tightened manifest/repo checks, and verified home resolution across both pwsh and Windows PowerShell 5.1.
Accurate effectiveTps numerator in benchmark (src/benchmark-core.ts, #119, thanks @ErrantSnow)
Aligned effectiveTps numerator strictly with timed turns (timedOutputTokens).
Raised unminified dist/mcp-server.mjs bundle test ceiling (test/mcp-protocol.test.ts)
Raised the internal anti-bloat test cap for the intentionally unminified dist/mcp-server.mjs from 512 KiB to 1 MiB so future features stay readable and merge-friendly.
Added <1 ms pure-stat detection in SessionStart (detectOversizedWorkspaceRuleFiles / formatRuleLimitNotice) warning only when a workspace rule file exceeds Antigravity's 24,000 B silent truncation cap (rules.go:736 on Desktop v2.34–v2.36 / CLI v1.5.x, 0 B overhead otherwise).
Extended explicit doctor with read-only 24,000 B rule-cap checks and Desktop/CLI MCP schema size + disabled-plugin residue checks.
Extended benchmark with Turn-1 main-session baseline context, visible thinking-summary empty rate vs. estimated hidden reasoning tokens, solo update_steps/update_focus turn tracking, and compare --surfaces (Desktop 2.0 vs. CLI).
Tightened rules/AGENTS.md (with explicit Antigravity Desktop v2.34–v2.36 / CLI v1.5.x applicability annotations) to warn against mid-session model/effort/Plan-Mode toggling and solo UI-progress turns, and published a sanitized empirical audit report covering the 3-tier official safety monitor (agy_tool_safety → sir_flash_lite → severe_internal_risks_agy) and agy-fast's compliant batching advantages.
Clarified that while Antigravity's Git/filesystem modified-files list and Git diff viewer work normally, apply_edits writes via the external MCP Node process and does not attach to built-in edit_file per-step inline diff cards or tool-level checkpoints; explicitly noted quick_outline is a zero-dep regex/lexical heuristic index (not a full AST/LSP); added a candid trade-offs FAQ covering least-privilege read-only mode (--tools batch_search,quick_outline,read_slices), --project per-repo installation for non-coding chat hygiene, and notify-by-default update security; added 628-session Prompt Cache prefix alignment tables (including parallel image + text turns); and added a bottom Acknowledgments section featuring community Awesome lists that curated agy-fast.