Fetch full-text content for the top-N documents in docs and persist each to {outputDir}/full-text/{dok_id}.md.
This function has filesystem side effects: it creates outputDir/full-text/ (including any missing parent directories) and writes one .md file per successfully fetched document.
Documents that lack a resolvable dok_id are skipped. If the MCP call succeeds but returns no meaningful content (< FULL_TEXT_MIN_LENGTH chars), the outcome is recorded as success: false with an explanatory reason so the caller (and the analysis gate) can distinguish "not tried" from "tried but only metadata returned".
Fetch full-text content for the top-N documents in
docsand persist each to{outputDir}/full-text/{dok_id}.md.This function has filesystem side effects: it creates
outputDir/full-text/(including any missing parent directories) and writes one.mdfile per successfully fetched document.Documents that lack a resolvable
dok_idare skipped. If the MCP call succeeds but returns no meaningful content (< FULL_TEXT_MIN_LENGTH chars), the outcome is recorded assuccess: falsewith an explanatoryreasonso the caller (and the analysis gate) can distinguish "not tried" from "tried but only metadata returned".