Skip to content

fix(code-analysis): show file import direction and source availability - #1421

Open
outlier27-cell wants to merge 28 commits into
tt-a1i:devfrom
outlier27-cell:codex/atlas-review-labs-20261120
Open

outlier27-cell wants to merge 28 commits into
tt-a1i:devfrom
outlier27-cell:codex/atlas-review-labs-20261120

Conversation

@outlier27-cell

@outlier27-cell outlier27-cell commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Personal review: the accountable contributor confirmed head ecb5ad9ef3e01bd5072945707bae123c949e11da and the PR explanation and validation evidence on 2026-11-26. This is not maintainer scope agreement or approval.

Latest follow-up and synchronization

Head ecb5ad9ef3e01bd5072945707bae123c949e11da includes dev 79c9342947e5a15c434cb5c90ca614cc48a8f40a. The review follow-up asserts Atlas Back opens Overview and closes details; standalone Chrome passed at 1b0ac6d. The 633 and 79c merges rebuilt the ZIP. A Windows rerun on 633 failed in Chrome profile shutdown, so current CI is required. Earlier personal confirmations and CI records below apply only to their named heads. The contributor personally confirmed head ecb5ad9ef3e01bd5072945707bae123c949e11da and its explanation; current CI and maintainer review are tracked separately.

Latest dev synchronization

Head 1b0ac6d07535518b6443dd934ed950cb49bbb4ec merges dev 88f26d239e0e1d688fdb05b6e21df0b096bc00a4. This head adds an explicit browser assertion that Atlas Back opens Overview and hides finding details; the standalone Chrome test passed. The preceding merge rebuilt the ZIP and retained upstream width-settling waits. A wider Windows browser suite failed in Chrome profile EBUSY cleanup; CI remains required. The contributor's earlier confirmations apply to the heads named below; this new head awaits personal review and its own CI.

Latest dev synchronization

Head 43922d488495feac582479a4cd137b3142d01c9b merges dev 88f26d239e0e1d688fdb05b6e21df0b096bc00a4. The ZIP was rebuilt; the standalone browser-test conflict preserves both the current Atlas return expectation and upstream width-settling wait. The standalone Chrome test passed. A wider local browser suite had Windows Chrome profile EBUSY cleanup failures; its Atlas workflow assertion passed. Remote CI is required. The contributor's earlier confirmations apply to the heads named below; this new head awaits personal review and its own CI.

Latest review follow-up

Head 36bcad9 merges dev 79ae742; only the generated ZIP conflicted. Canonical Node 22 ZIP: 446 entries, SHA-256 1822a7481703242fb883164154c1c23c1c1d021d6c692d5d7ad3e0c37719aa98. The full workbench Chrome regression passed at the preceding c685b92 merge; the new upstream commit does not change the Atlas or Viewer source. CI status for this historical update is superseded by the current-head result above.

The contributor personally confirmed the then-current head 36bcad9ce55469c237a16fbdda2dfc7cf5410b53 and its PR explanation. Earlier confirmations below apply to their stated commits. CI results and older confirmations below apply to their stated commits.

Latest review follow-up

Head 0d5271c merges dev c685b92; only the generated ZIP conflicted. The canonical Node 22 archive was rebuilt: 445 entries, SHA-256 384d93b472b551dfefbeb9a8fad5317a854320bc651cc5c428ef6ce463877cb1. The complete workbench Chrome regression passed on the merged tree. CI status for this historical update is superseded by the current-head result above.

The contributor personally confirmed the then-current head 36bcad9ce55469c237a16fbdda2dfc7cf5410b53 and its PR explanation. Earlier confirmations below apply to their stated commits. CI results and older confirmations below apply to their stated commits.

Latest review follow-up

