fix(driver): bump pin for the acp additional-directory outage - #402
Merged
Conversation
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.
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.
Production hotfix for try.mosoo.ai: since #399 every run on the acp-fallback runtime fails at session setup with
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 advertisedsessionCapabilities.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 logdriver.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.