Skip to content

Conversation

@roomote
Copy link
Collaborator

@roomote roomote commented Jun 30, 2025

Summary

Fixes #5294 by updating the Architect mode's custom instructions to explicitly prohibit providing time estimates for task completion.

Problem

The Architect mode was creating plans with unrealistic time estimates (days/weeks) that didn't match the actual implementation time (minutes). This created confusion and set incorrect expectations.

Solution

Added a clear instruction to the Architect mode's customInstructions in src/shared/modes.ts:

IMPORTANT: Do not provide time estimates for how long tasks will take to complete. Focus on creating clear, actionable plans without speculating about implementation timeframes.

Changes

  • Updated Architect mode configuration in src/shared/modes.ts
  • Updated test snapshot to reflect the new instruction
  • All tests passing with no lint errors

Testing

  • All existing tests pass
  • Test snapshot updated to include new instruction
  • Lint checks pass
  • Type checks pass

The Architect mode will now focus on creating clear, actionable plans without providing potentially misleading time estimates.


Important

Updates Architect mode in modes.ts to prohibit time estimates, focusing on actionable plans, with updated test snapshots.

  • Behavior:
    • Updated Architect mode's customInstructions in modes.ts to prohibit time estimates, focusing on actionable plans.
  • Testing:
    • Updated test snapshots in add-custom-instructions/architect-mode-prompt.snap and 9 other files to reflect new instructions.
    • All tests pass, including lint and type checks.

This description was created by Ellipsis for 94416e6. You can customize this summary. It will automatically update as commits are pushed.

@roomote roomote requested review from cte, jr and mrubens as code owners June 30, 2025 21:07
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Jun 30, 2025
@delve-auditor
Copy link

delve-auditor bot commented Jun 30, 2025

No security or compliance issues detected. Reviewed everything up to 94416e6.

Security Overview
  • 🔎 Scanned files: 13 changed file(s)
Detected Code Changes
Change Type Relevant files
Enhancement ► modes.ts
    Updated architect mode instructions
► prompts/tests/snapshots/
    Updated various system prompt snapshots to remove markdown file option and add timeframe guidance

Reply to this PR with @delve-auditor followed by a description of what change you want and we'll auto-submit a change to this PR to implement it.

@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Jun 30, 2025
roomote and others added 2 commits June 30, 2025 23:02
- Updated Architect mode custom instructions to explicitly prohibit providing time estimates
- Added clear guidance to focus on actionable plans without speculating about implementation timeframes
- Updated test snapshot to reflect the new instruction
- All tests passing
Copy link
Collaborator

@jr jr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In some light testing this does seem to cut down on the markdown a lot / make it a lot more likely that the first suggestion at the "end" is switching to code mode and implementing.

I did still sometimes get a roadmap, but it at least seemed less specific about times.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jul 1, 2025
@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Prelim Review] in Roo Code Roadmap Jul 1, 2025
@hannesrudolph hannesrudolph added PR - Needs Preliminary Review and removed Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. labels Jul 1, 2025
description: "Plan and design before implementation",
groups: ["read", ["edit", { fileRegex: "\\.md$", description: "Markdown files only" }], "browser", "mcp"],
customInstructions:
"1. Do some information gathering (for example using read_file or search_files) to get more context about the task.\n\n2. You should also ask the user clarifying questions to get a better understanding of the task.\n\n3. Once you've gained more context about the user's request, you should create a detailed plan for how to accomplish the task. Include Mermaid diagrams if they help make your plan clearer.\n\n4. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and plan the best way to accomplish it.\n\n5. Once the user confirms the plan, ask them if they'd like you to write it to a markdown file.\n\n6. Use the switch_mode tool to request that the user switch to another mode to implement the solution.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that step 5 about creating a Markdown file was removed, which doesn't appear to have been mentioned in the original issue.

If this change is desirable, then I don't see any issues with this PR.

@daniel-lxs daniel-lxs moved this from PR [Needs Prelim Review] to PR [Needs Review] in Roo Code Roadmap Jul 1, 2025
@mrubens mrubens merged commit 951f2d0 into main Jul 1, 2025
20 checks passed
@mrubens mrubens deleted the fix-5294 branch July 1, 2025 13:42
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap Jul 1, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jul 1, 2025
hannesrudolph pushed a commit that referenced this pull request Jul 3, 2025
* Fixes #5294: Add instruction to Architect mode to avoid time estimates

- Updated Architect mode custom instructions to explicitly prohibit providing time estimates
- Added clear guidance to focus on actionable plans without speculating about implementation timeframes
- Updated test snapshot to reflect the new instruction
- All tests passing

* More tweaks to prompt

---------

Co-authored-by: Matt Rubens <[email protected]>
utarn pushed a commit to modelharbor/ModelHarbor-Agent that referenced this pull request Jul 4, 2025
…ates (RooCodeInc#5295)

* Fixes RooCodeInc#5294: Add instruction to Architect mode to avoid time estimates

- Updated Architect mode custom instructions to explicitly prohibit providing time estimates
- Added clear guidance to focus on actionable plans without speculating about implementation timeframes
- Updated test snapshot to reflect the new instruction
- All tests passing

* More tweaks to prompt

---------

Co-authored-by: Matt Rubens <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer PR - Needs Review size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Architect often gives time estimates that make no sense

6 participants