Task summary
Improve the error shown when config.json contains invalid JSON so users see a clear message that includes the config path and a hint on how to fix it.
Why this is a good first issue
This is a small UX improvement in one code path and does not require major architecture changes.
Suggested files or areas
src/config/store.ts
- Any command paths that call
loadConfig() / loadOrPromptConfig()
- Tests covering malformed JSON handling
Acceptance criteria
Extra context
Current behavior bubbles raw parse errors, which are technically correct but not very actionable for CLI users.
Task summary
Improve the error shown when
config.jsoncontains invalid JSON so users see a clear message that includes the config path and a hint on how to fix it.Why this is a good first issue
This is a small UX improvement in one code path and does not require major architecture changes.
Suggested files or areas
src/config/store.tsloadConfig()/loadOrPromptConfig()Acceptance criteria
loadConfig()and return/throw a user-friendly error.Extra context
Current behavior bubbles raw parse errors, which are technically correct but not very actionable for CLI users.