Expand description
Spec name resolution for the --specs NAME[,NAME...] narrow flag.
Maps user-supplied names against the discovered SpecEntry set returned
by scan_specs() using a layered matching strategy:
- Exact match on
SpecEntry.id. - Spec Kit feature-name match โ every
SpecEntry.idwhose feature prefix equals the requested name. - Spec Kit numeric prefix match โ digit-leading values match a unique
feature directory whose name starts with
<digits>followed by a non-digit boundary. Ambiguous matches are rejected.
Resolution fails (no partial success) when any requested name is unknown or matches more than one feature ambiguously.
Functionsยง
- resolve_
specs - Resolves the
--specs NAME[,NAME...]values against the discovered set.