TeamDefinition
@forge/monorepo / backend/src / TeamDefinition
Type Alias: TeamDefinition
TeamDefinition =
object
Defined in: backend/src/flows/index.ts:208
Properties
budget
readonlybudget:FlowBudget
Defined in: backend/src/flows/index.ts:223
id
readonlyid:string
Defined in: backend/src/flows/index.ts:209
manager?
readonlyoptionalmanager?:string
Defined in: backend/src/flows/index.ts:222
Required when process is manager-led, and refused otherwise: a sequential team with a manager is ambiguous.
maxDelegationDepth?
readonlyoptionalmaxDelegationDepth?:number
Defined in: backend/src/flows/index.ts:224
members
readonlymembers: readonlyTeamMember[]
Defined in: backend/src/flows/index.ts:220
name
readonlyname:string
Defined in: backend/src/flows/index.ts:211
process
readonlyprocess:TeamProcess
Defined in: backend/src/flows/index.ts:219
Sequential or manager-led, as a property rather than two code paths — #186 AC-2.
The interpreter branches on this in one place: which member runs next. Everything else — budgets, delegation, failure handling, attribution — is identical, which is the point. Two code paths would mean two places for every later property to be added, and one of them would eventually not get it.
version
readonlyversion:number
Defined in: backend/src/flows/index.ts:210