Agent looking for path {{plan}} #6487

Closed
opened 2026-02-16 18:04:22 -05:00 by yindo · 2 comments
Owner

Originally created by @zyriab on GitHub (Jan 16, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Using GPT 5.2 on the Zen plan, I noticed that when I switched from plan mode to build mode, GPT 5.2 (used in both modes) tried to access an invalid path {{plan}}.
I searched throughout my filesystem and couldn't find a plans or plan directory made by OpenCode.

Plugins

None

OpenCode version

1.1.18

Steps to reproduce

  1. Enter plan mode and plan something
  2. Enter build mode and ask the agent to write down the plan you just did together

Screenshot and/or share link

Image

Operating System

NixOS Unstable (Installed via Flake, x86_64 system, no encryption)

Terminal

Ghostty

Originally created by @zyriab on GitHub (Jan 16, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Using GPT 5.2 on the Zen plan, I noticed that when I switched from plan mode to build mode, GPT 5.2 (used in both modes) tried to access an invalid path `{{plan}}`. I searched throughout my filesystem and couldn't find a `plans` or `plan` directory made by OpenCode. ### Plugins None ### OpenCode version 1.1.18 ### Steps to reproduce 1. Enter plan mode and plan something 2. Enter build mode and ask the agent to write down the plan you just did together ### Screenshot and/or share link <img width="1848" height="694" alt="Image" src="https://github.com/user-attachments/assets/9c909fb3-8e13-47e1-8b90-84171a696d33" /> ### Operating System NixOS Unstable (Installed via Flake, x86_64 system, no encryption) ### Terminal Ghostty
yindo added the bugzennix labels 2026-02-16 18:04:22 -05:00
yindo closed this issue 2026-02-16 18:04:22 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 16, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #8333: Consistent asking for {{plan}}
  • #8435: Build agent can't find plan file

Both of these issues describe the same problem where the build agent looks for an invalid {{plan}} path after switching from plan mode. This appears to be a known bug that was resolved in patch 1.1.20 according to issue #8333.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 16, 2026): This issue might be a duplicate of existing issues. Please check: - #8333: Consistent asking for {{plan}} - #8435: Build agent can't find plan file Both of these issues describe the same problem where the build agent looks for an invalid `{{plan}}` path after switching from plan mode. This appears to be a known bug that was resolved in patch 1.1.20 according to issue #8333. Feel free to ignore if none of these address your specific case.
Author
Owner

@zyriab commented on GitHub (Jan 16, 2026):

Didn't see the resolved issues, my bad

@zyriab commented on GitHub (Jan 16, 2026): Didn't see the resolved issues, my bad
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6487