Skip to content

Add undocumented flag to BaseEngine to stop antigravity drift-detection churn#47160

Draft
pelikhan with Copilot wants to merge 3 commits into
mainfrom
copilot/doc-healer-improve-antigravity-handling
Draft

Add undocumented flag to BaseEngine to stop antigravity drift-detection churn#47160
pelikhan with Copilot wants to merge 3 commits into
mainfrom
copilot/doc-healer-improve-antigravity-handling

Conversation

Copilot AI commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

The antigravity engine is registered and functional in production but intentionally absent from engines.md and main_workflow_schema.json. Because nothing in code recorded this exclusion, drift-detection tools kept re-flagging it as missing documentation — resulting in 10+ duplicate not_planned issues and three rejected fix PRs.

Changes

  • BaseEngine — new undocumented bool field (default false; all existing engines unaffected) with IsUndocumented() bool accessor. Drift tools check this before comparing registered engines against docs/schema.

  • EngineRegistry.GetDocumentedEngines() []string — returns only engines where IsUndocumented() == false, sorted. Drift checks should call this instead of GetSupportedEngines() to exclude intentionally hidden engines.

  • NewAntigravityEngine() — sets undocumented: true with an explanatory comment, encoding the exclusion as durable, machine-readable intent.

// Before: no way to distinguish "not yet documented" from "intentionally undocumented"
registry.GetSupportedEngines() // → ["antigravity", "claude", "codex", ...]

// After: drift checks use the documented subset
registry.GetDocumentedEngines() // → ["claude", "codex", "copilot", "gemini", "opencode", "pi"]
registry.IsValidEngine("antigravity") // → true (still usable)
NewAntigravityEngine().IsUndocumented() // → true

Copilot AI and others added 2 commits July 22, 2026 00:16
… drift detection

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…umented

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix DDUw re-processing of rejected antigravity engine direction Add undocumented flag to BaseEngine to stop antigravity drift-detection churn Jul 22, 2026
Copilot AI requested a review from pelikhan July 22, 2026 00:26
@github-actions

Copy link
Copy Markdown
Contributor

🤖 PR Triage

Field Value
Category refactor
Risk medium
Score 50/100
Breakdown impact: 22 · urgency: 15 · quality: 13
Action batch_review
Batch go-code (with #47088, #47108)

Rationale: Behavioral change to engine registry API — GetDocumentedEngines() is a new contract that drift tools must adopt. Small footprint (5 files, +87/-1), CI ✅, draft. Good quality but needs human validation of the registry contract before undraft.

Generated by 🔧 PR Triage Agent · sonnet46 29.6 AIC · ⌖ 7.43 AIC · ⊞ 5.6K ·

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[doc-healer] DDUw improvement - stop re-processing rejected antigravity engine-catalog direction

2 participants