Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

test(install-targets): add positive rules assertion to claude-project foreign-path test

Mhd Ghaith Al Abtahb2c2616ab432
diff --git a/tests/lib/install-targets.test.js b/tests/lib/install-targets.test.js
index 6fa7b1bf4..d74d95aa2 100644
--- a/tests/lib/install-targets.test.js
+++ b/tests/lib/install-targets.test.js
@@ -943,6 +943,13 @@ function runTests() {
],
});
+ assert.ok(
+ plan.operations.some(operation => (
+ normalizedRelativePath(operation.sourceRelativePath) === 'rules'
+ && operation.destinationPath === path.join(projectRoot, '.claude', 'rules', 'ecc')
+ )),
+ 'Should still include non-foreign rules path (guards against empty-plan regression)'
+ );
assert.ok(
!plan.operations.some(operation => (
normalizedRelativePath(operation.sourceRelativePath) === '.cursor'