Saphan StudioDocs
Reference/Commands

saphan route

Answers which tier a step is routed to under a routing policy: the first matching rule wins, otherwise the policy's default.

Answers which tier a step is routed to under a routing policy: the first matching rule wins, otherwise the policy's default. The policy comes from one manifest file (--policy) or from the default routing policy in a library (--library).

saphan route <step>
flagtypedefaultwhat it does
--allow-unpinnedboolfalseLoad --library even when its pin is missing or does not match; anyone who runs the command can pass it, and the bypass is recorded in the cost ledger and printed.
--genrestringThe task genre, for a generation step whose routing depends on it.
--librarystringA library directory; its routing policy named default is used. Cannot be combined with --policy.
--pinstringThe git tag the --library checkout must be at.
--policystringA single routing-policy manifest file. Cannot be combined with --library.
--request-clientboolfalseAlso ask the routing gate for a model-capable client: a step routed as deterministic is refused with exit 3 and the refusal is recorded in the cost ledger. A granted request is reported and then discarded — this command makes no model calls.

Global options apply to every command — see Every command.