Commit Graph
12 Commits
Author SHA1 Message Date
swaitsandClaude Fable 5.2 e65b10c0fb Keep retrying lookups until the sources answer
A network error, timeout, 5xx or 429 no longer ends a lookup or sends a
book to Needs attention. Lookups back off exponentially with jitter (2 s
doubling to 5 min, honouring Retry-After) for as long as the book is
pending, keep each definitive answer so a retry only asks for what is
missing, and limit requests to two at a time per host. Once a call number
is in hand, a step that still fails after six tries is left for the
backfills. Books an earlier version failed for a temporary reason are
queued again at startup.

The cards show which source is not answering and when the next try is,
title search waits for Open Library with a Cancel button, and Look up
again sits next to Fix.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 11:35:37 -07:00
swaitsandClaude Fable 5.2 bb46d343a8 Show the edition statement on cards and in the library
The edition comes only from a record for this exact edition: the Library
of Congress record's edition statement first, then Open Library's edition
name when it is a well-formed statement. Existing books are filled in at
startup without changing anything else about them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 17:49:59 -07:00
swaitsandClaude Fable 5.2 e83774adbd Let the calibration fields take any decimal value
Apply readings can produce values such as -1.35 mm, which the fields'
quarter-millimetre step then refused.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 17:49:59 -07:00
swaitsandClaude Fable 5.2 e23b6ee6c4 Add rotation calibration and millimetre rulers on the calibration sheet
A new rotation setting turns the whole print about the sheet centre, in
steps of 0.01 degree, on card sheets and the calibration sheet. The
calibration sheet now has millimetre rulers at every card edge; the four
lettered ones (A to D) are typed into Settings, which converts them into
corrected offsets and rotation. A simulation test checks the conversion
against modelled printer errors.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 17:14:22 -07:00
swaitsandClaude Fable 5.2 5dfb50f1a8 Print crop marks around the cards on every sheet
Short ticks in the waste frame point at each card edge and move with the
calibration offsets, so alignment with the perforations can be checked by
eye. The settings help now says which way each offset moves the print.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 16:40:01 -07:00
swaitsandClaude Fable 5.2 e36e758c1c Shrink the call number tab, add a seat line, print at actual size
The two call number lines now take 0.56 in at the top of the card instead
of about 0.9 in, with a full-width line under them that marks where the top
edge of the book's pages sits. PDFs ask the viewer to print unscaled, and
the calibration page has a 6 inch line to check the print scale.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 16:26:29 -07:00
swaitsandClaude Fable 5.2 60fa4ef6f7 Show author names in natural order everywhere
Names read from MARC personal-name fields are stored as "Steve Allen",
and names already stored as "Allen, Steve" are shown and printed in
natural order. Search matches both forms.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 14:09:09 -07:00
swaitsandClaude Fable 5.2 7ae1bcef0a Print the subject hierarchy as a tree on cards, remove the QR code
Each card now shows, under the call number, the Library of Congress
outline levels for its class (from the published outline, down to the
narrowest range) followed by the place or topic from the catalogue
record's subject heading, one level per line. Existing books get the
subject part filled in by a background job at startup that changes
nothing else about them.

The QR code and everything that read it are removed; the subjects line
on the card is replaced by the tree.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 14:06:50 -07:00
swaitsandClaude Fable 5.2 ad2956e868 Add QR codes to cards, stop inventing call number parts
Cards now carry a QR code holding the book's own record (call number,
title, authors, ISBN, year), and the scanner reads it back to find or
add that book.

Call number selection no longer pads catalogue numbers with generated
cutters. A number is "exact" only when it comes verbatim from a record
for this edition; a bare class is a hint that steers the other-edition
and similar-books lookups; a record fetched by LCCN must list the
book's ISBN to count as this edition. "Look up again" bypasses every
cached result, and shelf order breaks ties by author then title.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 12:53:12 -07:00
swaitsandClaude Fable 5.2 6cec404e21 Redesign the interface around Scan and Library, classify uncatalogued books from similar ones
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 11:01:50 -07:00
swaitsandClaude Fable 5.2 b5defb4e4f Rework scan screen, make lookups non-blocking, fix review findings
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 10:19:32 -07:00
swaitsandClaude Fable 5.2 bdfdf581f3 Add resolver, server, PDF rendering and web app
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 09:46:46 -07:00