Skip to content

[Bug]: When using Prometheus to create a complex plan, the content at the beginning of the plan file is overwritten by the content at the end #1363

@zer0Black

Description

@zer0Black

Prerequisites

  • I will write this issue in English (see our Language Policy)
  • I have searched existing issues to avoid duplicates
  • I am using the latest version of oh-my-opencode
  • I have read the documentation

Bug Description

When using Prometheus to create a complex plan, it prompted me that the plan content was too large and suggested writing the plan in segments. During his plan writing process, I noticed that every time he wrote the subsequent plan, he would overwrite the previous part of the plan.md file. As a result, only the content written in the last segmented plan was retained

Steps to Reproduce

Implement a grand plan

Expected Behavior

The planning document is written in append mode, or compiled into separate files and finally merged

Actual Behavior

The plan was overridden.

Doctor Output

Installation
────────────────────────────────────────
  ✓ OpenCode Installation → 1.1.48
  ✓ Plugin Registration → Registered (pinned: latest)

Configuration
────────────────────────────────────────
  ✓ Configuration Validity → Valid JSON config
  ✓ Model Resolution → 10 agents, 8 categories (17 overrides), 2396 available

Authentication
────────────────────────────────────────
  ✓ Anthropic (Claude) Auth → Auth plugin available
  ○ OpenAI (ChatGPT) Auth → Auth plugin not installed
  ○ Google (Gemini) Auth → Auth plugin not installed

Dependencies
────────────────────────────────────────
  ✓ AST-Grep CLI → installed
  ✓ AST-Grep NAPI → installed
  ⚠ Comment Checker → Not installed (optional)

Tools & Servers
────────────────────────────────────────
  ⚠ GitHub CLI → Not installed (optional)
  ⚠ LSP Servers → No LSP servers detected
  ✓ Built-in MCP Servers → 2 built-in servers enabled
  ○ User MCP Configuration → No user MCP configuration found
  ○ MCP OAuth Tokens → No OAuth tokens configured

Updates
────────────────────────────────────────
  ⚠ Version Status → Unable to determine current version

Summary
────────────────────────────────────────

  8 passed, 0 failed, 4 warnings, 4 skipped
  Total: 16 checks in 1719ms

⚠ All systems operational with warnings.

Error Logs

Configuration

Additional Context

No response

Operating System

Windows

OpenCode Version

1.1.48

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions