MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / defaultRoleForKind

Function defaultRoleForKind

src/orchestration/protocol.ts:172–187  ·  view source on GitHub ↗
(kind: TaskKind)

Source from the content-addressed store, hash-verified

170
171/** Default role per task kind. Overridable per-node or via config. */
172export function defaultRoleForKind(kind: TaskKind): string {
173 switch (kind) {
174 case 'schema':
175 case 'backend':
176 return 'subagent'; // capable model; logic-heavy
177 case 'component':
178 case 'style':
179 return 'subagent'; // frontend-tuned via task-class prompt
180 case 'test':
181 return 'subagent';
182 case 'wiring':
183 return 'subagent';
184 default:
185 return 'subagent';
186 }
187}

Callers 1

decomposeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected