AI Slop Code Risk Monitor

Mentra-Community/MentraOS

SlopCodeMonitor badge for Mentra-Community/MentraOS Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

MentraOS is the leading smart glasses OS. See live captions, stream your view, talk to AI, and capture photos hands-free on compatible glasses.

3.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Mentra-Community/MentraOS, a TypeScript project with 2,396 GitHub stars. SynthScan examined 1,060,267 lines of code across 4700 source files, recording 1904 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 3.0 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

3.0
Adjusted Signal
3.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
2.4K
Stars
TypeScript
Language
1.1M
Lines of Code
4.7K
Files
1.9K
Pattern Hits
2026-10-31
Scan Date
0.02
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 7.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1587 finding(s).

Hallucinated Dependency & Supply Chain Risk 4.3/100 · LOW

Are imports declared and package/API names verified? 115 finding(s).

Agent Over-Engineering Ratio 6.6/100 · LOW

Are wrappers, guards, and repeated structures necessary? 1085 finding(s).

PR Review Velocity Impact 13.4/100 · LOW

Which changes need focused human review? 1904 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 76HIGH 16MEDIUM 192LOW 1620

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1904 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hallucination Indicators76 hits · 895 pts
SeverityFileLineSnippetContext
CRITICAL…ndroid/src/main/java/com/mentra/bluetoothsdk/Bridge.kt105 com.mentra.bluetoothsdk.utils.NativeLog.i(TAG, message)CODE
CRITICAL…ain/java/com/mentra/bluetoothsdk/BluetoothSdkModule.kt907 com.mentra.bluetoothsdk.stt.WakeWordDetector.configure(enabled, modelDir)CODE
CRITICAL…ain/java/com/mentra/bluetoothsdk/BluetoothSdkModule.kt931 com.mentra.bluetoothsdk.stt.SpeechActivityDetector.configure(enabled, minSilenceMs)CODE
CRITICAL⚡…ain/java/com/mentra/bluetoothsdk/BluetoothSdkModule.kt1046 com.mentra.bluetoothsdk.stt.STTTools.setSttModelDetails(context, path, languageCode)CODE
CRITICAL⚡…ain/java/com/mentra/bluetoothsdk/BluetoothSdkModule.kt1054 com.mentra.bluetoothsdk.stt.STTTools.getSttModelPath(context)CODE
CRITICAL⚡…ain/java/com/mentra/bluetoothsdk/BluetoothSdkModule.kt1062 com.mentra.bluetoothsdk.stt.STTTools.checkSTTModelAvailable(context)CODE
CRITICAL⚡…ain/java/com/mentra/bluetoothsdk/BluetoothSdkModule.kt1066 com.mentra.bluetoothsdk.stt.STTTools.validateSTTModel(path)CODE
CRITICAL⚡…ain/java/com/mentra/bluetoothsdk/BluetoothSdkModule.kt1074 com.mentra.bluetoothsdk.stt.STTTools.extractTarBz2(sourcePath, destinationPath)CODE
CRITICAL⚡…ain/java/com/mentra/bluetoothsdk/BluetoothSdkModule.kt1085 com.mentra.core.tts.TTSTools.setTtsModelDetails(context, path, languageCode)CODE
CRITICAL⚡…ain/java/com/mentra/bluetoothsdk/BluetoothSdkModule.kt1093 com.mentra.core.tts.TTSTools.getTtsModelPath(context)CODE
CRITICAL⚡…ain/java/com/mentra/bluetoothsdk/BluetoothSdkModule.kt1101 com.mentra.core.tts.TTSTools.getTtsModelLanguage(context)CODE
CRITICAL⚡…ain/java/com/mentra/bluetoothsdk/BluetoothSdkModule.kt1109 com.mentra.core.tts.TTSTools.checkTTSModelAvailable(context)CODE
CRITICAL⚡…ain/java/com/mentra/bluetoothsdk/BluetoothSdkModule.kt1113 com.mentra.core.tts.TTSTools.validateTTSModel(path)CODE
CRITICAL…ain/java/com/mentra/bluetoothsdk/BluetoothSdkModule.kt1129 com.mentra.core.tts.TTSTools.generateTtsAudio(CODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java377 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "Processing received bytes for JSON extraction");CODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java381 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "Received data is null or too short to be valCODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java387 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "Not in K900 protocol format (missing ## markCODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java402 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "Command type: 0x" + String.format("%02X", commanCODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java407 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "Not a JSON/string command type (0x30), got: CODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java413 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "Received data size (" + data.length +CODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java420 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "End markers ($$) not found where expected");CODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java432 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "Extracted JSON payload bytes: " + payloadLenCODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java434 com.mentra.bluetoothsdk.utils.NativeLog.e("K900ProtocolUtils", "Error converting payload to string", e);CODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java440 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "Payload is not valid JSON");CODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java451 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "Detected C-wrapped format");CODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java458 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "Inner content is not JSON, returningCODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java467 com.mentra.bluetoothsdk.utils.NativeLog.e("K900ProtocolUtils", "Error parsing JSON payload: " + e.getMessageCODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java499 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "📦 JSON DATA BEFORE C-WRAPPING: " + origiCODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java503 if (com.mentra.bluetoothsdk.utils.NativeLog.isLoggable("K900ProtocolUtils", com.mentra.bluetoothsdk.utilCODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java508 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "📦 AFTER C-WRAPPING & PROTOCOL FORMATCODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java509 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "📦 Total formatted length: " + formatCODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java515 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "📦 Data already C-wrapped or not JSON: " CODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java516 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "Formatting data with K900 protocol (addiCODE
CRITICAL⚡…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java521 com.mentra.bluetoothsdk.utils.NativeLog.d("K900ProtocolUtils", "Applying protocol format to raw bytes");CODE
CRITICAL…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java81 com.mentra.bluetoothsdk.utils.NativeLog.e("K900ProtocolUtils", "Error creating JSON wrapper", e);CODE
CRITICAL…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java193 com.mentra.bluetoothsdk.utils.NativeLog.e("K900ProtocolUtils", "Error creating JSON wrapper for K900", e);CODE
CRITICAL…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java217 com.mentra.bluetoothsdk.utils.NativeLog.e("K900ProtocolUtils", "🔄 Formatting message: " + jsonData);CODE
CRITICAL…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java228 com.mentra.bluetoothsdk.utils.NativeLog.e("K900ProtocolUtils", "🔄 After C-wrapping: " + wrappedJson);CODE
CRITICAL…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java246 com.mentra.bluetoothsdk.utils.NativeLog.e("K900ProtocolUtils", "❌ Error in formatMessageForTransmission", e)CODE
CRITICAL…a/com/mentra/bluetoothsdk/utils/K900ProtocolUtils.java265 com.mentra.bluetoothsdk.utils.NativeLog.e("K900ProtocolUtils", "Error creating C-wrapped JSON", e);CODE
CRITICAL…d/src/main/java/com/mentra/bluetoothsdk/utils/AES.java32 com.mentra.bluetoothsdk.utils.NativeLog.e("AES", "Native exception", e);CODE
CRITICAL…d/src/main/java/com/mentra/bluetoothsdk/utils/AES.java35 com.mentra.bluetoothsdk.utils.NativeLog.e("AES", "Native exception", e);CODE
CRITICAL…ntra/bluetoothsdk/utils/audio/ByteUtilAudioPlayer.java192 com.mentra.bluetoothsdk.utils.NativeLog.e("ByteUtilAudioPlayer", "Native exception", e);CODE
CRITICAL…id/src/main/java/com/mentra/bluetoothsdk/sgcs/Mach1.kt1130 com.mentra.bluetoothsdk.utils.NativeLog.e("Mach1", "Native exception", e!!)CODE
CRITICAL…c/main/java/com/mentra/bluetoothsdk/sgcs/MentraLive.kt4442 com.mentra.bluetoothsdk.streaming.StreamControllerProbe.response(values)?.let {CODE
CRITICAL…/src/main/java/com/mentra/bluetoothsdk/tts/TTSTools.kt167 com.mentra.bluetoothsdk.utils.NativeLog.e("TTSTools", "Native exception", e)CODE
CRITICAL…main/java/com/mentra/bluetoothsdk/services/PhoneMic.kt358 com.mentra.bluetoothsdk.utils.NativeLog.e("PhoneMic", "Native exception", e)CODE
CRITICAL…/src/main/java/com/mentra/bluetoothsdk/stt/STTTools.kt300 com.mentra.bluetoothsdk.utils.NativeLog.e("STTTools", "Native exception", e)CODE
CRITICAL…t/java/com/mentra/acsmeeting/audio/PcmResamplerTest.kt99 assertThat(pieces[i].toInt()).isCloseTo(whole[i].toInt(), org.assertj.core.data.Offset.offset(1))CODE
CRITICAL…t/java/com/mentra/acsmeeting/audio/PcmResamplerTest.kt122 assertThat(taps.sum().toDouble()).isCloseTo(1.0, org.assertj.core.data.Offset.offset(1e-4))CODE
CRITICAL…rc/main/java/com/mentra/acsmeeting/AcsMeetingModule.kt110 com.mentra.glassesmedia.trace.SoftApTrace.begin(traceId)CODE
CRITICAL…rc/main/java/com/mentra/acsmeeting/AcsMeetingModule.kt153 com.mentra.glassesmedia.trace.SoftApTrace.failure("scoped_network_lost_midcall", "code" to error.code)CODE
CRITICAL…rc/main/java/com/mentra/acsmeeting/AcsMeetingModule.kt168 com.mentra.glassesmedia.trace.SoftApTrace.failure("wifi_disabled_at_join")CODE
CRITICAL…rc/main/java/com/mentra/acsmeeting/AcsMeetingModule.kt175 com.mentra.glassesmedia.trace.SoftApTrace.stage(CODE
CRITICALmobile/modules/crust/plugin/src/withAndroid.ts154 if (com.mentra.crust.services.NotificationProcess.isCurrent(this)) {CODE
CRITICALmobile/modules/crust/plugin/src/withAndroid.ts160 if (com.mentra.crust.services.NotificationProcess.isCurrent(this)) {CODE
CRITICALmobile/modules/crust/plugin/src/withAndroid.ts178 if (com.mentra.crust.services.NotificationProcess.isCurrent(this)) {CODE
CRITICALmobile/modules/crust/plugin/src/withAndroid.ts184 if (com.mentra.crust.services.NotificationProcess.isCurrent(this)) {CODE
CRITICAL⚡…/android/src/main/java/com/mentra/crust/CrustModule.kt488 com.google.android.gms.location.LocationRequest.Builder(CODE
CRITICAL⚡…/android/src/main/java/com/mentra/crust/CrustModule.kt495 com.google.android.gms.location.LocationSettingsRequest.Builder()CODE
16 more matches not shown…
Hyper-Verbose Identifiers883 hits · 862 pts
SeverityFileLineSnippetContext
LOW…tions/src/background/controllers/CaptionsController.ts751export function isSupportedCaptionTimeoutSeconds(seconds: number): boolean {CODE
LOW…on/src/background/controllers/TranslationController.ts52function isSameLanguagePassthrough(CODE
LOW…gation/src/background/managers/AudioGuidanceManager.ts510export function selectAudioGuidanceDistance(CODE
LOWminiapps/navigation/src/ui/router.tsx34export function suppressNextRouterPopOnce(): void {CODE
LOWminiapps/navigation/src/ui/router.tsx42export function clearSuppressNextRouterPop(): void {CODE
LOWminiapps/navigation/src/ui/store/navStore.ts77export function installChannelSubscribers(): void {CODE
LOWagents/frame_supp.md147export function BrilliantLabsFramePairingGuide() {CODE
LOWagents/ios_ctkd_resolution.md497export function BluetoothAudioPairingGuide({CODE
LOW…s/2026-05-16-navigation-miniapp-two-layer-migration.md3012export function installChannelSubscribers(): void {CODE
LOWmobile/plugins/android.ts57function withProjectBuildGradleModifications(config: any) {CODE
LOWmobile/plugins/android.ts161function withAppBuildGradleModifications(config: any) {CODE
LOWmobile/plugins/android.ts311function withAndroidManifestModifications(config: any) {CODE
LOWmobile/plugins/android.ts621function withGradlePropertiesModifications(config: any) {CODE
LOWmobile/plugins/android.ts695function withSettingsGradleModifications(config: any) {CODE
LOWmobile/plugins/remove-ipad-orientations.js3module.exports = function withRemoveIpadOrientations(config) {CODE
LOWmobile/ci/coordinated-downloads-test.py21 def test_registered_device_export_explicitly_preserves_swift_symbols(self):CODE
LOWmobile/ci/coordinated-downloads-test.py37 def test_ota_runtime_override_cannot_hide_behind_correct_bundle_strings(self):CODE
LOWmobile/ci/coordinated-downloads-test.py85 def test_accepts_resigning_without_dropping_the_bytewise_guarantee(self):CODE
LOWmobile/ci/coordinated-downloads-test.py93 def test_accepts_changed_signature_allocation_without_touching_signed_exports(self):CODE
LOWmobile/ci/coordinated-downloads-test.py111 def test_changed_code_is_rejected_and_exact_pair_survives_temporary_cleanup(self):CODE
LOWmobile/ci/pr-ios/test_artifacts.py15 def test_legacy_download_includes_the_shared_app_lease_dependency(self):CODE
LOWmobile/ci/pr-ios/test_artifacts.py54 def test_allows_one_profile_for_both_device_types(self):CODE
LOWmobile/ci/pr-ios/test_artifacts.py57 def test_rejects_app_store_enterprise_development_and_expired_profiles(self):CODE
LOW⚡mobile/ci/pr-ios/test_artifacts.py85 def test_accepts_embedded_pin_for_both_iphone_and_mac(self):CODE
LOW⚡mobile/ci/pr-ios/test_artifacts.py88 def test_rejects_disabled_ota_and_stale_head_or_pr(self):CODE
LOW⚡mobile/ci/pr-ios/test_artifacts.py96 def test_packaged_config_cannot_silently_disable_or_override_embedded_pin(self):CODE
LOW⚡mobile/ci/pr-ios/test_artifacts.py105 def test_requires_exported_expo_config(self):CODE
LOWmobile/ci/pr-ios/test_artifacts.py118 def test_records_the_backend_selected_by_the_pr_base(self):CODE
LOWmobile/ci/pr-ios/test_artifacts.py124 def test_never_relabels_another_backend_or_a_different_compilation(self):CODE
LOW⚡mobile/ci/pr-ios/test_artifacts.py138 def test_failed_private_signing_is_not_reported_as_success(self):CODE
LOW⚡mobile/ci/pr-ios/test_artifacts.py143 def test_private_probe_uses_selected_identity_and_rejects_a_different_signer(self):CODE
LOW⚡mobile/ci/pr-ios/test_artifacts.py151 def test_framework_signing_only_mutates_a_temporary_copy(self):CODE
LOWmobile/ci/pr-ios/test_artifacts.py177 def test_framework_symlinks_cannot_escape_to_other_files(self):CODE
LOWmobile/ci/pr-ios/test_artifacts.py189 def test_existing_signing_selection_does_not_need_profile_or_secret_import(self):CODE
LOWmobile/ci/pr-ios/test_cleanup_workflow.py33 def test_directory_not_empty_and_busy_races_recover(self):CODE
LOW⚡mobile/ci/pr-ios/test_cleanup_workflow.py49 def test_persistent_race_exhausts_bounded_retries_and_fails(self):CODE
LOW⚡mobile/ci/pr-ios/test_cleanup_workflow.py57 def test_permission_and_io_errors_fail_without_retry(self):CODE
LOW⚡mobile/ci/pr-ios/test_cleanup_workflow.py64 def test_missing_child_is_retried_but_missing_root_is_success(self):CODE
LOWmobile/ci/pr-ios/test_cleanup_workflow.py78 def test_root_recreated_after_deletion_is_retried(self):CODE
LOWmobile/ci/pr-ios/test_cleanup_workflow.py91 def test_cli_removes_only_requested_outputs_and_preserves_symlink_destination(self):CODE
LOWmobile/ci/pr-ios/test_cleanup_workflow.py117 def test_cli_refuses_a_symlinked_parent_directory(self):CODE
LOWmobile/ci/pr-ios/test_cleanup_workflow.py129 def test_bootstrap_precedes_checkout_and_clean_retry_reuses_it(self):CODE
LOWmobile/ci/pr-ios/test_repackage.py44 def test_repackaging_updates_pr_identity_and_ota_without_changing_compiled_code(self):CODE
LOW⚡mobile/ci/pr-ios/test_repackage.py55 def test_rejects_mutated_javascript_or_resources(self):CODE
LOW⚡mobile/ci/pr-ios/test_repackage.py61 def test_rejects_mutated_native_code_even_after_valid_resigning(self):CODE
LOW⚡mobile/ci/pr-ios/test_repackage.py69 def test_signature_allocation_does_not_reject_unchanged_compiled_app(self):CODE
LOW⚡mobile/ci/pr-ios/test_repackage.py79 def test_rejects_unrelated_info_plist_changes(self):CODE
LOW⚡mobile/ci/pr-ios/test_repackage.py87 def test_legacy_or_different_source_artifacts_require_compilation(self):CODE
LOW⚡mobile/ci/pr-ios/test_mac_installer.py27 def test_installer_origin_follows_the_building_repository(self):CODE
LOW⚡mobile/ci/pr-ios/test_mac_installer.py33 def test_missing_credentials_fail_before_importing_or_building(self):CODE
LOW⚡mobile/ci/pr-ios/test_mac_installer.py39 def test_only_one_valid_mentra_developer_id_application_is_accepted(self):CODE
LOW⚡mobile/ci/pr-ios/test_mac_installer.py54 def test_intermediate_match_requires_exact_der_bytes(self):CODE
LOW⚡mobile/ci/pr-ios/test_mac_installer.py64 def test_existing_exact_intermediate_is_not_imported_again(self):CODE
LOW⚡mobile/ci/pr-ios/test_mac_installer.py73 def test_missing_intermediate_is_imported_and_verified_in_the_exact_job_keychain(self):CODE
LOW⚡mobile/ci/pr-ios/test_mac_installer.py82 def test_intermediate_failures_are_not_treated_as_already_installed(self):CODE
LOW⚡mobile/ci/pr-ios/test_mac_installer.py182 def test_doppler_rejects_unrelated_secret_names_and_invalid_service_tokens_without_requests(self):CODE
LOW⚡mobile/ci/pr-ios/test_mac_installer.py191 def test_secret_failure_does_not_echo_password_or_command(self):CODE
LOW⚡mobile/ci/pr-ios/test_mac_installer.py198 def test_secret_timeout_does_not_echo_password_or_command(self):CODE
LOW⚡mobile/ci/pr-ios/test_mac_installer.py206 def test_signing_lock_wait_does_not_use_the_general_command_timeout(self):CODE
LOW⚡mobile/ci/pr-ios/test_mac_installer.py290 def test_rejected_notarization_keeps_diagnostics_and_never_staples(self):CODE
823 more matches not shown…
Decorative Section Separators167 hits · 501 pts
SeverityFileLineSnippetContext
MEDIUM…tions/src/background/controllers/CaptionsController.ts72// ── Settings defaults (mirror SettingsManager) ─────────────────────────────COMMENT
MEDIUM⚡…tions/src/background/controllers/CaptionsController.ts112 // ── Settings state (SettingsManager) ─────────────────────────────────────COMMENT
MEDIUM⚡…tions/src/background/controllers/CaptionsController.ts115 // ── Transcript list state (TranscriptsManager) ───────────────────────────COMMENT
MEDIUM⚡…tions/src/background/controllers/CaptionsController.ts119 // ── Display state (DisplayManager) ───────────────────────────────────────COMMENT
MEDIUM…tions/src/background/controllers/CaptionsController.ts185 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/src/background/controllers/CaptionsController.ts187 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/src/background/controllers/CaptionsController.ts263 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/src/background/controllers/CaptionsController.ts265 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/src/background/controllers/CaptionsController.ts414 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/src/background/controllers/CaptionsController.ts416 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/src/background/controllers/CaptionsController.ts485 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/src/background/controllers/CaptionsController.ts487 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/src/background/controllers/CaptionsController.ts623 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tions/src/background/controllers/CaptionsController.ts625 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUMminiapps/captions/src/shared/channels.ts26 // ── background → UI ────────────────────────────────────────────────────COMMENT
MEDIUMminiapps/captions/src/shared/channels.ts43 // ── UI → background ────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts88 // ── Playback state ─────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts108 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts110 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts206 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts208 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts229 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts231 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts306 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts308 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts383 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts385 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts419 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts421 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts506 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts508 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts633 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts635 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts666 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts668 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts750 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts752 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts775 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…r/src/background/controllers/TeleprompterController.ts777 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…niapps/teleprompter/src/ui/components/SettingsView.tsx107// ── Building blocks ─────────────────────────────────────────────────────────COMMENT
MEDIUMminiapps/teleprompter/src/ui/hooks/useTeleprompter.ts64 // ── Settings writes (optimistic) ─────────────────────────────────────────COMMENT
MEDIUMminiapps/teleprompter/src/ui/hooks/useTeleprompter.ts119 // ── Transport ──────────────────────────────────────────────────────────COMMENT
MEDIUMminiapps/teleprompter/src/shared/channels.ts14 // ── background → UI ────────────────────────────────────────────────────COMMENT
MEDIUMminiapps/teleprompter/src/shared/channels.ts23 // ── UI → background ────────────────────────────────────────────────────COMMENT
MEDIUM…on/src/background/controllers/TranslationController.ts88// ── Settings defaults (mirror SettingsManager) ─────────────────────────────COMMENT
MEDIUM⚡…on/src/background/controllers/TranslationController.ts124 // ── Settings state (SettingsManager) ─────────────────────────────────────COMMENT
MEDIUM⚡…on/src/background/controllers/TranslationController.ts127 // ── Translation list state ───────────────────────────────────────────────COMMENT
MEDIUM⚡…on/src/background/controllers/TranslationController.ts131 // ── Display state (DisplayManager) ───────────────────────────────────────COMMENT
MEDIUM…on/src/background/controllers/TranslationController.ts195 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…on/src/background/controllers/TranslationController.ts197 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…on/src/background/controllers/TranslationController.ts251 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…on/src/background/controllers/TranslationController.ts253 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…on/src/background/controllers/TranslationController.ts304 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…on/src/background/controllers/TranslationController.ts306 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…on/src/background/controllers/TranslationController.ts440 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…on/src/background/controllers/TranslationController.ts442 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…on/src/background/controllers/TranslationController.ts488 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…on/src/background/controllers/TranslationController.ts490 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…on/src/background/controllers/TranslationController.ts623 // ───────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…on/src/background/controllers/TranslationController.ts625 // ───────────────────────────────────────────────────────────────────────COMMENT
107 more matches not shown…
Over-Commented Block548 hits · 478 pts
SeverityFileLineSnippetContext
LOWbunfig.toml1# Use the isolated linker so workspace packages that are ALSO members of otherCOMMENT
LOW…r/src/background/controllers/TeleprompterController.ts641 this.manualTopLine = nullCOMMENT
LOW…apps/navigation/src/background/NavigationController.ts81 // when the turn direction changes (rasterizing the BMP is the cost; resendingCOMMENT
LOW…apps/navigation/src/background/NavigationController.ts101 // page was torn down it may be blank. So: a recurring timer checks whether aCOMMENT
LOW…apps/navigation/src/background/NavigationController.ts121 private forceMinimapPush = falseCOMMENT
LOW…apps/navigation/src/background/NavigationController.ts141 // pump so it doesn't repaint the minimap/text over the large map.COMMENT
LOW…apps/navigation/src/background/NavigationController.ts161 private lastCoordsAt = 0COMMENT
LOW…apps/navigation/src/background/NavigationController.ts181 // Live perpendicular distance to the route while in the advisoryCOMMENT
LOW…apps/navigation/src/background/NavigationController.ts581 ? this.cachedInstructions[i] || nullCOMMENT
LOW…apps/navigation/src/background/NavigationController.ts621 // Push the initial pivot snapshot. The SDK's onPivot only firesCOMMENT
LOW…apps/navigation/src/background/NavigationController.ts741 this.cancelPendingRebuild()COMMENT
LOW…apps/navigation/src/background/NavigationController.ts1261 // "Welcome" on the glasses after dispose() has already cleared.COMMENT
LOW…apps/navigation/src/background/NavigationController.ts1541COMMENT
LOW…apps/navigation/src/background/NavigationController.ts1561 // layout, same source, same precedence. If you tweak one, tweak theCOMMENT
LOW…apps/navigation/src/background/NavigationController.ts1581 // stays null below, which clears the HUD.COMMENT
LOW…apps/navigation/src/background/NavigationController.ts1601 // box is — recomputed live from this.coords against the route polylineCOMMENT
LOW…apps/navigation/src/background/NavigationController.ts1621 // replaces the distance right at the turn. The ARROW and atTurn come fromCOMMENT
LOW…apps/navigation/src/background/NavigationController.ts1681 // The separate top maneuver box lagged/glitched, so we drop it and blank it.COMMENT
LOW…apps/navigation/src/background/NavigationController.ts1721 }COMMENT
LOW…apps/navigation/src/background/NavigationController.ts1801 /**COMMENT
LOW…apps/navigation/src/background/NavigationController.ts1841 // position after a burst of rapid GPS fixes still reaches the glasses. (ACOMMENT
LOW…apps/navigation/src/background/NavigationController.ts2061 /* next maneuver tick will retry */COMMENT
LOW…apps/navigation/src/background/NavigationController.ts2101 // the HUD) or the user returns to within ADVISORY_M (back to the originalCOMMENT
LOW…apps/navigation/src/background/NavigationController.ts2141 this.appendLog(`[NavOffRoute] ${msg}`)COMMENT
LOW…apps/navigation/src/background/NavigationController.ts2161 // 1. ALONG-ROUTE: the user has walked nearly the whole route polyline (theCOMMENT
LOW…s/navigation/src/background/managers/DisplayManager.ts61 // without overlapping and still fit the 220px-tall HUD canvas exactly.COMMENT
LOWminiapps/navigation/src/ui/pages/AddPlacePage/index.tsx41 const [loading, setLoading] = useState(false)COMMENT
LOWminiapps/navigation/src/ui/pages/AddPlacePage/index.tsx61 const [editingType, setEditingType] = useState<"home" | "work" | null>(presetType ?? null)COMMENT
LOWminiapps/navigation/src/ui/pages/AddPlacePage/index.tsx101 const queryRef = useRef(query)COMMENT
LOWminiapps/navigation/src/ui/pages/AddPlacePage/index.tsx141 }, [searchActive])COMMENT
LOWminiapps/navigation/src/ui/pages/AddPlacePage/index.tsx181 entryPushed: searchEntryPushedRef.current,COMMENT
LOW…igation/src/ui/pages/NavigationPage/NavigationPage.tsx61function normalizeRoad(road: string): string {COMMENT
LOW…igation/src/ui/pages/NavigationPage/NavigationPage.tsx81// PROBE_METERS is deliberately wide (~22m): real street corners areCOMMENT
LOW…igation/src/ui/pages/NavigationPage/NavigationPage.tsx301 // emits `off_route` on EVERY tick while you're off the path, soCOMMENT
LOW…igation/src/ui/pages/NavigationPage/NavigationPage.tsx321 if (status === "navigating") setOffRouteSticky(false)COMMENT
LOW…igation/src/ui/pages/NavigationPage/NavigationPage.tsx401 //COMMENT
LOW…igation/src/ui/pages/NavigationPage/NavigationPage.tsx741 // would be too easy to do by accident.COMMENT
LOW…igation/src/ui/pages/NavigationPage/NavigationPage.tsx781 lat: coord.lat,COMMENT
LOWminiapps/navigation/src/shared/maneuverDisplay.ts81 // but `kind` still points at the wrong/next turn — that's the flash of theCOMMENT
LOWagents/mentrajs-two-layer-miniapp-architecture.md661 // Fires once each time a WebView mounts and acks `mentra.ready()`.COMMENT
LOWmobile/jest.setup.js321 default: {forwardEvent: jest.fn()},COMMENT
LOWmobile/boundary-allowlist.txt1# Temporary allowlist for production host files that still touch raw islandCOMMENT
LOWmobile/doppler.yaml1# Repo-level Doppler defaults for the mobile client.COMMENT
LOWmobile/metro.config.js61// exact import specifiers to their source files sidesteps that and the packageCOMMENT
LOWmobile/metro.config.js81// we hit exactly this (an engine-side rename never took effect; a staleCOMMENT
LOWmobile/metro.config.js101 "@mentra/miniapp/react": path.join(MINIAPP_SRC, "react/index"),COMMENT
LOWmobile/.maestro/scripts/stream-preview-run.sh1#!/usr/bin/env bashCOMMENT
LOWmobile/.maestro/flows/99-stress-jetsam-leak.yaml1appId: ${MAESTRO_APP_ID}COMMENT
LOWmobile/.maestro/flows/99-stress-jetsam-foreground.yaml1appId: ${MAESTRO_APP_ID}COMMENT
LOWmobile/scripts/runner-cleanup.sh1#!/bin/bashCOMMENT
LOWmobile/scripts/runner-cleanup.sh21# * ~/.android/avd (any configured emulators)COMMENT
LOWmobile/scripts/setup-runner.sh1#!/bin/bashCOMMENT
LOWmobile/scripts/setup-runner.sh21# (sudo xcodebuild -license accept will be run by this script too.)COMMENT
LOWmobile/scripts/setup-runner.sh41# GH_RUNNER_TOKEN - short-lived registration token fromCOMMENT
LOWmobile/scripts/stress-test/run-jetsam-test.sh1#!/usr/bin/env bashCOMMENT
LOWmobile/modules/jspolyfill/src/startup.ts861 if (bits >= 8) {COMMENT
LOW…e/modules/bluetooth-sdk/ios/Source/DeviceManager.swift1//COMMENT
LOW…ile/modules/bluetooth-sdk/ios/Source/Bridging-Header.h1//COMMENT
LOW…ios/Source/internal/BluetoothSdkAnalyticsTracker.swift21 let name: StringCOMMENT
LOW…les/bluetooth-sdk/ios/Source/utils/JSCExperiment.swift1//COMMENT
488 more matches not shown…
Structural Annotation Overuse49 hits · 100 pts
SeverityFileLineSnippetContext
LOW⚡agents/ai-denoising-plan.md158// Step 1: Lens distortion correction (existing)COMMENT
LOW⚡agents/ai-denoising-plan.md159// Step 2: AI denoising (NEW)COMMENT
LOW⚡agents/ai-denoising-plan.md164// Step 3: Tone mapping (existing)COMMENT
LOW⚡agents/ai-denoising-plan.md165// Step 4: Color correction (existing)COMMENT
LOW⚡agents/ai-denoising-plan.md219// Step 1: Lens distortion correction (existing)COMMENT
LOW⚡agents/ai-denoising-plan.md220// Step 2: AI denoising (NEW)COMMENT
LOW⚡agents/ai-denoising-plan.md224// Step 3: Tone mapping (existing)COMMENT
LOW⚡agents/ai-denoising-plan.md225// Step 4: Vibrance (existing)COMMENT
LOW⚡agents/ai-denoising-plan.md226// Step 5: Color correction (existing)COMMENT
LOW⚡mobile/scripts/setup-ios.sh91 # Step 1: Install npm dependenciesCOMMENT
LOW⚡mobile/scripts/setup-ios.sh96 # Step 2: Run expo prebuildCOMMENT
LOW⚡mobile/scripts/setup-ios.sh101 # Step 3: Install CocoaPods dependenciesCOMMENT
LOWmobile/scripts/setup-ios.sh119 # Step 4: Open Xcode workspaceCOMMENT
LOWmobile/scripts/old/fix-android-build.sh18# Step 1: Clean all build artifacts, caches, and lock filesCOMMENT
LOW⚡mobile/scripts/old/fix-android-build.sh35# Step 2: Install dependencies with clean slateCOMMENT
LOW⚡mobile/scripts/old/fix-android-build.sh40# Step 3: Verify dependencies are healthyCOMMENT
LOW⚡mobile/scripts/old/fix-android-build.sh49# Step 4: Prebuild with ExpoCOMMENT
LOW⚡mobile/scripts/old/fix-android-build.sh54# Step 5: Fix React Native symlinksCOMMENT
LOW⚡mobile/scripts/old/fix-android-build.sh90# Step 6: Clean Gradle cacheCOMMENT
LOW⚡mobile/scripts/old/fix-android-build.sh95# Step 7: Final dependency checkCOMMENT
LOW⚡mobile/scripts/old/fix-android-build.sh103# Step 8: Build AndroidCOMMENT
LOW⚡…le/modules/crust/ios/Source/utils/ImageProcessor.swift66 // Step 1: Lens distortion correctionCOMMENT
LOW⚡…le/modules/crust/ios/Source/utils/ImageProcessor.swift71 // Step 2: Tone mapping — S-curve + vibranceCOMMENT
LOW⚡…le/modules/crust/ios/Source/utils/ImageProcessor.swift77 // Step 3: Color correction — linear warmth/tintCOMMENT
LOW⚡…c/main/java/com/mentra/crust/utils/ImageProcessor.java157 // Step 1: Lens distortion correctionCOMMENT
LOW⚡…c/main/java/com/mentra/crust/utils/ImageProcessor.java165 // Step 2: Tone mapping + vibrance + color correction in linear spaceCOMMENT
LOWmobile/src/app/miniapps/settings/profile.tsx71 // Step 1: Initial warningCOMMENT
LOWmobile/src/app/miniapps/settings/profile.tsx82 // Step 2: Generic confirmation - delay to let first modal closeCOMMENT
LOWmobile/src/app/miniapps/settings/profile.tsx94 // Step 3: Final severe warning - delay to let second modal closeCOMMENT
LOWmobile/src/app/auth/signup.tsx129 // Step 1: Email inputCOMMENT
LOWmobile/src/app/auth/signup.tsx173 // Step 2: Password + Confirm passwordCOMMENT
LOWmobile/src/utils/LogoutUtils.ts23 // Step 1: Invalidate both local credential owners before waiting forCOMMENT
LOW⚡mobile/src/utils/LogoutUtils.ts64 // Step 2: Let that unmount actually commit before destroying what it wasCOMMENT
LOW⚡mobile/src/utils/LogoutUtils.ts69 // Step 3: Disconnect and forget any connected glassesCOMMENT
LOW⚡mobile/src/utils/LogoutUtils.ts72 // Step 4: Stop island runtime servicesCOMMENT
LOW⚡mobile/src/utils/LogoutUtils.ts75 // Step 5: Clear all app settings and user dataCOMMENT
LOW⚡mobile/src/utils/LogoutUtils.ts78 // Step 6: Clear any remaining auth-related storageCOMMENT
LOW⚡mobile/src/utils/LogoutUtils.ts81 // Step 7: Reset status providers and event emittersCOMMENT
LOW⚡…rc/components/navigation/SnapshotTransitionOverlay.tsx51 // Step 1: Capture the current viewCOMMENT
LOW⚡…rc/components/navigation/SnapshotTransitionOverlay.tsx58 // Step 2: Show the overlay with the old snapshotCOMMENT
LOW⚡…rc/components/navigation/SnapshotTransitionOverlay.tsx63 // Step 3: Perform the navigation (user still sees old snapshot)COMMENT
LOW⚡…rc/components/navigation/SnapshotTransitionOverlay.tsx66 // Step 4: Wait a frame for navigation to complete, then capture new viewCOMMENT
LOW⚡…rc/components/navigation/SnapshotTransitionOverlay.tsx76 // Step 5: Set the new snapshotCOMMENT
LOW⚡…rc/components/navigation/SnapshotTransitionOverlay.tsx79 // Step 6: Animate the transitionCOMMENT
LOWcloud-v2/tests/account-auth.integration.test.ts387 // Step 1: request. Issues a code to the new address, applies NOTHING yet.COMMENT
LOWcloud-v2/tests/account-auth.integration.test.ts398 // Step 2: a valid code (minted via the same service the email uses) applies it.COMMENT
LOW…d-v2/docs/runbooks/incident-response/pod-crash-loop.md24### Step 1: What was the exit code?COMMENT
LOW…d-v2/docs/runbooks/incident-response/pod-crash-loop.md37### Step 2: Look at the logs leading up to the crashCOMMENT
LOW…d-v2/docs/runbooks/incident-response/pod-crash-loop.md56### Step 3: Was a deploy just rolling?COMMENT
Verbosity Indicators37 hits · 76 pts
SeverityFileLineSnippetContext
LOW⚡mobile/scripts/setup-ios.sh91 # Step 1: Install npm dependenciesCOMMENT
LOW⚡mobile/scripts/setup-ios.sh96 # Step 2: Run expo prebuildCOMMENT
LOW⚡mobile/scripts/setup-ios.sh101 # Step 3: Install CocoaPods dependenciesCOMMENT
LOWmobile/scripts/setup-ios.sh119 # Step 4: Open Xcode workspaceCOMMENT
LOWmobile/scripts/old/fix-android-build.sh18# Step 1: Clean all build artifacts, caches, and lock filesCOMMENT
LOW⚡mobile/scripts/old/fix-android-build.sh35# Step 2: Install dependencies with clean slateCOMMENT
LOW⚡mobile/scripts/old/fix-android-build.sh40# Step 3: Verify dependencies are healthyCOMMENT
LOW⚡mobile/scripts/old/fix-android-build.sh49# Step 4: Prebuild with ExpoCOMMENT
LOW⚡mobile/scripts/old/fix-android-build.sh54# Step 5: Fix React Native symlinksCOMMENT
LOW⚡mobile/scripts/old/fix-android-build.sh90# Step 6: Clean Gradle cacheCOMMENT
LOW⚡mobile/scripts/old/fix-android-build.sh95# Step 7: Final dependency checkCOMMENT
LOW⚡mobile/scripts/old/fix-android-build.sh103# Step 8: Build AndroidCOMMENT
LOW⚡…le/modules/crust/ios/Source/utils/ImageProcessor.swift66 // Step 1: Lens distortion correctionCOMMENT
LOW⚡…le/modules/crust/ios/Source/utils/ImageProcessor.swift71 // Step 2: Tone mapping — S-curve + vibranceCOMMENT
LOW⚡…le/modules/crust/ios/Source/utils/ImageProcessor.swift77 // Step 3: Color correction — linear warmth/tintCOMMENT
LOW⚡…c/main/java/com/mentra/crust/utils/ImageProcessor.java157 // Step 1: Lens distortion correctionCOMMENT
LOW⚡…c/main/java/com/mentra/crust/utils/ImageProcessor.java165 // Step 2: Tone mapping + vibrance + color correction in linear spaceCOMMENT
LOWmobile/src/app/miniapps/settings/profile.tsx71 // Step 1: Initial warningCOMMENT
LOWmobile/src/app/miniapps/settings/profile.tsx82 // Step 2: Generic confirmation - delay to let first modal closeCOMMENT
LOWmobile/src/app/miniapps/settings/profile.tsx94 // Step 3: Final severe warning - delay to let second modal closeCOMMENT
LOWmobile/src/app/auth/signup.tsx129 // Step 1: Email inputCOMMENT
LOWmobile/src/app/auth/signup.tsx173 // Step 2: Password + Confirm passwordCOMMENT
LOWmobile/src/utils/LogoutUtils.ts23 // Step 1: Invalidate both local credential owners before waiting forCOMMENT
LOW⚡mobile/src/utils/LogoutUtils.ts64 // Step 2: Let that unmount actually commit before destroying what it wasCOMMENT
LOW⚡mobile/src/utils/LogoutUtils.ts69 // Step 3: Disconnect and forget any connected glassesCOMMENT
LOW⚡mobile/src/utils/LogoutUtils.ts72 // Step 4: Stop island runtime servicesCOMMENT
LOW⚡mobile/src/utils/LogoutUtils.ts75 // Step 5: Clear all app settings and user dataCOMMENT
LOW⚡mobile/src/utils/LogoutUtils.ts78 // Step 6: Clear any remaining auth-related storageCOMMENT
LOW⚡mobile/src/utils/LogoutUtils.ts81 // Step 7: Reset status providers and event emittersCOMMENT
LOW⚡…rc/components/navigation/SnapshotTransitionOverlay.tsx51 // Step 1: Capture the current viewCOMMENT
LOW⚡…rc/components/navigation/SnapshotTransitionOverlay.tsx58 // Step 2: Show the overlay with the old snapshotCOMMENT
LOW⚡…rc/components/navigation/SnapshotTransitionOverlay.tsx63 // Step 3: Perform the navigation (user still sees old snapshot)COMMENT
LOW⚡…rc/components/navigation/SnapshotTransitionOverlay.tsx66 // Step 4: Wait a frame for navigation to complete, then capture new viewCOMMENT
LOW⚡…rc/components/navigation/SnapshotTransitionOverlay.tsx76 // Step 5: Set the new snapshotCOMMENT
LOW⚡…rc/components/navigation/SnapshotTransitionOverlay.tsx79 // Step 6: Animate the transitionCOMMENT
LOWcloud-v2/tests/account-auth.integration.test.ts387 // Step 1: request. Issues a code to the new address, applies NOTHING yet.COMMENT
LOWcloud-v2/tests/account-auth.integration.test.ts398 // Step 2: a valid code (minted via the same service the email uses) applies it.COMMENT
Empty Error Handlers14 hits · 70 pts
SeverityFileLineSnippetContext
HIGHmobile/e2e-tests/scripts/live_word_monitor.py324except Exception:CODE
HIGHmobile/e2e-tests/scripts/live_word_monitor.py2164except (BrokenPipeError, ConnectionResetError):CODE
HIGHmobile/e2e-tests/scripts/live_word_monitor.py2251except (BrokenPipeError, ConnectionResetError):CODE
HIGHmobile/e2e-tests/scripts/live_word_monitor.py2198except (BrokenPipeError, ConnectionResetError):CODE
HIGHmobile/e2e-tests/scripts/live_word_monitor.py1306except (ValueError, TypeError):CODE
HIGHexamples/bluetooth/local-demo-cloud/server.py90except OSError:CODE
HIGHexamples/bluetooth/photo-webhook-server/server.py126except OSError:CODE
HIGHexamples/bluetooth/photo-webhook-server/server.py133except OSError:CODE
HIGHexamples/bluetooth/photo-webhook-server/server.py337except (BrokenPipeError, ConnectionResetError):CODE
HIGH…loy/azure/enterprise-reference/installer/test_setup.py278except RuntimeError:CODE
HIGH…2/deploy/azure/enterprise-reference/installer/setup.py1965except SetupError:CODE
HIGH…2/deploy/azure/enterprise-reference/installer/setup.py828except ValueError:CODE
HIGH…2/deploy/azure/enterprise-reference/installer/setup.py1203except (OSError, http.client.HTTPException, ValueError, AttributeError):CODE
HIGH…2/deploy/azure/enterprise-reference/installer/setup.py789except ValueError:CODE
AI Slop Vocabulary12 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUM.gitguardian.yaml7 # Fake handshake token in the StreamPreview test harness; never a credential.COMMENT
MEDIUM.gitguardian.yaml10 # SHA-256 of the earlier StreamPreview harness token fixture (GitGuardian incident 37534669).COMMENT
MEDIUMmobile/.maestro/flows/99-stress-jetsam-background.yaml7# Mount N dummies, then send the app to background. The harness's dwellCOMMENT
MEDIUMmobile/.maestro/flows/99-stress-jetsam-leak.yaml42# Leave the screen alive so the harness's dwell timer can collect samples.COMMENT
MEDIUMmobile/.maestro/flows/99-stress-jetsam-leak.yaml43# The harness will tear down via app launch state on the next run.COMMENT
MEDIUMmobile/.maestro/flows/99-stress-jetsam-long.yaml7# Mount N dummies, then send the app to background. The harness's dwellCOMMENT
MEDIUMmobile/.maestro/flows/99-stress-jetsam-foreground.yaml42# Leave the screen alive so the harness's dwell timer can collect samples.COMMENT
MEDIUMmobile/.maestro/flows/99-stress-jetsam-foreground.yaml43# The harness will tear down via app launch state on the next run.COMMENT
MEDIUMmobile/src/contexts/AuthContext.tsx98 // chooses the consumer path. Preserve seamless upgrades for alreadyCOMMENT
MEDIUMmobile/src/effects/Compositor.tsx303 // is seamless. Clamp the seed so a violent flick doesn't overshoot.COMMENT
MEDIUMcloud-v2/tests/soniox.integration.test.ts112 // robust word checks, not an exact match (STT punctuation/casing varies)COMMENT
MEDIUM…ackages/runtime/src/services/audio/providers/soniox.ts201 // Soniox identify even when hinted is robust to user accent / code-switch.)COMMENT
Fake / Example Data25 hits · 26 pts
SeverityFileLineSnippetContext
LOW…s/navigation/src/background/managers/DisplayManager.ts195 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec venenatis vulputate lorem. Maecenas vestibulum molCODE
LOW…s/navigation/src/background/managers/DisplayManager.ts195 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec venenatis vulputate lorem. Maecenas vestibulum molCODE
LOWagents/miniapp-store-backend-plan.md334 "allowlist": ["user@example.com", "..."] // required when policy=ALLOWLISTCODE
LOWagents/tpa_triggers_wifi_setup_plan.md710 userId: "user@example.com",CODE
LOWagents/tpa_triggers_wifi_setup_plan.md765 userId: "user@example.com",CODE
LOWmobile/TEST_GALLERY_GUIDE.md74All test images are served from **picsum.photos** - a free Lorem Ipsum service for photos:CODE
LOWmobile/agents/notifications_restoration_plan.md398 "title": "John Doe",CODE
LOWmobile/agents/notifications_restoration_plan.md412 "title": "John Doe",CODE
LOW…droid/src/main/java/com/mentra/bluetoothsdk/sgcs/G1.kt3689 val text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore CODE
LOW…droid/src/main/java/com/mentra/bluetoothsdk/sgcs/G1.kt3689 val text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore CODE
LOW…ine/src/services/__tests__/MentraJSLogPipeline.test.ts21 expect(redactSecrets("user@example.com")).toBe("user@example.com")CODE
LOWmobile/assets/icons/tabler/glyph-map.json3705 "placeholder": 63014,CODE
LOWmobile/src/components/glasses/Gallery/GalleryScreen.tsx73 type: "server" | "local" | "placeholder"CODE
LOWmobile/src/components/glasses/Gallery/GalleryScreen.tsx982 type: "placeholder" as const,CODE
LOWsdk/miniapp-cli/src/qr.test.ts58 writeFileSync(outPath, 'placeholder', {mode: 0o644});CODE
LOW⚡…loy/azure/enterprise-reference/installer/test_setup.py670 setup.update_configuration(self.directory, self.config, self.state, coreAdminEmails='admin@example.com')CODE
LOW⚡…loy/azure/enterprise-reference/installer/test_setup.py674 self.assertEqual(config['coreAdminEmails'], 'admin@example.com')CODE
LOWcloud-v2/tests/miniapp-registry.integration.test.ts275const by = {reason: "test", createdBy: "admin@example.com"}CODE
LOW…oud-v2/tests/client-workspaces-api.integration.test.ts200 const ws = await workspaceWithOwner("Acme Corp")CODE
LOW…oud-v2/tests/client-workspaces-api.integration.test.ts205 workspace: {workspaceId: ws, name: "Acme Corp", role: "developer", membershipId: "wm_mu_dev"},CODE
LOWcloud-v2/tests/registry-service-api.integration.test.ts240const by = {reason: "test", createdBy: "admin@example.com"}CODE
LOW…ges/workspace-contract/src/forwarded-principal.test.ts34 email: "admin@example.com",CODE
LOW…-v2/packages/runtime/src/services/audio/result.test.ts19 mentraUserId: "user@example.com",CODE
LOW…oud-v2/packages/console-mcp/test/id-resolution.test.ts18 mentraUserId: "user@example.com",CODE
LOWcloud-v2/packages/workspace-ui/src/test-dom.tsx131const SPOKEN_ATTRIBUTES = ["aria-label", "aria-description", "aria-roledescription", "aria-valuetext", "aria-placeholderCODE
Modern AI Meta-Vocabulary9 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMagents/miniapp-sdk-overview.md208bunx create-mentra-miniapp my-app # scaffoldCODE
MEDIUM…superpowers/plans/2026-08-26-public-hotspot-ota-api.md130### Task 1: Move orchestration into `useMentraLiveOta`COMMENT
MEDIUM…owers/plans/2026-08-27-cloud-v2-coordinated-release.md113## Phase 2: Dev and beta orchestrationCOMMENT
MEDIUM…owers/plans/2026-08-27-cloud-v2-coordinated-release.md165## Phase 3: Production orchestrationCOMMENT
MEDIUM…les/bluetooth-sdk/ios/Source/utils/JSCExperiment.swift34/// idevicesyslog is unreliable. The Documents file is the agentic-testCOMMENT
MEDIUMmobile/modules/miniapp/src/sub-path-types.test-d.ts55// ----- compile-time guardrails ------------------------------------------COMMENT
MEDIUM…sues/020-glasses-status-boundary/integration-review.md237## Residual scaffolding (reconciled from the PR #3298 review)COMMENT
MEDIUM…sues/020-glasses-status-boundary/integration-review.md239PR #3298 (`notes/pr3167-island-scaffolding-review.md`, written against #3167 atCODE
MEDIUMcloud-v2/docs/issues/004-cloud-client/design.md55 runtime.ts # cloud.runtime: the RuntimeModule, orchestrates the restCODE
Deep Nesting28 hits · 22 pts
SeverityFileLineSnippetContext
LOWmobile/ci/pr-ios/keychain-search.py24CODE
LOWmobile/ci/pr-ios/test_artifacts.py15CODE
LOWmobile/ci/pr-ios/test_artifacts.py27CODE
LOWmobile/ci/pr-ios/test_mac_installer.py121CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py449CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py524CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py1084CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py1287CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py1712CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py1820CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py1872CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py1989CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py2105CODE
LOWexamples/bluetooth/local-demo-cloud/server.py313CODE
LOWexamples/bluetooth/photo-webhook-server/server.py309CODE
LOW.github/scripts/repackage-pr-apk.py19CODE
LOW.github/scripts/repackage-pr-apk.py75CODE
LOW.github/scripts/ios-build-timeline.py75CODE
LOW…loy/azure/enterprise-reference/installer/test_setup.py155CODE
LOW…2/deploy/azure/enterprise-reference/installer/setup.py756CODE
LOW…2/deploy/azure/enterprise-reference/installer/setup.py1028CODE
LOW…2/deploy/azure/enterprise-reference/installer/setup.py1193CODE
LOW…2/deploy/azure/enterprise-reference/installer/setup.py1461CODE
LOW…2/deploy/azure/enterprise-reference/installer/setup.py1539CODE
LOW…2/deploy/azure/enterprise-reference/installer/setup.py1564CODE
LOW…2/deploy/azure/enterprise-reference/installer/setup.py1779CODE
LOW…2/deploy/azure/enterprise-reference/installer/setup.py2496CODE
LOW…2/deploy/azure/enterprise-reference/installer/setup.py2541CODE
Excessive Try-Catch Wrapping20 hits · 19 pts
SeverityFileLineSnippetContext
LOWmobile/ci/pr-ios/mac_installer.py55 except Exception as error:CODE
LOWmobile/ci/pr-ios/mac_installer.py113 except Exception:CODE
MEDIUMmobile/ci/pr-ios/mac_installer.py63def run(*arguments, input=None, private=False, timeout=180):CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py324 except Exception:CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py373 except Exception:CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py1273 except Exception as exc:CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py1284 except Exception as exc:CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py1661 except Exception as exc:CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py1746 except Exception as exc:CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py1981 except Exception as exc:CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py2101 except Exception as exc:CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py2137 except Exception as exc:CODE
LOWmobile/scripts/stress-test/run-jetsam-test.sh248 except Exception:CODE
LOWexamples/bluetooth/photo-webhook-server/server.py230 except Exception as error: # noqa: BLE001 - demo server should return readable errors.CODE
LOWscripts/local-stream/watch-local-stream-stats.sh72except Exception:CODE
LOWscripts/local-stream/watch-local-stream-stats.sh144except Exception:CODE
LOWscripts/local-stream/start-local-stream.sh94 except Exception:CODE
LOWscripts/local-stream/start-local-stream.sh121 except Exception:CODE
LOWscripts/local-stream/start-local-stream.sh164 except Exception:CODE
MEDIUM…ploy/azure/enterprise-reference/installer/bootstrap.sh44 print('Error: ' + message, file=sys.stderr)CODE
Redundant / Tautological Comments11 hits · 17 pts
SeverityFileLineSnippetContext
LOWagents/xiaomi_glasses_wifi_capture.sh22 # Check if this line contains WiFi credentialsCOMMENT
LOWmobile/scripts/trim-transparent-borders.sh14# Check if ImageMagick is installedCOMMENT
LOWmobile/scripts/trim-transparent-borders.sh26# Check if directory existsCOMMENT
LOWmobile/scripts/setup-ios.sh170 # Check if we're in the right directoryCOMMENT
LOWmobile/scripts/setup-sherpa-onnx-optional.sh9# Check if we're in a "scripts" directoryCOMMENT
LOWmobile/scripts/old/fix-android-build.sh2# Check if we're in a "scripts" directoryCOMMENT
LOW⚡mobile/scripts/old/fix-android-build.sh108# Check if build was successfulCOMMENT
LOWmobile/scripts/old/fix-react-native-symlinks.sh2# Check if we're in a "scripts" directoryCOMMENT
LOWmobile/scripts/old/fix-react-native-symlinks.sh25# Check if node_modules existsCOMMENT
LOWmobile/scripts/old/fixXcodeCompletely.sh3# Check if we're in a "scripts" directoryCOMMENT
LOW.github/workflows/mentra-asg-client-build.yml461 # Check if retry succeeded by looking for the APKCOMMENT
Unused Imports12 hits · 12 pts
SeverityFileLineSnippetContext
LOWmobile/ci/pr-ios/test_repackage.py9CODE
LOWmobile/e2e-tests/scripts/live_word_monitor.py6CODE
LOW…ndroid/lc3Lib/src/main/cpp/liblc3/rnnoise/rnn_train.py3CODE
LOW…ndroid/lc3Lib/src/main/cpp/liblc3/rnnoise/rnn_train.py5CODE
LOW…ndroid/lc3Lib/src/main/cpp/liblc3/rnnoise/rnn_train.py9CODE
LOW…ndroid/lc3Lib/src/main/cpp/liblc3/rnnoise/rnn_train.py11CODE
LOW…ndroid/lc3Lib/src/main/cpp/liblc3/rnnoise/rnn_train.py12CODE
LOW…ndroid/lc3Lib/src/main/cpp/liblc3/rnnoise/rnn_train.py13CODE
LOW…ndroid/lc3Lib/src/main/cpp/liblc3/rnnoise/rnn_train.py16CODE
LOWexamples/bluetooth/local-demo-cloud/server.py4CODE
LOWexamples/bluetooth/photo-webhook-server/server.py4CODE
LOW.github/scripts/ios-build-timeline.py13CODE
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…2/deploy/azure/enterprise-reference/installer/setup.py1034 command = f'''bun -e "console.log('MENTRA_SCRIPT_READY'); const rl=require('node:readline').createInterface({{input:CODE
HIGH…2/deploy/azure/enterprise-reference/installer/setup.py2116 '$existing = try { Get-CsApplicationAccessPolicy -Identity MentraMeetings } catch { $null }',CODE
Example Usage Blocks7 hits · 10 pts
SeverityFileLineSnippetContext
LOWmobile/scripts/runner-cleanup.sh30# Usage:COMMENT
LOWmobile/scripts/setup-runner.sh66# Usage:COMMENT
LOWmobile/scripts/stress-test/run-jetsam-test.sh13# Usage:COMMENT
LOWmobile/src/utils/dev/debugging.tsx291// Example usage:COMMENT
LOWmobile/src/theme/colorTools.ts109// Example usage:COMMENT
LOWscripts/fetch-incident-logs.sh8# Usage:COMMENT
LOWscripts/local-stream/watch-local-stream-stats.sh5# Usage:COMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMcloud-v2/doppler.yaml8# This file is checked in. It contains NO secrets — only project pointer.COMMENT
MEDIUM…e/enterprise-reference/scripts/ensure-vault-secrets.sh4# Create the deployment's signing keys directly in Key Vault, exactly once.COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…bile/modules/bluetooth-sdk/ios/Source/sgcs/Mach1.swift545 // // don't forget to commit, this is a common mistake.COMMENT
Modern Structural Boilerplate1 hit · 0 pts
SeverityFileLineSnippetContext
LOWmobile/e2e-tests/scripts/live_word_monitor.py1535 def update_drop_tracking(self, device_id: str, device_state: MonitorDeviceState, utterance: UtteranceState | None, nCODE