Skip to main content

Module registry

Module registry 

Source
Expand description

The worker registry and capability resolution (CONTEXT.md §7, §13).

The conductor assigns each node a capability requirement plus an optional preferred worker; it does not hard-bind a concrete worker. The scheduler resolves the concrete worker here, at dispatch time, from live availability — so a node does not die because its preferred worker is unavailable (CONTEXT.md §7 key design decision).

Structs§

WorkerRegistry
A set of available workers, in the user’s preference order. The composition root (the CLI) builds this from config + doctor; the engine consumes it.

Functions§

parse_prefer
Extract the worker name from a prefer string like harness:claude-code, api:gpt-5.5, or a bare claude-code. The family prefix is a hint; the name is what resolution matches on.