v0.2.0 — Orphaned Annotation Detection
What's New
Orphaned Annotation Detection (#3)
When a markdown file is modified after annotations were created, mdProbe now identifies which annotations are affected instead of showing a generic "file modified" banner.
How it works:
- Server automatically runs re-anchoring on all annotations when drift is detected
- Annotations that can still be found in the modified text remain in the normal list
- Annotations whose text was deleted appear in a collapsible "Não encontradas" section at the bottom of the right panel
- Banner shows the exact count: "Arquivo modificado — 2 anotação(ões) não encontrada(s)"
- Real-time updates via WebSocket when files change externally
Visual treatment:
- Orphaned cards have reduced opacity, dashed red border, and strikethrough quote text
- All actions (resolve, delete, edit, reply) still work on orphaned annotations
- Dismissing the banner also hides the orphaned section
Bug Fixes
- Remove unused import in RightPanel
- Fix misleading "No annotations" when all annotations are orphaned
- Gate orphaned section visibility on drift banner dismiss
- Fix interactive author prompt blocking CI and non-TTY environments
- Upgrade npm in CI for OIDC Trusted Publishing support
Stats
- 615 tests across 27 files (up from 607)
- 8 new integration + unit tests for orphan detection
- 11 files changed, ~1,600 lines added
Full Changelog: v0.1.0...v0.2.0