Head 3c06bf6 merges dev e24ca83. The only conflict was the generated ZIP; the canonical Node 22 archive was rebuilt with both branches: 445 entries, SHA-256 5091e8fc8b8aa9e1805ea8222a4986db558c0efc4cee37c0efea55834d455765. The focused workbench Chrome test passed on the merged tree. CI status for this historical update is superseded by the current-head result above.

The contributor personally confirmed the then-current head 36bcad9ce55469c237a16fbdda2dfc7cf5410b53 and its PR explanation. Earlier confirmations below apply to their stated commits. CI results and older confirmations below apply to their stated commits.

Latest review follow-up

Head e395904 clears previously captured canvas marker coordinates before resizing and explicitly redraws the selected finding. The 390-by-667 visibility test therefore checks freshly drawn endpoints, not coordinates from the taller viewport. The full workbench Chrome regression passed locally; runtime and ZIP are unchanged from 40e0aa2. Current-head CI completed with 28 successful checks and 3 configured skips; the stale-coordinate Devin flag was marked resolved after the regression passed.

The contributor personally confirmed the then-current head e39590460083c08927bba99f3437a6c42a8c802a and its PR explanation. Earlier confirmations below apply to their stated commits. CI results and older confirmations below apply to their stated commits.

Latest review follow-up

Head 40e0aa2 resets stale 2D return state when a finding is opened from 3D, while related findings keep their existing return context. Chrome regression reproduced the wrong return before the fix and passed afterward; a 390-by-667 test now checks that both numbered import endpoints are actually visible and hittable. The canonical Node 22 archive contains 445 entries (SHA-256 3565e5fff646cde30ad5dab2f3021377396de6c854b846735ba759a9a07ea10c). Current-head CI completed with 28 successful checks and 3 configured skips; the stale-coordinate Devin flag was marked resolved after the regression passed.

The contributor personally confirmed the then-current head 40e0aa261f6389e0bec943d1ccf21d379c0e8341 and its PR explanation. Earlier confirmations below apply to their stated commits. CI results and older confirmations below apply to their stated commits.

Latest narrow-map review follow-up

Head a40e09b1a hides the redundant focus pill while the finding sheet is open at narrow widths, leaving numbered import endpoints visible. The sheet still identifies and clears the selection. The focused workbench browser regression passed in isolation, including 390 x 667; an earlier run hit a Windows Chrome profile cleanup lock after assertions. Canonical Node 22 archive: 445 entries, SHA-256 a83a0c5efab8b652c739c266ba1756389cfd4d984e00c4c3f863e43be0b35697. CI at a40e09b completed with 27 successful checks and 3 configured skips; the contributor confirmed that earlier head.

Latest Escape review follow-up

Head 91b1d69b3 restores the selected Atlas finding and evidence-action focus when Escape is pressed from the finding heading. Escape from the source pane still returns to the finding first. The focused Windows Chrome Atlas test passed in isolation; an earlier broader attempt passed assertions but hit a Chrome profile cleanup lock. The canonical ZIP was rebuilt: 445 entries, SHA-256 13e81b856bfb2746d023a3cb5ab5d8cb3c4923f2aab7d988b9fbaf98b6d38d03. CI passed and the contributor confirmed that earlier head. Prior evidence below applies to its named revision.

Latest review follow-up

Earlier head c8c3416aa4654c94a521d4afe92ac39197079a4b makes an explicit Atlas entry replace any earlier finding return context and clears stale context when entering a top-level component or findings page. The narrow diagram-backed view reserves separate visible space for the map and details. The mapped fixture now passes its map, and browser regressions cover the second selected import, return context, endpoint visibility and the standalone flow. That earlier head had 28 successful CI checks and 3 configured skips; the contributor confirmed it.

The canonical Node 22 ZIP at that earlier head was rebuilt: 445 entries, SHA-256 bcda30cb5ceec45e114cfedc0a3c5d4879939fb2bb44e514bb93a1038aab92d6. The later local test-only adjustment does not alter the package. Earlier confirmation, screenshots and CI below refer to their named revisions.

November 24 review fixes and dev synchronization

