Skip to content

refactor(ui): move picker sources from Layer 0 to Layer 2#1391

Merged
breznknecht merged 1 commit intomainfrom
fix/picker-source-layer-violations
Apr 1, 2026
Merged

refactor(ui): move picker sources from Layer 0 to Layer 2#1391
breznknecht merged 1 commit intomainfrom
fix/picker-source-layer-violations

Conversation

@jsmestad
Copy link
Copy Markdown
Owner

@jsmestad jsmestad commented Apr 1, 2026

4 PickerSource modules in lib/minga/ aliased MingaEditor.UI.Picker.Item, violating Layer 0 → Layer 2 dependency rules. Moved them to MingaEditor.UI.Picker.Sources.* where they belong, and cleaned up the credo exemption list.

This closes the last upward dependency gap from the Wave 6 gate:

grep -rn 'alias MingaEditor|import MingaEditor' lib/minga/ lib/minga_agent/ | wc -l
0

Four PickerSource modules in lib/minga/ aliased MingaEditor.UI.Picker.Item,
violating the Layer 0 to Layer 2 dependency rule. These modules are
presentation-layer (they implement Picker.Source and construct Picker.Item
structs), so they belong in MingaEditor.*.

Moved:
- Minga.Diagnostics.PickerSource -> MingaEditor.UI.Picker.Sources.Diagnostics
- Minga.Tool.PickerSource -> MingaEditor.UI.Picker.Sources.Tool
- Minga.Tool.UninstallPickerSource -> MingaEditor.UI.Picker.Sources.ToolUninstall
- Minga.Tool.UpdatePickerSource -> MingaEditor.UI.Picker.Sources.ToolUpdate

Removed stale entries from credo exemption list.

Zero upward deps remain from lib/minga/ or lib/minga_agent/ into MingaEditor.*.
@breznknecht breznknecht merged commit 345f4c8 into main Apr 1, 2026
7 checks passed
@breznknecht breznknecht deleted the fix/picker-source-layer-violations branch April 1, 2026 21:52
jsmestad pushed a commit that referenced this pull request Apr 1, 2026
All gate criteria met:
- Buffer.Fork routing works (Track A, #1390)
- Boundary violations resolved to zero (Track B #1389, cleanup #1391)
- Documentation updated (Track B, #1389)

Added progress log entries and discoveries for Track A and cleanup.
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