docker/edge/dispatcher.sh: switch dynamic .claude mounts to shared CLAUDE_CONFIG_DIR #643
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#643
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
docker/edge/dispatcher.shbuilds dynamicdocker runcommands for ephemeral agent containers. Six call sites currently mount${runtime_home}/.claudeinto the spawned containers, with the same cross-container OAuth lock race as in the static compose services.Issue #641 introduces the shared
CLAUDE_CONFIG_DIRconvention. This issue propagates it into dispatcher.sh.Files to change
docker/edge/dispatcher.sh— six-v ${runtime_home}/.claude:/home/agent/.claudeconstructions, located approximately at lines 446-450, 631-635, 756-760, 957-961.Specification
At each of the six call sites:
Replace the conditional
.claudemount:with:
Keep the
.claude.jsonro mount as-is (the block immediately following each.claudemount). It's a settings file, not OAuth tokens.Do not introduce a new helper function for this; six call sites is fine to touch directly. (If a helper feels warranted in passing, that's a follow-up — not this issue.)
Definition of done
.shellcheckrc)disinto run <some-action-id>smoke test: spawned container hasCLAUDE_CONFIG_DIRin env and the shared dir is mounted at the expected path${runtime_home}/.claude:/home/agent/.claudemount construction remainsOut of scope / do not touch
lib/agent-sdk.shexternal flock wrapper (vision issue)docker-compose.yml(separate backlog issue)docker/agents/entrypoint.shcreds detection (separate backlog issue).claude.jsonro mountDependencies
Blocked by #641 (disinto init bootstraps CLAUDE_CONFIG_DIR). Do not start until
lib/env.shexports the env vars.