Skip to content
CAI
Software that uses CAICheck a score

Toxblh/MTMR

48.9

Weak · 14 November 2026

8.6k

lines of production code

Swift

with Objective-C

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Initial release of MTMR with build automation and documentation

This entry marks the initial public release of MTMR, a TouchBar customization app for macOS. The change introduces the core application structure along with comprehensive documentation in README.md, including installation instructions via Homebrew and GitHub releases, a list of built-in button types (such as volume, brightness, and custom AppleScript buttons), and gesture configuration examples. It also adds a .gitignore file to exclude Xcode build artifacts and a LICENSE file under the MIT license. Additionally, build.sh and test.sh scripts are added to automate the build, archive, and DMG creation process using xcpretty and create-dmg, while export-options.plist configures the code signing team ID for distribution.

(repo-wide) · high confidence

MTMR app launch and configuration options

The MTMR app now launches with a status menu that allows users to toggle haptic feedback, enable or disable multitouch gestures for volume and brightness control, manage the blacklist for the current app, and set the app to start at login. Users can also open the preset file for editing or choose a different preset file from a dialog. The app will automatically reload the preset if the default configuration file changes.

MTMR · high confidence

New AppleScripts for Battery, Finder, Music, and Weather

Added AppleScripts to display battery status, open Finder, control Music/iTunes/Spotify/Vox playback, and show weather information.

MTMR/AppleScripts · high confidence

New Touch Bar widgets for system monitoring and control

This update introduces a suite of new widgets for the Touch Bar, including AppScrubber (with optional regex filtering and auto-resize), Battery (with low-battery red warning), Brightness slider, CPU usage monitor, Currency converter (supporting PLN and UAH), Dark Mode toggle, Do Not Disturb toggle, Input Source switcher, Music player controls (with marquee text option), Network speed monitor (with unit selection), Night Shift toggle, and Pomodoro timer. These additions expand the system control and information capabilities available directly on the Touch Bar.

MTMR/Widgets · high confidence

New and updated preset configurations for the Touch Bar

Added three new user-contributed preset files (ReDetection, aadi\_vs\_anand, luongvo209) and an SVG support badge to the Resources directory. These presets define custom Touch Bar layouts, including AppleScript-integrated buttons for Yandex Music and Reminders, media playback controls for Spotify and iTunes, system status displays for CPU and memory usage, and utility widgets like weather, currency, and pomodoro timers.

Resources · high confidence

Behavioural changes

Added modern Xcode workspace configuration files

The project now includes the standard Xcode workspace structure, adding \contents.xcworkspacedata\ to define the workspace reference, \IDEWorkspaceChecks.plist\ to enable the modern build system (suppressing the 32-bit warning), and \WorkspaceSettings.xcsettings\ to store workspace-level settings. This ensures the project is correctly recognized and built by current versions of Xcode.

MTMR.xcodeproj/project.xcworkspace · high confidence

Added shared Xcode schemes for app and unit tests

Shared Xcode schemes for the MTMR app and the MTMRTests test bundle have been added to the project. The main app scheme is configured to build for testing, running, profiling, archiving, and analyzing, while the unit test scheme explicitly enables code coverage. These changes ensure that the project's build and test configurations are shared across the team and compatible with CI environments like Travis.

MTMR.xcodeproj/xcshareddata · high confidence

Xcode project reorganized with new widgets and frameworks

The MTMR project file has been reorganized to include support for new Touch Bar items such as CPU, Yandex Weather, Pomodoro, and UpNext scrubbers, alongside updated build configurations linking CoreDisplay, CoreBrightness, and Sparkle frameworks.

MTMR.xcodeproj · medium confidence

Fixes

Updated Sparkle framework to fix Apple M1 local builds

The Sparkle framework has been updated to resolve issues with local builds on Apple M1 hardware. This change ensures that the framework's internal structure, including symlinks and headers, is correctly configured for the current architecture, allowing developers to build and test the application locally without errors.

Sparkle.framework · high confidence

Test coverage

Added unit tests for JSON configuration parsing

Added a new test suite in the MTMRTests target to verify the correct parsing of bar item definitions from JSON. The tests cover static buttons, AppleScript definitions (including inline scripts, file paths, and tilde expansion), background colors with alpha channels, and action mappings such as key codes and legacy single-action formats.

