fix(container): mount per-agent .cursor dir read-write #1037
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!1037
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/cursor-mount-rw"
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?
cursor-agent writes per-workspace state under
~/.cursor/projects/<name>/on every dispatch. The mount in PR #1032 used:ro, so the very first in-container call failed with:Combined with the silent exec-fail in cursor-cli-adapter (#1036), the failure surfaced as
done — task completedwith empty output — third PR #1032 follow-up after #1035 (Dockerfile bundle).Fix
apps/server/src/infrastructure/container/container-reconcile.ts:424— switch${credsDir}/cursor:/home/claude/.cursor:roto:rw.The operator-managed
mcp.jsonis re-rendered before every dispatch byrenderForInstance(called fromregistry.ts:414), so any in-container mutation gets overwritten on the next run — the original "buggy run can't clobber operator-managed config" concern is preserved by the render path, not the mount mode.Verified
Apply
After merge:
just containers-rebuildto recreate the 12 containers with the new mount mode.Refs: #1032, #1035, #1036.