feat: intra-file coupling arcs from module refs - #12
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/intra-file-arcs
branch
from
September 5, 2026 00:31
5d3eb3e to
05ef429
Compare
Analyzer records, per top-level module, which same-file modules its body names (lexical identifier match, property names excluded) as ModuleInfo.refs with counts. Inside a file isolate the coupling layer draws them as arcs between roofs: the whole web thin, a selection's arcs thick. 🤖 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/intra-file-arcs
branch
from
September 7, 2026 20:11
05ef429 to
17c418c
Compare
bryan-uipath
force-pushed
the
feat/holo-projection
branch
from
September 7, 2026 20:11
3842e3e to
04510d1
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 #11.
Analyzer —
ModuleInfo.refs?: { name, n }[]: for each top-level module, the same-file top-level modules its body names, with occurrence counts. Lexical identifier match against the file's own top-level names;obj.nameand{ name: v }are excluded as member names. Not type-resolved (a shadowing local reads as a reference) — good enough for arcs. Requires a re-analyze to populate.Viewer — inside a file isolate with the coupling layer on,
intraFileArcsdraws referrer → referenced arcs between module roofs (a slab's top or the top of a member stack), strength by count, top 150. Nothing selected: the whole web, thin. A module selected: only its arcs, thick. Module scopes (inside a class) draw none.Verified on this repo's
viewer/src/main.tsisolate (318 modules, 1,409 refs repo-wide): dense web with no selection; selectingfpsAccumshows the singleanimate → fpsAccumarc.🤖 Generated with Claude Code