Files
CleanMM/Packages/AtlasInfrastructure
zhukang 86e6ea1d80 fix(recovery): preflight restore items before mutating state
Add validation pass that checks all selected recovery items before any
restore operations begin. This prevents partial in-memory restore success
when a later item fails.

Map helper-backed restore destination conflicts to restore-specific
rejection paths instead of falling back to generic execution-unavailable
messages.

Bump version to 1.0.1 and update CHANGELOG with release notes.
2026-03-13 16:40:31 +08:00
..

AtlasInfrastructure

Responsibility

  • Persistence
  • Logging and audit events
  • Permission inspection
  • Process, helper, and XPC transport support
  • Worker-boundary orchestration for MVP flows

Current Implementation

  • AtlasWorkspaceRepository persists the workspace snapshot, current plan, and settings as local JSON state.
  • AtlasScaffoldWorkerService now backs scan, preview, execute, restore, apps, uninstall, and settings flows through structured protocol requests.
  • AtlasPermissionInspector performs best-effort macOS permission checks for Full Disk Access, Accessibility, and Notifications.
  • AtlasPrivilegedHelperClient invokes the allowlisted helper executable using structured JSON payloads.
  • AtlasXPCWorkerClient and AtlasXPCListenerDelegate provide the real app-to-worker transport boundary using NSXPCConnection with structured Data payloads.
  • AtlasPreferredWorkerService prefers the bundled XPC service and falls back to the in-process worker when needed.
  • AtlasAuditStore records audit-friendly task events.