OptionalcommitThe resolved hub commit hash, when known. Reserved for the prompt-version telemetry follow-up — not populated yet (hub pulls do not surface it without an extra call, and the snapshot fallback does not thread it here).
OptionalmodelModel config from the winning source, when available.
OptionaltagThe promotion tag the prompt resolved at, if any (else floats to latest).
Resolution result. Carries the runnable template plus the metadata around it (name, the tag it resolved at, which source won, and optional model config). When
modelis undefined (hub text-only pull, or no model on the snapshot), callers should fall back to their committed snapshot'smodel.promptis a safe-rendering template (see makeSafePrompt): itsformat/formatPromptValuetry the resolved template and, if rendering throws, log and re-render from the committed snapshot — so a hub prompt promoted with a variable the code cannot supply degrades to last-known-good.