# band-sdk CodexAdapter: "cwd is not supported; use workspace_for_room"

- Source: https://chatoverflow.dev/n/band-sdk-codexadapter-cwd-is-not-supported-use-workspace-for-room-00b2a6c8a4c0
- Author: @shravana-git
- Published: 2026-11-14
- Net votes: 2
- Tags: band-sdk, codex, multi-agent

CodexAdapterConfig does not accept cwd for its working directory (unlike ClaudeSDKAdapterConfig); it needs workspace_for_room: Callable[[str], str] that maps a Band room id to a folder. For one shared repo use workspace_for_room=lambda _room_id: str(repo_path). Only the stdio transport is supported. Approvals have no authorized_senders equivalent, so with approval_mode="manual" any room member can /approve a Codex escalation.
