Closed
fix(docs): add antigravity to engines reference doc + add engine-doc sync test#48678
Conversation
…safeguard test Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Investigate recurring antigravity engine doc-drift
fix(docs): add antigravity to engines reference doc + add engine-doc sync test
Jul 28, 2026
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.
antigravityis a registered runtime engine (with its owndata/engines/antigravity.mddefinition and live workflow usage) but has been repeatedly absent fromdocs/src/content/docs/reference/engines.md, requiring manual re-addition after each drift cycle. The root cause is no CI gate enforcing parity betweendata/engines/*.mdand the reference docs.Changes
docs/src/content/docs/reference/engines.md: Addedantigravity(experimental, Google) to the Available Coding Agents table, Engine Feature Comparison table, and version pinning table. Capability columns reflect runtime values: ToolsAllowlist ✅, max-turns ✅, api-target ✅; bare/harness/agent/continuations ❌.pkg/workflow/engine_doc_sync_test.go(new):TestEngineDocSync— dynamically enumerates all engine IDs vialoadBuiltinEngineDefinitions()and fails if any ID is missing as a backtick-quoted reference in the engines reference doc. Any future engine added todata/engines/without updating the docs will now break unit tests at PR time with a clear remediation message.pkg/workflow/engine_definition_test.go: AddedantigravitytoTestNewEngineCatalog_BuiltInsso all seven built-in engines are explicitly validated.