Repository navigation
Description
Direction (lex00, 2026-09-25)
"i really would want the chant steward to cover whats needed and be used by studio."
The studio kit (arugula-salad/studio) should run every box's operational work through the fountain lexicon's Steward, not through a studio-specific loop, daemon or dispatcher. That work is:
- reconciling the box to its declaration (chaff's kernel loop becomes a converge Op: arugula-salad/chaff#43);
- the factory's dispatcher (ws-057, decided as option a plus c: the dispatcher is a Steward);
- release, rollback and upgrade.
This issue asks what Steward must cover for that.
What Steward is today
lexicons/fountain/src/composites/steward.ts makes the one writer for an environment:
- an
Agentspeaking ACP overchant acpon a persistent sandbox; - a
Teammatewith a standing thread; - a
Scheduleper scheduled Op; - an optional
Webhook.
It auto-allows ordinary tool calls and cannot clear a gate. It refuses two stewards on one environment and vault, and refuses a schedule overlap other than skip.
Gaps for the studio
- Presets without Fountain. The
minimalpreset (docker compose) andspritzer(direct Sprites) have no Fountain. Steward needs a local form that runs the same Ops the same way:chant operatorin the box, under the operator lease, on the same schedules. A box then has one steward whatever its preset. - The box's coding agent next to the steward. A box also has hud's agent editing
app/. Steward's "one writer" rule has to say how the two share the checkout. The likely answer: the steward owns chant writes (records, ledgers, Ops) and the coding agent owns app edits, both under the box's git lock and the work item's lease (ws-055). - Credentials. Steward takes a
vault, or relies on "the egress broker" when omitted. Tie it to brokered capabilities in the spec (workspace: a box's brokered capabilities in the spec, and a check that no box declares a credential #2726), so a box's steward holds no credential. - Leases and the factory. The dispatcher steward takes work-item leases (ws-055's lease ledger) and runs builders through
fountainRun(ws-057). Steward should accept the dispatch Op as one of itsops, with its schedule. - Decision points. An Op the steward runs may ask a decision point (decision points: typed questions with table, model and quorum deciders as workspace specification, asked on the work graph #2723). Its model call goes through the broker, and any answer that needs a person reaches hud, never the steward's own thread.
- Reading its state. The read contract, and MCP (MCP: the workspace read contract and record writes as chant serve mcp tools, so any harness can read and propose decisions #2707), should report which steward owns a box, its Ops, their schedules and last runs, so hud and the studio can show them.
Acceptance
- A studio box on each preset has exactly one steward. On fountain presets it is the composite's Agent and Teammate. On the others it is the local form. Both run the box's converge, dispatch, release and upgrade Ops.
- Two writers are refused as today, and the coding agent and the steward do not collide on the checkout: a test edits
app/during a steward turn. workspace status --jsonnames the steward and its Ops.
Check
Fountain lexicon tests for the composite, a test for the local form, and the studio smoke on the minimal and fountain-k3d presets.
Related: arugula-salad/studio (adoption issue beside this one), ws-057 (#2729), ws-055, #2723, #2726, arugula-salad/chaff#43.
Activity
lex00 commentedon Sep 25, 2026
Follow-ups filed for the gaps that wait on other work: #2747 (gap 3, credentials, after #2726), #2748 (gap 4, work leases and the dispatch Op, after ws-055), #2749 (gap 5, decision points, after ws-058), and #2750 (the local form's on-request Ops as steward turns). Gaps 1, 2 and 6 are in the PR for this issue.
lex00 commentedon Sep 25, 2026
Update: #2726 merged, so gap 3 moved into #2758 (closes #2747). Remaining follow-ups: #2748 (gap 4), #2749 (gap 5), #2750.
feat(steward): the local form, the coding-agent rule, brokered creden…
lex00 commentedon Oct 1, 2026
Widened by #3145: beyond the steward, everything studio needs a repo, record or box to carry moves into the spec, and studio keeps no authoritative storage.
lex00 commentedon Oct 1, 2026
From the boundaries audit (#3166): two related issues now filed. #3173 covers concurrent writers in one working tree (people through hud, the agent, the steward), extending gap 2 here. On gap 1: infra teams will often run their stewards on fountain for agentic ops, without studio, so the fountain form of Steward has to stand on its own outside a studio box. The local form covers teams or environments that don't use fountain. #3164 asks for the studio-free path as an acceptance criterion.
lex00 commentedon Oct 20, 2026
Every gap here has a merged PR: #2758 (local form, the coding-agent rule, brokered credentials, stewards in workspace status via packages/core/src/workspace/status-stewards.ts), #2762 (leases), #2768 and #2792 (decision points), #2766 (on-request turns). Since #3987 the fountain form is the Steward composite's Agent on one conversation resumed by channel_id, with no Teammate or Schedule (lexicons/fountain/src/composites/steward.ts). The studio smoke on its presets belongs to the studio adoption issue.