pub fn check_uncommitted_specs(
repo_root: &Path,
specs: &[SpecEntry],
) -> Result<Vec<String>, PawError>Expand description
Checks for uncommitted changes in spec directories or files.
Returns a list of spec IDs that have uncommitted changes (modified, added,
or untracked files). Uses git status --porcelain against the spec’s path.
Supports both spec layouts:
OpenSpec:specs/<id>/directory; the whole directory is probed.Markdown:specs/<id>.mdfile; the single file is probed.
If neither layout exists for a spec id, it is silently skipped.