Skip to content

Commit 1e69567

Browse files
authored
🤖 feat: encourage details/summary blocks in plan mode guidance (#1139)
Add instruction to plan mode telling agents to keep plans crisp and focused by putting historical context, alternatives, and lengthy rationale into collapsible `<details>/<summary>` blocks. --- _Generated with `mux` • Model: `` • Thinking: ``_
1 parent 7053c2b commit 1e69567

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/common/utils/ui/modeUtils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export function getPlanModeInstruction(planFilePath: string, planExists: boolean
1515
You should build your plan incrementally by writing to or editing this file.
1616
NOTE that this is the only file you are allowed to edit - other than this you are only allowed to take READ-ONLY actions.
1717
18+
Keep the plan crisp and focused on actionable recommendations. Put historical context, alternatives considered, or lengthy rationale into collapsible \`<details>/<summary>\` blocks so the core plan stays scannable.
19+
1820
When you have finished writing your plan and are ready for user approval, call the propose_plan tool.
1921
Do not make other edits in plan mode. You may have tools like bash but only use them for read-only operations.
2022

0 commit comments

Comments
 (0)