feat: PR markers land on the modules their hunks touch - #13
Draft
bryan-uipath wants to merge 2 commits into
Draft
bryan-uipath wants to merge 2 commits into
bryan-uipath wants to merge 2 commits into
Conversation
bryan-uipath
force-pushed
the
feat/pr-spans
branch
from
September 5, 2026 00:31
6b74219 to
4c5ae1d
Compare
bryan-uipath
force-pushed
the
feat/intra-file-arcs
branch
from
September 5, 2026 00:31
5d3eb3e to
05ef429
Compare
Analyzer keeps each PR's head-side hunk ranges per tree file (Pr.spans, from gh pr diff). Inside a file isolate the marker's beams and draft scaffolding go to the modules — or class members — those ranges intersect, falling back to the whole file without spans. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
bryan-uipath
force-pushed
the
feat/pr-spans
branch
from
September 7, 2026 20:11
4c5ae1d to
8710cf3
Compare
bryan-uipath
force-pushed
the
feat/intra-file-arcs
branch
from
September 7, 2026 20:11
05ef429 to
17c418c
Compare
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.
Stacked on #12.
Analyzer —
Pr.spans?: { [path]: [start, end][] }: one extragh pr diff <n>per open PR, hunk headers parsed to head-side line ranges per tree file (hunkSpans). Optional; a failed fetch keeps file-level placement.Viewer —
prTargets(pr): inside a file isolate the marker's beams, altitude anchor and draft/collision scaffolding go to the modules whose[line, line+loc)intersects the PR's ranges for that file; a class with members resolves to the touched members instead. Falls back to the whole file when no spans or nothing intersects. Beams to member slabs land on the slab, not the plate under the stack. Folder scope is unchanged.Verified on this repo: isolating
viewer/src/main.tsshows #8–#12 each beaming to their own touched functions with scaffolding on just those blocks.🤖 Generated with Claude Code