Earlier head cd1016a032055730b0986376f578362a97278924 integrates dev 9b6cf46f3195f4a0805c3226e352c92b0fd4cbb0 and is retargeted to dev as requested. It retains the current pinned-source navigation while restoring the correct parent label, focus and Atlas selection when returning from evidence. Import endpoint labels now use the selected files' focused module geometry. The unrelated package-marker test adjustment has been removed from this PR.

The focused module-coordinate browser test, source-return browser test and Atlas/source unit tests passed. A broader Windows browser run had one Chrome profile teardown failure; that test passed when rerun alone. The canonical Node 22.23.2 ZIP was rebuilt (445 entries, SHA-256 c79c89bfdc0f62bf83256066a97fdb78f8527cdbaed9242ed62223ca4f1e87f2). That earlier revision CI completed with 32 successful checks and 5 configured skips. Earlier CI and screenshot references below apply to their named revisions, not the current head. That earlier revision was confirmed by the contributor as recorded below.

Problem and value

Selecting Flask’s Blueprint.register() in the Atlas at Labs 4d382d432 highlights imports of its containing file. Readers need to tell which files a curve connects and which side imports the other. The authored-diagram inspector also offers a source button for some locations whose text the report never captured.

  • In a complex-function finding, highlight one recorded file import at a time and mark the endpoints ① and ②. The details show the complete importing and imported paths and follow the dependency selector. If the report captured no imports for the selected file, show that state with no selector.
  • In the existing authored-diagram dependency and off-diagram file lists, render an unavailable source location as text with a status. Captured locations still open the existing reader.

This is the narrowed follow-up to the original Atlas proposal after the redesign in #1419. The existing first-screen guidance, 3D view and architecture inspector are the baseline. The maintainer agreed to the core scope, with the review fixes described above. Labs feedback #1182 is the related tracker. The baseline synchronization comparison is 076fe627a...d28ee81d4. It contains the Atlas overlay and browser regression, the installed-Skill fixture adjustment described below, and the generated archive. Labs sync #1432 already supplies the Story CLI, doctor checks, validators, and packaging/CI changes on the target branch.

Visual evidence

The saved Flask snapshot at 2c1b30d was re-rendered on the updated implementation. Independent Chrome selected Blueprint.register(), checked both paths, and switched the import with the keyboard. The capture at 390 × 844 shows the full paths after scrolling the details into view.

Flask Atlas showing the selected import with two numbered endpoints

Perceptual visual review: passed. The contributor personally reviewed the new Flask desktop and narrow screenshots for implementation commit d6c9e5840.

390 × 844 detail

Stability impact

This change uses the existing captured file graph and source snippets. An import edge describes a file relationship. The authored inspector distinguishes captured source from a known path or location with no captured text. The CLI and stored snapshot schemas are unchanged. Existing snapshots need no migration. The rollback is to revert the feature changes and regenerate archify.zip.

Tests run

  • Base 4d382d43238a4b5a0e170819c22079b058a7b4cb, implementation d6c9e5840180665babb93e749ebd2f5f4f70d383, keyboard test follow-up e1ea4ca797e26bb2b5de6639746983e20d9b6206. Before the patch, the new workbench assertion failed on Labs because the list of the selected import's endpoint paths was empty. Labs 6086c6991 and 4d382d432 have identical trees.

  • The implementation evidence exercised the Code Analysis workbench, standalone Atlas, and diagram-backed PR Files. The workbench assertions cover endpoint labels, import switching, both full paths at 390 px, the no-import state, and the unavailable-source label.

  • GitHub Actions finished with 19 successful jobs and two deployment jobs skipped by configuration. The Chrome job log confirms the expanded workbench and diagram-backed PR Files tests both ran and passed. Implementation CI · Chrome job

  • The follow-up uses Chrome's native Arrow Down handling to switch the import, then verifies both paths. It also opens the off-diagram Largest files list and verifies that a path without a source snippet is a text label. The expanded workbench test passed locally and in Chrome CI. The same run hit a race in the installed-Skill fixture when a parallel archive test removed its temporary link.

  • PR improvement check: extend the existing workbench fixture to protect both user flows without a second report harness. The dependency list and off-diagram list share the source-availability renderer. The Atlas inspector uses the captured file graph and the existing selection state. The focused survey found no further duplication worth removing.

  • The package-test follow-up 61b4b5c11 filters the archive test's temporary markers from the installed-Skill test fixture. The four missing-runtime doctor cases passed locally. The producer's symlink case requires OS support and was left to the Linux CI runner. GitHub Actions at 61b4b5c11810e495a5537fb2e3d41de7d4474658 finished with 19 successful jobs and two deployment jobs skipped by configuration. The Linux run passed both the installed-Skill doctor case and the archive exclusion case. The Chrome workbench case also ran and passed. CI at 61b4b5c11 · Linux regression · Chrome workbench

  • Labs sync d28ee81d4c660574a0c815218c87474e7ff18cc4 merges Labs 076fe627af3bd185aac41007d2b5b9145dbd941f. The only conflict was archify.zip. All non-archive files match Git’s automatic merge result. The four installed-Skill missing-runtime doctor cases passed on Windows. The timed-out output-path case passed when rerun on its own. The Windows workbench assertions ran, but the Chrome shutdown hook reported ARCHIFY_TEMP_CLEANUP. The wider local runs also encountered a 3D test that did not initialize Three.js, symlink permission errors, and a child-process timeout. Those runs did not pass. GitHub Actions on this merge commit passed 19 jobs and skipped two deployment jobs by configuration. The Chrome log confirms that the workbench case ran and passed. CI for the Labs sync · Chrome workbench. The earlier screenshots cover the implementation at the revision shown above.

  • The CI run at d28ee81d4 verifies the combined candidate, including inherited Labs code. Its browser shard log contains the workbench result, and the job list reports the browser, full-regression, Windows, package and ZIP gates. That earlier revision retained the test-fixture adjustment because the previous candidate CI hit a race when the concurrent archive test removed its temporary link. The change only affects the installed-Skill fixture. Scope agreement remained pending after that run.

Generated artifacts

Rebuilt archify.zip twice from a3d7c9d3ee7c952f88a83bbaf98dc4f94ad2841e with Node 22.23.2 and bundled zlib 1.3.1-e00f703. Both 558-entry builds matched the committed archive byte for byte. SHA-256 is 3d582b7201d43b9b4d89f3bbba4e19e7ad3013826fba3249d18f8874866b71b5. The preceding sync d28ee81d4 had archive SHA-256 308ecb94539fbb22da879ca1a6e079e3c3b52fb64e122ff8273b984558d176ef.

AI assistance and accountability

  • AI use: Codex assisted with investigation, implementation, tests, screenshot capture and drafting.
  • Accountable contributor: @outlier27-cell
  • Problem origin: observed Flask Atlas usage and review of the authored inspector.
  • I reviewed the submitted changes and explanation, understand their impact, and can answer questions about them. Validation results and gaps are recorded above.

Personal confirmation for earlier head c8c3416aa4654c94a521d4afe92ac39197079a4b: the accountable contributor personally reviewed the changes, PR explanation and validation evidence.

Personal confirmation for earlier head cd1016a032055730b0986376f578362a97278924: the accountable contributor personally reviewed the changes, PR explanation and validation evidence.

Personal confirmation for a3d7c9d3ee7c952f88a83bbaf98dc4f94ad2841e: the accountable contributor personally reviewed the submitted changes, PR description and visual evidence.

Personal confirmation for d6c9e5840180665babb93e749ebd2f5f4f70d383: the contributor reviewed the submitted changes, the PR description and the updated Flask desktop and narrow screenshots. This confirmation covers the directed file-import selector and the unavailable-source presentation. Personal confirmation for 61b4b5c11810e495a5537fb2e3d41de7d4474658: the contributor confirmed the two test-only follow-ups. e1ea4ca79 exercises keyboard import selection and the off-diagram unavailable-source label. 61b4b5c11 limits the installed-Skill test fixture to exclude transient archive-test markers.

The earlier contributor confirmation above covers that candidate, including the Labs synchronization and archive rebuild.

The contributor's earlier confirmation covered 0ac50e3498f189437b22b2ad0b65259480dfa08e and the previous scope.

Current evidence navigation follow-up

Implementation 3973e44a01b81fcd6bb32e3f99d80580247cf3bd keeps the existing review scope centered on captured imports and source. Finding details opened from Atlas include a return to Atlas. The original finding, selected import and opener focus are restored. A dependency's evidence goes back to Dependency and restores the source link's focus, including on Escape. The source pane fits the standalone reader column. Complexity evidence explains the difference between its deepest line and the start of the function. Root-file modules with no directory name keep distinct labels.

A serial native Windows Chrome run of test/code-analysis-workbench-browser.test.mjs passed on the earlier revision after the parallel attempt hit a Chrome temporary-directory cleanup error. An independent Chrome run of the same head inspected Flask 2c1b30d at line 340, verified the distinct function start at line 273, checked 390px without horizontal overflow, and exercised ← Atlas and Escape with focus and import selection restored. The 3D browser check asserts Three.js loading when a WebGL canvas is present and covers the 2D fallback when it is unavailable. CI for that earlier revision passed 19 jobs with 2 configured skips. The Chrome job ran both the Atlas and prepared workbench tests.

1440px source at line 340 · 390px source · Finding with the Atlas return control · Restored finding and import selection

At the time of that earlier revision, maintainer scope agreement was pending and the contributor confirmation applied to that revision. The maintainer has since agreed to the core scope; the contributor confirmed that earlier head as recorded above.

Personal confirmation for earlier head 91b1d69b3a2ae9a39fbd538d75c3819835563085: the accountable contributor personally reviewed this commit and PR explanation.

Personal confirmation for earlier head a40e09b1a16317ee3e3b65e17d3ecb2ae2e5a177: the accountable contributor personally reviewed that revision and PR description.

Escape view follow-up: e362fc1

A hidden Classic finding no longer intercepts Escape when an Atlas view is active. Chrome regression reproduces the prior 3D-to-2D jump and passes with the fix; two earlier local runs were interrupted by Windows Chrome profile cleanup, then the isolated run passed. Node 22 canonical ZIP: 445 entries, SHA-256 7bc1aa3daa3d1927e8e68d0d67739835defc1257acc51f85ed3790487423f0cd. Current-head CI completed with 28 successful checks and 3 configured skips; personal review is confirmed.

Personal confirmation for head e362fc18e2bb0f1f56073c5e1710b26c073ad6e1: the accountable contributor personally reviewed this revision and its PR description.

Personal confirmation: the accountable contributor personally reviewed head 40e0aa261f6389e0bec943d1ccf21d379c0e8341 and its PR explanation.

Personal confirmation: the accountable contributor personally reviewed head e39590460083c08927bba99f3437a6c42a8c802a and its PR explanation.

Personal confirmation: the accountable contributor personally reviewed head 36bcad9ce55469c237a16fbdda2dfc7cf5410b53 and its PR explanation.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: tt-a1i/archify
  • Branch: dev
  • File: .coderabbit.yaml
  • Commit: 79c9342
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 992dccbb-8ef0-4884-adda-0ca64828c078

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
Summary

Problem: complex-function findings did not show file import direction. Uncaptured source locations offered unusable source buttons.

Changes: Atlas shows captured file imports as numbered ① → ② edges, with a selector and full paths. Uncaptured locations become non-interactive rows. Returning from finding evidence restores the Atlas selection and focus.

