kilocode icon indicating copy to clipboard operation
kilocode copied to clipboard

[Bug] Plan Mode Saves Plans with Malformed / Unexpected Names to .kilo/plans Directory

Open zakimimit opened this issue 7 months ago • 8 comments

Description

[Bug] Plan Mode Saves Plans with Malformed / Unexpected Names to .kilo/plans Directory

When using Plan Mode, the generated plan files are saved with incorrect / Malformed names into the .kilo/plans folder. The naming appears unintended — either randomly generated, malformed, or not reflecting the actual plan content or session context.

  • The .kilo/plans folder should remain organized and human-readable with chronological order

Plugins

No response

Kilo version

7.2.XX

Steps to reproduce

  1. Open Kilo Code and switch to Plan Mode
  2. Enter a task or prompt to generate a plan
  3. Observe the plan being saved to .kilo/plans
  4. Inspect the generated file — notice the unexpected or garbled file name

Screenshot and/or share link

Image

Operating System

Windows 25H2

Terminal

No response

zakimimit avatar Apr 27 '26 21:04 zakimimit

Confirming this is happening in version 7. Not documented in official docs.

rick-lock avatar Apr 28 '26 03:04 rick-lock

These are randomly generated. I agree we should use a better name that aligns with what you are trying to do.

lambertjosh avatar Apr 28 '26 04:04 lambertjosh

@lambertjosh Any progress on this bug.

zakimimit avatar May 07 '26 17:05 zakimimit

In plan mode can we change the random name and the file location ? It's great way to document the project, but currently with it's generic name and hardcoded path not fully useable !?

Tetramatrix avatar May 26 '26 07:05 Tetramatrix

This is not a bug but an enhancement. I don't mind random names, at least they're ordered by timestamp.

thpk avatar May 28 '26 16:05 thpk

Not sure if this is the same issue or a different one, or whether it's caused by the harness or the model. On macOS with Kilo CLI 7.3.46 and qwen3.6-27B, it creates plans named like stale-treatment-company-notifications.md in Plan mode, but when starting a new coding session it sometimes passes a name like 1782412662231-tidy-rocket.md. Occasionally it fixes itself (if there are no other plans in the folder), but usually it pauses for user interaction when multiple plans are present.

→ Read .kilo/plans/1782412662231-tidy-rocket.md 
File not found: /Users/xxx/.kilo/plans/1782412662231-tidy-rocket.md
✱ Glob "**/*tidy-rocket*" 
✱ Glob ".kilo/plans/**/*.md" (1 match)
→ Read .kilo/plans 
✱ Glob ".kilo/**/*.md" (1 match)
The plan file 1782412662231-tidy-rocket.md does not exist in .kilo/plans/. The only plan file present is stale-treatment-company-notifications.md. Let me read it to check if it might be the relevant plan.
→ Read .kilo/plans/stale-treatment-company-notifications.md 
The plan file 1782412662231-tidy-rocket.md doesn't exist. However, there is a plan at .kilo/plans/stale-treatment-company-notifications.md that describes xxx. Let me implement this plan.
...

zaycker avatar Jun 25 '26 19:06 zaycker

Then the naming convention is correct. Start with the timestamp.

zakimimit avatar Jun 25 '26 19:06 zakimimit

The exactly issue happens with VScode v7.3.54 in Windows 11 25H2

Image

xtellaris avatar Jul 01 '26 02:07 xtellaris