Skip to content

Protect against editing in used code block#1

Merged
mcncl merged 1 commit intomainfrom
use_extmarks
Feb 6, 2026
Merged

Protect against editing in used code block#1
mcncl merged 1 commit intomainfrom
use_extmarks

Conversation

@mcncl
Copy link
Owner

@mcncl mcncl commented Feb 6, 2026

If the user edits text within the submitted code block we may find that the LLM updates happen on the wrong lines. We can use extmark for this so that we update the locations of lines changed, aborts if user changed the context.

If the user edits text within the submitted code block we may find that
the LLM updates happen on the wrong lines. We can use `extmark` for this
so that we update the locations of lines changed.
@mcncl mcncl merged commit aa6c0d9 into main Feb 6, 2026
4 checks passed
@mcncl mcncl deleted the use_extmarks branch February 6, 2026 01:11
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