What are the steps to reproduce this issue?
- Run
coldbox ai install (make sure to select Claude)
- Modify your
CLAUDE.md file.
- Run
coldbox ai refresh
What happens?
The CLAUDE.md file resets to the default for the framework, overwriting any changes you or your AI agents made.
What were you expecting to happen?
The CLAUDE.md file is a living document meant to change and grow depending on the specifics of your app. It should not be overwritten during a refresh/update of AI skills and guidelines.
Implementation
In order to allow for both ColdBox CLI generation and user space, we need to have a demarcation on the document. Meaning, that we must create a section that CLEARLY demarcates that this is the agentic ColdBox space, and another for users to collaborate with. With a note that the content within that demarcation is going to be kept updated by the COldBox cli.
What are the steps to reproduce this issue?
coldbox ai install(make sure to select Claude)CLAUDE.mdfile.coldbox ai refreshWhat happens?
The
CLAUDE.mdfile resets to the default for the framework, overwriting any changes you or your AI agents made.What were you expecting to happen?
The
CLAUDE.mdfile is a living document meant to change and grow depending on the specifics of your app. It should not be overwritten during a refresh/update of AI skills and guidelines.Implementation
In order to allow for both ColdBox CLI generation and user space, we need to have a demarcation on the document. Meaning, that we must create a section that CLEARLY demarcates that this is the agentic ColdBox space, and another for users to collaborate with. With a note that the content within that demarcation is going to be kept updated by the COldBox cli.