AR-5 — Delete legacy host-mode infrastructure #1200
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.
Reference
charles/agent-hooks#1200
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?
Why
After #1199 retires
role: "host"andis_host_mode, the supporting infrastructure (HOST_MODE_TYPESallowlist,HostContainerLifecycleadapter,getArchitectWorkerhost filter,dockerRunhost_mode branch) is unused scaffolding. Delete it; the architect agent is just another container.Goal
Acceptance criteria
HOST_MODE_TYPESallowlist (config loader gate) — deleted.HostContainerLifecycleadapter — deleted.getArchitectWorker's host_mode filter — deleted. The function just looks up the architect agent by name like any worker lookup.dockerRun'sif (host_mode) { collapse_to_credentials_bind_only }branch — deleted. Every type gets the standard bind set.architect-dockerize.mdnote about "the bind-mount set collapses to the single credentials bind" is updated to reflect the uniform-mount reality, or the relevant section is dropped.HOST_MODE_TYPES,HostContainerLifecycle,host_mode,getArchitectWorker.*hostin the codebase.Tests
dockerRununit test: emittingdocker runargv for architect produces the same bind set as fordev(no host_mode collapse).reconcileOne("architect-default")test: still works exactly like every other agent; output is uniform withreconcileOne("dev-1").Out of scope
containerconfig schema (amounts: "credentials-only" | "full"knob was considered and rejected in favour of uniform mounts).References
apps/server/src/infrastructure/container/docker-run.ts(or whereverdockerRunlives)apps/server/src/shared/config/webhook-config.ts::HOST_MODE_TYPESapps/server/src/infrastructure/container/host-container-lifecycle.tsapps/server/src/domain/architect/get-architect-worker.tsspecs/architect-dockerize.mdDepends on
#1199 — this story removes the consumers; #1199 removes the producer.
Tracker
#1203
🤖 Auto-assigned to code-lead (heuristic: area:infra + body mentions systemd/docker/reconcile — code-lead (architecture)). Reply
/unassignto reroute.