Skip to content
CAI
Software that uses CAICheck a score

Emanuele-web04/remodex

46.7

Weak · 14 November 2026

106.9k

lines of production code

Swift

with JavaScript

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add macOS menu bar bridge companion and build configuration scaffolding

Introduces the RemodexMenuBar companion app for macOS, including its Xcode scheme, Info.plist, and a new set of Remodex-themed central icons (SVG assets) for use in the menu bar and UI. Adds build configuration files (Base.xcconfig and PrivateOverrides.xcconfig.example) to manage public defaults and private overrides for open-source builds.

CodexMobile · high confidence

Introduces new bridge infrastructure and desktop IPC synchronization capabilities

This change adds the core JavaScript modules that power the new bridge architecture, including desktop IPC action following, conversation projection, and runtime settings normalization. It introduces a new account status module that sanitizes authentication data for the phone UI and a daemon state manager for persisting macOS service configuration and pairing sessions. Additionally, it adds CLI helpers for bootstrapping the global Codex CLI, handling desktop handoff requests, and parsing apply-patch file changes, establishing the foundation for live phone-to-desktop thread synchronization.

phodex-bridge/src · high confidence

Introduces public relay service with end-to-end encrypted forwarding and optional push notifications

The relay folder now contains the public relay and push-service code used by Remodex for pairing and trusted reconnect. The relay accepts WebSocket connections at /relay/{sessionId} to pair one Mac host with one live mobile client, forwarding secure control messages and encrypted payloads between them while keeping application payloads end-to-end encrypted (AES-256-GCM via X25519 + HKDF-SHA256) so the relay never sees plaintext app data. It exposes optional HTTP endpoints for push registration and run-completion alerts (POST /v1/push/session/register-device and /v1/push/session/notify-completion) when push is explicitly enabled, and provides a trusted-session resolve endpoint (POST /v1/trusted/session/resolve) for mobile clients to find the Mac's current live session after reconnection. The implementation includes an APNs client for sending iOS alerts, file-backed state persistence for push registrations, rate limiting on HTTP and WebSocket upgrade routes, and detailed health/metrics endpoints.

relay · high confidence

Remodex CLI gains macOS service management and diagnostic tools

The remodex command-line interface now supports managing the macOS bridge as a background service, including starting, stopping, restarting, and uninstalling the service, as well as resetting pairing and displaying QR codes for device connection. On macOS, the 'up' command now launches the service in the background rather than running in the foreground. A new diagnostic tool, remodex-jsonl-diagnose.js, has been added to parse and validate Codex session JSONL history files, helping users troubleshoot session data issues. The CLI also exposes a 'version' command and improves error handling for configuration failures.

phodex-bridge/bin · high confidence

Behavioural changes

18 commits (1 fix) modifying phodex-bridge

