// FactoryRigBuild.swift // Lyrebird // // Copyright (c) 2026 Joshua Parmenter / realizedsound // SPDX-License-Identifier: MIT /// How a ``FactoryRig`` builds its graph at seed time. public enum FactoryRigBuild: Sendable { /// Appends pedals to a single pre-made, empty board; the seeding driver calls `addBoard` before /// and `finalizeBoard` after. case singleBoard(@MainActor (_ session: ShoeGaze, _ board: PedalBoard) throws -> Void) /// Builds the whole graph against the session (boards and/or routers), owning its own /// `addBoard`/`finalizeBoard` and `makeChainRouter`/`finalize` lifecycle. case session(@MainActor (_ session: ShoeGaze) throws -> Void) }