Repository navigation
fix(antigravity): fold ask_question *_other companion fields into one step - #73
Open
collissimo wants to merge 1 commit into
Open
collissimo wants to merge 1 commit into
collissimo wants to merge 1 commit into
Conversation
… step Antigravity translates each ask_question item into a qN choice field paired with an optional qN_other free-text field and puts the question text in title. Previously T3 Code only folded __other companions (OMP), so every Antigravity multiple-choice question appeared with custom input disabled and was immediately followed by a duplicate free-form "Other" step. Add extractAntigravityElicitationForm for Antigravity's qN/qN_other pairs (single- and multi-select, preserving the real question text and inline custom answers) and extend parseElicitationForm to recognize single-underscore <id>_other companions alongside <id>__other while keeping standalone free-form fields intact. Verified: vp run check:changed origin/collin/main (format, lint, knip, graphql, typecheck 14/14, 79 tests across 4 files including live ACP subprocess elicitation round-trip); failing tests reproduced the split q1/q1_other steps before the fix Co-Authored-By: Gemini 4 Neon <noreply@google.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.
Problem
Antigravity translates each
ask_questionitem into aqNchoice field paired with an optionalqN_otherfree-text field and puts the question text intitle. T3 Code's ACP elicitation form parser only folded double-underscore__othercompanions (OMP), so every Antigravity multiple-choice question appeared with inline custom input disabled and was immediately followed by a duplicate free-form"Other"step.Fix
extractAntigravityElicitationForminAntigravityProtocol.tsand wire it inAntigravityAdapterV2.tssoqN/qN_otherpairs (single- and multi-select) collapse into one question step with the actual question text inquestion, inline custom answer input enabled, and typed answers routed back toqN_other. Non-ask_questionor mixed schemas (including standalone free-form questions) fall back untouched toparseElicitationForm.parseElicitationForminpackages/provider-acpto recognize optional single-underscore<id>_othertext companions alongside<id>__otherwhile preserving standalone text fields.Verification
q1/q1_othersteps with failing tests first.vp run check:changed origin/collin/main: format, lint, knip, graphql, typecheck (14/14 packages), and 79 tests across 4 files including a live ACP subprocess elicitation round-trip (AntigravityAdapterV2.test.ts).