Skip to content

fix(driver): bump pin for the acp additional-directory outage - #402

Merged
Yevanchen merged 2 commits into
mainfrom
fix/driver-pin-acp-additional-dirs
Jul 25, 2026
Merged

fix(driver): bump pin for the acp additional-directory outage#402
Yevanchen merged 2 commits into
mainfrom
fix/driver-pin-acp-additional-dirs

Conversation

@Yevanchen

Copy link
Copy Markdown
Collaborator

Production hotfix for try.mosoo.ai: since #399 every run on the acp-fallback runtime fails at session setup with

ACP session setup failed: ACP agent does not advertise additional directory support.

10 failed runs 2026-07-25 00:23–04:53Z; all of the last day's failed runs are on acp-fallback; claude/openai unaffected.

Root cause: Driver Contract v2 added a strict capability gate for additionalDirectories, but OpenCode has never advertised sessionCapabilities.additionalDirectories (verified in sst/opencode v1.18.4 source — initialize returns close/fork/list/resume only, and session/new ignores the field). The pre-#399 driver passed the field through unconditionally, a benign silent no-op; the gate turned that into a full outage because mosoo populates additional directories for published agents.

Fix: pin bump to driver 020cfae7 (langgenius/mosoo-agent-driver#86) — drop the directories when unsupported, proceed with the session, and log driver.acp.session.additional_directories_dropped (warn). Behavior with capability-advertising agents unchanged; regression-tested in both directions driver-side.

This PR is the submodule pointer only. Staging cannot exercise acp (no acp fixture); the change surface is acp-specific and that path is currently 100% down in production, so CI (full check incl. driver tests on Linux) is the gate.

Driver 020cfae7 (langgenius/mosoo-agent-driver#86) degrades gracefully when
the ACP agent does not advertise sessionCapabilities.additionalDirectories
instead of failing the whole session. The strict gate from Contract v2
(shipped via #399) broke every published-agent run on the acp-fallback
runtime in production: OpenCode has never advertised the capability and
ignores the field, so the pre-#399 passthrough was a benign no-op. 10 prod
runs failed with 'ACP agent does not advertise additional directory
support.' between 2026-07-25 00:23Z and 04:53Z; all failed runs in the
last day sit on acp-fallback while claude/openai are unaffected.
@Yevanchen
Yevanchen merged commit 476233c into main Jul 25, 2026
10 checks passed
@Yevanchen
Yevanchen deleted the fix/driver-pin-acp-additional-dirs branch July 25, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant