pub fn decompile(
to: OrchestrationHarness,
orchestration: Orchestration,
source: &Path,
source_flavor: SourceFlavor,
dest: &Path,
vault: BTreeMap<String, String>,
) -> Result<OrchestrationDecompiled, Error>Expand description
harness.v1.orchestration.decompile: write an orchestration back as the source harness’s home.
source is the home the orchestration was compiled from. It is re-compiled here
for one reason: the io bookkeeping. That is what lets an artifact whose
record has not changed be reused byte for byte, and what lets the codec
refuse a live state.db (UNI-18’s write) instead of guessing at one.