feat(councils): add preflight, schema-driven outputs, and artifact reporting
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user