Skip to content

refactor: split flat layout into routes/, domain/, infra/ #100

@AbstractNucleus

Description

@AbstractNucleus

What: discovery.py, health.py, membership.py, tombstones.py, migration.py, scaffolding/ all live flat next to routes/.

Why: The mental model "discovery → DB → routes → docker_client" is implicit. The codebase will get harder to navigate as it grows.

Approach: Reshape into mcontrol/{routes,domain,infra}/. infra/ holds db, docker_client, rcon; domain/ holds discovery, lifecycle_state, membership, tombstones. Pure mechanical move — no behaviour change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions