feat: launch and recover OpenCode in a managed container #378
Labels
No labels
backend
bug
chore
duplication
effort:complex
effort:medium
effort:trivial
enhancement
frontend
fullstack
priority:high
ready-for-agent
refactor
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
dries/ocman#378
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?
Parent
#375
What to build
Deliver the first complete optional container-runtime path for one project: select container mode on an owning host, ensure a labeled one-per-project OpenCode container, recover it after an ocman restart, and create same-directory and worktree sessions through its authenticated host-loopback endpoint. Native tmux mode remains the default.
This tracer bullet follows #384: every managed project gets an isolated persistent OpenCode database, and host-wide reads come from the planned API-fed ocman read model. It must not share or bind-mount the host OpenCode database. Project/worktree source mounts may initially retain identical absolute paths rather than adding path translation.
Acceptance criteria
127.0.0.1, and starts OpenCode on a fixed internal port with an externally reachable container bind address.external_directorypermission.Blocked by