Skip to content

feat(antigravity): preserve HOME via symlink and clean stale tmp outputs - #28

Merged
MushuEE merged 1 commit into
mainfrom
feat/antigravity-session-followups
Nov 20, 2026
Merged

MushuEE merged 1 commit into
mainfrom
feat/antigravity-session-followups

Conversation

@aprajitaarora13

Copy link
Copy Markdown
Collaborator

Follows up on the non-blocking suggestions from #25:

  • Preserve HOME via symlink: Keep HOME intact (so tools such as git, ssh, and gcloud keep finding configs under ~/.gitconfig, ~/.ssh, and ~/.config/gcloud) and symlink ~/.gemini/antigravity-cli to <workspace>/.ax/sessions/<sessionId> (overridable via AX_SESSION_DIR). If a pre-existing non-symlink ~/.gemini/antigravity-cli directory is present and the session directory is empty, its contents are migrated before creating the symlink.
  • Clean stale temporary outputs on startup: Remove leftover <output>.tmp.* files from interrupted runs before starting agy.
  • README updates: Document that /workspace is memory-backed (keep at least 2Gi–4Gi under resources.limits.memory for session history/logs and runtime-installed agy) and add the ax ssh snippet for continuing a task's session interactively (agy --continue).
  • Tests: Update agents/antigravity/test_harness.sh to verify preserved HOME (.gitconfig), symlink creation, non-symlink directory migration, and stale .tmp.* cleanup.

Verified:

  • ./agents/antigravity/test_harness.sh passes all tests.

@Lukeluds Lukeluds left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Aprajita!

@MushuEE
MushuEE merged commit 4a33e73 into main Nov 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants