Read-only code discovery, 2026-11-28. No source interpretation or corpus search performed. Existing files preserved; this memo is the only write. Paths below are absolute or relative to ../../provenance/source-ebe21fd8a5d0b4c3.html.
Use research/f90r1_paragraph_2026-11-25/reader_template.html:9–13,23–32 as the whole-page and addressed-line shell. It keeps a photograph and the complete raw paragraph visible while selecting a line or showing every chip. Use its existing renderLine(id) helper from research/okar_qualifier_2026-11-25/reader_template.html:18; preserve the November 27 attachment_note insertion from research/saram_saral_2026-11-27/build_reader.py:55–61. Read only the selected page file and required comparator loci; no corpus rebuild is necessary.
The short build pipeline is already demonstrated by research/f90r1_paragraph_2026-11-25/build_reader.py:16–48: compact the line data, inline JSON, insert existing CSS/helper, write the new local HTML. The CSS source is research/okar_reverse_2026-11-25/reader_template.html and fonts are CHIP_READER/fonts.css. Images are ordinary relative <img src> and <a href> references, so retain those external originals rather than copying them. A small SVG figure can reference the same page photograph through <image href>; a standalone raster export would be a separate derivative.
Do not import all of COMPARE_M_L.html or its accumulated 221-line dataset. Reuse its qualification pattern and the required evidence, with the new figure/result in this packet. The November 27 overlay receipt preserves original displayed values separately: research/saram_saral_2026-11-27/build_reader.py:22–54 and DISPLAY_QUALIFICATIONS.json.
CHIP_READER resolves to research/manuscript_chip_context_2026-11-20/viewer. Per-page files are executable JSON wrappers: window.CHIP_PAGE_DATA["f90v1"] = {...}; (also f90v2), read by JSON-decoding the substring after the first = and removing the terminal ;. The minimal rendering structure is:
page: {folio, section, image_url, photo_caption, canvas_id, context, totals, lines[]}
line: {id, raw, register, paragraph, source_line, groups[]}
group: {id, raw, form, ops: string[] | null, uncertain,
source_status, legacy_form, harvest[], group_reading, current_research?}
render data: {lines: {locusId: line}, semantics: {op: {draw}}, paragraph: locusId[]}
optional group display: {display_ops[], occurrence_glosses[], display_glosses[], attachment_note}
gloss: {chip_index: one-based number | null, op, position, display_label, scope, note}
group.ops is the inherited current split. Keep raw and uncertain; ops:null must display an unresolved whole group and must not synthesize clickable chips. The reused renderer uses ops === null ? [] : display_ops || ops || []. It uses semantics[op].draw with the local EVA typeface; that is transcription typography, not a photographed glyph.
Provenance: research/manuscript_chip_context_2026-11-20/build_display_data.py:187–189,271–288,313–338 joins retained line/token records to corrected LOCI.jsonl and TOKENS.jsonl; ops = target['operators']. It asserts the drawn operators reconstruct the normalized form.
If a bounded new string needs the exact parser API, add ../../provenance/source-2f75f38f41778bbd.html to Python's import path, import legacy_reclassify, then call legacy_reclassify.reclassify_token(normalized_eva) -> list[str]. Its ordered compound/run implementation is legacy_reclassify.py:25–122; it includes forbidden-pair backtracking. The separate corpus.greedy(normalized_eva) at corpus.py:57–61 removes that backtracking and is a control, not an interchangeable split. corpus.normalize(body, comma_space=True) at lines7–19 applies explicit source-normalization choices; existing raw/uncertainty fields must survive those choices. The stored production path is corpus.tokens(loci, strict=False) at lines53–55. Do not rerun its save() for this one-page task.
Read-only import samples confirmed: chodar -> [CH],o,d,a,r; daiin -> d,a,[M2],n; qokeey -> [QO],k,[E2],y; saram/saral retain their five-chip streams. No full-corpus load was run.
analysis/eva_reference/tools/anchor_ui/lattice_view.js:48–79 defines segmentWord(word) and exports it as window.cvSegmentWord at line553. Actual return is [{seg, cls, len}, ...], despite the older array wording in its comment. It is an overlay structural classifier (classes cG, X, G, O, B, E, C, S), not the current bracketed operator parser.
The visible older lattice calls /api/folio/<folio>/chip-lattice at line261. Its slots[] schema is {line_id,line_type,code,raw_token,chips[]}; each legacy chip has {chip,chip_class,meaning,meaning_summary,tier,marked,anchor,legacy_type,s_class,s_class_label,sequence,licensing_status}. These entries are whole written groups. The November 20 integration explicitly corrected the displayed unit names from chips to groups in research/manuscript_chip_context_2026-11-20/workbench/prepare.py:45–73.
The source parser is ../../provenance/source-f589812e43b98745.html: parse_lattice_markdown(markdown) -> (slots, declared_total). Its payload builder is build_chip_lattice(folio_id) at line389, with source coverage fields at lines481–492. This is useful for inherited whole-group annotations; it does not replace individual group.ops.
Existing deep link contract: ../../CHIP_READER/index.html?folio=f90v1&line=f90v1.1&group=<URL-encoded stable group id>&chip=1. Chip numbers are one-based; group IDs such as zl2b:3879:0 are stable source identifiers. CHIP_READER/reader.js:126–148 parses/writes the address, and lines403–416 give the expected inspector address. loadData uses a script element at lines151–168 so it works from disk without JSON fetch.
Current analysis/eva_reference/folio_maps/f90v1.raw.json and f90v2.raw.json contain {folio,stage:'raw',coord_space:'beinecke_native',lines:[{id,locus,ivtff_flag,ivtff_role,ivtff_text}]}. Neither corresponding .boxes.json exists. The coord_space label does not supply coordinates. No per-token or per-chip photographed bounding boxes were found in these supplied map routes. Keep the whole photograph and separately verified text-region coordinates; do not derive glyph cuts from token length.
The existing read-only image API is /api/vms/viewer/source/<ref> (metadata) and /api/vms/viewer/render/<ref>?max_width=N&strategy=preferred. It resolves registered references, not arbitrary paths. Its image output is bounded to width3000 and12,000,000 pixels; max_width is clamped to3000 (preview_server.py:47–49,744–768,993–1031). It supplies whole images, not glyph crops. This server route is documented here only; none was started or used to route around the browser denial.
research/saram_saral_2026-11-27/verification/browser_check.mjs:1–7,18–24,31–34 is the prior offline browser test: Playwright from the bundled runtime, /usr/bin/google-chrome, file URL, desktop1240×900/mobile390×900, check every group/raw/chip order, unknown preservation, proposal toggles, local links/images, deep-link inspector addresses, errors and unchanged HTML hash. Its retained receipt reports57 passing checks,277 links and55 actual chip inspectors. Both executable/module paths presently exist. This is a prior successful method, not a current visual test result.
Current task has an explicit browser-policy denial. Do not rerun that direct-file browser harness, substitute a server, or use another browser route to evade it. Allowed non-browser checks can still verify embedded JSON, exact selected-page group/ops/raw order, source-address query parameters, expected counts, local target existence, JavaScript syntax, and preserved input hashes. Record actual rendered-layout verification as unavailable under the current denial unless the environment policy changes.
# Reader reuse memo Read-only code discovery, 2026-11-28. No source interpretation or corpus search performed. Existing files preserved; this memo is the only write. Paths below are absolute or relative to `../../provenance/source-ebe21fd8a5d0b4c3.html`. ## Smallest implementation Use `research/f90r1_paragraph_2026-11-25/reader_template.html:9–13,23–32` as the whole-page and addressed-line shell. It keeps a photograph and the complete raw paragraph visible while selecting a line or showing every chip. Use its existing `renderLine(id)` helper from `research/okar_qualifier_2026-11-25/reader_template.html:18`; preserve the November 27 `attachment_note` insertion from `research/saram_saral_2026-11-27/build_reader.py:55–61`. Read only the selected page file and required comparator loci; no corpus rebuild is necessary. The short build pipeline is already demonstrated by `research/f90r1_paragraph_2026-11-25/build_reader.py:16–48`: compact the line data, inline JSON, insert existing CSS/helper, write the new local HTML. The CSS source is `research/okar_reverse_2026-11-25/reader_template.html` and fonts are `CHIP_READER/fonts.css`. Images are ordinary relative `<img src>` and `<a href>` references, so retain those external originals rather than copying them. A small SVG figure can reference the same page photograph through `<image href>`; a standalone raster export would be a separate derivative. Do not import all of `COMPARE_M_L.html` or its accumulated 221-line dataset. Reuse its qualification pattern and the required evidence, with the new figure/result in this packet. The November 27 overlay receipt preserves original displayed values separately: `research/saram_saral_2026-11-27/build_reader.py:22–54` and `DISPLAY_QUALIFICATIONS.json`. ## Current data and segmentation API `CHIP_READER` resolves to `research/manuscript_chip_context_2026-11-20/viewer`. Per-page files are executable JSON wrappers: `window.CHIP_PAGE_DATA["f90v1"] = {...};` (also f90v2), read by JSON-decoding the substring after the first `=` and removing the terminal `;`. The minimal rendering structure is: ```text page: {folio, section, image_url, photo_caption, canvas_id, context, totals, lines[]} line: {id, raw, register, paragraph, source_line, groups[]} group: {id, raw, form, ops: string[] | null, uncertain, source_status, legacy_form, harvest[], group_reading, current_research?} render data: {lines: {locusId: line}, semantics: {op: {draw}}, paragraph: locusId[]} optional group display: {display_ops[], occurrence_glosses[], display_glosses[], attachment_note} gloss: {chip_index: one-based number | null, op, position, display_label, scope, note} ``` `group.ops` is the inherited current split. Keep `raw` and `uncertain`; `ops:null` must display an unresolved whole group and must not synthesize clickable chips. The reused renderer uses `ops === null ? [] : display_ops || ops || []`. It uses `semantics[op].draw` with the local EVA typeface; that is transcription typography, not a photographed glyph. Provenance: `research/manuscript_chip_context_2026-11-20/build_display_data.py:187–189,271–288,313–338` joins retained line/token records to corrected `LOCI.jsonl` and `TOKENS.jsonl`; `ops = target['operators']`. It asserts the drawn operators reconstruct the normalized form. If a bounded new string needs the exact parser API, add `../../provenance/source-2f75f38f41778bbd.html` to Python's import path, import `legacy_reclassify`, then call `legacy_reclassify.reclassify_token(normalized_eva) -> list[str]`. Its ordered compound/run implementation is `legacy_reclassify.py:25–122`; it includes forbidden-pair backtracking. The separate `corpus.greedy(normalized_eva)` at `corpus.py:57–61` removes that backtracking and is a control, not an interchangeable split. `corpus.normalize(body, comma_space=True)` at lines7–19 applies explicit source-normalization choices; existing raw/uncertainty fields must survive those choices. The stored production path is `corpus.tokens(loci, strict=False)` at lines53–55. Do not rerun its `save()` for this one-page task. Read-only import samples confirmed: `chodar -> [CH],o,d,a,r`; `daiin -> d,a,[M2],n`; `qokeey -> [QO],k,[E2],y`; saram/saral retain their five-chip streams. No full-corpus load was run. ## Older lattice display is a different unit `analysis/eva_reference/tools/anchor_ui/lattice_view.js:48–79` defines `segmentWord(word)` and exports it as `window.cvSegmentWord` at line553. Actual return is `[{seg, cls, len}, ...]`, despite the older array wording in its comment. It is an overlay structural classifier (classes cG, X, G, O, B, E, C, S), not the current bracketed operator parser. The visible older lattice calls `/api/folio/<folio>/chip-lattice` at line261. Its `slots[]` schema is `{line_id,line_type,code,raw_token,chips[]}`; each legacy chip has `{chip,chip_class,meaning,meaning_summary,tier,marked,anchor,legacy_type,s_class,s_class_label,sequence,licensing_status}`. These entries are whole written groups. The November 20 integration explicitly corrected the displayed unit names from chips to groups in `research/manuscript_chip_context_2026-11-20/workbench/prepare.py:45–73`. The source parser is `../../provenance/source-f589812e43b98745.html`: `parse_lattice_markdown(markdown) -> (slots, declared_total)`. Its payload builder is `build_chip_lattice(folio_id)` at line389, with source coverage fields at lines481–492. This is useful for inherited whole-group annotations; it does not replace individual `group.ops`. ## Addressing and image limits Existing deep link contract: `../../CHIP_READER/index.html?folio=f90v1&line=f90v1.1&group=<URL-encoded stable group id>&chip=1`. Chip numbers are one-based; group IDs such as `zl2b:3879:0` are stable source identifiers. `CHIP_READER/reader.js:126–148` parses/writes the address, and lines403–416 give the expected inspector address. `loadData` uses a script element at lines151–168 so it works from disk without JSON fetch. Current `analysis/eva_reference/folio_maps/f90v1.raw.json` and `f90v2.raw.json` contain `{folio,stage:'raw',coord_space:'beinecke_native',lines:[{id,locus,ivtff_flag,ivtff_role,ivtff_text}]}`. Neither corresponding `.boxes.json` exists. The `coord_space` label does not supply coordinates. No per-token or per-chip photographed bounding boxes were found in these supplied map routes. Keep the whole photograph and separately verified text-region coordinates; do not derive glyph cuts from token length. The existing read-only image API is `/api/vms/viewer/source/<ref>` (metadata) and `/api/vms/viewer/render/<ref>?max_width=N&strategy=preferred`. It resolves registered references, not arbitrary paths. Its image output is bounded to width3000 and12,000,000 pixels; max_width is clamped to3000 (`preview_server.py:47–49,744–768,993–1031`). It supplies whole images, not glyph crops. This server route is documented here only; none was started or used to route around the browser denial. ## Verification reuse `research/saram_saral_2026-11-27/verification/browser_check.mjs:1–7,18–24,31–34` is the prior offline browser test: Playwright from the bundled runtime, `/usr/bin/google-chrome`, file URL, desktop1240×900/mobile390×900, check every group/raw/chip order, unknown preservation, proposal toggles, local links/images, deep-link inspector addresses, errors and unchanged HTML hash. Its retained receipt reports57 passing checks,277 links and55 actual chip inspectors. Both executable/module paths presently exist. This is a prior successful method, not a current visual test result. Current task has an explicit browser-policy denial. Do not rerun that direct-file browser harness, substitute a server, or use another browser route to evade it. Allowed non-browser checks can still verify embedded JSON, exact selected-page group/ops/raw order, source-address query parameters, expected counts, local target existence, JavaScript syntax, and preserved input hashes. Record actual rendered-layout verification as unavailable under the current denial unless the environment policy changes.