LearnNewsExamplesServices
Frontmatter
id8017
titleFix IssueSyncer path resolution for Antigravity environment
stateClosed
labels
bugcontributor-experienceai
assigneestobiu
createdAtDec 4, 2025, 12:00 AM
updatedAtDec 4, 2025, 12:15 AM
githubUrlhttps://github.com/neomjs/neo/issues/8017
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtDec 4, 2025, 12:15 AM

Fix IssueSyncer path resolution for Antigravity environment

Closed v11.16.0 bugcontributor-experienceai
tobiu
tobiu commented on Dec 4, 2025, 12:00 AM

The sync_all tool was failing in the Antigravity environment due to process.cwd() resolving to /. This caused the IssueSyncer to attempt creating directories at the filesystem root (e.g., /.github), resulting in ENOENT errors.

Changes:

  • Updated ai/mcp/server/github-workflow/config.mjs to use a hybrid path resolution strategy.
  • The configuration now calculates the package root using import.meta.url.
  • If process.cwd() is / (Antigravity), it falls back to the package root.
  • Otherwise, it uses process.cwd() to maintain compatibility with standard workspace scripts.

Verification:

  • Verified that sync_all runs successfully in Antigravity after the fix.
tobiu added the bug label on Dec 4, 2025, 12:00 AM
tobiu added the contributor-experience label on Dec 4, 2025, 12:00 AM
tobiu added the ai label on Dec 4, 2025, 12:00 AM
tobiu assigned to @tobiu on Dec 4, 2025, 12:14 AM
tobiu referenced in commit 810857f - "Fix IssueSyncer path resolution for Antigravity environment #8017" on Dec 4, 2025, 12:14 AM
tobiu closed this issue on Dec 4, 2025, 12:15 AM