feat(councils): add preflight, schema-driven outputs, and artifact reporting

This commit is contained in:
William Valentin
2026-02-22 15:56:30 -08:00
parent dafe9b4d3d
commit 44c7409a20
18 changed files with 1686 additions and 29 deletions
+12
View File
@@ -33,9 +33,16 @@ describe('parseCommand', () => {
it('parses /council command', () => {
expect(parseCommand('/council design backup plan')).toEqual({ type: 'council', task: 'design backup plan' });
expect(parseCommand('/council preflight')).toEqual({ type: 'council', task: 'preflight' });
expect(parseCommand('/council')).toEqual({ type: 'council', task: '' });
});
it('parses natural-language council shortcut', () => {
expect(parseCommand('run council design backup plan')).toEqual({ type: 'council', task: 'design backup plan' });
expect(parseCommand('yes run the council')).toEqual({ type: 'council', task: '' });
expect(parseCommand('Run council on #2')).toEqual({ type: 'council', task: '#2' });
});
it('parses /fullscreen command', () => {
expect(parseCommand('/fullscreen')).toEqual({ type: 'fullscreen' });
expect(parseCommand('/fs')).toEqual({ type: 'fullscreen' });
@@ -197,6 +204,11 @@ describe('getCommandCompletions', () => {
const completions = getCommandCompletions('/model fast x');
expect(completions).toEqual(['/model fast xai']);
});
it('completes /council preflight shortcut', () => {
const completions = getCommandCompletions('/council pre');
expect(completions).toEqual(['/council preflight']);
});
});
describe('isToolInventoryQuery', () => {