A change to existing behaviour in phodex-bridge — 18 commits (1 fix), 37 files: “Process fragmented desktop IPC frames in linear time (\#213)”; “Safely hand off idle chats and preserve Desktop follow-ups (\#223)”; “Resolve current Codex Desktop bundles and target the selected executable (\#219)”; and 15 more (refs \#213, \#223, \#219, \#214, \#217, …). Also in this area: Expanded test coverage for bridge authentication, IPC integration, and runtime settings.

phodex-bridge/test/fixtures · medium confidence · unverified

Repository restructured for self-hosting with new launcher and Apache 2.0 license

The project has shifted to a local-first, self-hostable model, introducing a new \run-local-remodex.sh\ launcher script that starts a local relay and bridge together, and adding \SELF\_HOSTING\_MODEL.md\ to document the self-hosting path. The repository license has been changed from ISC to Apache 2.0, and the \CONTRIBUTING.md\ guide has been updated to reflect the new local development workflow. Additionally, the \MacDano.md\ audit document provides architectural recommendations for the macOS menu bar companion, and the \README\ has been updated to highlight end-to-end encryption, fast mode, and the new trusted Mac reconnect flow.

(repo-wide) · high confidence

Test coverage

Expanded test coverage for bridge authentication, IPC integration, and runtime settings

Added unit and integration tests in the \phodex-bridge/test\ directory to verify bridge-side authentication status composition and sanitization, desktop IPC integration flows (including thread resumption and live sync behavior), bridge status publishing and heartbeat logic, relay watchdog and thread list merging helpers, Codex CLI bootstrap and runtime settings normalization, and desktop handoff routing.

phodex-bridge/test · high confidence

Dependencies

Remodex bridge v3.2.0 release and dependency updates

The local bridge package (remodex) has been updated to version 3.2.0, introducing new CLI commands (\remodex-jsonl-diagnose\) and build scripts (postinstall, prepack) while upgrading the \ws\ dependency to 8.21.0 and removing the \uuid\ dependency. Additionally, a new \remodex-relay\ package was added with \ws\ 8.21.0, and the mobile app's Swift Package Manager dependencies were refreshed to include new packages like \BigInt\, \Citadel\, \RemodexTextKit\, and \`swift-nio-ssh

(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.3)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 35 → 32 (-3.9)
  • Architecture 93 → 94 (+1.4)
  • Maturity 56 → 60 (+4.3)
  • Readiness 52 → 52 (+0.0)
  • Security 91 → 85 (-6.1)
  • Event-Driven 79 → 79 (+0.0)
  • Performance 60 → 60 (-0.4)

Resolved (100)

  • Change coupling: TurnViewModel.swift ↔ git-handler.js (CodexMobile/CodexMobile/Views/Turn/Core/TurnViewModel.swift)
  • Change-coupling hub: CodexService+Connection.swift → CodexService+SecureTransport.swift, CodexService+Transport.swift, ContentViewModel.swift, secure-transport.js (CodexMobile/CodexMobile/Services/CodexService+Connection.swift)
  • Change-coupling hub: CodexService+SecureTransport.swift → ContentViewModel.swift, bridge.js, secure-transport.js (CodexMobile/CodexMobile/Services/CodexService+SecureTransport.swift)
  • CodexService.refreshInFlightTurnState (cognitive 91) (CodexMobile/CodexMobile/Services/CodexService+ThreadsTurns.swift)
  • CodexService.refreshInFlightTurnState (cyclomatic 44) (CodexMobile/CodexMobile/Services/CodexService+ThreadsTurns.swift)
  • CodexService.sendTurnStart (cognitive 55) (CodexMobile/CodexMobile/Services/CodexService+ThreadsTurns.swift)
  • CodexService.sendTurnStart (cyclomatic 32) (CodexMobile/CodexMobile/Services/CodexService+ThreadsTurns.swift)
  • CodexService.shouldTreatAsUnsupportedVoiceBridgeMethod (cognitive 18) (CodexMobile/CodexMobile/Services/CodexService+VoiceCompatibility.swift)
  • CodexService.startTurn (cognitive 27) (CodexMobile/CodexMobile/Services/CodexService+ThreadsTurns.swift)
  • CodexService.startTurn (cyclomatic 19) (CodexMobile/CodexMobile/Services/CodexService+ThreadsTurns.swift)
  • Duplicated block (10 lines × 2) (CodexMobile/CodexMobile/Services/CodexService+Connection.swift)
  • Duplicated block (10 lines × 2) (CodexMobile/CodexMobile/Services/CodexService+Connection.swift)
  • Duplicated block (10 lines × 2) (CodexMobile/CodexMobile/Services/CodexService+Messages.swift)
  • Duplicated block (10 lines × 2) (CodexMobile/CodexMobile/Views/Turn/Messages/AutoApprovalReviewRow.swift)
  • Duplicated block (10 lines × 4) (CodexMobile/CodexMobile/Services/CodexService+RuntimeCompatibility.swift)
  • Duplicated block (10–11 lines × 4) (CodexMobile/CodexMobile/Services/CodexService+Messages.swift)
  • Duplicated block (11 lines × 2) (CodexMobile/CodexMobile/Services/CodexService+IncomingSupport.swift)
  • Duplicated block (11 lines × 2) (CodexMobile/CodexMobile/Services/CodexService+RuntimeConfig.swift)
  • Duplicated block (11 lines × 2) (CodexMobile/CodexMobile/Views/Turn/Messages/SkillReferenceFormatter.swift)
  • Duplicated block (11 lines × 2) (CodexMobile/CodexMobile/Views/Turn/Timeline/TurnTimelineCommandGroupView.swift)
  • …and 80 more

New (245)

  • Change coupling: CodexService+SecureTransport.swift ↔ ContentViewModel.swift (CodexMobile/CodexMobile/Services/CodexService+SecureTransport.swift)
  • Change coupling: CodexService+SecureTransport.swift ↔ bridge.js (CodexMobile/CodexMobile/Services/CodexService+SecureTransport.swift)
  • Change-coupling hub: CodexService+Connection.swift → CodexService+SecureTransport.swift, CodexService+Transport.swift, ContentViewModel.swift (CodexMobile/CodexMobile/Services/CodexService+Connection.swift)
  • CodexService.checkMissingCatalogThreads (cognitive 32) (CodexMobile/CodexMobile/Services/CodexService+Sync.swift)
  • CodexService.checkMissingCatalogThreads (cyclomatic 27) (CodexMobile/CodexMobile/Services/CodexService+Sync.swift)
  • CodexService.setForegroundState (cognitive 17) (CodexMobile/CodexMobile/Services/CodexService+Sync.swift)
  • Duplicated block (10 lines × 2) (CodexMobile/CodexMobile/Services/CodexService+Messages.swift)
  • Duplicated block (10 lines × 2) (CodexMobile/CodexMobile/Views/Turn/Messages/AutoApprovalReviewRow.swift)
  • Duplicated block (10 lines × 3) (CodexMobile/CodexMobile/Services/CodexService+Connection.swift)
  • Duplicated block (10 lines × 5) (CodexMobile/CodexMobile/Services/CodexService+RuntimeCompatibility.swift)
  • Duplicated block (10–11 lines × 4) (CodexMobile/CodexMobile/Services/CodexService+Messages.swift)
  • Duplicated block (11 lines × 2) (CodexMobile/CodexMobile/Views/Turn/Core/TurnViewModel.swift)
  • Duplicated block (11 lines × 2) (CodexMobile/CodexMobile/Views/Turn/Messages/SkillReferenceFormatter.swift)
  • Duplicated block (11–12 lines × 2) (CodexMobile/CodexMobile/Services/CodexService+Messages.swift)
  • Duplicated block (12 lines × 2) (CodexMobile/CodexMobile/Services/CodexService+Messages.swift)
  • Duplicated block (13 lines × 2) (CodexMobile/CodexMobile/Services/CodexService+Connection.swift)
  • Duplicated block (13 lines × 2) (CodexMobile/CodexMobile/Services/CodexService+ThreadsTurns.swift)
  • Duplicated block (14 lines × 2) (CodexMobile/CodexMobile/Views/Home/HomeEmptyStateView.swift)
  • Duplicated block (14 lines × 3) (CodexMobile/CodexMobile/Services/CodexService+Account.swift)
  • Duplicated block (15 lines × 2) (CodexMobile/CodexMobile/Services/CodexService+ThreadsTurns.swift)
  • …and 225 more

Changes since last survey

  • 27 commits — 26 feature/other, 1 fixes

By area

  • CodexMobile/CodexMobile — 12 commits
  • phodex-bridge/src — 8 commits
  • phodex-bridge/test — 3 commits
  • (root) — 1 commit
  • Legal/PRIVACY_POLICY.md — 1 commit
  • phodex-bridge/package.json — 1 commit
  • relay/server.js — 1 commit

Notable commits

  • fix: Fix Codex Desktop rendering errors for phone text input (#208)
  • change: Bound detailed diff rendering on iOS (#227)
  • change: Clarify local relay and provider data flows in the privacy notice (#222)
  • change: Encrypt local change ledgers with failure-safe key recovery (#216)
  • change: Expose code pairing in Connections (#231)
  • change: Keep failed sends on the original conversation (#217)
  • change: Keep late bridge-private RPC replies off the phone (#220)
  • change: Keep legacy chats grouped by their current project (#225)
  • change: Keep mixed image result messages visible after turn completion (#214)
  • change: Keep voice provider credentials on the bridge (#211)
  • change: Link npm package metadata to its source repository (#204)
  • change: Preserve case in manual pairing tokens (#229)
  • change: Process fragmented desktop IPC frames in linear time (#213)
  • change: Reconcile closed chat history after connection gaps (#224)
  • change: Reconcile synthesized patches with native file changes (#232)
  • change: Recover completed text-only turns from newer rollout history (#209)
  • change: Recover final output after canonical Desktop completion snapshots (#215)
  • change: Recover overlapping phone initialization on a warm Codex transport (#226)
  • change: Recover safely when the Desktop active turn has already ended (#218)
  • change: Refresh async input fixture state and error recovery checks (#206)
  • …and 7 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

Emanuele-web04/remodex 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 c06dcb16a7059603a41e26a2cb4a81b6d4b5514d — 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.