fix: plan tasks after initial exploration

This commit is contained in:
lesetong
2026-08-24 09:58:33 +08:00
parent 7783e7166a
commit ff497e23b3
3 changed files with 12 additions and 10 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ export const COMPACTION_REMINDER =
"Active tasks exist. Call list_task now; treat its result as authoritative.";
export const TASK_PROMPT_GUIDELINES = [
"For large, multi-stage work, call set_tasks before exploration as the only first-batch tool. Use append with force false by default; use replace with force true only for explicitly abandoned unfinished work. Start one task in-progress; skip smaller work.",
"Use update_task when tracked work starts, blocks, or finishes; reconcile the tree before the final response.",
"For work with 3+ distinct steps, explore enough to understand the scope, then call set_tasks before implementation; otherwise skip tracking. Start one task in-progress.",
"Use update_task when tasks start, block, or finish; keep statuses accurate before the final response.",
];
export function formatCompactTaskTree(tasks: Task[]): string {