read_pages: tie the marks on a PDF page to the printed words they mark #106
Loading…
Reference in a new issue
No description provided.
Delete branch "feat-101-anchored-marks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What changed
PR #106 makes read_pages list each mark on a written PDF/EPUB page with the printed words it marks (highlight, strike, underline, circle, note beside a line), using pdftotext word boxes and no new deps. The red-then-green test (C4) covers the issue's example, and CI is green (C5).
Fixes #101
Red, then green
bash -c 'source ~/.rmenv && mix test test/rm_analyzer_web/notes_mcp_agent_test.exs'9c293f5): exit 11510f04): exit 0Checks
1510f04) is green: unused-deps check, warnings-as-errors compile, format check and the full test suite. (Upper Wolfjaw):curl -s -H "Authorization: token $FORGEJO_TOKEN" https://git.knope.dev/api/v1/repos/jfro/rm-analyzer/commits/1510f04/status | jq -e '.state == "success"', exit 01510f04and ran the full suite in my own worktree (1597 passed); pdftotext/blob failures fall back to no marks, and merge only runs CI so it isn't live. Untested: real tablet ink (strike vs underline thresholds), EPUB ligature PDFs. (Prover):bash -c 'source ~/.rmenv && cd /home/peak/scratch/p101 && mix test test/rm_analyzer_web/notes_mcp_agent_test.exs', exit 0Shipping it
Prover
Passed (Sonnet): Read the diff at
1510f04and ran the full suite in my own worktree (1597 passed); pdftotext/blob failures fall back to no marks, and merge only runs CI so it isn't live. Untested: real tablet ink (strike vs underline thresholds), EPUB ligature PDFs.Every command above was run by Fortysix's Basecamp itself, on the branch named.