Background
Most configs for Copilot, Cursor, Claude Code etc. are appended rather than overwritten during lat init which is good.
Problem
.cursor/hooks.json is overwritten during lat init and therefore existing hooks deleted.
Suggestion
- Append
.cursor/hooks.json
- Some projects have the Claude config hidden in
.claude/CLAUDE.md. Check whether ./CLAUDE.md or ./.claude/CLAUDE.md exist and append the relevant file.
Background
Most configs for Copilot, Cursor, Claude Code etc. are appended rather than overwritten during
lat initwhich is good.Problem
.cursor/hooks.jsonis overwritten duringlat initand therefore existing hooks deleted.Suggestion
.cursor/hooks.json.claude/CLAUDE.md. Check whether./CLAUDE.mdor./.claude/CLAUDE.mdexist and append the relevant file.