depends_on and runs ready phases (in parallel when independent).
For agent catalogs and connector fields, see Agents and Concepts.
Phase types
type: team
Call a catalog sub-team once. Use when the nested playbook is fixed (identify, design, review).
type: map
Fan out the same sub-team shape over a runtime list. Each iteration is a named invocation (phase:key) with its own args and optional per-item team.
* Exactly one of
over or over_file.
Empty lists succeed with zero iterations (skip).
When to use map vs team
Do not invent a middleman “dispatch” team that loops in shell — map is that loop.
Gates (brief)
Gates run optional shellcommands, then produce a verdict:
agent: hug makes the verdict a human review in Hub.
Building teams
Author phases inteam.yml, install/publish to the catalog, assemble into a workspace, then cliq run. Nested type: team / type: map children must already be installable (@scope/slug in the catalog).