Skip to content

fix(retrieval): preserve fenced examples in full exports - #1

Merged
auscaster merged 1 commit into
mainfrom
fix/readable-context-fences
Oct 18, 2026
Merged

auscaster merged 1 commit into
mainfrom
fix/readable-context-fences

Conversation

@auscaster

Copy link
Copy Markdown
Member

Keep headings and Path: lines inside fenced examples in the current page when parsing llms-full.txt. This preserves examples in Sourcey 3.7.1's readable exports instead of treating literal documentation syntax as a new page.

The correction handles backtick and tilde fences in both consumers. Prepare the approved Python 0.1.7 and JavaScript 0.1.4 patches.

Validation: Python unit tests (10), JavaScript typecheck and tests (10), both package builds, and Python distribution metadata checks pass. Adversarial examples exercise page-looking metadata inside several fence lengths.

@auscaster
auscaster merged commit f2ade04 into main Oct 18, 2026
4 checks passed
@auscaster
auscaster deleted the fix/readable-context-fences branch October 18, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant