Skip to content

[Bug]: Factory Droid sessions fail for every selected model because session/set_config_option returns no configOptions #16454

Closed as not planned

Description

@prathamdby

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Use Factory Droid 0.234.0 through the ACP registry provider (acpRegistry_factory_droid).
  2. Start a thread and pick any model.
  3. Send a message.

Expected behavior

session/new is followed by session/prompt, and the selected model runs.

Actual behavior

initialize and session/new succeed. T3 then calls session/set_config_option to apply the selection. That call fails in about 10ms. The provider log records errorTag: "Die". The server trace is SchemaError: Missing key at ["value"]["configOptions"] from effect-acp/AcpClient.make, during AcpAdapterV2.openSession. The session never opens. T3 retries the whole initialize → session/new → session/set_config_option sequence five times and never sends session/prompt.

Those logs do not include Droid's response body. The provider event only stores errorTag and reasonCount, and the trace only stores the schema error. I checked the installed Factory Droid 0.234.0 binary. setSessionConfigOption returns {} for every option it handles: model, reasoning effort, and autonomy. T3 requires configOptions on that result, so the empty object fails decoding. The selected model does not matter. Any session that applies one of those options hits the same failure. A session that never calls session/set_config_option can still complete session/prompt.

Impact

Blocks work completely

Version or commit

0.0.46-nightly.20261005.2702 (desktop). Factory Droid 0.234.0.

Environment

Linux x64, T3 Code (Nightly) desktop, Factory Droid 0.234.0 via acpRegistry_factory_droid.

Logs or stack traces

