Skip to content

Split ContentView.swift (13,605 lines, ~90 types, 14 sub-domains) #94

Description

@arzafran

Largest file in the codebase. The review produced a full seam map (line ranges in the nuclear-review workflow output): sidebar drag-and-drop fragmented across 8 non-contiguous locations, TabItemView + exclusive helpers (1,940 lines, one call site), FileDropOverlayView (480 lines), sidebar visuals, window chrome, sidebar resizer, workspace handoff state machine, command palette (tracked separately), fuzzy search engine.

Zero-risk starters: TabItemView.swift, FileDropOverlayView.swift, CommandPaletteSearchEngine.swift are pure moves. TabItemView's internal shape (Equatable + precomputed snapshot params) is a protected typing-latency structure; move the file, do not reshape it.


From the 2026-07-09 nuclear review (10 module reviewers + Codex cross-model pass, disprove-first). Line refs are against the reductive-audit branch (PR #81).

Metadata

Metadata

Assignees

No one assigned

    Labels

    nuclear-reviewFrom the 2026-07-09 whole-codebase nuclear reviewtech-debtKnown latent issue / maintenance debt

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions