(opts: RunOptions)
| 232 | } |
| 233 | |
| 234 | export function createDefaultLocalRunConfigText(opts: RunOptions): string { |
| 235 | const config: AgentMatrixConfig = { |
| 236 | agents: [ |
| 237 | defaultAgent( |
| 238 | opts, |
| 239 | 'ceo', |
| 240 | '24/7', |
| 241 | 'high', |
| 242 | 'You are the CEO agent. Turn the run goal into a small backlog, assign work, review progress, and produce a concise final deliverable.', |
| 243 | ), |
| 244 | defaultAgent( |
| 245 | opts, |
| 246 | 'dev', |
| 247 | 'on-demand', |
| 248 | 'standard', |
| 249 | 'You are the Dev agent. Implement assigned code, docs, or analysis tasks end-to-end and report exact files or outputs changed.', |
| 250 | ), |
| 251 | defaultAgent( |
| 252 | opts, |
| 253 | 'feedback', |
| 254 | 'on-demand', |
| 255 | 'standard', |
| 256 | 'You are the Feedback agent. Review outputs, identify gaps, and convert useful observations into concrete follow-up tasks.', |
| 257 | ), |
| 258 | ], |
| 259 | port: 3120, |
| 260 | } |
| 261 | return JSON.stringify(config, null, 2) |
| 262 | } |
| 263 | |
| 264 | function defaultAgentGuide(agent: AgentDefinition): string { |
| 265 | return [ |
no test coverage detected