pub fn resolve_dependency(
dep_id: &str,
current_repo_specs_dir: &Path,
repos: &[RepoConfig],
) -> Result<Spec>Expand description
Resolves a spec dependency ID (local or cross-repo) and returns the spec.
Handles both local dependencies (without repo prefix) and cross-repo dependencies
with the repo:spec-id format.
§Arguments
dep_id- The dependency ID string (e.g., “2026-01-27-001-abc” or “backend:2026-01-27-001-abc”)current_repo_specs_dir- Path to the current repo’s .chant/specs directoryrepos- List of configured repositories
§Returns
The resolved spec, or an error if resolution fails