Validate one deployment the way the definition deploy will, so every
offline-checkable author error fails here — in the author's terminal at
manifest evaluation — rather than as a failed stack operation: the
deployment envelope (tag, resource binding, alias bindings) through the
config schema, each definition boundary-parsed and validated, definition
names checked for batch uniqueness, a dry alias expansion (fail-closed on
an unbound @<handle>: reference), and the spawn-reference walk that
rejects in-set cycles.
Returns the parsed deployment (definition document envelopes stripped, so a
fetched definition document round-trips cleanly).
Validate one deployment the way the definition deploy will, so every offline-checkable author error fails here — in the author's terminal at manifest evaluation — rather than as a failed stack operation: the deployment envelope (tag, resource binding, alias bindings) through the config schema, each definition boundary-parsed and validated, definition names checked for batch uniqueness, a dry alias expansion (fail-closed on an unbound
@<handle>:reference), and the spawn-reference walk that rejects in-set cycles.Returns the parsed deployment (definition document envelopes stripped, so a fetched definition document round-trips cleanly).