File size: 1,430 Bytes
a8f4b72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
export const councilTemplates = [
  {
    name: 'Research Council',
    intents: ['research'],
    agents: ['Research Agent', 'Knowledge Agent'],
    description: 'Evidence gathering, source review, and discovery.'
  },
  {
    name: 'Architecture Council',
    intents: ['architecture'],
    agents: ['Logic Agent', 'Dependency Agent', 'Infrastructure Agent'],
    description: 'System boundaries, interfaces, and technical direction.'
  },
  {
    name: 'Implementation Council',
    intents: ['implementation'],
    agents: ['Implementation Agent', 'Logic Agent', 'Tool Execution Agent'],
    description: 'Code changes, integration, and delivery planning.'
  },
  {
    name: 'Infrastructure Council',
    intents: ['infrastructure'],
    agents: ['Infrastructure Agent', 'Dependency Agent', 'Governance Agent'],
    description: 'Environments, runtime, storage, and deployment.'
  },
  {
    name: 'Evolution Council',
    intents: ['evolution'],
    agents: ['Delta Agent', 'Evolution Agent', 'Knowledge Agent'],
    description: 'Frontier comparison and continuous improvement.'
  },
  {
    name: 'Governance Council',
    intents: ['governance'],
    agents: ['Governance Agent', 'Logic Agent'],
    description: 'Policy, trust, risk, and approval decisions.'
  }
];

export function getCouncilTemplate(intent) {
  return councilTemplates.find(template => template.intents.includes(intent))
    ?? councilTemplates[0];
}