[2026-10-06T12:10:13.172Z] NTIVE: {"observedAt":"2026-10-06T12:10:13.171Z","event":{"id":"4fa5f9fe-2746-41c2-9c1c-d6147f314789","kind":"request","provider":"acpRegistry","createdAt":"2026-10-06T12:10:13.171Z","threadId":"f015cfe8-9d2e-4e06-9b60-95574572905d","payload":{"method":"session/new","status":"succeeded","request":{"valueType":"object","fieldCount":2},"result":{"valueType":"object","fieldCount":4}}}}
[2026-10-06T12:10:13.172Z] NTIVE: {"observedAt":"2026-10-06T12:10:13.172Z","event":{"id":"c767099c-1a75-4843-917a-8974ed740ecd","kind":"request","provider":"acpRegistry","createdAt":"2026-10-06T12:10:13.172Z","threadId":"f015cfe8-9d2e-4e06-9b60-95574572905d","payload":{"method":"session/set_config_option","status":"started","request":{"valueType":"object","fieldCount":3}}}}
[2026-10-06T12:10:13.182Z] NTIVE: {"observedAt":"2026-10-06T12:10:13.182Z","event":{"id":"64772f37-b5b4-4da2-85bc-aaa53241c46c","kind":"request","provider":"acpRegistry","createdAt":"2026-10-06T12:10:13.182Z","threadId":"f015cfe8-9d2e-4e06-9b60-95574572905d","payload":{"method":"session/set_config_option","status":"failed","request":{"valueType":"object","fieldCount":3},"errorTag":"Die","reasonCount":1}}}
[2026-10-06T12:10:16.984Z] NTIVE: {"observedAt":"2026-10-06T12:10:16.984Z","event":{"id":"10829ee3-d9d6-4452-a18c-a7e3f5833bfa","kind":"request","provider":"acpRegistry","createdAt":"2026-10-06T12:10:16.984Z","threadId":"f015cfe8-9d2e-4e06-9b60-95574572905d","payload":{"method":"session/set_config_option","status":"failed","request":{"valueType":"object","fieldCount":3},"errorTag":"Die","reasonCount":1}}}
[2026-10-06T12:10:21.094Z] NTIVE: {"observedAt":"2026-10-06T12:10:21.094Z","event":{"id":"46593391-79ef-4893-8a93-09238fe21d4b","kind":"request","provider":"acpRegistry","createdAt":"2026-10-06T12:10:21.094Z","threadId":"f015cfe8-9d2e-4e06-9b60-95574572905d","payload":{"method":"session/set_config_option","status":"failed","request":{"valueType":"object","fieldCount":3},"errorTag":"Die","reasonCount":1}}}
[2026-10-06T12:10:25.303Z] NTIVE: {"observedAt":"2026-10-06T12:10:25.303Z","event":{"id":"3ccec89b-47bc-453f-badb-d04416fe817f","kind":"request","provider":"acpRegistry","createdAt":"2026-10-06T12:10:25.303Z","threadId":"f015cfe8-9d2e-4e06-9b60-95574572905d","payload":{"method":"session/set_config_option","status":"failed","request":{"valueType":"object","fieldCount":3},"errorTag":"Die","reasonCount":1}}}
[2026-10-06T12:10:29.994Z] NTIVE: {"observedAt":"2026-10-06T12:10:29.994Z","event":{"id":"b845f8b1-f7a0-4997-9d5c-eda6b5ba28f4","kind":"request","provider":"acpRegistry","createdAt":"2026-10-06T12:10:29.994Z","threadId":"f015cfe8-9d2e-4e06-9b60-95574572905d","payload":{"method":"session/set_config_option","status":"failed","request":{"valueType":"object","fieldCount":3},"errorTag":"Die","reasonCount":1}}}
{"type":"effect-span","name":"RpcClient.session/set_config_option","traceId":"bb105f82a5dcf9f125e917ccd73cfa48","spanId":"baa85a34a26f5faf","parentSpanId":"72fe180e7b61bb47","sampled":true,"kind":"internal","startTimeUnixNano":"1791288613172011905","endTimeUnixNano":"1791288613181798966","durationMs":9.787061,"attributes":{"server.mode":"desktop","server.port":3773,"server.host":"127.0.0.1","startup.phase":"orchestration-v2.effect-worker.start"},"events":[],"links":[],"exit":{"_tag":"Failure","cause":"SchemaError: Missing key\n  at [\"value\"][\"configOptions\"]\nMissing key\n  at [\"value\"][\"configOptions\"]\n    at effect-acp/AcpClient.make (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:119712:27)\n    at effect-acp/AcpClient.make (definition) (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:119480:17)\n    at AcpAdapterV2.openSession (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:87328:30)\n    at AcpAdapterV2.openSession (definition) (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:124439:16)\n    at orchestrationV2.providerTurnStart.start (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:233262:59)\n    at orchestrationV2.providerTurnStart.start (definition) (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:232611:16)\n    at ServerRuntimeStartup.startEffectWorkerWithRelay (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:244425:79)\n    at ServerRuntimeStartup.startEffectWorkerWithRelay (definition) (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:244346:36)\n    at server.startup.orchestration-v2.effect-worker.start (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:244345:99)\n    at server.startup (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:244500:6)"}}
{"type":"effect-span","name":"AcpAdapterV2.openSession","traceId":"bb105f82a5dcf9f125e917ccd73cfa48","spanId":"72fe180e7b61bb47","parentSpanId":"cd4cafb60b25ea02","sampled":true,"kind":"internal","startTimeUnixNano":"1791288609106584867","endTimeUnixNano":"1791288613182330369","durationMs":4075.745502,"attributes":{"server.mode":"desktop","server.port":3773,"server.host":"127.0.0.1","startup.phase":"orchestration-v2.effect-worker.start"},"events":[],"links":[],"exit":{"_tag":"Failure","cause":"SchemaError: Missing key\n  at [\"value\"][\"configOptions\"]\nMissing key\n  at [\"value\"][\"configOptions\"]\n    at effect-acp/AcpClient.make (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:119712:27)\n    at effect-acp/AcpClient.make (definition) (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:119480:17)\n    at AcpAdapterV2.openSession (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:87328:30)\n    at AcpAdapterV2.openSession (definition) (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:124439:16)\n    at orchestrationV2.providerTurnStart.start (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:233262:59)\n    at orchestrationV2.providerTurnStart.start (definition) (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:232611:16)\n    at ServerRuntimeStartup.startEffectWorkerWithRelay (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:244425:79)\n    at ServerRuntimeStartup.startEffectWorkerWithRelay (definition) (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:244346:36)\n    at server.startup.orchestration-v2.effect-worker.start (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:244345:99)\n    at server.startup (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:244500:6)"}}
{"type":"effect-span","name":"orchestrationV2.providerTurnStart.start","traceId":"bb105f82a5dcf9f125e917ccd73cfa48","spanId":"cd4cafb60b25ea02","parentSpanId":"e4c9d4aa6f190aee","sampled":true,"kind":"internal","startTimeUnixNano":"1791288609103008670","endTimeUnixNano":"1791288613215089843","durationMs":4112.081173,"attributes":{"server.mode":"desktop","server.port":3773,"server.host":"127.0.0.1","startup.phase":"orchestration-v2.effect-worker.start"},"events":[],"links":[],"exit":{"_tag":"Failure","cause":"SchemaError: Missing key\n  at [\"value\"][\"configOptions\"]\nMissing key\n  at [\"value\"][\"configOptions\"]\n    at effect-acp/AcpClient.make (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:119712:27)\n    at effect-acp/AcpClient.make (definition) (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:119480:17)\n    at AcpAdapterV2.openSession (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:87328:30)\n    at AcpAdapterV2.openSession (definition) (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:124439:16)\n    at orchestrationV2.providerTurnStart.start (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:233262:59)\n    at orchestrationV2.providerTurnStart.start (definition) (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:232611:16)\n    at ServerRuntimeStartup.startEffectWorkerWithRelay (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:244425:79)\n    at ServerRuntimeStartup.startEffectWorkerWithRelay (definition) (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:244346:36)\n    at server.startup.orchestration-v2.effect-worker.start (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:244345:99)\n    at server.startup (file:///opt/t3code-nightly-bin/resources/app.asar/apps/server/dist/binCli-zI1ELhjp.mjs:244500:6)"}}

Workaround

None once T3 applies a model, reasoning effort, or autonomy level. Those calls all hit session/set_config_option.

Activity

  1. prathamdby commented on Oct 6, 2026

    @prathamdby
    Author

    Closing this. ACP requires session/set_config_option to return configOptions with the full option list. That field is required on SetSessionConfigOptionResponse in both v1 and v2:

    https://agentclientprotocol.com/protocol/v1/session-config-options
    https://agentclientprotocol.com/protocol/v2/session-config-options

    Factory Droid 0.234.0 returns {} from setSessionConfigOption for model, reasoning effort, and autonomy. T3 is rejecting a response that does not match the spec, so the fix belongs in Droid.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions