Files
beads/cmd/bd
Jimmy Stridh bb16f247c6 fix(init): error on invalid JSON instead of overwriting settings (#404)
Previously, setupClaudeSettings would silently create an empty settings
map when json.Unmarshal failed, then write just a prompt field to the
file - destroying all existing user settings (permissions, hooks, etc).

Now returns a clear error asking the user to fix the JSON syntax
manually, preserving their original file contents.

Also properly handles permission errors when reading existing files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Jimmy Stridh <jimmystridh@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-28 18:51:27 -08:00
..
2025-11-27 01:06:45 -08:00
2025-11-25 11:46:06 -08:00
2025-11-25 19:32:05 -08:00
2025-11-25 19:32:05 -08:00
2025-11-27 01:06:45 -08:00
2025-11-24 21:16:44 -08:00
2025-11-24 11:28:32 -08:00
2025-11-24 22:21:55 -08:00
2025-11-23 17:16:27 -08:00
2025-11-27 01:06:45 -08:00