Something went wrong. Try again.
A Kubernetes operator that runs Claude Code sessions on long-horizon work
Something went wrong. Try again.
The API group simmer.guid.foo #
This is a stub. simmer's API group is simmer.foo, and its siblings
use a group under guid.foo: gofer.guid.foo and lanyard.guid.foo.
The group should become simmer.guid.foo. Nothing here is built, and
the steps below are not yet a design.
What carries the name #
- The group of every kind, in
api/v1alpha1and in each CRD underdeploy/crds/. - The labels and annotations that the operator writes and selects on,
such as
simmer.foo/session,simmer.foo/mandate, andsimmer.foo/hook.api/v1alpha1/api.goholds them. - The rules of
deploy/rbac.yaml. - Every manifest of a cluster that runs simmer: its Mandates, Duties,
Signals, and the rest, and each NetworkPolicy and PodMonitor that
selects pods by a
simmer.foo/label.
What makes it more than a rename #
A CRD's group cannot change. The new group is a second set of CRDs, so every object has to be made again under it, and the old ones deleted.
- Sessions hold state that only the operator writes: their keys, turns, and follow-ups. A Session that waits on an event must either finish under the old group or be copied, with its status, to the new one.
- Jobs, ServiceAccounts, and bindings carry the old labels, and the
operator finds its own objects by them. The data plane lets a pod in
by its
simmer.foo/sessionlabel. - The store of events and transcripts names Sessions by namespace and name, which do not change.
Questions to settle first #
- Whether the operator serves both groups for a time, or a cluster moves in one step under a Stop, with no Session waiting.
- Whether the labels move with the group or stay, since a label's prefix need not match the group.
- What a cluster owner runs to move: a command of
simmer, or a documented sequence ofkubectlsteps.