Preview and manage source passages in Cortex
Status: Ready
Truth label: Current
Audience: Fleet operator
Reader outcome: Use preview and manage source passages in Cortex in Cortex, with every control, its verification, and its limits stated.
Last verified: 2026-09-13
Open a source in Sources, then Passage settings and preview. These settings belong to that source. They do not change the operator's voice or other books.
- Choose recursive text splitting or whole paragraphs and rules. Recursive splitting remains the default. Paragraph/rule mode keeps each paragraph, numbered or bulleted entry, and fenced code block separate when it fits.
- Set the maximum passage characters and overlap. Limits are 256 to 8,000 characters and 0 to 1,000 overlap, with overlap smaller than the passage limit. Oversized blocks split with overlap. Whole separate blocks do not overlap.
- Preview the actual passages. The count includes all passages; More preview passages loads another page of 20. The preview identifies pieces from oversized blocks and retains their page, chapter or heading metadata. It performs no embedding.
- Save the reviewed settings. An edit or a changed source requires another preview. Saved settings apply on the next explicit source publication.
- Publish the source in Sources. The active generation changes only after indexing finishes. Earlier citations keep their retained text and original locators.
The dialog distinguishes current settings from recorded settings of the active publication. Older publications may not have recorded their settings. Preview and publication share one splitter. Managed sources are limited to 20,000 passages per publication; increase passage size or use recursive splitting when necessary.
History loads earlier settings into the editor. Preview and save create a new revision. Export downloads the saved settings; import fills the editor for review and can apply the same choices to another source. Restoring an extraction keeps the current passage settings. Text and passage settings have separate review actions.
A stale save preserves local settings. Reload, inspect the current source and preview again. Selecting a different source or closing an edited form requires an explicit discard choice. Original files remain unchanged.
More passages do not establish better retrieval. Small rule entries can create many competing results. Compare their relevance and citation coverage on actual questions before treating a strategy as a quality improvement. Recursive defaults remain unchanged until the operator chooses otherwise.
Verification
Tests cover paragraph/rule/code boundaries, oversized blocks, bounded counts, preview paging, invalid overlap, stale source versions and hashes, source history, active-publication preservation and matching publication counts. The browser flow also verifies settings export/import, history restoration and reload.