ogar-vocab: mint the 0x08 OCR PDF-to-text plan concepts (0x0805..0x0809)#172
Merged
Conversation
Five container-KIND mints for the tesseract-rs PDF->text integration plan (pdf-to-text-ocr-v1.md Phase 0 D0.3) -- the plan is the emit-seam declaration, each row names its consumer phase (mint-on-emit guard honored, not pre-minting blind): textline 0x0805 segmented text line (box+baseline) plan P1B + P3E blob 0x0806 connected-component container plan P3B/3D page_layout 0x0807 layout-analysis result container plan P3F/4A page_image 0x0808 rasterized page (decoded+normalized) plan P2 ocr_renderer 0x0809 output-rendering kind (fmt=custom-low) plan P4B-D All lockstep regions updated: CODEBOOK tuples, class_ids consts + ALL, builder Classes (AR shapes, content stays in content stores per the 0x08 section note), domain-enumeration pins (OCR 4->9), count fuse ALL.len() 79->84. The lance-graph contract mirror (ogar_codebook CODEBOOK + the lance-graph-ogar COUNT_FUSE) is updated in the paired lance-graph commit, per the two-sided drift-fuse contract. Gates: cargo test -p ogar-vocab green; fmt + clippy -D warnings clean. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016b33swuXE23hKtqxsHu9p1
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_5f2db245-1054-401b-9913-fc8c247b426a) |
The reverse gate every_codebook_id_appears_in_class_ids_all caught the missed lockstep region: the OgarClassView registry. Adds textline/blob/page_layout/ page_image/ocr_renderer entries (codebook order) + imports. 12/12 class-view tests green; fmt + clippy -D warnings clean. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016b33swuXE23hKtqxsHu9p1
AdaWorldAPI
pushed a commit
that referenced
this pull request
Jul 7, 2026
…thoritative action table tesseract-rs's pure-Rust OCR transcode has no source AST to lift ActionDefs from (unlike every other producer in this workspace), so its eight capabilities (recognize_line / recognize_page / extract_text_layer / extract_page_image / render_text / render_tsv / render_hocr / render_searchable_pdf) are declared directly in a new ocr_actions module — real ActionDef values (identity/predicate/object_class/kausal) targeting the already-minted 0x08XX class_ids concepts (textline/page_image/ ocr_renderer), plus a dependency-free OcrActionParam mirror of ogar-from-schema's arago-parity ActionParam (kept local to avoid a cyclic dep, since ogar-from-schema already depends on ogar-vocab). No codebook/class_ids entries were added or changed — this table consumes the existing 0x0805/0x0808/0x0809 mints from PR #172. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016b33swuXE23hKtqxsHu9p1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Five container-KIND mints for the tesseract-rs PDF→text integration plan
(
pdf-to-text-ocr-v1.mdPhase 0 D0.3) — the plan is the emit-seam declaration,each row names its consumer phase (mint-on-emit guard honored, not pre-minting
blind):
textlineblobpage_layoutpage_imageocr_renderernetwork_layerpattern)All lockstep regions updated: CODEBOOK tuples,
class_idsconsts +ALL,builder Classes (AR shapes — content stays in content stores per the 0x08
section note / Osint zero-rows precedent), domain-enumeration pins (OCR 4→9),
count fuse
ALL.len()79→84.Gates
cargo test -p ogar-vocab— 108/108 green; fmt + clippy-D warningsclean.Pairing (two-sided drift fuse) — do NOT merge alone
Merge together with the lance-graph mirror commit: contract
ogar_codebook::CODEBOOK+5 rows (0x0805..0x0809) +lance-graph-ogarCOUNT_FUSE 79→84. The mirror commit is queued in lance-graph (plan D0.5) and
lands in the same timeframe as this merge.
🤖 Generated with Claude Code
https://claude.ai/code/session_016b33swuXE23hKtqxsHu9p1