[Bug]: Factory Droid html_render succeeds over ACP but the inline card is missing
Before submitting
- [x] I searched open and closed issues for an existing Factory Droid report.
- [x] I included reproduction steps and a sanitized result from the failing path.
Area
apps/server (ACP tool output and thread projection)
Steps to reproduce
- In T3 Code desktop on Windows, use Factory Droid from the ACP Registry.
- Ask Droid to preview and display a small page using the built-in
t3-codeMCP toolshtml_previewandhtml_render. For a minimal prompt, use the HTML<p>ACP render test</p>, the titleACP render test, and a height of 160. - Confirm that Droid called
html_renderand that the call completed. Check for the HTML card above the assistant reply.
The observations below come from actual Factory Droid calls with charts. The sample HTML and title above are a suggested minimal input.
Expected behavior
A successful html_render call shows the HTML card inline above the assistant reply.
Actual behavior
Droid logs a successful t3-code call, and the corresponding HTML attachment exists on disk. The chat shows no card. Native Codex on the same T3 installation displays pages made with the same built-in MCP tool.
This is the shape of a completed Factory Droid tool item stored by T3, with synthetic IDs and title:
{
"type": "dynamic_tool",
"status": "completed",
"toolName": "Tool",
"output": {
"text": "{\"htmlRender\":{\"attachmentId\":\"thread-1-ba6fc9a9-645c-4dc4-bd06-786a0e5ba8c0-html\",\"title\":\"ACP render test\",\"height\":160}}"
}
}
I reproduced the failure with a local regression test that passes this shape to projectTurnItemForWire on the v0.1.10 source. The stock projection retains the generic tool name and omits the result. The existing timeline expects a recognized render reference.
A local prototype retained the reference for a completed result with a valid HTML attachment ID owned by the same thread. The regression test passed, including rejection of a failed result and an attachment ID from another thread. The installed app still uses the stock version.
Impact
Major degradation or frequent failure. The agent receives a successful render result while the chart or diagram is missing from the reader's timeline.
Version or commit
T3 Code desktop v0.1.10 and Factory Droid v1.14.0 from the ACP Registry.
Environment
Windows 11 x64, local T3 Code desktop runtime.
Related reports
- #38434 covers an Antigravity terminal fallback with the same visible symptom.
- #33667 covers OMP's ACP result format and was fixed by #33677.
- #29130 covers a custom ACP tool namespace.
Workaround
Have Droid save the page as a standalone HTML file. To display that existing file inline, use T3's native Codex provider and ask it to render the file with the built-in HTML tools.
I tried to reproduce this on the current build and could not.
Commit 3babab1497 (origin/main). A real end-to-end run was not possible: [email protected] (the ACP Registry entry, droid exec --output-format acp-daemon) answers initialize but rejects session/new with 'Authentication required ... set a FACTORY_API_KEY', and no worker has a Factory account. Instead I read the ACP tool-call translation inside the Droid 1.14.0 binary. For an MCP tool it sends tool_call {title: '{ text: json } row in toolOutput.test.ts 'extracts IDs through the MCP result envelopes used by T3 summaries'. Each fails on main (1 failed / 55 passed and 1 failed / 12 passed).
Closing as not planned. If it still happens for you, reply with the exact steps and the version you are on and it will be looked at again.
Thanks for adding the parser repro tests. I reproduced the missing card end to end with an authenticated Factory Droid session on the unmodified Windows release.
Environment
Windows 11 x64, T3 Code desktop and local server v0.1.10, and Factory Droid v1.14.0 from the ACP Registry in acp-daemon mode. The hash of the installed resources/server.asar matched the copy recorded before building the local patch. The run completed on 2026-11-18 at 10:56:02 UTC.
Exact steps
-
Use Factory Droid from the ACP Registry in an authenticated T3 thread.
-
Send the following prompt.
For T3 Code issue #38551, run this minimal test with synthetic data. Use the built-in t3-code MCP tools directly. First call html_preview on the exact inline HTML
<p>ACP render test</p>. Then call html_render with the same HTML, titleACP render test, and height 160. After the render tool returns, replyACP render test done.No workspace files or shell commands are needed. -
After Droid replies, look between the test prompt and reply for the
ACP render testcard.
Observed result
-
The Factory log recorded
t3-code.html_previewandt3-code.html_renderas successful at 10:55:50.717 and 10:55:58.029 UTC, respectively. The HTML attachment existed on disk and contained the exact test paragraph. -
The stock T3 web client served by that desktop backend showed the prompt, the collapsed turn summary, and
ACP render test done.. I confirmed zero HTML card rows between those messages and zeroiframe[title="ACP render test"]elements in the thread. -
The stored render item was a completed
dynamic_toolnamedTool. Below is the relevant part of its output. The attachment ID is redacted.{ "text": "{\"htmlRender\":{\"attachmentId\":\"<thread>-<attachment>-html\",\"title\":\"ACP render test\",\"height\":160}}" } -
Calling
projectTurnItemForWirefrom the installed stock server bundle on that exact stored item retainedtoolName: "Tool"and setoutputOmitted: true. The projected item had nooutputfield.
Could you reconsider the issue with this authenticated end-to-end repro?