Architect: persistent Docker container + reconciliation #1131
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/agent-hooks#1131
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?
As the operator, I want the architect agent to run as a persistent Docker container (
claude-hooks-architect-default) so that it has the same deployment and isolation model as every other agent in the fleet.Spec:
specs/architect-dockerize.mdAcceptance criteria
Container lifecycle
reconcileAll()createsclaude-hooks-architect-defaultwhen the architect instance row exists and no container is running.reconcileOne("architect-default")is wired throughPOST /agentsCRUD exactly like every other agent — no special-casing.just restart; only recreated byjust containers-rebuild architect-default.claude-hooks:devimage as all other agents.Volume mounts
~/.config/claude-hooks/agent-env/architectis mounted (→/claude-config,CLAUDE_CONFIG_DIR).~/Workspace,process.cwd(), or any other host path is mounted.docker inspect claude-hooks-architect-defaultconfirms exactly one bind-mount.Network
192.168.1.164:4500.Operator commands
just agents-syncincludes architect in its reconcile pass without any extra flags.just containers-rebuild(no arg) rebuilds architect alongside all other containers.just containers-rebuild architect-defaultrebuilds only architect.just render-agent-env architect-defaultprints the resolved env correctly.Tests
reconcileOne("architect-default")emitscreatedwhen the container is absent (mock docker calls).just qapasses.Out of scope
References
specs/architect-dockerize.md— "Container model" sectionapps/server/src/infrastructure/container/container-reconcile.tsdocs/containers.md