Skip to content
CAI
Software that uses CAICheck a score

wzh4869/AppPorts

47.4

Weak · 15 November 2026

52.6k

lines of production code

Swift

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

AppPorts Utils: New identity resolution, scanning, and container migration infrastructure

This change introduces a comprehensive set of utility modules for the AppPorts application. AppIdentityResolver and AppRunningState provide robust detection of real application identities and running states, handling complex wrapper structures and symlinks. AppScanner and DataDirScanner enhance the discovery of local and external applications, including support for symlinked bundles and detailed data directory scanning. ContainerVolumeMigrator and its associated recovery logic implement a verified APFS volume-based migration strategy for sandboxed app containers, ensuring data integrity with automatic rollback and remount capabilities. Additionally, DataDirMover handles traditional symlink-based data directory moves, while CustomDirScanner and ContainerRemountLoop support custom directory management and reliable background remounting. Also in this area: Improved update reliability, diagnostic logging, and manual mount pause support; In-app GitHub updates and safer data operations.

AppPorts/Utils · high confidence

AppPorts v1.9.0: New UI, Localization, and Migration Features

This release introduces a redesigned user interface with a new welcome screen, enhanced data migration capabilities (including automatic re-signing and 'pending migration' status), and comprehensive multi-language support (i18n) for all UI strings. It also includes a new 'About' view with GitHub contributor integration, improved logging and diagnostic tools, and fixes for container structure protection and legacy APFS volume recovery. Also in this area: Updated localization strings in AppPorts; Improved update reliability, diagnostic logging, and manual mount pause support; Refined navigation animations and updated About header layout; In-app GitHub updates and safer data operations. Also in this area: 1 commit (1 fix) fixing AppPorts.

AppPorts · medium confidence · unverified

Documentation site migrated to Fumadocs with three-language support

The documentation site has been rebuilt using Fumadocs (Next.js) to replace the previous GitBook tooling. It now provides complete, synchronized editions in Simplified Chinese, Traditional Chinese, and English, with a header language switcher and static export deployment. The site includes a redesigned home page, a sponsor list component, Mermaid diagram support, and a search interface, while retiring Japanese, Korean, German, French, and Spanish routes.

_User\docs · high confidence

Initial Xcode project structure and build configuration

The AppPorts Xcode project has been initialized with a new project.pbxproj file, defining the main AppPorts application target and an AppPortsTests unit-test bundle. The configuration includes a shared workspace, a launch scheme for building and testing, and resource references for the app icon and sponsors.json. The project is set to the zh-Hans development region with support for a wide range of languages, and the build system is configured to parallelize buildables and run tests alongside the main application.

AppPorts.xcodeproj · high confidence

New APFS lifecycle validation and benchmarking scripts

Added a suite of Python and shell scripts to the \script/\ directory to validate and benchmark APFS volume migration and restore operations. \validate\_private\_apfs.py\ and \isolate\_test\_host.py\ coordinate the creation of disposable, separately-owned APFS images, run isolated XCTest hosts to verify migration integrity, and ensure no global state is altered. \benchmark\_apfs\_lifecycle.py\ compares performance metrics between baseline and fixed builds using these isolated fixtures. Supporting scripts include \build\_and\_run.sh\ for building and launching the AppPorts development bundle, \build\_stub\_launcher.sh\ for compiling the portal launcher, \generate\_portal\_strings.py\ for extracting localized strings, and \prepare\_apfs\_baseline.py\ for instrumenting a baseline checkout with timing hooks.

script · high confidence

New data models for app status, migration tracking, and directory management

The app introduces a comprehensive set of new data models to support advanced application and directory management features. AppItem now includes a 'pendingMoveOut' status to identify local apps that are newer than their external counterparts, along with signature tracking fields (isResigned, signatureReplaced) to handle macOS 27 compatibility and ad-hoc signature risks. AppListTransfer and AppTransferRecord provide detailed lifecycle tracking for migrations, including phase management, signature relocations, and cleanup tasks. CustomDirModels and DataDirItem expand support for user-defined directories and various data types (e.g., containers, caches, dot-folders) with specific validation rules and status indicators like 'pendingRelink' and 'mounted'. Additionally, AppLanguageOption adds support for AI-translated languages and system language detection, while ContainerMountModels handle APFS volume mount migrations for sandboxed apps.

