Session parsing, timeline generation, and HTML/video rendering
Find a file
Snider f40caaa593 test: add comprehensive Phase 0 test suite — 67 tests, 90.9% coverage
Add parser_test.go (22 tests), search_test.go (9 tests), html_test.go (6 tests),
video_test.go (12 tests), and bench_test.go (4 benchmarks) covering all Phase 0
TODO items:

- ParseTranscript: minimal JSONL, all 7 tool types, errors, truncated/malformed
  input, large sessions (1100+ events), nested array/map results, mixed content
- ListSessions: empty dir, single/multi sorted, non-JSONL ignored, modtime fallback
- extractToolInput: all tool types plus nil, invalid JSON, unknown tool fallback
- extractResultContent: string, array, map, and other types
- Search: empty dir, no matches, multi-match, case insensitive, output matching
- RenderHTML: basic, empty, errors, XSS escaping, label types, invalid path
- generateTape/extractCommand: all event types, empty/failed commands, truncation
- Benchmarks: 2.2MB and 11MB ParseTranscript, ListSessions, Search with b.Loop()

go vet ./... clean, go test -race ./... clean.

Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 05:01:28 +00:00
bench_test.go test: add comprehensive Phase 0 test suite — 67 tests, 90.9% coverage 2026-02-20 05:01:28 +00:00
CLAUDE.md feat: extract go-session from core/go pkg/session 2026-02-19 16:09:12 +00:00
FINDINGS.md test(phase0): add comprehensive test suite — 51 tests, 90.9% coverage 2026-02-20 00:42:11 +00:00
go.mod test(phase0): add comprehensive test suite — 51 tests, 90.9% coverage 2026-02-20 00:42:11 +00:00
go.sum test(phase0): add comprehensive test suite — 51 tests, 90.9% coverage 2026-02-20 00:42:11 +00:00
html.go feat: extract go-session from core/go pkg/session 2026-02-19 16:09:12 +00:00
html_test.go test: add comprehensive Phase 0 test suite — 67 tests, 90.9% coverage 2026-02-20 05:01:28 +00:00
parser.go feat: extract go-session from core/go pkg/session 2026-02-19 16:09:12 +00:00
parser_test.go test: add comprehensive Phase 0 test suite — 67 tests, 90.9% coverage 2026-02-20 05:01:28 +00:00
search.go feat: extract go-session from core/go pkg/session 2026-02-19 16:09:12 +00:00
search_test.go test: add comprehensive Phase 0 test suite — 67 tests, 90.9% coverage 2026-02-20 05:01:28 +00:00
TODO.md test: add comprehensive Phase 0 test suite — 67 tests, 90.9% coverage 2026-02-20 05:01:28 +00:00
video.go feat: extract go-session from core/go pkg/session 2026-02-19 16:09:12 +00:00
video_test.go test: add comprehensive Phase 0 test suite — 67 tests, 90.9% coverage 2026-02-20 05:01:28 +00:00