[BUG] Plan mode creates `/.claude/plans` and is over optimizing on simple prompt
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Not sure if this is a bug, but this is very different behavior.
plan mode now seems like it is over optimizing for simple things.
It created a several hundred line plan, and wanted to generate a file in ~/.claude/plans
This is new, I do not like the several hundred line plan though. Usually for something like this, it would generate maybe 80 - 120 lines for the plan overview, but now it is reaching 800 or more lines, and full of a lot more detail and over engineering than i requested. Not sure if it is because of the prompt i used or not.
Here is the prompt
Looking at @src/cmd/eod/eodhd/daily_eod_ingestion.py And it's pipeline I would like to make an
enhancement. I believe we are not doing a bulk insert into the database for the historical EOD pricing
table and I believe we are not getting from the database the ticker history rows at a bulk request either.
What Should Happen?
Probably would like to have this type of plan, but it should be activated with a keyword.
Error Messages/Logs
Steps to Reproduce
Here are two prompts that triggered it
Looking at @src/cmd/eod/eodhd/daily_eod_ingestion.py And it's pipeline I would like to make an
enhancement. I believe we are not doing a bulk insert into the database for the historical EOD pricing
table and I believe we are not getting from the database the ticker history rows at a bulk request either.
I believe we fix this issue, but - no repository should have
two or more tables in it. There should be one repo dedicated to
one table.
- need to fix `get_active_ticker_history_symbols` and
`get_active_ticker_histories` in
`src/repos/equities/tickers/ticker_history_repository.py`
please check and confirm that all the other files in
@src/repos is not using joins at all.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.0.51
Claude Code Version
2.0.53
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 14 comments on GitHub. Read the full discussion on GitHub ↗