mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-01 14:43:28 +08:00
fix: harden orchestration status and skill docs
This commit is contained in:
@@ -56,6 +56,12 @@ function normalizeSeedPaths(seedPaths, repoRoot) {
|
||||
}
|
||||
|
||||
const normalizedPath = relativePath.split(path.sep).join('/');
|
||||
if (!normalizedPath || normalizedPath === '.') {
|
||||
throw new Error('seedPaths entries must not target the repo root');
|
||||
}
|
||||
if (normalizedPath === '.git' || normalizedPath.startsWith('.git/')) {
|
||||
throw new Error(`seedPaths entries must not target git metadata: ${entry}`);
|
||||
}
|
||||
if (seen.has(normalizedPath)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user