pub fn create_spec(
description: &str,
specs_dir: &Path,
config: &Config,
options: CreateOptions,
) -> Result<(Spec, PathBuf)>Expand description
Create a new spec with derivation and optional git commit.
This is the canonical spec creation logic used by both CLI and MCP.
ยงReturns
Returns the created spec and its file path.