Skip to content

feat(workspace): builder agents by tier and member kind on the box block's factory (#3152) - #3442

Merged
lex00 merged 3 commits into
mainfrom
ws-3152-builder-agents
Oct 4, 2026
Merged

lex00 merged 3 commits into
mainfrom
ws-3152-builder-agents

Conversation

@lex00

@lex00 lex00 commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

This declares which builder agent builds at which tier in the spec, replacing the studio/role: build and studio/tier metadata on studio's Agents that only studio reads. Recorded as ws-094.

The box block's factory takes a new optional tiers list beside builders. Each entry is { tier, agent, kinds, session }: tier is a word of the work kind's work.tier.tiers (#3147), agent names an agent the builders member declares, kinds limits the entry to members of those kinds (so an infra builder and an app builder can share a tier, per the ops update on the issue), and session names a declared agent session the builder writes as, so its write scope is that session's. A tier has at most one entry without kinds and at most one per kind, tiers needs builders, and a session must be declared; otherwise the read fails with declaration-invalid (WSP001 in check). builders keeps its 0.102.0 meaning.

status --json and graph --json print factory.tiers as declared and factory.builderFor, keyed by each member in builds and then by tier, with { agent, session } from the entry for the member's kind, else the tier's entry without kinds. An orchestrator holding a work item's tier (from the item or the slice-tier answer) looks the agent up there with no studio code. Contract 1 additions; a declaration that uses tiers needs minReader 0.103.0.

Not done here: checking at chant workspace check time that each tier word is in the work kind's vocabulary and that the builders member really declares each agent. The first needs the work kind module loaded and a WSP id, the second needs the member built; both are noted in ws-094 as left to the orchestrator for now.

Verified with the core typecheck, targeted vitest (the new builder-tiers tests, box-factory, declaration, status, graph and read contracts, boundary roster, decisions import), the docs diataxis check and the docs prose lint.

Closes #3152

lex00 added 2 commits October 3, 2026 20:32
…ock's factory (#3152)

factory.tiers lists { tier, agent, kinds, session }: which agent the
builders member declares builds each tier of the work kind's vocabulary,
optionally only for some member kinds and as a declared agent session.
The read refuses an ambiguous tier, tiers without builders and an unknown
session. status --json and graph --json print tiers and builderFor, the
agent for each built member and tier. Recorded as ws-094.
@lex00 lex00 added enhancement New feature or request area:workspace chant workspace epic (#2525) boundaries Epic: boundaries between chant, hud, studio, behold and fountain labels Oct 4, 2026
# Conflicts:
#	docs/design/decisions/README.md
@lex00
lex00 merged commit c55bc37 into main Oct 4, 2026
8 of 11 checks passed
@lex00
lex00 deleted the ws-3152-builder-agents branch October 4, 2026 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:workspace chant workspace epic (#2525) boundaries Epic: boundaries between chant, hud, studio, behold and fountain enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

workspace: declare builder agents and tiers, replacing studio's agent metadata

1 participant