Skip to content

Preserve diffr context when applying review lenses - #502

Merged
sidkmenon merged 1 commit into
restore/diffr-devfrom
restore/diffr-lens-context
Sep 23, 2026
Merged

sidkmenon merged 1 commit into
restore/diffr-devfrom
restore/diffr-lens-context

Conversation

@sidkmenon

@sidkmenon sidkmenon commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Applying a review lens could hide enclosing function context intentionally retained by diffr. Carry syntax scope boundaries through the structural provider and retain the visible context surrounding selected code, without expanding collapsed provider regions.

Reapplies #495 after the rollback using existing Review paths and imports.

Validation: all 23 existing lens and structural-diff tests passed.

Agent-Session: b320a5ae-50a4-4472-a324-515d964c5f5a
Agent-Session: 01a0cf8e-5b2b-7253-9d6c-2d77ac6485b8
@sidkmenon
sidkmenon added this pull request to stack #505 September 23, 2026 19:13
@sidkmenon
sidkmenon marked this pull request as ready for review September 23, 2026 19:21
@sidkmenon
sidkmenon merged commit a43ec74 into main Sep 23, 2026
2 checks passed
@sidkmenon
sidkmenon deleted the restore/diffr-lens-context branch September 23, 2026 19:32
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.

2 participants