mirror of
https://github.com/affaan-m/ECC.git
synced 2026-09-01 04:38:47 +02:00
fix: close Hookify runtime review gaps
This commit is contained in:
@@ -51,6 +51,15 @@ function runTests() {
|
||||
}
|
||||
})) passed++; else failed++;
|
||||
|
||||
if (test('simple file patterns retain the file-path contract', () => {
|
||||
const help = read('commands/hookify-help.md');
|
||||
const skill = read('skills/hookify-rules/SKILL.md');
|
||||
|
||||
assert.ok(help.includes('simple `pattern` matches `file_path`'));
|
||||
assert.ok(skill.includes('Simple `event: file` patterns match `file_path`'));
|
||||
assert.ok(skill.includes('changed content requires explicit conditions'));
|
||||
})) passed++; else failed++;
|
||||
|
||||
if (test('authoring command and skill document the complete supported schema', () => {
|
||||
const authoring = read('commands/hookify.md');
|
||||
const skill = read('skills/hookify-rules/SKILL.md');
|
||||
|
||||
Reference in New Issue
Block a user