mnemos-coder
Version:
CLI-based coding agent with graph-based execution loop and terminal UI
39 lines • 1.16 kB
TypeScript
/**
* Test-First Verification System
* Based on qwen-code's emphasis on self-verification through tests
* Ensures code changes are validated before completion
*/
export interface VerificationStrategy {
/**
* Write tests before implementation
*/
writeTestsFirst: boolean;
/**
* Run existing tests after changes
*/
runExistingTests: boolean;
/**
* Use debug statements for verification
*/
useDebugStatements: boolean;
/**
* Commands to execute for verification
*/
verificationCommands: string[];
}
export declare class TestFirstVerification {
/**
* Determine verification strategy based on project type
*/
static determineStrategy(projectRoot: string): Promise<VerificationStrategy>;
/**
* Generate test template based on the code being modified
*/
static generateTestTemplate(functionName: string, language: string, testFramework?: string): string;
/**
* Create verification loop for code changes
*/
static createVerificationLoop(): string;
private static checkFilesExist;
}
//# sourceMappingURL=TestFirstVerification.d.ts.map