cortexweaver
Version:
CortexWeaver is a command-line interface (CLI) tool that orchestrates a swarm of specialized AI agents, powered by Claude Code and Gemini CLI, to assist in software development. It transforms a high-level project plan (plan.md) into a series of coordinate
47 lines • 1.29 kB
TypeScript
import { Agent } from '../../agent';
import { CoderResult } from './index';
/**
* CoderAgentImplementation contains the core implementation logic for the CoderAgent
*/
export declare class CoderAgentImplementation extends Agent {
private codeAttempts;
private testAttempts;
private maxAttempts;
/**
* Execute the coding task with impasse detection
*/
executeTask(): Promise<CoderResult>;
/**
* Generate code implementation with retry logic and impasse detection
*/
private generateCodeWithRetries;
/**
* Generate unit tests with retry logic
*/
private generateTestsWithRetries;
/**
* Verify the implementation by running compilation and tests
*/
private verifyImplementation;
/**
* Commit changes to the worktree
*/
private commitChanges;
/**
* Get coding standards from Cognitive Canvas
*/
private getCodingStandards;
/**
* Get prompt template for the coder agent
*/
getPromptTemplate(): string;
/**
* Write code to the appropriate workspace file
*/
private writeCodeToWorkspace;
/**
* Write tests to the appropriate workspace file
*/
private writeTestsToWorkspace;
}
//# sourceMappingURL=coder-agent.d.ts.map