Skip to content

feat(antigravity): add Antigravity harness (#2)#5

Merged
kevinkod merged 1 commit intomainfrom
feat/antigravity-harness
May 1, 2026
Merged

feat(antigravity): add Antigravity harness (#2)#5
kevinkod merged 1 commit intomainfrom
feat/antigravity-harness

Conversation

@kevinkod
Copy link
Copy Markdown
Contributor

@kevinkod kevinkod commented May 1, 2026

Closes #2.

Summary

8th Specflow harness target. Adds --ai antigravity to specflow init, scaffolding files into .agent/ (singular — distinct from OpenCode's .agents/).

Layout produced

.agent/workflows/specflow-<name>.md   # slash commands
.agent/workflows/<backlog-name>.md    # backlog command (no prefix per AC)
.agent/agents/specflow-<name>.md      # sub-agents (flat .md, frontmatter passthrough)
.agent/skills/specflow-<name>/SKILL.md
.specflow/                            # standard Specflow metadata
AGENTS.md
tasks/backlog.md

Design notes

  • Closest pattern reference: gemini_harness.ts (markdown commands + separate agents dir + SKILL.md subfolders).
  • Workflow files are plain Markdown with description: frontmatter — 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's the user's behavior-rules file and must not be touched by Specflow.
  • No harness-specific templates needed; runs on the core bundle alone.

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) and vudovn/antigravity-kit.

Test plan

  • New tests/integration/init_antigravity_test.ts asserts 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).
  • Visual smoke via specflow init demo --ai antigravity — 38 files written, layout matches AC verbatim.
  • Manual smoke in a real Antigravity IDE — Kevin's gate.

🤖 Generated with Claude Code

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>
@kevinkod kevinkod merged commit ffd51dd into main May 1, 2026
4 checks passed
@kevinkod kevinkod deleted the feat/antigravity-harness branch May 1, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Antigravity Harness

1 participant