Skip to main content

routing_block

Function routing_block 

Source
pub fn routing_block(
    source: &dyn ReleaseSource,
    workflow: Workflow,
) -> Result<String, RkError>
Expand description

The routing block for one workflow mode: the whole of target-side governance, authored as blocks/agents-block.md.in and never grown into a method chapter, read from the bundle source carries.

Markers included, without a trailing newline and with its scope token unrendered: the template with the mode’s one orientation line substituted, everything else — the agent-boundary line included — byte-identical across modes.

§Errors

Returns the source’s failures for a bundle that does not carry the block.