Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/opencode/src/session/processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -398,15 +398,13 @@ export namespace SessionProcessor {
type: "text",
synthetic: true,
text:
// altimate_change start — #888 follow-up: reworded warning copy (de-blame the user, /model last resort)
`⚠️ altimate-code: the \`plan\` agent on \`${input.model.providerID}/${input.model.id}\` ` +
`stopped without calling any tools — it neither read, searched, nor explored the codebase. ` +
`Common causes: (a) the model wrote a plan from prompt context alone, (b) the model declined ` +
`to engage with the request (content-policy refusal), or (c) the request may need more detail. ` +
`To recover, try one of: reply asking it to investigate first (\`read\`/\`grep\`/\`glob\`/\`explore\`); ` +
`rephrase the request more concretely; or, if it keeps refusing, \`/model\` to a tier that's more ` +
`eager to explore (e.g. Claude Sonnet/Opus).`,
// altimate_change end
time: { start: Date.now(), end: Date.now() },
})
}
Expand Down
2 changes: 1 addition & 1 deletion packages/opencode/src/session/prompt/plan.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Ask the user clarifying questions or ask for their opinion when weighing tradeof

---

// altimate_change start — mandatory exploration before drafting (+ trivial-task escape hatch)
// altimate_change start — mandatory exploration before drafting
## Investigate before drafting (REQUIRED)

Before you write any plan content — outline OR full plan — you MUST call at least one read-only investigation tool against the actual codebase. Acceptable first moves:
Expand Down
Loading
Loading