Expand description
Built-in role catalog for the orchestrator v2 hierarchical planner.
A RoleId identifies a specialist role that a [TaskNode] can adopt.
The RoleCatalog maps role names to RoleSpec entries that carry the
system-prompt fragment, default tool allowlist, suggested sampling
temperature, and approval policy for that role.
§Built-in roles
| Role id | Purpose |
|---|---|
researcher | Information gathering and source retrieval |
red-team | Adversarial challenge and stress-testing of plans |
fact-checker | Verification of claims against retrieved evidence |
writer | First-draft prose generation |
editor | Revision and polish of existing drafts |
critic | Structured critique and gap identification |
synthesizer | Final integration of multiple node outputs |
YAML-overridable catalogs are deferred to a future phase.
Structs§
- Role
Catalog - Immutable map of
RoleId→RoleSpecfor the built-in specialist roles. - RoleId
- Opaque identifier for a specialist role within a task-force subgraph.
- Role
Spec - Specification for a single specialist role.