resolve_project
Resolve cq.yaml and CQ_CONFIG_JSON env into a single configuration object, returning project metadata, commands, metrics, and output path as a read-only view.
Instructions
Resolve cq.yaml + CQ_CONFIG_JSON env into a single ResolvedConfig view. Returns project_root, cq_yaml_path, name, cmd, cfg, declared_metrics, output_dir. Read-only — does not create directories or mutate state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Project root path (cwd by default) | . |
| cq_yaml_path | No | Optional explicit cq.yaml path (otherwise discovered) |