* feat(#1135): migrate planning hooks to capabilities * chore(#1135): add phase 6 planning capabilities changeset * fix(#1135): satisfy lint for agent hook rendering
This commit is contained in:
@@ -360,12 +360,11 @@ describe('WORKFLOW: plan-phase.md AI nudge integration', () => {
|
||||
);
|
||||
});
|
||||
|
||||
test('plan-phase.md references workflow.ai_integration_phase config toggle', () => {
|
||||
test('ai-integration capability owns workflow.ai_integration_phase config toggle', () => {
|
||||
const content = fs.readFileSync(planPhasePath, 'utf-8');
|
||||
assert.ok(
|
||||
content.includes('ai_integration_phase'),
|
||||
'plan-phase.md should check workflow.ai_integration_phase config'
|
||||
);
|
||||
const registry = require('../gsd-core/bin/lib/capability-registry.cjs');
|
||||
assert.strictEqual(registry.configKeys['workflow.ai_integration_phase'], 'ai-integration');
|
||||
assert.doesNotMatch(content, /config-get workflow\.ai_integration_phase/);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user