Repository navigation
fix(dist): relocate Antigravity render out of pi discovery - #225
Merged
Merged
Conversation
Rendering the Antigravity (agy) output into .agents/skills made a generated artifact a discovery root that pi also scans, so inside a checkout pi served the rendered copy and outranked the maintained source. .agents/skills is an Agent Skills discovery path by spec, so it must never be a render target. The render output now lives at .bigpowers/rendered/antigravity/skills: - scripts/adapters/agy.sh AGY_SKILLS default - scripts/targets.yaml agy output - scripts/lib/install-targets-b.sh AGY_RENDERED - scripts/lib/install-helpers.js renderedDir (global and local) The install destination is unchanged: global links into ~/.gemini/antigravity-cli/skills, local links into <cwd>/.agents/skills (the Antigravity workspace discovery path). sync-post and target-contracts now check the relocated path, .bigpowers/ is gitignored, and sync-skills clears the new render dir between runs. New tests/test-render-targets-not-discoverable.sh asserts no render output equals the .agents/skills discovery root; wired into the golden suite. Refs #209
|
🎉 This PR is included in version 2.93.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
What this fixes — #209
.agents/skillsis an Agent Skills discovery root that pi scans (project scope). Rendering the Antigravity (agy) output into it meant that inside a bigpowers checkout, pi served the generated copy — which outranked both the maintained source and the package copy. Editingskills/and forgetting a sync silently served stale content.The render output is now
.bigpowers/rendered/antigravity/skills— not a discovery root of any host.Change
scripts/adapters/agy.sh—AGY_SKILLSdefaultscripts/targets.yaml— agyoutputscripts/lib/install-targets-b.sh—AGY_RENDEREDscripts/lib/install-helpers.js—renderedDir(global + local)scripts/sync-skills.sh— creates and clears the new render dirscripts/lib/sync-post.sh/scripts/lib/target-contracts.sh— assert the relocated path.gitignore—.bigpowers/(generated)tests/test-render-targets-not-discoverable.sh(5 checks) wired into the golden suiteInstall destinations are unchanged: global links into
~/.gemini/antigravity-cli/skills, local links into<cwd>/.agents/skills(the Antigravity workspace discovery path — where it belongs for that host).Evidence
Gates
npm run compliance0 ·bash scripts/run-verification-gates.sh60/60 ·trace-stories --strict0.Closes #209