Skip to content

refactor(app): extract sweeps and band-selection submodules#132

Merged
dc0sk merged 1 commit into
mainfrom
refactor/split-app-module
Jul 8, 2026
Merged

refactor(app): extract sweeps and band-selection submodules#132
dc0sk merged 1 commit into
mainfrom
refactor/split-app-module

Conversation

@dc0sk

@dc0sk dc0sk commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Backlog T6. src/app/mod.rs had grown to ~4.8k lines mixing the config/orchestration core with self-contained display and parsing layers (project-review finding).

Extracts two cohesive, pure, behaviour-preserving sub-layers:

  • src/app/sweeps.rs — velocity/transformer sweep view models + display formatting
  • src/app/band_select.rs — band token/range parsing, labels, listing views

Both are re-exported (pub use) so every app::* public path is unchanged. mod.rs drops 4777 → 4283 lines (−10%). Further display-layer decomposition is noted as a follow-up.

No behaviour change: cargo test all pass (unchanged), clippy + fmt clean, CLI smoke-tested (sweeps + band listing).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Jf8uBU8AYxkrG8fa8yo6tC

src/app/mod.rs had grown to ~4.8k lines mixing the config/orchestration core
with self-contained display and parsing layers (project-review finding). Extract
two cohesive, pure sub-layers with no behaviour change:
- src/app/sweeps.rs — velocity/transformer sweep view models + formatting;
- src/app/band_select.rs — band token/range parsing, labels, listing views.

Both are re-exported (`pub use`) so the public `app::*` paths are unchanged.
mod.rs drops from 4777 to 4283 lines (-10%). Further display-layer
decomposition remains a follow-up.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dc0sk
dc0sk merged commit 1da7c2a into main Jul 8, 2026
10 checks passed
@dc0sk
dc0sk deleted the refactor/split-app-module branch July 8, 2026 20:29
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.

1 participant