# simmer simmer runs Claude Code sessions on long-horizon work: software projects, research, and personal logistics. The owner, the person who runs simmer, sets the goals, the design, and the constraints. Sessions do the work in the background at a slow, steady pace, and ask the owner for input through the forge. The goal is steady forward progress on everything the owner has in mind. This file is the design. simmer runs as a Kubernetes operator: `plans/operator.md` is that design, and `plans/operator-build.md` holds the decisions of its first build. Where those plans and this file differ, the plans win. `AGENTS.md` is how to work on the code. `PRIMER.html` is a map, in diagrams, of simmer and the projects it works with: wicket, lanyard, gofer, transom, and midden. simmer also runs Consoles, a person's own Remote Control servers in the cluster, which are not part of the autonomous work: `plans/console.md` is their design. ## Principles - **The owner runs the whole stack.** Claude Code and the owner's Claude subscription are the only parts simmer does not own. The subscription reaches the model only through Claude Code, as `claude -p` with a setup-token or as Remote Control. The routing, the guardrails, the brake, and the knowledge are simmer's own code and files. simmer uses no agent framework, such as Hermes Agent or OpenClaw, and no vector store. - **The forge is the only shared state for work.** Each unit of work is an issue, and each change is a pull request. Sessions communicate through comments, assignments, labels, and reviews, and through nothing else. The owner reads the same record on a phone, and the forge history explains what happened. - **No personas.** simmer names no characters and prescribes no personalities or job titles. The runtime enforces a few guardrails, and Claude decides how to do the work. - **Event-driven.** Events start sessions. A duty that must run at a time of day has a schedule, and a cadence covers the rest of the recurring work. ## Use cases The first use cases are: - dependency maintenance across all projects - long builds on [liken](https://github.com/liken-sh/liken) - triage of open-source projects, with a notification to the owner for each item that needs them - ideation on spare capacity, with a critic that holds back what does not meet the owner's standards - finding refactoring opportunities as the projects change - keeping documentation current - notes: the owner drops a note about anything into any chat, and simmer files it in the right place in the knowledge repository The same core runs research and personal logistics. ## Repositories and goals simmer adds no concept of its own for a line of work. Each part of the work already has a home: - **Scope is the Mandate.** A Mandate names the repositories that its Sessions clone, the `McpServer`s they get, and the plugins they load. It can also clone the repository that a Session's first event names, so one Mandate can work in many repositories and clone one of them for each Session. A Job starts with `--strict-mcp-config` and only the Mandate's servers, so a session never reads a repository's own `.mcp.json`: a Mandate for one project names no personal-finance server, and one for the knowledge repository can. A change to a Mandate is a change to the cluster's manifests, which the owner reviews. - **The gate is the forge's access.** A session works only in a repository where `claude` is a collaborator, and the list of those is in the owner's infrastructure repository. Letting the agent work somewhere new is a pull request that the owner approves. - **Privacy follows the repository.** A session in a private repository, such as the knowledge repository, is private, and so is its transcript. - **A line of work is a goal issue.** The issue is the written plan and the record of progress, and one patient Session does the work. Whether a goal moved this week is a question about its issue's activity. Several lines of work can share one repository, because the goal issue, not the repository, says what the work is for. ## The parts | Part | Where | What it holds | | --- | --- | --- | | Runtime | this repository | The operator, its resources, the data plane, the brake, and the commands a Session's Job runs | | Deployment | this repository's `deploy/`, and an overlay in the owner's infrastructure repository | The kustomize base that runs the operator, and the cluster's own settings and Mandates | | Project context | each project's repository | `AGENTS.md`, skills, `plans/`, and issues | | Instructions | the owner's dotfiles, such as `~/.ai` | The instructions that every session loads, and the owner's own working skills, such as `commit` and `dispatch` | | Knowledge | one private repository on the owner's forge | Skills, the owner's taste and preferences, how their systems work, and what simmer learned | | Transcripts | [midden](https://tangled.org/guid.foo/midden), its own project | Every session's prompts, responses, and tool calls | ## The runtime The runtime is a Kubernetes operator, `simmer operator`, in one Deployment. Custom resources in the `simmer.foo` group are the control plane. Events, inboxes, and transcripts are the data plane, which the operator keeps on its own volume and serves to Jobs over HTTP. - **Resources.** The cluster owner declares `Account`, `Allowance`, `Signal`, `McpServer`, `Mandate`, and `Duty` resources. The operator writes each `Session`, and any Job can create a `Stop`. `kubectl get simmer -A` lists them all. - **Signals.** A Signal subscribes to one wicket path or to one AT Protocol Jetstream, and holds the jq that keys and scopes its events. wicket receives signed webhooks from Gitea, GitHub, Tangled, and Alertmanager. The operator subscribes to a wicket path with the Secret that the Signal's `token` names, or, without one, with its own ServiceAccount token for the audience `wicket`. A Jetstream sends the commits to the collections a Signal names, such as Tangled's tickets and comments. The core has no forge fields. A Signal's `debounce`, such as `30s`, holds a Session's turn until each of its waiting events from the Signal is that old, so a pull request's CI result and its reviews, which land within a minute of each other, share one turn. - **Mandates.** A Mandate is a responsibility: the events it hears, the repositories it works in, the Roles it is granted, and the MCP servers it uses. The operator gives each Mandate a ServiceAccount and binds the Roles it names. - **Duties.** A Duty is one thing that a Mandate owes: a skill, and the events, the cadence, or the schedule that start it. Each Duty is its own resource beside its Mandate, with its own Ready condition, so `kubectl get duties -A` lists what every Mandate does and one bad Duty does not stop the others. An event starts every Duty of its Mandate that it meets, in the order of their `priority`. A Duty with grants of its own gets a ServiceAccount of its own, bound to the Mandate's Roles and the Duty's, so the Mandate's other Duties never hold what only that Duty needs. - **Actors and credentials.** simmer gives a Session no credentials. The cluster gives them to a pod by its ServiceAccount, with a tool of its choosing, such as lanyard's Badges, and the Mandate's or the Duty's `template` adds whatever volume or environment that tool needs. A Mandate's `actors` name who its Sessions act as on each Signal, such as their login on a forge, and a Duty's `actors` take their place for the Signals it lists. A Session never wakes on an event that its own actor caused. A Duty with a `serviceAccount` label runs its turns as `simmer---