pub fn stack_preset(name: &str) -> Option<&'static [&'static str]>Expand description
Resolves a stack-preset name to its curated prefix list.
Returns the matching *_STACK_PRESET slice for a known name
(rust / node / python / go), or None for an unrecognised
name. Matching is case-sensitive against the lowercase names a
repository declares in [supervisor.common_dev_allowlist] stacks.
An unknown stack name contributes nothing (no error) so a typo or a
future stack name in an older binary degrades gracefully.