Files
CleanMM/Packages/AtlasInfrastructure
zhukang 11405a4b55 Internal beta hardening: pnpm cleanup and recovery semantics
- update internal beta hardening docs and Smart Clean execution coverage for the 2026-03-16 hardening slice

- add pnpm store detection, execution fixtures, and regression coverage across adapters, infrastructure, and app model tests

- distinguish file-backed vs Atlas-only recovery messaging in History and restore summaries

- preserve completed Smart Clean recovery entries when later targets fail, and report failed findings explicitly instead of losing side effects
2026-03-12 23:38: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.