chore(core): explicitly state plan storage path in prompt (#18222)

This commit is contained in:
Jerop Kipruto
2026-02-03 14:55:43 -05:00
committed by GitHub
parent 40f505e257
commit 675ca07c8b
3 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -53,6 +53,7 @@ export class ExitPlanModeTool extends BaseDeclarativeTool<
private config: Config,
messageBus: MessageBus,
) {
const plansDir = config.storage.getProjectTempPlansDir();
super(
EXIT_PLAN_MODE_TOOL_NAME,
'Exit Plan Mode',
@@ -64,8 +65,7 @@ export class ExitPlanModeTool extends BaseDeclarativeTool<
properties: {
plan_path: {
type: 'string',
description:
'The file path to the finalized plan (e.g., "plans/feature-x.md").',
description: `The file path to the finalized plan (e.g., "${plansDir}/feature-x.md"). This path MUST be within the designated plans directory: ${plansDir}/`,
},
},
},