Skip to content

Add initial plan for Clean Architecture refactor of firmware#284

Merged
andre-stefanov merged 2 commits into
developfrom
refactoring-plan
May 12, 2026
Merged

Add initial plan for Clean Architecture refactor of firmware#284
andre-stefanov merged 2 commits into
developfrom
refactoring-plan

Conversation

@andre-stefanov
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 11, 2026 19:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an initial design/implementation plan for refactoring the OpenAstroTracker firmware toward a Clean Architecture layout (core/ports/hal/adapters/app), with an incremental, test-first migration strategy.

Changes:

  • Introduces a phased refactor plan (Phase 0–7) focused on preserving behavior while extracting pure domain logic and adding host-based unit tests/coverage.
  • Specifies a target layering model (core ↔ ports ↔ adapters ↔ hal ↔ app) and outlines how compile-time feature flags would migrate to runtime polymorphism.
  • Documents verification strategy (CI matrix builds, coverage gates, grep checks) and identifies key legacy files to tackle first.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread specs/plan.md Outdated
Comment thread specs/plan.md Outdated
Comment thread specs/plan.md
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Member

@ClutchplateDude ClutchplateDude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good plan

@andre-stefanov andre-stefanov merged commit 4768d18 into develop May 12, 2026
8 checks passed
@andre-stefanov andre-stefanov deleted the refactoring-plan branch May 12, 2026 05:43
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.

3 participants