AT-3: Container reconcile reads from agent_type_container #745
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#745
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 a platform engineer, I want
container-reconcile.tsandhost-container-lifecycle.tsto read the joinedagent_type_containerrow instead ofcfg.types[t].container, so that operator edits to containerimage/env/lifecycle/idle_stop_secondsland at the next reconcile pass without a restart.Acceptance criteria
Reconcile path
.container.reads fromcfg.types[t]across the reconcile path.infrastructure/container/container-reconcile.tsresolves container settings viagetAgentType(t).container.infrastructure/agents/host-container-lifecycle.tsreads through the same resolver.Migration
container.*blocks loaded from agents.json are imported intoagent_type_containerasscope='builtin'rows on first boot post-deploy (handled by the AT-1 sync, but explicitly verified here).scope='global'/scope='agent_type'are honoured at the next reconcile pass withinidle_stop_secondsof the change worst case.Tests
imageatscope='agent_type'fordevtriggers a recreate of thedev-defaultcontainer with the new image on the next reconcile.Out of scope
References
specs/config-to-db.md§ Story AT-3.