Skip to content

Plan a change in Plan mode

Plan mode investigates your project and writes a structured plan you can review, edit, and approve before any code is written. Use it for larger or riskier changes where you want to see and shape the approach first.

Updated View as Markdown

<head> <script type=“application/ld+json”> {{"@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{"@type": "Question", "name": "Does Plan mode ever change my code?", "acceptedAnswer": {"@type": "Answer", "text": "No. Code changes only happen after you approve a plan and RShift Sites switches to Build mode."}}, {"@type": "Question", "name": "Does Plan mode cost credits?", "acceptedAnswer": {"@type": "Answer", "text": "Yes. A Plan mode message costs one credit, plus the cost of any subagents RShift Sites starts to research your project while planning, so a message that needs deep research costs more than one credit."}}, {"@type": "Question", "name": "Where are plans stored?", "acceptedAnswer": {"@type": "Answer", "text": "The plan you are working on is saved to .lovable/plan.md. When you approve it, RShift Sites moves it to a dated file in the .lovable/plan/ folder. Earlier plans also remain accessible from chat history."}}, {"@type": "Question", "name": "Can I access old plans?", "acceptedAnswer": {"@type": "Answer", "text": "Yes. Earlier plans remain accessible from chat history."}}, {"@type": "Question", "name": "Can I edit plans after they’re created?", "acceptedAnswer": {"@type": "Answer", "text": "Yes. Plans are fully editable before approval."}}, {"@type": "Question", "name": "Can I use Plan mode for debugging?", "acceptedAnswer": {"@type": "Answer", "text": "Yes. Plan mode is well suited for investigating issues and deciding on fixes before implementation."}}, {"@type": "Question", "name": "When should I use Chat mode instead of Plan mode?", "acceptedAnswer": {"@type": "Answer", "text": "Use Chat mode when you want an answer in the conversation and no plan yet: how a part of the app works, whether an idea is worth building, or what caused an error. Chat mode messages are priced as chat messages and covered first by your workspace's daily chat allowance. Use Plan mode when you have decided what to change and want a structured plan you can edit and approve before RShift Sites builds it."}}, {"@type": "Question", "name": "What happens if I type /goal in Plan mode?", "acceptedAnswer": {"@type": "Answer", "text": "The message is sent as a goal, which always runs in Build mode. RShift Sites switches the mode picker to Build, works on that message until the goal is achieved, and the picker stays on Build until you change it."}}]}} </script> </head>

Overview

Plan mode is RShift Sites’ planning mode, designed to turn a change you have in mind into a structured plan you review and approve before any code is written. It is the Plan option in the project chat, described in the mode picker as Detailed spec for complex builds. RShift Sites investigates your project across multiple steps, inspecting files, logs, and other relevant context, then writes the plan. You inspect, edit, and refine it, and RShift Sites builds only what you approve.

RShift Sites often asks clarifying questions to understand your goals and constraints before it proposes a plan. When there is a clear implementation to propose, the plan opens in the Plan view.

Plan mode never modifies your code. To ask a question, explore an idea, or discuss a change without a plan, use Chat mode instead. A Plan mode message costs one credit, plus the cost of any subagent research RShift Sites runs while planning. See How Plan mode messages are priced.

What Plan mode is for

Use Plan mode when you know roughly what you want and want to see how RShift Sites would build it before it does:

  • Scope a larger feature and see the steps, components, and data it needs
  • Investigate a bug or an error and approve the fix before any code changes
  • Compare multiple approaches, understand the tradeoffs, and choose one
  • Design architecture or database schemas before implementation
  • Understand which parts of the app a change touches before making it
  • Give collaborators a written plan to review before the build starts

A Plan mode conversation can still end without a plan, for example when RShift Sites’ clarifying questions show that the change is not worth making. When it does lead to a concrete change, you review and refine the proposed approach before anything is implemented.

For open questions and early ideas, where you do not want a plan yet, Chat mode answers in the conversation at chat pricing.

How to use Plan mode

You can use Plan mode in two ways:

  • Start in Plan mode when beginning a new project or a larger feature
  • Switch to Plan mode at any point during development, including from a Chat mode conversation once you have decided what to build

Plan mode is intentionally interactive. RShift Sites may ask clarifying questions to understand requirements, constraints, or tradeoffs before proposing a plan.

Activate Plan mode

Open the mode picker next to the chat input, which shows the current mode, and select Plan. Then describe the change you want planned.

Be specific about what you want

Add email/password authentication with password reset. 
Users should stay logged in for 30 days. Use RShift Sites Cloud.

Compare approaches before you commit

What's the best way to implement real-time notifications in this project? 
Walk me through the options and their tradeoffs, then plan the one you recommend.

Use it for debugging

Users report the login form doesn't work on mobile. 
Help me figure out why.

Request detailed breakdowns

Break down the implementation of a shopping cart feature. 
What components, database tables, and API endpoints will I need?

Ask for a review with a plan of improvements

Review my current authentication setup and plan the security improvements I should make, in priority order.

When Plan mode creates a plan

Plan mode does not always produce a structured implementation plan. A plan is created only when there is a clear implementation to propose.

If a plan is generated, it appears in a dedicated Plan view as a readable, structured document. You can open it in full screen to review the entire approach before anything is implemented.

A plan typically includes:

  • A high-level overview of the approach
  • Key decisions, assumptions, and constraints
  • Components, data models, and APIs
  • Step-by-step implementation sequencing
  • Optional diagrams such as schemas, flows, or architecture

From the Plan view, you can:

  • Edit the plan directly in the view to add constraints, remove steps, or rewrite sections
  • Highlight any part of the plan and describe what should change about that section
  • Approve the plan when you are satisfied with the approach

The plan card in the project chat also offers Approve and Skip. Select Skip to move on without approving the plan.

You can ask follow-up questions or request changes directly in the project chat, and RShift Sites will update the plan accordingly.

When you approve a plan:

  • RShift Sites switches to Build mode
  • Implementation begins immediately from the approved plan and continues until the plan is complete

You can return to Plan mode at any time to generate a new plan based on the current state of your codebase.

Revise a specific part of the plan

Instead of describing a change in the project chat, you can point at it. Select any part of the plan and a Comment button appears next to your selection. Select it, type what should change in the box that opens (Describe the change…), and press Enter. RShift Sites edits just that section rather than rewriting the whole plan. Press Escape to dismiss the box without sending.

Each revision is a Plan mode message, so it costs one credit, plus the cost of any subagent research RShift Sites runs for it.

When RShift Sites revises a plan, the new version opens in the Plan view ready to edit, and RShift Sites keeps the earlier version in the plan’s version history.

Browse plan versions

RShift Sites keeps every revision in the current round of planning as a version. Use the undo and redo arrows above the plan to step through the versions and compare them. While you view an earlier version, a banner such as Viewing version 2 of 3 appears. You can read that version, but you cannot edit it or select part of it to request changes. Select Back to latest to return to the latest version.

Save appears in two situations. While you view an earlier version, select Save to restore it as the new latest version. After you edit the latest version yourself, select Save to keep your edits as the plan to approve. While you have unsaved edits, the arrows are unavailable until you select Save or Cancel.

You cannot approve a plan while you view an earlier version. Save it first or return to the latest version. When you approve a saved version, RShift Sites builds from it. If you approve while you still have unsaved edits, the Approve button reads Save & approve and saves them first.

If you send a chat message while a plan with saved changes is waiting for your approval, RShift Sites includes your saved plan with the message, so the next revision starts from your saved version. These messages show an Updated plan label in the project chat, and you cannot edit them afterward.

Plans and persistence

While you are working on a plan, it lives in .lovable/plan.md. When you approve it, RShift Sites moves that file into the .lovable/plan/ folder as a dated file named after the plan, and .lovable/plan.md starts fresh for your next plan.

You can inspect both the current plan and the archived ones like any other project file.

Previous plans are not lost. Approved plans stay in the .lovable/plan/ folder, and every plan remains available in your project chat history, where it can be reopened in the Plan view for reference or comparison.

This allows you to:

  • Iterate on ideas over time
  • Compare different approaches
  • Re-plan safely as requirements evolve
  • Help new collaborators understand the reasoning behind implementations

How Plan mode messages are priced

A Plan mode message costs one credit, plus the cost of any subagent research RShift Sites runs while planning. The one credit covers the planning work itself, so it is the same whether the message ends in a plan, a clarifying question, or an answer. Skipping a plan does not add a charge. Sending feedback on the plan is a new Plan mode message, priced the same way.

For larger or open-ended requests, RShift Sites can start subagents to research your project before it writes the plan. Subagent research is usage-based, so a Plan mode message that needs deep research costs more than one credit.

When you approve a plan, RShift Sites switches to Build mode and implements it. RShift Sites bills that implementation as Build mode work, separately from the Plan mode message.

To keep planning costs predictable:

  • Keep planning requests specific and point them at particular files, features, or areas. Broad requests are more likely to need subagent research.
  • Check the cost of any message under Credits used in the More options menu below RShift Sites’ response. See Time and cost while RShift Sites works.

FAQ

Does Plan mode ever change my code?

No. Code changes only happen after you approve a plan and RShift Sites switches to Build mode.

Does Plan mode cost credits?

Yes. A Plan mode message costs one credit, plus the cost of any subagent research RShift Sites runs while planning, so a message that needs deep research costs more than one credit. See How Plan mode messages are priced.

Where are plans stored?

The plan you are working on is saved to .lovable/plan.md. When you approve it, RShift Sites moves it to a dated file in the .lovable/plan/ folder. Earlier plans also remain accessible from the project chat history.

Can I access old plans?

Yes. Earlier plans remain accessible from the project chat history.

Can I edit plans after they’re created?

Yes. Plans are fully editable before approval.

Can I use Plan mode for debugging?

Yes. Plan mode is well suited for investigating issues and deciding on fixes before implementation.

When should I use Chat mode instead of Plan mode?

Use Chat mode when you want an answer in the conversation and no plan yet: how a part of the app works, whether an idea is worth building, or what caused an error. Chat mode messages are priced as chat messages and covered first by your workspace’s daily chat allowance.

Use Plan mode when you have decided what to change and want a structured plan you can edit and approve before RShift Sites builds it.

What happens if I type /goal in Plan mode?

The message is sent as a goal, which always runs in Build mode. RShift Sites switches the mode picker to Build, works on that message until the goal is achieved, and the picker stays on Build until you change it.

Can I reference a specific file in the project chat?

Yes. You can reference code files from your current project directly in the project chat to make edits and discussion faster and more precise.

Type @ and select a file, or use the Reference file in chat button in the code editor. For example:

    @src/components/UserProfile.tsx add a loading state here

This only references files within your current project. To reference another project, see Cross-project referencing.

Can RShift Sites reuse code or features from another project?

Yes. RShift Sites supports cross-project referencing within the same workspace.

You can use @ mentions to reference another project directly, or simply ask RShift Sites to reuse an existing implementation. The agent can access relevant code, files, assets, and project chat history from other projects and adapt them to your current one.

Cross-project access is read-only and respects workspace permissions.

Navigation

Search for a question, a feature, or a task.

↑↓ to navigate↵ to openEsc to close