fix: add no-hooks minimal install path

This commit is contained in:
Affaan Mustafa
2026-04-30 01:48:31 -04:00
committed by Affaan Mustafa
parent d26d66fd3b
commit 5881554a1c
5 changed files with 96 additions and 0 deletions

View File

@@ -70,6 +70,29 @@ function runTests() {
);
})) passed++; else failed++;
if (test('README documents low-context no-hooks install path', () => {
assert.ok(
readme.includes('### Low-context / no-hooks path'),
'README should surface a low-context no-hooks install option near Quick Start'
);
assert.ok(
readme.includes('./install.sh --profile minimal --target claude'),
'README should document the shell minimal profile command'
);
assert.ok(
readme.includes('npx ecc-install --profile minimal --target claude'),
'README should document the npx minimal profile command'
);
assert.ok(
readme.includes('--profile core --without baseline:hooks --target claude'),
'README should document the hook opt-out path for the core profile'
);
assert.ok(
readme.includes('This profile intentionally excludes `hooks-runtime`.'),
'README should state that the minimal profile excludes hooks'
);
})) passed++; else failed++;
if (test('README explains plugin-path cleanup and rules scoping', () => {
assert.ok(
readme.includes('remove the plugin from Claude Code'),