Reviewed: base dev 9b6cf46 to head cd1016a.

Compatibility: CLI and stored snapshot schemas are unchanged. No migration is needed. __archifyShowFinding gains an optional atlasReturn parameter.

Validation: the author reports that focused browser and unit tests passed locally. A Windows browser run had a teardown failure that passed on rerun. Observed current-head CI: 32 successful, 5 skipped. Screenshots predate head. Static tests do not confirm visual acceptance.

The Atlas now lists imports for a selected function file and marks the selected edge’s endpoints. Finding and source navigation preserve return destinations and focus. Uncaptured source locations appear as unavailable rather than actionable controls. Root-level module labels retain their file names. Tests cover import selection, source availability, and navigation return behavior.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

  • tt-a1i/archify#1372: Adds the focused-sector geometry that this PR uses when positioning import endpoint markers.
  • tt-a1i/archify#1443: Shares source-reader and source-availability behavior with this PR, including a noted source-return implementation overlap.
Merge Risk: Low · previous review cd101 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 1 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Validation Evidence Warning Evaluated head: ecb5ad9e (matches the checked-out HEAD). The PR body's most recent sections name no CI run, browser run, or archive hash for this head. **Observed in the repository (my checks):*… Close the gaps with the smallest checks below. Owners are noted. 1. Current-head run (PR author; CI). Record CI or a focused browser run for ecb5ad9e. Include the Windows browser result, or record that the earlier EBUSY failure is res…
Passed Passed checks: 1 passed

Check name Status Explanation
Contribution Scope Passed Contribution scope check for tt-a1i/archify PR #1421 (author outlier27-cell, base dev, head codex/atlas-review-labs-20261120). Result: PASS, with non-blocking warnings. Evidence: - Governing docs read…
Full details: Contribution Scope

Explanation

Contribution scope check for tt-a1i/archify PR #1421 (author outlier27-cell, base dev, head codex/atlas-review-labs-20261120). Result: PASS, with non-blocking warnings. Evidence: - Governing docs read: CONTRIBUTING.md, REVIEWING.md, .github/PULL_REQUEST_TEMPLATE.md. - Problem: the description states the user problem. Selecting Flask Blueprint.register() highlights the containing file's imports, so readers cannot tell which files an edge connects or which side imports. It also gives the value and origin (observed Flask Atlas usage). It also explains the unavailable-source button problem. This meets the template's problem section. - Slice: the code diff is confined to the Atlas and overlay code-analysis files, their tests, and two related browser tests. I compared against the dev sync point 79c9342, which is the closest base in the local history. The changed files are atlas.mjs, atlas.css, atlas.js, overlay.css, overlay.js, i18n.mjs, two unit tests, and three browser tests. No unrelated package, CLI, or installed-Skill fixture code appears in the head diff. The description's earlier mention of an installed-Skill fixture change is not in this diff. - Compatibility and rollback: the description says CLI and snapshot schemas are unchanged, no migration is needed, and rollback is to revert the feature and regenerate archify.zip. This covers the compatibility and failure/rollback items. - Maintainer decision: the description links #1182 and a maintainer comment (issuecomment-7134234829) and says the maintainer agreed to the core scope. I could not open that comment from this record, so this rests on the description's claim. The new contract surface is small: an internal window entry point gains an atlasReturn argument, and saveSelection gains importIndex. Neither is a CLI, schema, or public default change. - Accountability: the description names the accountable contributor and discloses AI use. It also states the contributor's personal confirmation for the current head ecb5ad9. Non-blocking warnings (one time, per the check): 1. Scope growth. Review rounds added Escape handling, return-to-Atlas context, focus restoration, a 3D return reset, and narrow-viewport endpoint visibility. These sit in the same Atlas finding-evidence flow. A one-paragraph final scope statement at the current head would make the agreed slice clear. 2. Description noise. The description runs to many chronological sections, with repeated confirmations and CI results for superseded heads. Some sections also say scope agreement was pending before later saying it was agreed. The current-head statements are the ones to rely on. 3. Unverified claim. The maintainer scope comment is cited but was not checked in this review. Current CI status and the Windows browser failures reported in the description are outside this check's criteria and were not assessed.

