Skip to content

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

Closed

Description

@lex00

Part of #3145. Related: #2714, #2731.

Problem

Studio picks a builder agent by tier through Agent metadata only it reads: studio/role: build and studio/tier on agents declared in delivery's agents/team.ts (template/box/ops/factory/builder.mjs:60-71, template/delivery/agents/team.ts:101-127). The declaration says nothing about which agents build or at which tier, so a tier answer from slice-tier can't be resolved without studio.

Proposal

Declare builders and tiers in the spec: either box.builders: { <tier>: <agent ref> } in the declaration, or typed role and tier fields on the fountain lexicon's Agent, read by core. The tier vocabulary is the one the work kind's tier uses.

Update: the factory is for ops too (2026-10-01)

Builders are declared per member kind as well as per tier. An infra builder edits estate members and may run plans but not applies (its write scope covers estate paths, and applies stay behind gates). An app builder edits the app member. The tier vocabulary is shared, so slice-tier answers the same way for both.

Activity

  1. added
    enhancement
    area:workspace
    boundaries
    on Oct 1, 2026
  2. lex00 commented on Oct 1, 2026

    @lex00
    ContributorAuthor

    From the boundaries audit (#3166): these fields must be opt-in so ideation and infra-only workspaces never see them. See #3174 (opt-in block and init profiles) and arugula-salad/studio#288 (ideation repos get a stub app, so the box contract stays uniform).

  3. lex00 commented on Oct 3, 2026

    @lex00
    ContributorAuthor

    Re-scoped in the October hud/studio burn-down (lex00's decision): this goal implemented the core of the workspace program (#3158, #3160, #3147, #3149, #3033, #3146, #3159, #3034, #3080, #3163, all merged) and leaves this issue for later. arugula-salad/studio#287 is deferred on it; #3146 left a builders member reference and #3147 put tiers on the work kind, so this can move the agent metadata later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:workspaceboundariesenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions