Path Resolver
The path resolver compiles a YAML recipe and reports whether the selected path can execute.
Use it after inspecting the tree and before running a recipe.
CLI
macroforecast-navigate resolve examples/recipes/model-benchmark.yaml
Output
The resolver returns:
Field |
Meaning |
|---|---|
|
Recipe path passed to the resolver. |
|
Compiler route status. |
|
Non-fatal warnings. |
|
Reasons a path cannot execute. |
|
Canonical route context, fixed axes, sweep axes, leaf config, and route owner. |
|
Active forecast-generation cell and gated future cells. |
Status Meanings
Status |
Meaning |
|---|---|
|
The recipe can run with the current runtime. |
|
Values are valid individually but cannot compose in the current runtime. |
|
The YAML contains invalid axis values, missing required fields, or governance violations. |
|
The path is valid but belongs to a higher-level wrapper such as a replication or study runner. |
Canonical Path Discipline
The resolver is the last authority before execution. The Tree Navigator can explain disabled branches, but the compiler still decides whether the complete route is executable.
Examples:
tcode_policy=official_tcode_onlywithscaling_policy=standardis invalid becauseofficial_tcode_onlycannot carry extra preprocessing.Coulombe-style
t-code + standardizemust usetcode_policy=official_tcode_then_extra_preprocess,preprocess_order=official_tcode_then_extra, and a train-only fit scope.Raw-panel iterated forecasting requires an explicit future-X path assumption.
Python
from macroforecast.navigator.core import resolve_yaml_path
resolved = resolve_yaml_path("examples/recipes/model-benchmark.yaml")
print(resolved["execution_status"])