07f1a364ed
The MarkdownDocument narrow in _process_markdown addressed one of three call sites. _process_code and _process_plain had the same Pyright gap — .chunks access on Document | list[Document]. Narrow with isinstance assert, consistent with the markdown path.