Materialize
Builds typed BuildPlan step records, validates tool and service
declarations, renders shell commands, and produces a runCommand
derivation for the finalized plan. runState exposes the typed
pre-finalize plan state that plan-export serializes.