feat(segmentation): SegmentIndex + prompt-text formatter (spec §9.1) #6
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/segment-index"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds
SegmentIndex.build(...),lookup_segment(id), andto_prompt_text(context_texts=...)per spec §9.1.<page …>/</page>) excluded from IDs so they can never be cited as provenance.p{global_1based}_l{line_idx_in_page}(dense within page).PageMetadatalist (ingestion-decoupled).context.textsuntagged after a blank line.CI trigger is flaky for now; local tests green (49 passed, ruff clean).