Repository navigation
Done
Description
Antigravity task runs show only the final summary: no execution events, no live activity
Problem
For Antigravity task runs (agy 1.5.15, agent alias antigravity), the task page shows only the final summary:
get_task_logsreturns[]for finished Antigravity tasks (e.g. integry/digvinpr-comments-batch-integry-digvin-386-1795780956438). Claude and Codex tasks persist every tool_use/tool_result.- The live view shows nothing structured during the run.
- Token usage falls back to a prompt-only estimate. On hosted digvin, 8 Antigravity executions of about 10 minutes each total only ~23k input / 2.4k output tokens.
- Those cost rows have
agent=nullandexecution_type=null.
Root causes (verified locally on a main-built image)
- The transcript export has been failing silently since Give implementation runs and direct goals a read-only GitHub token #2658 (2026-10-01).
- Tasks run
agywith default text output, becauseAntigravityAgent.tsadds--output-format stream-jsononly for goals. So stdout holds just the final answer. - The only source of steps is
brain/**/.system_generated/logs/transcript.jsonl.scripts/antigravity-entrypoint.sh(~lines 151-156) copies it toPROPR_ANTIGRAVITY_TRANSCRIPT_PATH, which defaults to/tmp/git-processor/propr-cache/transcripts/antigravity/…(AntigravityAgent.ts~line 37). - No mount is added for that path. The only mount covering it is
buildAgentGitMountArgs(agentGitAccess.ts~line 50, used fromantigravityDockerArgsBuilder.ts~line 55), which mounts/tmp/git-processorread-only when the worker owns git. - Reproduced with the real args builder and repo-setup wrapper:
cp: cannot create regular file '/tmp/git-processor/propr-cache/transcripts/antigravity/probe-1.jsonl': Read-only file system Warning: could not export transient Antigravity transcript - Result:
conversationLogis[], nollm_execution_detailsrows are written, andget_task_logsis empty.
- Tasks run
- Even with a transcript, tool steps are dropped.
resolveSessionOutput(AntigravityAgent.ts~line 221) appliesfilterAntigravityAnalysisEvents(antigravityOutputParser.ts~lines 298-315). This is an analysis filter that keeps only events with response text.- On a real 44-step transcript (7 USER_INPUT, 23 PLANNER_RESPONSE, 11 RUN_COMMAND, 1 LIST_DIRECTORY, 2 GENERIC), only the 8 PLANNER_RESPONSE steps survive.
convertEventToClaudeFormat(~lines 416-420) also maps every step to plain text, nevertool_use/tool_result.
- The live view can't show anything.
- Task runs print plain text, so
parseRedisOutputgives[]. processAntigravityEvent(packages/api/services/redisOutputParser.ts~line 365) handles only legacymessage/tool_use/resultevents and transcript-stylesource:"MODEL"lines. It doesn't handle the agy 1.1.12+stream-jsonenvelope (event: init|step_update|result).- So goals likely miss live narration from this path too. Check
antigravityGoalStream.ts.
- Task runs print plain text, so
Required changes
- Export the transcript to a location that is writable and reaches the worker.
- Bind-mount a per-run transcript directory read-write into the container, e.g. the
createTransientTranscriptPathdirectory mapped withresolveHostBindPathfor containerized workers. Alternatively, copy the transcript out before--rmremoves the container. - Do not make
/tmp/git-processorwritable again. - Log a worker-side warning when a transcript is expected but missing, instead of failing silently.
- Bind-mount a per-run transcript directory read-write into the container, e.g. the
- Run task (non-goal) executions with
--output-format stream-json, as goals already do.- This gives live narration, step types and states, and real token usage.
- Keep the stdin prompt and
--print-timeout. - Take the final summary from the
resultevent's response.
- Persist the full trace for implementation runs.
- Stop applying
filterAntigravityAnalysisEventsto the taskconversationLog; keep it only for analysis and summary output. - Map transcript steps to Claude-shaped events:
- PLANNER_RESPONSE → assistant text, plus thinking.
- RUN_COMMAND / VIEW_FILE / GREP_SEARCH / LIST_DIRECTORY / CODE_ACTION / GENERIC and other tool step types →
tool_use(name = step type, input = the command or target parsed from the content) plustool_result(content = output,is_errorwhenstatusisERROR). - ERROR_MESSAGE → error.
- USER_INPUT → user.
- Transcript shape:
{source, type, status, step_index, created_at, content}, plusthinkingon PLANNER_RESPONSE anderroron ERROR_MESSAGE. Tool step content is text startingCreated At:/Completed At:, followed by the command and its output, or byEncountered error in step execution: ….
- Stop applying
- Live Redis parser: handle the stream-json
event:envelope.- AGENT_RESPONSE
text_delta→ buffered thought. - Other
step_updatetypes → tool activity at step granularity. result→ final message and token usage.- Keep the existing legacy handling.
- AGENT_RESPONSE
- Cost attribution: Antigravity execution cost rows must carry the agent alias and execution type.
Tests
- Docker args for task mode include a read-write mount for the transcript path, and that path is not under a read-only mount.
- Entrypoint smoke test run as root, as ProPR launches it (
--user 0:0,PROPR_EPHEMERAL_STATE=1), with a stubagythat writesbrain/x/.system_generated/logs/transcript.jsonl. Assert the host transcript file exists afterwards. This fails on main today. AntigravityAgentresult processing on the fixture below yields aconversationLogwith tool_use/tool_result pairs, withis_errorset for the ERROR step. The persisted LLM log details contain them.parseRedisOutputon stream-json lines yields thought, tool and result events plus token usage.- Existing analysis and summary tests stay unchanged.
Notes
- ProPR runs on SQLite only: do not add code or tests for other databases.
- A live agy run needs an agy login on the host, which wasn't available during the investigation. Rely on fixtures and the stubbed entrypoint test; a maintainer will run a live check.
Fixture
Sanitized excerpt of a real agy 1.5 transcript, including a failed step. Save it as test/fixtures/antigravity/agy-1.5-transcript-tools.jsonl:
{"source": "USER_EXPLICIT", "type": "USER_INPUT", "status": "DONE", "step_index": 0, "created_at": "2026-01-01T00:00:00Z", "content": "<USER_REQUEST>\nAdd subtract(a, b) to math.js and a test.\n</USER_REQUEST>"}
{"source": "MODEL", "type": "PLANNER_RESPONSE", "status": "DONE", "step_index": 3, "created_at": "2026-01-01T00:00:01Z", "content": "I will inspect the repository and run the tests.", "thinking": "(redacted thinking)"}
{"source": "MODEL", "type": "RUN_COMMAND", "status": "DONE", "step_index": 14, "created_at": "2026-01-01T00:00:08Z", "content": "Created At: 2026-01-01T00:00:00Z\nCompleted At: 2026-01-01T00:00:01Z\n\nnode --test\n# pass 2\n# fail 0"}
{"source": "MODEL", "type": "RUN_COMMAND", "status": "RUNNING", "step_index": 23, "created_at": "2026-01-01T00:00:14Z", "content": "Created At: 2026-01-01T00:00:00Z\nCompleted At: 2026-01-01T00:00:01Z\n\nnode --test\n# pass 2\n# fail 0"}
{"source": "MODEL", "type": "GENERIC", "status": "DONE", "step_index": 29, "created_at": "2026-01-01T00:00:18Z", "content": "Created At: 2026-01-01T00:00:00Z\nCompleted At: 2026-01-01T00:00:01Z\ngeneric step output"}
{"source": "SYSTEM", "type": "ERROR_MESSAGE", "status": "DONE", "step_index": 32, "created_at": "2026-01-01T00:00:20Z", "content": "Created At: 2026-01-01T00:00:00Z\nmodel request failed, retrying", "error": "redacted error"}
{"source": "MODEL", "type": "PLANNER_RESPONSE", "status": "DONE", "step_index": 47, "created_at": "2026-01-01T00:00:28Z", "content": "I will inspect the repository and run the tests.", "thinking": "(redacted thinking)"}
{"source": "MODEL", "type": "LIST_DIRECTORY", "status": "ERROR", "step_index": 48, "created_at": "2026-01-01T00:00:29Z", "content": "Created At: 2026-01-01T00:00:00Z\nCompleted At: 2026-01-01T00:00:01Z\nEncountered error in step execution: directory not found: /home/node/workspace/missing"}
{"source": "MODEL", "type": "RUN_COMMAND", "status": "DONE", "step_index": 51, "created_at": "2026-01-01T00:00:31Z", "content": "Created At: 2026-01-01T00:00:00Z\nCompleted At: 2026-01-01T00:00:01Z\n\nnode --test\n# pass 2\n# fail 0"}
{"source": "USER_EXPLICIT", "type": "USER_INPUT", "status": "DONE", "step_index": 71, "created_at": "2026-01-01T00:00:43Z", "content": "<USER_REQUEST>\nAdd subtract(a, b) to math.js and a test.\n</USER_REQUEST>"}
{"source": "MODEL", "type": "PLANNER_RESPONSE", "status": "DONE", "step_index": 73, "created_at": "2026-01-01T00:00:44Z", "content": "Done. Added subtract and a test; node --test passes.", "thinking": "(redacted thinking)"}Submitted by @integry through ProPR.
Activity
propr-dev commentedon Nov 27, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53830/claude-opus-5-5-antigravity-task-runs-sho-20261127-1440-1somainissue-3830-20261127-1440-claude-opus-5-5-1so🔍 Track Task Execution
chore: stream Antigravity task events and export full transcripts
feat: enable MCP servers and skills for Antigravity runs
[3843 by Claude Opus 5.5] Extensions: Antigravity (agy) runtime (MCP …