Resolution

Non-blocking. Consider adding a short current-head scope summary that lists the agreed behaviors and confirms the maintainer comment. Consider trimming superseded-head sections so the latest scope and evidence are easy to find.

Full details: Validation Evidence

Explanation

Evaluated head: ecb5ad9e (matches the checked-out HEAD). The PR body's most recent sections name no CI run, browser run, or archive hash for this head. Observed in the repository (my checks): - The PR-owned sources in archify.zip at HEAD match HEAD byte-for-byte: overlay.js, client/atlas.js, atlas.mjs, and client/atlas.css. - The test assertions for the claimed behavior exist at HEAD: - ①/② labels, ArrowDown import switching, and both paths at 390 px (test/code-analysis-workbench-browser.test.mjs). - The unavailable-source text and the absence of source buttons for off-diagram files (same file, lines ~389–401). - The Escape-from-heading restore and the Escape-in-3D guard (test/code-analysis-browser.test.mjs, lines ~884–893). - The ← Dependency back label (source-panel.test.mjs). - Root-file module labels (atlas.test.mjs). - overlay.js handles Escape for Atlas-parent findings through leaveFinding (lines ~1753–1764). The CodeRabbit thread is therefore supported by code, not only by the author's claim. - The recovery and locking commits in the branch history are in dev 79c9342. They are not PR-authored, so they are not a coverage gap for this PR. Author reports, not verified at HEAD: - The standalone Chrome pass for the "Atlas Back opens Overview and hides details" assertion is reported at 1b0ac6d07. I could not locate that exact assertion in the two browser test files I searched. The standalone test file was not searched. - Current-head CI is reported as "required" and "tracked separately". No result is recorded for ecb5ad9e. - The last recorded wide Windows browser run on 633 failed with Chrome profile EBUSY/shutdown errors. The body does not show that failure resolved. Concrete coverage gaps: 1. Current-head validation is not recorded. Dev merges after the last browser-verified head changed viewer/viewer.css (about 63 lines) and viewer/template.source.html. The body gives no browser or CI result after those merges for ecb5ad9e. Reused evidence is named only at ancestor heads. 2. Generated-artifact identity is not recorded for this head. The archive at HEAD has 447 entries. Recent sections report 445 entries and give SHA-256 values for earlier heads. The body gives no SHA-256 or count for ecb5ad9e, and it does not explain the change in count. The embedded PR sources do match HEAD, so this gap is about identity and reproducibility, not stale sources. 3. Perceptual review does not cover later visible layout changes. The contributor's perceptual review covers only d6c9e5840. Later narrow-layout changes, including the focus-pill hiding and the reserved map/details space, have automated assertions but no refreshed visual review. This verdict is FAIL because the gaps are concrete and the standing prior failure cannot be disposed with evidence. The evidence is otherwise strong. The gaps are not false claims, and the code and tests support the main behavior.

Resolution

Close the gaps with the smallest checks below. Owners are noted. 1. Current-head run (PR author; CI). Record CI or a focused browser run for ecb5ad9e. Include the Windows browser result, or record that the earlier EBUSY failure is resolved. Narrow reuse is acceptable only if the author states why the viewer CSS and template merges do not affect Atlas or the reader. 2. Archive identity (PR author). Record the canonical Node 22 ZIP SHA-256 and entry count for ecb5ad9e. Explain the change from 445 to 447 entries. Rebuild only if the archive is stale. 3. Visual evidence (PR author; contributor perceptual review). Re-capture the 390 × 844 Flask Atlas import view at ecb5ad9e. The contributor reviews the capture, since the narrow-layout changes came after d6c9e5840. 4. Assertion location (PR author). Link the test file and line for "Atlas Back opens Overview and hides finding details", or state that it lives in the standalone test cited for 1b0ac6d07. Gap 1 is the only item that affects runtime evidence. Gaps 2–4 are evidence identity and presentation items.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@outlier27-cell outlier27-cell changed the title feat(code-analysis): connect Atlas insights to architecture evidence fix(code-analysis): show file import direction and source availability Nov 21, 2026
@tt-a1i

