Repository navigation
fix(chat): preserve thread links between unmatched code delimiters - #85
Merged
Merged
Conversation
Do not let an unmatched inline-code delimiter consume thread links in later paragraphs. Preserve multiline code spans within a paragraph and fenced code. Extend the existing link test with LF/CRLF and whitespace-only blank lines. The four isolated pattern regressions fail before this change and pass after; four inline/fenced-code controls also pass. Repository check:changed and integrated client validation remain required; dependencies could not be installed in this network-isolated audit environment.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Regression found in the fork's recent-merge audit
Merged #81 expanded inline-code matching across line breaks. An unmatched backtick in one paragraph and another in a later paragraph then hide every thread link between them from padding normalization, title resolution and reference discovery. Those paragraphs are not a Markdown code span.
Bound inline-code matching at blank paragraph lines, while retaining genuine multiline spans and fenced-code preservation. This is one production-line change in the shared web/mobile link parser; strict destination parsing and persisted messages are unchanged.
Extended the existing code-preservation test with LF/CRLF, empty/whitespace-only blank lines, reference discovery and title substitution, plus multiline/fenced-code controls.
Validation
vp run check:changed, the actual package test suite and integrated web/mobile verification have not run here. Direct GitHub/npm access fails DNS resolution in this audit environment, so a dependency-equipped checkout could not be installed. Hosted CI remains required; the isolated checks do not substitute for it.All changes are confined to ScriptedAlchemy/t3code. No upstream writes, release actions or live-data changes.
Model: GPT-6 Astra Pro. Harness: ChatGPT.