Fix archive cmd panic on short content (#9) #34

Merged
Claude merged 1 commits from fix/archive-cmd-short-content into main 2026-02-15 16:18:46 +00:00
1 Commits
Author SHA1 Message Date
steveandClaude Opus 4.6 b4e462a6b4 fix: prevent panic on short article content in archive cmd
CI / vet (pull_request) Successful in 1m6s
CI / build (pull_request) Successful in 1m7s
CI / test (pull_request) Successful in 1m8s
Add length check before slicing article.Content[:32], matching the
safe truncation pattern already used in cmd/browser/main.go.

Closes #9

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-02-15 16:14:32 +00:00