96d464a2c03d9252ea333fb2931a0598b3f2de0f
Document two hard-won patterns in CLAUDE.md's new Architectural Insights section: - ANSI Width Calculation: lipgloss.Width() must be used instead of len() for styled strings, since ANSI escape codes add ~20 bytes per color code. fmt.Sprintf padding is similarly affected. - JSON Top-Level Type Detection: bytes.Contains matches nested strings in JSONL with embedded JSON. Correct approach tracks brace depth and skips quoted strings to find actual top-level fields. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
Go
99.8%
Makefile
0.2%