init

Router assembly for Phase 1 selection routes

Router Assembly


source

init_selection_routers


def init_selection_routers(
    state_store:SQLiteWorkflowStateStore, # The workflow state store
    source_service:SourceService, # The source service for queries
    workflow_id:str, # The workflow identifier
    prefix:str, # Base prefix for selection routes (e.g., "/workflow/selection")
)->SelectionResult: # Selection router result with routers, urls, routes, and restore

Initialize and return all selection routers with URL bundle.