Skip to content

fix(dist): relocate Antigravity render out of pi discovery - #225

Merged
danielvm-git merged 1 commit into
mainfrom
fix/agents-render-path-209
Nov 6, 2026
Merged

danielvm-git merged 1 commit into
mainfrom
fix/agents-render-path-209

Conversation

@danielvm-git

Copy link
Copy Markdown
Owner

What this fixes — #209

.agents/skills is 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. Editing skills/ 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_SKILLS default
  • scripts/targets.yaml — agy output
  • scripts/lib/install-targets-b.sh — AGY_RENDERED
  • scripts/lib/install-helpers.js — renderedDir (global + local)
  • scripts/sync-skills.sh — creates and clears the new render dir
  • scripts/lib/sync-post.sh / scripts/lib/target-contracts.sh — assert the relocated path
  • .gitignore — .bigpowers/ (generated)
  • New tests/test-render-targets-not-discoverable.sh (5 checks) wired into the golden suite

Install 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

ok   T1 targets.yaml agy output is .bigpowers/rendered/antigravity/skills
ok   T2 agy.sh renders to .bigpowers/rendered/antigravity/skills, not .agents/skills
ok   T3 install-targets-b.sh reads .bigpowers/rendered/antigravity/skills
ok   T4 install-helpers.js renders from the relocated path
ok   T5 no render output is the .agents/skills discovery root

Gates

npm run compliance 0 · bash scripts/run-verification-gates.sh 60/60 · trace-stories --strict 0.

Closes #209

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
@danielvm-git
danielvm-git merged commit 24bbbd9 into main Nov 6, 2026
7 checks passed
@danielvm-git
danielvm-git deleted the fix/agents-render-path-209 branch November 6, 2026 19:54
github-actions Bot pushed a commit that referenced this pull request Nov 6, 2026
## [2.93.8](v2.93.7...v2.93.8) (2026-11-06)

### Bug Fixes

* **dist:** relocate Antigravity render out of pi discovery ([#225](#225)) ([24bbbd9](24bbbd9)), closes [#209](#209)
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 2.93.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(pi): .agents/skills (Antigravity render target) is auto-discovered by pi and outranks the maintained source

1 participant