AppPorts/Models · high confidence

New migration management and safety UI components

This update introduces several new SwiftUI views to enhance the AppPorts user experience. AppSearchExclusionView allows users to manage Spotlight indexing exclusions for external apps to prevent duplicate search results. AppStoreSettingsView provides configuration options for migrating Mac App Store and iOS apps, along with logging and auto-resign settings. CustomDirsView and DataDirsView offer comprehensive interfaces for managing custom directory migrations and application data directories, including status filtering, sorting, and progress tracking. ReadinessCheckView guides users through pre-migration checks for permissions and storage format. SignatureRepairSheet streamlines the process of repairing app signatures and restoring container data. Finally, WarningSheet replaces scattered system alerts with a unified, scrollable warning dialog that supports risk acknowledgments for irreversible actions. Also in this area: Improved update reliability, diagnostic logging, and manual mount pause support; Refined navigation animations and updated About header layout; In-app GitHub updates and safer data operations.

AppPorts/Views · high confidence

Vendor Agent Notes skill and migrate decision records

The repository now includes the 'write-notes-like-deepseek' skill under .claude/skills, which enforces a structured decision-record system for non-trivial changes. This skill provides a strict directory schema (lifecycle/class/date-topic.md), validation scripts to check note structure and format, and an HTML-based board for visualizing the decision tree. It also includes tools for archiving notes with immutable sealing and scanning source code for reverse anchors to link decisions back to implementation.

.claude · high confidence

Behavioural changes

130 commits (65 fixes) modifying AppPortsTests

