feat(antigravity): add Antigravity harness (#2)#5
Merged
Conversation
Closes #2. 8th Specflow harness target. Antigravity is Google DeepMind's AI coding assistant; it reads from .agent/ (singular) — distinct from OpenCode's .agents/ (plural) — with workflows/, agents/, skills/ subdirectories. Layout written by `specflow init --ai antigravity`: .agent/workflows/specflow-<name>.md # slash commands .agent/workflows/<backlog-name>.md # backlog command (no prefix) .agent/agents/specflow-<name>.md # sub-agents (flat .md) .agent/skills/specflow-<name>/SKILL.md Implementation closely mirrors gemini_harness.ts (markdown commands, separate agents dir, SKILL.md subfolders). Notable differences: - Workflow files are markdown (Antigravity convention), not TOML. - Agent frontmatter passes `tools:` / `model:` / `skills:` through verbatim — no permission-map translation (that's OpenCode-specific). - `.agent/rules/GEMINI.md` is intentionally NOT written: that file is the user's behavior rules and must not be touched by Specflow. No harness-specific templates needed; the harness compiles against the core bundle alone, like Gemini, Codex, and OpenCode. Path resolution credit: the architect agent disambiguated `.agent/` vs `.agents/` from primary sources (sickn33/antigravity-awesome-skills and vudovn/antigravity-kit). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Closes #2.
Summary
8th Specflow harness target. Adds
--ai antigravitytospecflow init, scaffolding files into.agent/(singular — distinct from OpenCode's.agents/).Layout produced
Design notes
gemini_harness.ts(markdown commands + separate agents dir + SKILL.md subfolders).description:frontmatter — Antigravity convention, not TOML.tools:/model:/skills:through verbatim. No permission-map translation (that's OpenCode-specific)..agent/rules/GEMINI.mdis intentionally NOT written. That's the user's behavior-rules file and must not be touched by Specflow.Path resolution
The architect agent (see
.claude/agents/architect/memory/antigravity-harness-research.md) confirmed.agent/vs.agents/ambiguity from primary sources:sickn33/antigravity-awesome-skills(community-maintained, 36k+ stars, installer test suite pinning paths) andvudovn/antigravity-kit.Test plan
tests/integration/init_antigravity_test.tsasserts the full destination layout, agent prefix, frontmatter shape, and negative checks (no.claude/,.agents/,.gemini/, etc., no.agent/rules/GEMINI.md).deno task test— 313/313 pass (was 312 before this PR).specflow init demo --ai antigravity— 38 files written, layout matches AC verbatim.🤖 Generated with Claude Code