tt-a1i commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Scope agreed on the core direction — showing explicit file import direction (① → ②) in Atlas, rendering uncaptured source paths as non-interactive status rows in the authored inspector, and restoring focus/navigation on ← Atlas / Escape all fix real usability gaps.

Before moving to final review, please address the following items:

  1. Retarget to dev: labs/code-analysis has already been merged into dev and is 221 commits behind origin/dev. Please change the base branch to dev and sync/rebase.
  2. Blocking defect — drawImportEndpoints ignores module-focus expansion (overlay/client/atlas.js): pt(a, r, mi) routes through focusRadius(r, mi), and all other callers pass the module index. Calling 2-arg pt(geo.ang[file], geo.R * 0.985) leaves marker ① and its leader at the unexpanded radius detached from the file tick/curve when the module is focus-expanded. Pass F[file][1] in both maps, and add a coordinate assertion in the browser test so it's regression-locked.
  3. Drop the obsolete Atlas 3D test hunk (test/code-analysis-browser.test.mjs): dev already has the hasWebGl branch and [true, false, 'atlas3d'] assertion.
  4. Split unrelated fixes:
    • The .package-negative-* filter in test/output-path.test.mjs fixes a real parallel test race that is still present on dev — please pull it out into its own small test-infra PR so it can land independently.
    • (Optional) The root-file module label fix in overlay/atlas.mjs is also independent if you'd like to keep this PR tightly scoped.
  5. Coordinate overlap with feat(code-analysis): review pinned PR commits offline #1443: both PRs make the same standalone source-pane width edit in overlay.css / standalone.mjs and extend showCode's 12th parameter in overlay.js. Keep the union (sourcePair || returnFocus) when rebasing after feat(code-analysis): review pinned PR commits offline #1443 (or vice versa).
  • (Non-blocking) Open source evidence in i18n.mjs becomes unused and can be cleaned up; also note renderFindingImports recreates <select> on re-render without restoring picker focus.

Once retargeted onto dev, fixed, archify.zip rebuilt, CI green, and final-head personal review confirmed, feel free to mark Ready for Review.

…las-1421-source-return-20261122

# Conflicts:
#	archify.zip
#	archify/modules/code-analysis/overlay/client/overlay.js
#	test/code-analysis-browser.test.mjs
@outlier27-cell
outlier27-cell changed the base branch from labs/code-analysis to dev November 24, 2026 15:52
@outlier27-cell
outlier27-cell marked this pull request as ready for review November 25, 2026 03:51
devin-ai-integration[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

@outlier27-cell
outlier27-cell marked this pull request as draft November 25, 2026 04:02
@outlier27-cell
outlier27-cell marked this pull request as ready for review November 25, 2026 04:24
@outlier27-cell
outlier27-cell marked this pull request as draft November 25, 2026 04:25
devin-ai-integration[bot]

This comment was marked as resolved.

@outlier27-cell
outlier27-cell marked this pull request as ready for review November 25, 2026 06:39
devin-ai-integration[bot]

This comment was marked as resolved.

@outlier27-cell
outlier27-cell marked this pull request as draft November 25, 2026 12:17
@outlier27-cell
outlier27-cell marked this pull request as ready for review November 25, 2026 12:57
@outlier27-cell
outlier27-cell marked this pull request as draft November 25, 2026 14:02
@outlier27-cell
outlier27-cell marked this pull request as ready for review November 26, 2026 02:46

This branch has not been deployed

No deployments
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