A change to existing behaviour in AppPortsTests — 130 commits (65 fixs), 116 files: “fix: complete missing localization translations”; “fix: resolve real app identities when scanning data”; “Add localization for GitHub and China Download, enhance UpdateChecker functionality with new data models and tests”; and 127 more (refs \#25, \#44, \#43, \#34, \#85, …).

AppPortsTests · medium confidence · unverified

57 commits (21 fixes) modifying AppPorts/Views/Components

A change to existing behaviour in AppPorts/Views/Components — 57 commits (21 fixs), 24 files: “fix: simplify sidebar capacity expressions for Xcode 26”; “feat(ui): integrate container migration and signature repair”; “fix: 支持应用库映像卸载并暂停自动挂载”; and 54 more (refs \#25, \#44, \#43, \#34, \#54, …).

AppPorts/Views/Components · medium confidence · unverified

74 commits (33 fixes) modifying .agents

A change to existing behaviour in .agents — 74 commits (33 fixs), 101 files: “fix: complete missing localization translations”; “fix: simplify sidebar capacity expressions for Xcode 26”; “fix(l10n): complete image library and permission guide translations”; and 71 more (refs \#75, \#83, \#76).

.agents · medium confidence · unverified

License changed from MIT to Apache License 2.0

The project's open-source license has been updated from MIT to Apache License 2.0, which provides explicit patent rights and clearer terms for contributors and users.

(repo-wide) · high confidence

Stub Portal now uses a native Swift launcher instead of a bash script

The macOS Stub Portal tooling has replaced the previous bash-based launcher with a native Swift application (StubLauncher). This change ensures that opening documents or URLs associated with a portal correctly forwards the request to the real application on external storage, fixing issues where double-clicking files in Finder failed to open the external app. The new launcher also handles localization for error messages (such as when the external disk is missing) and manages the application launch lifecycle more robustly.

Tools · high confidence

Fixes

81 commits (43 fixes) fixing AppPorts/Services

A fix in AppPorts/Services — 81 commits (43 fixs), 53 files: “fix(apps): verify identity and version before replacing targets”; “Enhance error handling and localization checks”; “fix(transfer): retry cleanup only against the verified baseline”; and 78 more (refs \#25, \#44, \#43, \#42, \#55, …).

AppPorts/Services · medium confidence · unverified

Dependencies

Migrate documentation site to Fumadocs with Next.js 16 and React 19

The user documentation site has been rebuilt using the Fumadocs framework (fumadocs-core, fumadocs-mdx, fumadocs-ui) on top of Next.js 16.4.1 and React 19.3.0, replacing the previous GitBook-based tooling. This change introduces a new dependency stack including Tailwind CSS 4, Mermaid 11, and Lucide React, and updates the build scripts to support the new Fumadocs preparation and preview workflows.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 48 → 47 (-1.1)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 73 → 71 (-1.6)
  • Architecture 92 → 93 (+1.1)
  • Maturity 75 → 75 (-0.3)
  • Readiness 35 → 31 (-3.9)
  • Security 93 → 92 (-0.7)
  • Accessibility 40 → 41 (+1.1)
  • Performance 79 → 100 (+21.1)

Resolved (26)

  • Change coupling: AppScanner.swift ↔ DataDirsView.swift (AppPorts/Utils/AppScanner.swift)
  • Change coupling: CustomDirsView.swift ↔ DataDirsView.swift (AppPorts/Views/CustomDirsView.swift)
  • ContainerVolumeMigrator.mountRecordedVolume (cognitive 19) (AppPorts/Utils/ContainerVolumeMigrator.swift)
  • ContainerVolumeMigrator.mountRecordedVolume (cyclomatic 16) (AppPorts/Utils/ContainerVolumeMigrator.swift)
  • DataDirScanner.swift.measureDirectorySize (cognitive 23) (AppPorts/Utils/DataDirScanner.swift)
  • DataDirScanner.swift.measureDirectorySize (cyclomatic 18) (AppPorts/Utils/DataDirScanner.swift)
  • Duplicated block (11 lines × 2) (AppPorts/Models/DataTransferProgress.swift)
  • Duplicated block (11 lines × 2) (AppPorts/Views/CustomDirsView.swift)
  • Duplicated block (13 lines × 2) (AppPorts/Models/DataTransferProgress.swift)
  • Duplicated block (13 lines × 2) (AppPorts/Utils/ContainerVolumeMigrator.swift)
  • Duplicated block (15 lines × 2) (AppPorts/Services/AppMigrationService.swift)
  • Duplicated block (19 lines × 2) (AppPorts/Views/AppStoreSettingsView.swift)
  • Duplicated block (5 lines × 2) (AppPorts/Services/AppMigrationService.swift)
  • Duplicated block (5 lines × 2) (AppPorts/Services/AppTransferTransaction.swift)
  • Duplicated block (5 lines × 2) (AppPorts/Services/SignatureBackupLocation.swift)
  • Duplicated block (5 lines × 2) (AppPorts/Utils/ContainerVolumeMigrator.swift)
  • Duplicated block (5 lines × 2) (AppPorts/Utils/DataDirScanner.swift)
  • Duplicated block (6 lines × 2) (AppPorts/Utils/ContainerVolumeMigrator+Recovery.swift)
  • Duplicated block (6–8 lines × 2) (AppPorts/Utils/DataDirScanner.swift)
  • Duplicated block (8 lines × 2) (AppPorts/ContentView.swift)
  • …and 6 more

New (146)

  • AppDelegate.applicationShouldTerminate (cognitive 17) (AppPorts/Appports.swift)
  • AppLibraryImageFileAccess.evaluate (cyclomatic 18) (AppPorts/Services/AppLibraryImageFileAccess.swift)
  • AppLibraryImageRecovery.recoverSelected (cognitive 42) (AppPorts/Services/AppLibraryImageRecovery.swift)
  • AppLibraryImageRecovery.recoverSelected (cyclomatic 26) (AppPorts/Services/AppLibraryImageRecovery.swift)
  • AppLibraryImageRecovery.restoreForLaunch (cognitive 21) (AppPorts/Services/AppLibraryImageRecovery.swift)
  • AppLibraryImageRecovery.restoreForLaunch (cyclomatic 18) (AppPorts/Services/AppLibraryImageRecovery.swift)
  • AppLibraryImageService.identifiedVolume (cognitive 23) (AppPorts/Services/AppLibraryImageService.swift)
  • AppLibraryImageService.imageDevices (cognitive 34) (AppPorts/Services/AppLibraryImageService.swift)
  • AppLibraryImageService.imageDevices (cyclomatic 18) (AppPorts/Services/AppLibraryImageService.swift)
  • AppLibraryImageService.mount (cognitive 39) (AppPorts/Services/AppLibraryImageService.swift)
  • AppLibraryImageService.mount (cyclomatic 28) (AppPorts/Services/AppLibraryImageService.swift)
  • AppLibraryImageService.verifiedVolume (cognitive 22) (AppPorts/Services/AppLibraryImageService.swift)
  • AppLibraryImageService.verifiedVolume (cyclomatic 16) (AppPorts/Services/AppLibraryImageService.swift)
  • AppScanner.calculateDirectorySize (cyclomatic 16) (AppPorts/Utils/AppScanner.swift)
  • Banned license: @img/sharp-libvips-darwin-arm64 (User_docs/package-lock.json)
  • Banned license: @img/sharp-libvips-darwin-x64 (User_docs/package-lock.json)
  • Banned license: @img/sharp-libvips-linux-arm (User_docs/package-lock.json)
  • Banned license: @img/sharp-libvips-linux-arm64 (User_docs/package-lock.json)
  • Banned license: @img/sharp-libvips-linux-ppc64 (User_docs/package-lock.json)
  • Banned license: @img/sharp-libvips-linux-riscv64 (User_docs/package-lock.json)
  • …and 126 more

Changes since last survey

  • 36 commits — 14 feature/other, 22 fixes

By area

  • .agents/notes — 17 commits
  • (repo) — 6 commits
  • AppPorts/Services — 3 commits
  • AppPorts/Views — 3 commits
  • AppPorts.xcodeproj/project.pbxproj — 2 commits
  • AppPorts/ContentView.swift — 2 commits
  • AppPorts/Localizable.xcstrings — 1 commit
  • AppPorts/Resources — 1 commit
  • User_docs/docs — 1 commit

Notable commits

  • fix: Merge pull request #103 from Souitou-iop/codex/quarantine-migration-fix
  • fix: Merge pull request #108 from aurorax-neo/fix/storage-limitation-confirm-loop
  • fix: fix(l10n): complete image library and permission guide translations
  • fix: fix: allow read-only access to offline mount points
  • fix: fix: clean up quarantine migration checks and test fixture
  • fix: fix: keep offline mount sizes incomplete without manual pause
  • fix: fix: label cleanup closure and bump version to 2.1.0 (51)
  • fix: fix: remove misleading sidebar storage savings estimate
  • fix: fix: resolve PR 102 conflicts with shared offline guards
  • fix: fix: restore remount diagnostics and app data selection
  • fix: fix: simplify sidebar capacity expressions for Xcode 26
  • fix: fix: 修复存储能力提示弹窗点击「仍要迁移」陷入死循环的问题 (#107)
  • fix: fix: 修复应用库映像打开与自动挂载误拦截
  • fix: fix: 兼容 macOS 27 受保护的 quarantine,修复带标记应用迁移失败
  • fix: fix: 后台代理先接回映像再挂载其中的数据卷
  • fix: fix: 恢复侧栏任务中心数量与异常提示
  • fix: fix: 按操作检查安装位置并保持普通外盘入口独立启动
  • fix: fix: 支持外部应用库映像后台自动挂载与断线恢复
  • fix: fix: 支持应用库映像卸载并暂停自动挂载
  • fix: fix: 映像应用已就绪时启动准备不再等待全局操作锁
  • …and 16 more

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

wzh4869/AppPorts was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit af5fb9564070355b0c136b849d8f87d603964e1e — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.