2.0 KiB
2.0 KiB
Workspace Layout
Top-Level Directories
Apps/— user-facing app targetsPackages/— shared Swift packagesXPC/— XPC service targetsHelpers/— privileged helper targetsMenuBar/— deferred menu-bar target areaTesting/— shared testing support and future test targetsDocs/— product, design, engineering, and compliance documents
Planned Module Layout
App Shell
Apps/AtlasApp/Apps/Package.swift
Shared Packages
Packages/Package.swiftPackages/AtlasDesignSystem/Packages/AtlasDomain/Packages/AtlasApplication/Packages/AtlasProtocol/Packages/AtlasInfrastructure/Packages/AtlasCoreAdapters/Packages/AtlasFeaturesOverview/Packages/AtlasFeaturesSmartClean/Packages/AtlasFeaturesApps/Packages/AtlasFeaturesStorage/Packages/AtlasFeaturesHistory/Packages/AtlasFeaturesPermissions/Packages/AtlasFeaturesSettings/
Services
XPC/Package.swiftHelpers/Package.swiftXPC/AtlasWorkerXPC/Helpers/AtlasPrivilegedHelper/
Deferred Targets
MenuBar/AtlasMenuBar/
Test Support
Testing/Package.swiftTesting/AtlasTestingSupport/
Current Scaffold Conventions
Apps/Package.swifthosts the mainAtlasAppexecutable target.Packages/Package.swifthosts shared library products with sources underPackages/*/Sources/*.XPC/Package.swiftandHelpers/Package.swifthost the worker and helper executable stubs.- Root
project.ymlalso generates anAtlasWorkerXPCmacOSxpc-servicetarget for the app bundle. Testing/Package.swifthosts shared fixtures and future contract-test helpers.MenuBar/remains README-only until deferred P1 scope is explicitly reopened.- Root
project.ymlgeneratesAtlas.xcodeprojthroughxcodegenfor the native app shell.
Rule
Create implementation files inside these directories rather than introducing new top-level structures unless an ADR records the change. Keep project.yml as the source of truth for regenerating Atlas.xcodeproj.