Repository navigation
feat(pstack): install pstack in Google Antigravity from a generated tree - #953
Open
aryamantepal wants to merge 1 commit into
Open
aryamantepal wants to merge 1 commit into
aryamantepal wants to merge 1 commit into
Conversation
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.
Google Antigravity users can install pstack from
harness/pstack/antigravitywithagy plugin install ./harness/pstack/antigravity, or copy the generated directory into a workspace's.agents/plugins/pstack.This follows #637's generated-tree architecture. The existing generator now builds both harnesses and checks both for drift, missing adapter mappings, and broken relative links. The Antigravity tree bundles 58 source skills, two adapted agents, the guide, license, and a native manifest. Its adapter covers tool calls, workspace rules, model tiers, setup-pstack, and unavailable Cursor features. Agent definitions use native tool grants and load the bundled adapter before following their source prompts.
Cursor's source skills and agents are unchanged. The Claude Code tree changes only its README to document the new install option. Generated files remain covered by the existing
linguist-generatedattribute.Validation:
node scripts/generate-pstack-harness-trees.mjs --checkpasses.node --test scripts/test/*.test.mjspasses all 13 tests, including drift detection, executable modes, adapter coverage, source changes, agent bootstrap changes, and package relocation. CI runs this suite.agy plugin validate harness/pstack/antigravity --strict --jsonreports 58 skills, two agents, and no findings. A copy under a temporary workspace's.agents/plugins/pstackalso passes strict validation.node scripts/validate-plugins.mjspasses.Limits: live agent discovery/execution could not be tested because the validation environment blocks Antigravity's localhost listener. The adapter documents that Cursor's
disable-model-invocationcatalog hiding is not guaranteed by Antigravity; generated skill bodies include an explicit-invocation instruction. Model defaults use supported tiers (pro,flash,inherit), without claiming vendor equivalence.Note
Medium Risk
Touches the shared harness generator and CI gates for both Claude Code and Antigravity trees; mistakes could break installs or drift checks, but Cursor source skills are unchanged and tests cover regeneration and validation failures.
Overview
Adds Google Antigravity as a second installable harness alongside Claude Code: users install from generated
harness/pstack/antigravityviaagy plugin installor by copying into.agents/plugins/pstack.The harness generator now builds both trees from the same
pstack/sources, validates each adapter against Cursor-specific terms used in skills, and fails on drift, dangling links, or incomplete mappings for either target. Antigravity-specific output includes a slimplugin.json, rewritten agent frontmatter (native tools, subagent flags, model tiers), bundled adapter injection in skills/agents, explicit-invocation text fordisable-model-invocationskills, andpoteto-agentbootstrap that reads bundledpoteto-modeinstead of Cursor plugin paths.New
pstack/docs/harness/antigravity.mddocuments tool, model, rules, and Cursor-only skip behavior.pstack/README.mddocuments Antigravity install and regeneration for both harnesses. CI runsnode --test scripts/test/*.test.mjsto lock in package shape, agent adaptation, drift--check, and failure modes before trees are overwritten.Reviewed by Cursor Bugbot for commit ae61882. Bugbot is set up for automated code reviews on this repo. Configure here.