diff --git a/tests/lib/install-targets.test.js b/tests/lib/install-targets.test.js index 6fa7b1bf..d74d95aa 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'