pub fn read_spec(path: &Path) -> Result<SpawnSpec>Expand description
Parse a spec file, rejecting unsupported versions and empty argv.
All errors are prefixed with spawn-ai: so the entrypoint can print
them verbatim without duplicating the prefix.