Process a journal page photo: run OCR, parse the template, extract schema
tags, store the capture, copy the image to the knowledge base, and detect
connections to existing captures.
Accept-by-default: the page is always stored. If it can't be filed
normally — no readable template ID, an ID too doubtful to trust, or a page
ID that is already taken — it is stored as a Wild Art (WA) entry with the
reason recorded, never rejected and never overwriting anything. Review
WA entries with list_by_tag(entry_type="WA") and move them to their
proper type with promote_capture().
Args:
image_path: Absolute path to the image file (JPG, PNG, TIFF, etc.)
force: Set to True to REPLACE an existing capture with the same
template ID in the same volume (default False — the new
page is filed as WA with reason id_conflict instead).
volume: Which journal/book this page belongs to. 0 = automatic:
a volume written on the page (e.g. "V2 RC-001") wins,
otherwise the stored current_volume setting (default 1).
wa_reason: File the image as Wild Art on purpose. Use "loose_capture"
for anything off-journal — a napkin sketch, sticky note,
whiteboard, back of a receipt (no volume or page ID
needed). Other values: manual, other.
wa_detail: Free-text note for a WA entry, e.g. "napkin", "whiteboard".
Returns a summary of what was found and stored, including the strongest
connection detected.