Handle empty Antigravity print results#1
Draft
SpadesZ wants to merge 4 commits into
Draft
Conversation
Owner
Author
|
Update: added Windows agy recovery hardening in a6b67f2. The runner now starts agy from USERPROFILE, passes target repo via --add-dir, records --log-file, recovers completed results from Antigravity transcript JSONL, keeps existing conversation DB fallback, and can mark timeout cases COMPLETED when a ready fallback result exists. Validation: py -3.12 py_compile, tests/protocol_smoke.py, tests/report_server_smoke.py, scripts/smoke.ps1 all pass. Real agy health smoke passed via fallback with agy available, stdout empty, timedOut true, fallbackFound true. |
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.
Summary
agy --printstdout as diagnostic and keep completion tied to report MCP/result marker.ANTIGRAVITY_AGY_MODEL=Gemini 3.5 Flash (Medium)and remove that default from install templates.DEV_TRIANGLE_RESULT_READY, Dev Triangle recovers the result into the mailbox and marks the handoff complete.Root Cause
Antigravity CLI can authenticate, stream model/tool activity, and still return exit 0 with empty stdout. On this Windows machine the model response was present in
%USERPROFILE%\.gemini\antigravity-cli\conversations\*.db, while stdout stayed empty. The correct durable completion signal is the report MCP/result marker, with SQLite DB recovery as a local fallback.Verification
python -m py_compile server.py antigravity_report_server.py tests/protocol_smoke.py tests/report_server_smoke.pypython tests/protocol_smoke.pypython tests/report_server_smoke.pygit diff --checkscripts/smoke.ps1run_antigravity_print_smoke(...)passed viaantigravity_conversation_dbfallback while raw stdout was empty.antigravity-20260626052726-f572619freran successfully and submitted throughdev-triangle-report; ledger/result status isCOMPLETED, recommendationMERGE.