22 lines
455 B
TypeScript
22 lines
455 B
TypeScript
export function buildImplementerPrompt(params: {
|
|
issueNumber: number;
|
|
plan: string;
|
|
targetFilesText: string;
|
|
testCommandsText: string;
|
|
}): string {
|
|
const { issueNumber, plan, targetFilesText, testCommandsText } = params;
|
|
return `Implement the planned fix in this repository.
|
|
|
|
Issue #${issueNumber}
|
|
Plan:
|
|
${plan}
|
|
|
|
Target files:
|
|
${targetFilesText}
|
|
|
|
Test commands:
|
|
${testCommandsText}
|
|
|
|
Apply the code changes now with minimal, focused edits.`;
|
|
}
|