Scope and Review
Behavioural Boundaries of the Offline Reader: Verification Notes
about 1,900 words 9 min 6 sections Study 58 of 203
This report records the static code checks and the isolated Node simulated-DOM tests already completed for the new HTML reader of the first research line. The conclusions are limited to the version and operations stated. In the new reader, the search, passage-selection and chapter follow-up, copy, font-size, theme and print buttons were found to contain no implementation that sends body text to a conversation or server; downloading the original preserves its original bytes. The check also found and promoted fixes for boundary problems in title embedding and Unicode search. This is not browser testing, nor a security certification, nor a security guarantee for all HTML in the package.
Date of check: 4 November 2026, UTC. The theoretical text, the research argument and the historical judgments were not evaluated, and the frozen research or original evidence was not modified.
I. The Version Actually Tested
- The actual product is the complete package directory of
line1_deep_final_build_01and the reading-copy directory of the body. There are 63_新版阅读.htmlfiles in each, 126 pages in total. Each page was read as real HTML, not only the template. The SHA-256 of therender_line1_deep_reader.pyattached to that round isefb67c8dfedae7aa7a643bc1df6117182451a288be5be97fdd50b58a223064c6. - After the problem was found, an independent synthetic sample was regenerated and retested with the repaired
render_line1_deep_reader.py. The SHA-256 of the repaired script is09e78245c2dde148be5b877aea90deb1a907217521501282811ad4e0f45dc636. - This report does not record subsequent re-packaging rounds as passed in advance. If this report is delivered with a later round, its conclusions still rest on the above first-round check of the real product and the targeted regression of the repaired script. The automatic checks, package verification and final acceptance of later rounds must be compared separately.
The methods include static parsing with Python and lxml, comparison with source data and the original text, script syntax checks, tests of the original controls, and Node simulated-DOM tests of added event records and networked API traps. No browser was launched, and real network capture was not used to prove that the page makes zero requests.
II. The Actual Structure of the New Pages
All 126 pages contain two inert data script nodes and one reader execution script. No extra script inside the body, no inline event attributes, no forms, no iframe/object/embed, no actively executed URL and no automatically loaded remote resource were found. The in-page styles have no external imports.
Each 63-page package contains 1,123 HTTP(S) or protocol-relative hyperlinks in total, all carrying noreferrer; the external links checked also set noopener. These are links the reader clicks on deliberately, so the package cannot be described as “having no external links”. Each package also has 6 local SVG figure references. Their files were checked to exist, and no script, event attribute, external resource reference or remote CSS import was found inside the SVG.
All new pages carry the following CSP: resources denied by default; connection requests and form submission denied; changing the base URL denied; in-page scripts and styles allowed; local same-origin, data images and same-origin fonts allowed. The CSP serves only as an additional constraint. It does not stop the reader from clicking external links to navigate, and it is not proof that arbitrary embedded content is isolated. This check did not test how each browser actually handles the file: origin, the CSP, and local SVG. If the files are opened through an HTTP service instead, local resources may become same-origin requests to that service.
III. Boundaries of User Operations
- Search and next result: the current page’s text nodes are read, and results are displayed as text nodes and
marknodes. The query is never inserted as HTML. The tests checked that all full-text characters remain unchanged after search and clearing. Search is a literal match within a single DOM text node; it does not promise matching across tag boundaries, accent normalization, or full linguistic case folding. - Passage follow-up: the passage follow-up button appears only when both the start and end of the selection are in the body. The generated text is written into a local editable text box, together with the chapter position. A selection that extends outside the body hides the button. Chapter follow-up likewise only fills the text box and does not call any dialogue interface.
- Copy: only when the copy button is clicked is the current text-box content requested to be written to the system clipboard. If that fails, the legacy copy method is attempted, and if that also fails, a prompt asks for manual copying. There is no automatic submission or sending step. The real system clipboard, and any sync feature the operating system itself may enable, are outside the scope of this verification.
- Download original: a local Blob download is generated by decoding the embedded Base64, and the Blob URL is then released. Comparing the 126 pages one by one, the downloaded data is byte-identical to the corresponding Markdown source file. It was not reconstructed backwards from the rendered page.
- Theme and font size: the theme records only one light/dark preference value. When local storage is unavailable, control initialization is not interrupted. Font size is limited to 14 to 26 pixels. No code was found that stores the body text in local storage or sends it to a network service.
- Print: the button calls the browser’s print entry point. The simulated environment verified only that the call occurs; it did not verify the print dialog, pagination, paper, PDF export, the printer, or subsequent operating-system behaviour.
- Close and navigation: the event paths for the close button and Escape were tested. Quotation marks, non-BMP characters, and literal script-closing sequences in selected passage text are preserved as text. Chapter contents, scrolling and positioning calculations run under simulated conditions and are not equivalent to real layout verification.
The original control baseline across the 126 pages passed. The extended test captured selection and keyboard events, and set traps for fetch, XMLHttpRequest, WebSocket, EventSource, Worker, sendBeacon and window navigation. The control paths that were triggered did not call any of these networking entry points. This is evidence from a restricted execution environment; it cannot replace browser network records, nor prove the behaviour for arbitrary future input.
IV. Discovery and Repair of Abnormal Input
Title embedding and template placeholders
The first-round generator concatenated the title JSON directly into the execution script. When a synthetic title contained a script-closing string shown as code text, static HTML parsing truncated the original script and produced an extra script node. When a title contained __SOURCEFILE_JSON__, serial replacement substituted the user content a second time, causing a JavaScript syntax error. The problem lies in the script-template replacement at line 95 of the first-round generator. It was not damage to the bytes of the original JSON or Base64.
The fix uniformly escapes <, U+2028 and U+2029 in the JSON embedded in the script, and uses a single placeholder callback for replacement. After retesting with a title-closing string, placeholder literals, quotation marks, backslashes and non-BMP characters, only one complete reader execution script remains; script syntax and control initialization pass; the original JSON and the downloaded bytes remain exactly identical.
Unicode search index
The first-round search cut the original text using the lower-cased index. The minimal reproduction is searching for a in the body text İa: after conversion the string becomes longer, the original implementation produced an empty highlight, and in another synthetic case only part of a combining character was highlighted. No full-text characters were lost, but the highlighting results were incorrect.
The fix searches the original text with an escaped literal Unicode regular expression and uses the matched original index and length directly. In retesting, searching for a in İa correctly highlights a; the query İ no longer produces partial false matches against the body i̇. Eight classes of search input were checked: empty query, whitespace only, literal regex symbols, ASCII case, non-BMP characters, quotation marks, script-closing literals. Each reached its expected behaviour, and the full text was retained.
The repair script generated and checked five valid synthetic Markdown samples covering the above boundaries as well as U+2028, U+2029 and special file names. The baseline and extended simulated-DOM tests all passed. This does not mean that every illegal character, infinite input, or every browser implementation has been verified.
V. Original HTML and Old Carriers Must Be Treated Differently
The generator accepts raw HTML within Markdown. It is not an untrusted-HTML sanitizer. An independent active-content sample proved that original scripts and javascript: links can be preserved; a CSP that allows in-page scripts cannot automatically turn them into safe text. The real-page check of the new pages above found no such active body content, but any future unreviewed text must be checked again.
All 54 old HTML files listed in the complete package are retained, and each matches the original SHA-256 recorded in the configuration. The 5 old HTML files retained in the reading copy also match. The absence of other old HTML files is listed explicitly in the omission manifest. This result proves only the preservation boundary. It does not declare the old HTML to be the new reader or a new-version security design.
The 5 old HTML files retained in the reading copy were given a separate static supplementary check: the Mill detailed study, the Ricardo detailed study, Smith’s READING_SCOPE.html, Smith’s report/REPORT.html, and the 1895 German supplementary material of Engels. No remote script or stylesheet, no remote automatic resource reference, no form, no embedded frame, no event attribute, no CSS import and no automatic refresh was found. The first four pages each have one identical local control script and a hash-based CSP; the fifth page has no script. This round found no basis for additionally omitting these five old carriers on the grounds of automatic networking. Nor was they included in the dynamic control tests of the new reader, and their behaviour is not claimed to be fully verified.
Especially to be identified separately is 03_来源与范围/BEIC_现行使用条款_完整网页证据_20261104.html. It is a web-page evidence file preserved in both packages. It is not part of the 63 new reader pages, nor is it among the 54 items in the list of old research HTML. Static checks found 15 remote or protocol-relative script references, 11 external stylesheet references, and one form, and it has no new-version CSP. Opening that evidence page directly in a browser may trigger network connections. Its original bytes were not changed by this check. The statement that “the new reader’s controls do not send automatically” cannot be extended to “no HTML anywhere in the package will connect to the network”.
VI. Untested Scope and Conclusions of Use
No real desktop or mobile browser operation was carried out. Not tested: touch-screen selection, reading and writing the system clipboard, printing or PDF export, visual layout, screen readers, cross-browser compatibility, actual network capture, and CSP enforcement verification. No attempt was made to bypass the environment’s limit on launching a browser. No guarantee is given for external link destinations, browser extensions, operating-system sync, files modified by the user, or the behaviour of old web pages themselves.
What can be confirmed on this basis: for the real first-round product of the new version, the source-data fidelity, the local processing paths of the checked controls, and the stated scope hold. The two reproduced engineering boundary problems were regression-tested on the repair script with the specified SHA-256. When reading, the _新版阅读.html entry point should be used first. Whether to paste text after copying, whether to visit external links, whether to open the original web-page evidence, and whether to print remain the reader’s own decisions.