Repository navigation
fix(agent): load the Antigravity profile from a fixed directory - #6921
Merged
Merged
Conversation
Generated-by: OpenAI Codex
Generated-by: OpenAI Codex
M4n5ter
marked this pull request as ready for review
November 15, 2026 04:23
4 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Maka prepares one static AGY agent definition at
~/.maka/external-agents/antigravity/agent/.agents/agents/maka.mdand passes its root as a fixed--add-dirargument on every launch. The project remains the primary workspace. AGY uses the existing login and native session history, and receives the current Maka MCP endpoint through ACP.Agent launch and disable leave the user's Antigravity configuration alone. Standalone
agydiscovers the Maka agent when launched with that same directory argument.Migration
Download the one-time Python migration. Run
python3 migrate_maka_antigravity.pyto preview, then pass--applyto remove the identified old registration. The script identifies the previously generated Markdown and the draft's directory link by ownership or target, and preserves user-created settings and definitions. The updated Maka build prepares the new definition on first use. The first resume of a session that had no extra directory can miss part of its cached prefix.Verification
session/newandsession/resumeusing the same native session and fixed directory. Both discovered the current MCP endpoint with rotated credentials. The resumed request contained the first reply and the Maka agent instructions. The user's agent file stayed byte-for-byte identical. Windows OAuth was outside this test.AI use
OpenAI Codex implemented the launch and migration changes and verified them on macOS and Windows.
Checklist
Does this PR entail a change in behavior?