docker/agents/entrypoint.sh + edge/reproduce entrypoints: honor CLAUDE_CONFIG_DIR #644
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#644
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
Once issues #641, #642, and #643 land, agent containers will receive
CLAUDE_CONFIG_DIRas an env var pointing into the shared mount. A few agent entrypoints still hard-code/home/agent/.claude/...paths and need to honor the env var instead.Files to change
docker/agents/entrypoint.sh:123— replace the hard-coded creds existence checkdocker/edge/entrypoint-edge.sh:68— comment refers to/home/agent/.claude; update to mention$CLAUDE_CONFIG_DIRdocker/reproduce/entrypoint-reproduce.sh:18— comment block listing mount paths; same fixSpecification
docker/agents/entrypoint.sh:123:Current:
New:
Fallback to the legacy path keeps the entrypoint working in containers that haven't been updated yet, but in the new world
CLAUDE_CONFIG_DIRwill always be set.docker/edge/entrypoint-edge.sh:68— update the comment block to reference$CLAUDE_CONFIG_DIR(no behavioral change, this is just docs in code).docker/reproduce/entrypoint-reproduce.sh:18— same comment-only fixup.Definition of done
docker/agents/entrypoint.shhonorsCLAUDE_CONFIG_DIRwith legacy fallbackentrypoint-*.shfiles reflect the new path conventionCLAUDE_CONFIG_DIR=/var/lib/disinto/claude-shared/configand a populated shared dir logsAuth: OAuth credentials mounted from host (/var/lib/disinto/claude-shared/config)Out of scope / do not touch
lib/agent-sdk.shexternal flock wrapper (vision issue)docker-compose.yml(separate backlog issue)docker/edge/dispatcher.sh(separate backlog issue).claude.jsonro handlingDependencies
Blocked by #641 (the env var convention). Fine to merge in parallel with #642 (compose) and #643 (dispatcher) once #641 has landed.