isCommitteeTestPath function
Whether path is a TEST surface — a test root, a nested test directory,
or a Dart test file.
Implementation
bool isCommitteeTestPath(String path) {
final normalized = path.toLowerCase();
return normalized.startsWith('test/') ||
normalized.contains('/test/') ||
_basename(normalized).endsWith('_test.dart');
}