Skip to content

MARKDOWN SOURCE

Raw
# Vertical Slices: Remote OpenCode Coding Agent Container

1. **Tracer bullet — reachable server:** Build from the pinned official ARM64-capable OpenCode image, run it as a non-root user with a fixed authenticated browser/API port and health check, and provide a minimal Compose/env setup bound to host loopback. Prove ARM64 build/config and authenticated server response where Docker is available.
2. **Disposable coding workflow:** Add pinned mise, Git, runtime-only host-scoped HTTPS credentials, and tmpfs-backed workspace/home. Prove helper host/protocol behavior and confirm the workspace disappears after container restart.
3. **Production deployment and handoff:** Add read-only filesystem/capability hardening, restart and log rotation policies, `.env` protection, complete example environment, and README instructions for Tailscale Serve plus branch/PR persistence. Validate Compose and document which runtime checks could not be performed locally.

Each slice is independently reviewable and ends with a runnable/testable setup. The user authorized autonomous progression through gates and slices without approval pauses; preserve the per-slice proof and checklist updates here and in `00-status.md`.

Vertical Slices: Remote OpenCode Coding Agent Container

  1. Tracer bullet — reachable server: Build from the pinned official ARM64-capable OpenCode image, run it as a non-root user with a fixed authenticated browser/API port and health check, and provide a minimal Compose/env setup bound to host loopback. Prove ARM64 build/config and authenticated server response where Docker is available.
  2. Disposable coding workflow: Add pinned mise, Git, runtime-only host-scoped HTTPS credentials, and tmpfs-backed workspace/home. Prove helper host/protocol behavior and confirm the workspace disappears after container restart.
  3. Production deployment and handoff: Add read-only filesystem/capability hardening, restart and log rotation policies, .env protection, complete example environment, and README instructions for Tailscale Serve plus branch/PR persistence. Validate Compose and document which runtime checks could not be performed locally.

Each slice is independently reviewable and ends with a runnable/testable setup. The user authorized autonomous progression through gates and slices without approval pauses; preserve the per-slice proof and checklist updates here and in 00-status.md.