[Bug] Plan Mode Saves Plans with Malformed / Unexpected Names to .kilo/plans Directory
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/plansfolder should remain organized and human-readable with chronological order
Plugins
No response
Kilo version
7.2.XX
Steps to reproduce
- Open Kilo Code and switch to Plan Mode
- Enter a task or prompt to generate a plan
- Observe the plan being saved to
.kilo/plans - Inspect the generated file — notice the unexpected or garbled file name
Screenshot and/or share link
Operating System
Windows 25H2
Terminal
No response
Confirming this is happening in version 7. Not documented in official docs.
These are randomly generated. I agree we should use a better name that aligns with what you are trying to do.
@lambertjosh Any progress on this bug.
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 !?
This is not a bug but an enhancement. I don't mind random names, at least they're ordered by timestamp.
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.
...
Then the naming convention is correct. Start with the timestamp.
The exactly issue happens with VScode v7.3.54 in Windows 11 25H2