MTMRTests · 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

This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.

Score

  • CAI 45 → 49 (+3.9)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 71 → 71 (-0.2)
  • Architecture 99 → 96 (-3.0)
  • Maturity 47 → 72 (+24.9)
  • Readiness 34 → 34 (-0.2)
  • Security 47 → 49 (+2.2)

Resolved (13)

  • Duplicated block (10 lines × 3) (MTMR/TouchBarController.swift)
  • Duplicated block (24 lines × 2) (MTMR/TouchBarController.swift)
  • Duplicated block (9 lines × 2) (MTMR/Widgets/AppScrubberTouchBarItem.swift)
  • Further orphaned files (smaller)
  • Leaked secret: hardcoded-credential (Sparkle.framework/Autoupdate)
  • Leaked secret: hardcoded-credential (Sparkle.framework/Autoupdate)
  • Leaked secret: hardcoded-credential (Sparkle.framework/Autoupdate)
  • Leaked secret: hardcoded-credential (Sparkle.framework/Autoupdate)
  • Medium: security finding (details withheld)
  • Medium: security finding (details withheld)
  • No ADRs found
  • Orphaned file (MTMR/CustomButtonTouchBarItem.swift)
  • Orphaned knowledge (MTMR/Widgets/MusicBarItem.swift)

New (52)

  • CodexPetView.draw (cognitive 19) (MTMR/Widgets/CodexBarItems.swift)
  • CodexPetView.draw (cyclomatic 38) (MTMR/Widgets/CodexBarItems.swift)
  • CodexQuotaReader.liveSnapshot (cognitive 32) (MTMR/Widgets/CodexBarItems.swift)
  • CodexQuotaReader.liveSnapshot (cyclomatic 20) (MTMR/Widgets/CodexBarItems.swift)
  • CodexTodayReader.localLogSnapshot (cognitive 41) (MTMR/Widgets/CodexBarItems.swift)
  • CodexTodayReader.localLogSnapshot (cyclomatic 25) (MTMR/Widgets/CodexBarItems.swift)
  • CodexTodayView.messagePool (cognitive 21) (MTMR/Widgets/CodexBarItems.swift)
  • CodexTodayView.messagePool (cyclomatic 17) (MTMR/Widgets/CodexBarItems.swift)
  • Concentrated knowledge decay
  • Duplicated block (10 lines × 2) (MTMR/Customizer/JSONValue.swift)
  • Duplicated block (29 lines × 2) (MTMR/TouchBarController.swift)
  • Duplicated block (5 lines × 2) (MTMR/CPU.swift)
  • Duplicated block (9 lines × 2) (MTMR/Widgets/AppScrubberTouchBarItem.swift)
  • Duplicated block (9–13 lines × 2) (MTMR/Widgets/CodexBarItems.swift)
  • Edited copies of one member (3 members, 11+ corresponding lines) (MTMR/Widgets/DarkModeBarItem.swift)
  • Edited copies of one member (3 members, 30+ corresponding lines) (MTMR/ItemsParsing.swift)
  • Edited copy of a member (12 corresponding lines) (MTMR/Customizer/TouchBarPreviewView.swift)
  • Edited copy of a member (14 corresponding lines) (MTMR/Customizer/CustomizerView.swift)
  • Edited copy of a member (14 corresponding lines) (MTMR/Widgets/NetworkBarItem.swift)
  • Edited copy of a member (15 corresponding lines) (MTMR/CPU.swift)
  • …and 32 more

Changes since last survey

  • 3 commits — 2 feature/other, 1 fixes

By area

  • (root) — 1 commit
  • MTMR/Customizer — 1 commit
  • MTMR/Widgets — 1 commit

Notable commits

  • fix: Apple Silicon / M1: build with Xcode 27, fix haptics, brightness and media keys (#480)
  • change: Add a native Touch Bar customizer window (stacked on #480) (#481)
  • change: Add native Codex Touch Bar preset and widgets (#478)

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

Survey your own repository

Toxblh/MTMR 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 14 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 fd958e420074330be900f3c19a8a09ead93d998b — 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.