Module role_catalog

Module role_catalog 

Source
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 idPurpose
researcherInformation gathering and source retrieval
red-teamAdversarial challenge and stress-testing of plans
fact-checkerVerification of claims against retrieved evidence
writerFirst-draft prose generation
editorRevision and polish of existing drafts
criticStructured critique and gap identification
synthesizerFinal integration of multiple node outputs

YAML-overridable catalogs are deferred to a future phase.

Structs§

RoleCatalog
Immutable map of RoleIdRoleSpec for the built-in specialist roles.
RoleId
Opaque identifier for a specialist role within a task-force subgraph.
RoleSpec
Specification for a single specialist role.