Skip to content

[Code Quality] Add antigravity engine to workflow schema and reference documentation #47749

Description

@github-actions

Description

The antigravity engine is registered in the runtime (pkg/workflow/agentic_engine.go:494-501) and used in real workflows (.github/workflows/smoke-antigravity.md), but it is completely absent from:

  • pkg/parser/schemas/main_workflow_schema.json — no antigravity string anywhere
  • docs/src/content/docs/reference/engines.md — not listed as a supported engine
  • docs/src/content/docs/reference/frontmatter-full.md — engine catalog is out of date

This causes schema validation to miss or reject valid workflows using antigravity, and confuses users looking at the documentation.

Suggested Changes

  1. Add antigravity to built-in engine ID descriptions/enum-like surfaces in pkg/parser/schemas/main_workflow_schema.json
  2. Update docs/src/content/docs/reference/engines.md to include antigravity in the available engine list with a description and example
  3. Regenerate/update docs/src/content/docs/reference/frontmatter-full.md to reflect current runtime engine support
  4. Consider constraining built-in engine IDs with an explicit enum in the schema to prevent future drift
  5. Demote dispatch_repository deprecated alias to a clearly labeled migration note (not a peer of canonical engine IDs)

Files Affected

  • pkg/parser/schemas/main_workflow_schema.json
  • docs/src/content/docs/reference/engines.md
  • docs/src/content/docs/reference/frontmatter-full.md

Success Criteria

  • antigravity appears in schema engine list and docs
  • Schema validation accepts workflows with engine: antigravity
  • dispatch_repository is clearly marked deprecated in docs
  • All schema tests pass

Source

Extracted from Schema Consistency Check - 2026-07-24

Priority

High — schema and docs disagree with runtime; affects correctness of schema validation.

🔍 Task mining by Discussion Task Miner - Code Quality Improvement Agent · sonnet46 · 51.1 AIC · ⌖ 8.26 AIC · ⊞ 7.1K ·

  • expires on Jul 24, 2026, 11:41 PM UTC-08:00

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions