Skip to content

Feature Request: File-based plans #63

Closed

Description

@DanielusG

In my experience, this plugin could become even more powerful if plans were first written in a markdown file and the model edit the plan file based on subsequent feedback, rather than rewriting the plan from scratch in a tool call.

I noticed that models tend not to rewrite the plan exactly as it was before, so there is a risk that a nice feature described prior to the feedback disappears immediately afterwards to include the new feedback provided.

Additionally, for long and detailed plans, the context window gets cluttered with continuous rewrites of entire plans when a simple call to the edit tool would suffice; it is faster and more efficient.

Is there a particular reason why a tool is simply used where the model has to write the entire plan?

Activity

  1. backnotprop commented on Jan 13, 2026

    @backnotprop
    Owner

    @DanielusG this is for opencode right?

    I agree. I think the OpenCode team is starting to write plans to files or it is in the works. I will make sure Plannotator taps into those.

  2. DanielusG commented on Jan 13, 2026

    @DanielusG
    Author

    @DanielusG this is for opencode right?

    I agree. I think the OpenCode team is starting to write plans to files or it is in the works. I will make sure Plannotator taps into those.

    Yes OpenCode, sorry I didn't check if Claude Code had the same problem, I assumed so.

  3. backnotprop commented on Jan 13, 2026

    @backnotprop
    Owner

    Claude Code already does the plan writing to files. I saw dax tweet something about it last week. I will check progress

  4. DanielusG commented on Jan 14, 2026

    @DanielusG
    Author

    So basically, now you'll modify the opencode implementation to add a hook when it enters plan_exit to launch your tool and provide feedback like in Claude Code, right?

  5. backnotprop commented on Jan 14, 2026

    @backnotprop
    Owner

    That is the basic idea, yes. I need to look deeper at the implementation. It sounds like you have?

  6. backnotprop commented on Jan 21, 2026

    @backnotprop
    Owner

    I need this PR to opencode for this to work:

    anomalyco/opencode#9864

    related issue:
    anomalyco/opencode#9865

  7. added
    enhancement
    on Jan 22, 2026
  8. changed the title [-]File-based plans[/-] [+]Feature Request: File-based plans[/+] on Jan 22, 2026
  9. cloudpresser commented on Feb 12, 2026

    @cloudpresser

    What if instead of relying on a beta feature, this used a custom agent, setup similarly to the plan agent, but that has permissions to edit the plan file? Tab to find plannotator plan agent. I think this would be cleaner as it wouldn't have to hook into a different planning workflow and keeps plannotator lighter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions