Validate that all pending files (staged + unstaged + untracked working-tree changes) conform to the file-ownership contract for the given workflow category.
Checks the union of:
git diff --cached --name-only (staged)
git diff --name-only (unstaged modifications)
git ls-files --others --exclude-standard (untracked new files)
This ensures violations are caught regardless of whether git add has been run.
Validate that all pending files (staged + unstaged + untracked working-tree changes) conform to the file-ownership contract for the given workflow category.
Checks the union of:
git diff --cached --name-only(staged)git diff --name-only(unstaged modifications)git ls-files --others --exclude-standard(untracked new files)This ensures violations are caught regardless of whether
git addhas been run.