Android application for Meshtastic
This report presents the forensic synthetic code analysis of meshtastic/Meshtastic-Android, a Kotlin project with 1,728 GitHub stars. SynthScan v2.0 examined 479,403 lines of code across 3569 source files, recording 343 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 2.9 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 343 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …in/org/meshtastic/core/ui/component/NodeItemCompact.kt | 523 | val nowSeconds = org.meshtastic.core.common.util.nowSeconds.toInt() | CODE |
| CRITICAL | …lin/org/meshtastic/core/ui/component/ContactSharing.kt | 51 | org.meshtastic.core.ui.share.SharedContactDialog(sharedContact = sharedContact, onDismiss = onDismiss) | CODE |
| CRITICAL | …in/kotlin/org/meshtastic/core/ui/util/PlatformUtils.kt | 129 | androidx.activity.result.contract.ActivityResultContracts.StartActivityForResult(), | CODE |
| CRITICAL | …in/kotlin/org/meshtastic/core/ui/util/PlatformUtils.kt | 203 | androidx.activity.result.contract.ActivityResultContracts.StartActivityForResult(), | CODE |
| CRITICAL | …in/org/meshtastic/core/takserver/TAKMeshIntegration.kt | 316 | val protoBytes = org.meshtastic.proto.TAKPacketV2.ADAPTER.encode(takPacketV2) | CODE |
| CRITICAL | …rg/meshtastic/core/network/radio/MockRadioTransport.kt | 225 | latitude_i = org.meshtastic.core.model.Position.degI(32.776665), | CODE |
| CRITICAL | …rg/meshtastic/core/network/radio/MockRadioTransport.kt | 226 | longitude_i = org.meshtastic.core.model.Position.degI(-96.796989), | CODE |
| CRITICAL | …rg/meshtastic/core/network/radio/MockRadioTransport.kt | 343 | latitude_i = org.meshtastic.core.model.Position.degI(lat), | CODE |
| CRITICAL | …rg/meshtastic/core/network/radio/MockRadioTransport.kt | 344 | longitude_i = org.meshtastic.core.model.Position.degI(lon), | CODE |
| CRITICAL | …eshtastic/core/data/repository/PacketRepositoryImpl.kt | 549 | private fun org.meshtastic.core.database.dao.PacketDao.getAllWaypointsFlow(): Flow<List<RoomPacket>> = | CODE |
| CRITICAL | …eshtastic/core/data/repository/PacketRepositoryImpl.kt | 604 | time = org.meshtastic.core.model.util.getShortDateTime(packet.data.time), | CODE |
| CRITICAL | …tic/core/data/manager/MeshConfigFlowManagerImplTest.kt | 336 | val testNode = org.meshtastic.core.testing.TestDataFactory.createTestNode(num = 100) | CODE |
| CRITICAL | …tic/core/data/manager/MeshConfigFlowManagerImplTest.kt | 369 | val testNode = org.meshtastic.core.testing.TestDataFactory.createTestNode(num = 100) | CODE |
| CRITICAL | …tic/core/data/manager/MeshConfigFlowManagerImplTest.kt | 503 | val testNode = org.meshtastic.core.testing.TestDataFactory.createTestNode(num = 100) | CODE |
| CRITICAL | …tic/core/data/manager/MeshConfigFlowManagerImplTest.kt | 699 | val testNode = org.meshtastic.core.testing.TestDataFactory.createTestNode(num = 100) | CODE |
| CRITICAL | …tic/core/data/manager/MeshConfigFlowManagerImplTest.kt | 727 | val testNode = org.meshtastic.core.testing.TestDataFactory.createTestNode(num = 100) | CODE |
| CRITICAL | …tic/core/data/manager/MeshConfigFlowManagerImplTest.kt | 756 | val testNode = org.meshtastic.core.testing.TestDataFactory.createTestNode(num = 100) | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 134 | org.meshtastic.core.di.di.CoreDiModule().coreDiModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 135 | org.meshtastic.core.common.di.CoreCommonModule().coreCommonModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 136 | org.meshtastic.core.datastore.di.CoreDatastoreModule().coreDatastoreModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 137 | org.meshtastic.core.prefs.di.CorePrefsModule().corePrefsModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 138 | org.meshtastic.core.database.di.CoreDatabaseModule().coreDatabaseModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 139 | org.meshtastic.core.data.di.CoreDataModule().coreDataModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 140 | org.meshtastic.core.domain.di.CoreDomainModule().coreDomainModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 141 | org.meshtastic.core.repository.di.CoreRepositoryModule().coreRepositoryModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 142 | org.meshtastic.core.network.di.CoreNetworkModule().coreNetworkModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 143 | org.meshtastic.core.ble.di.CoreBleModule().coreBleModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 144 | org.meshtastic.core.ui.di.CoreUiModule().coreUiModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 145 | org.meshtastic.core.service.di.CoreServiceModule().coreServiceModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 146 | org.meshtastic.core.takserver.di.CoreTakServerModule().coreTakServerModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 147 | org.meshtastic.feature.settings.di.FeatureSettingsModule().featureSettingsModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 148 | org.meshtastic.feature.node.di.FeatureNodeModule().featureNodeModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 149 | org.meshtastic.feature.messaging.di.FeatureMessagingModule().featureMessagingModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 150 | org.meshtastic.feature.connections.di.FeatureConnectionsModule().featureConnectionsModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 151 | org.meshtastic.feature.map.di.FeatureMapModule().featureMapModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 152 | org.meshtastic.feature.discovery.di.FeatureDiscoveryModule().featureDiscoveryModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 153 | org.meshtastic.feature.firmware.di.FeatureFirmwareModule().featureFirmwareModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 154 | org.meshtastic.feature.docs.di.FeatureDocsModule().featureDocsModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 155 | org.meshtastic.feature.intro.di.FeatureIntroModule().featureIntroModule(), | CODE |
| CRITICAL⚡ | …/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt | 156 | org.meshtastic.feature.wifiprovision.di.FeatureWifiProvisionModule().featureWifiProvisionModule(), | CODE |
| CRITICAL | …ture/settings/radio/component/NetworkConfigItemList.kt | 294 | Config.NetworkConfig.ProtocolFlags.UDP_BROADCAST.value.inv() | CODE |
| CRITICAL | …tic/feature/settings/radio/RadioConfigViewModelTest.kt | 987 | RadioResponseResult.Error(org.meshtastic.core.resources.UiText.DynamicString("Fail")) | CODE |
| CRITICAL⚡ | …astic/feature/settings/debugging/DebugViewModelTest.kt | 144 | nodeRepository.setMyNodeInfo(org.meshtastic.core.testing.TestDataFactory.createMyNodeInfo(myNodeNum = 12345678)) | CODE |
| CRITICAL⚡ | …astic/feature/settings/debugging/DebugViewModelTest.kt | 150 | val before = org.meshtastic.core.common.util.nowInstant.toEpochMilliseconds() | CODE |
| CRITICAL⚡ | …astic/feature/settings/debugging/DebugViewModelTest.kt | 152 | val after = org.meshtastic.core.common.util.nowInstant.toEpochMilliseconds() | CODE |
| CRITICAL⚡ | …astic/feature/settings/debugging/DebugViewModelTest.kt | 156 | org.meshtastic.core.common.util.DateFormatter.formatShortDate(before), | CODE |
| CRITICAL⚡ | …astic/feature/settings/debugging/DebugViewModelTest.kt | 157 | org.meshtastic.core.common.util.DateFormatter.formatShortDate(after), | CODE |
| CRITICAL | …astic/feature/settings/debugging/DebugViewModelTest.kt | 175 | org.meshtastic.core.testing.TestDataFactory.createTestPacket( | CODE |
| CRITICAL | …stic/feature/firmware/FirmwareUpdateIntegrationTest.kt | 163 | FirmwareUpdateState.Error(org.meshtastic.core.resources.UiText.DynamicString("Transfer failed")), | CODE |
| CRITICAL | …/kotlin/org/meshtastic/feature/docs/ui/DocsPreviews.kt | 279 | org.meshtastic.feature.docs.model.DocPageContent( | CODE |
| CRITICAL | …rg/meshtastic/feature/node/detail/NodeDetailScreens.kt | 161 | val locationPermission = org.meshtastic.core.ui.util.rememberLocationPermissionState() | CODE |
| CRITICAL | …rg/meshtastic/feature/node/detail/NodeDetailScreens.kt | 162 | val openLocationSettings = org.meshtastic.core.ui.util.rememberOpenLocationSettings() | CODE |
| CRITICAL | …lin/org/meshtastic/feature/node/list/NodeListScreen.kt | 105 | val showToast = org.meshtastic.core.ui.util.rememberShowToastResource() | CODE |
| CRITICAL | …ain/kotlin/org/meshtastic/feature/messaging/Message.kt | 503 | org.meshtastic.feature.messaging.component.handleQuickChatAction( | CODE |
| CRITICAL | …App/src/main/kotlin/org/meshtastic/app/MainActivity.kt | 228 | org.meshtastic.app.map.node.NodeTrackMap( | CODE |
| CRITICAL⚡ | …App/src/main/kotlin/org/meshtastic/app/MainActivity.kt | 239 | org.meshtastic.app.map.traceroute.TracerouteMap( | CODE |
| CRITICAL⚡ | …App/src/main/kotlin/org/meshtastic/app/MainActivity.kt | 248 | org.meshtastic.app.map.discovery.DiscoveryMap(userLat, userLon, nodes, modifier) | CODE |
| CRITICAL⚡ | …App/src/main/kotlin/org/meshtastic/app/MainActivity.kt | 254 | org.meshtastic.app.map.node.NodeMapScreen(vm, onNavigateUp = onNavigateUp) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt | 90 | // ── Constants ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt | 104 | // ── Public API ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt | 212 | // ── Main Content ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt | 257 | // ── Search Bar ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt | 300 | // ── Category Tabs ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt | 332 | // ── Emoji Grid ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt | 451 | // ── Grid Item Model ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt | 527 | // ── Cell Components ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt | 609 | // ── Skin Tone Popup ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt | 637 | // ── Frequency Tracking ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt | 677 | // ── Previews ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kotlin/org/meshtastic/core/ui/emoji/EmojiRepository.kt | 58 | // ── JSON models (compact wire format) ────────────────────────────────────────── | COMMENT |
| MEDIUM | …kotlin/org/meshtastic/core/ui/emoji/EmojiRepository.kt | 71 | // ── Repository ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/org/meshtastic/core/repository/AdminController.kt | 38 | // ── Local configuration ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/org/meshtastic/core/repository/AdminController.kt | 51 | // ── Remote configuration ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/org/meshtastic/core/repository/AdminController.kt | 95 | // ── Remote queries ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/org/meshtastic/core/repository/AdminController.kt | 118 | // ── Device lifecycle ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/org/meshtastic/core/repository/AdminController.kt | 138 | // ── Batch edit ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …in/org/meshtastic/core/takserver/TAKMeshIntegration.kt | 159 | // ── Send: TAK client → mesh ───────────────────────────────────────────── | COMMENT |
| MEDIUM | …in/org/meshtastic/core/takserver/TAKMeshIntegration.kt | 323 | // ── Receive: mesh → TAK client ────────────────────────────────────────── | COMMENT |
| MEDIUM | …t/kotlin/org/meshtastic/core/takserver/XmlUtilsTest.kt | 24 | // ── xmlEscaped ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …t/kotlin/org/meshtastic/core/takserver/XmlUtilsTest.kt | 62 | // ── geoChatSenderUid ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …t/kotlin/org/meshtastic/core/takserver/XmlUtilsTest.kt | 80 | // ── geoChatMessageId ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt | 76 | // ── Fakes ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt | 332 | // ── Helpers ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt | 351 | // ── Lifecycle tests ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt | 393 | // ── TAK-Talk strip preservation (regression) ──────────────────────────── | COMMENT |
| MEDIUM | …rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt | 426 | // ── Inbound mesh → TAK client (V1) ────────────────────────────────────── | COMMENT |
| MEDIUM | …rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt | 455 | // ── Firmware gating ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt | 496 | // ── GeoChat callsign enrichment ────────────────────────────────────────── | COMMENT |
| MEDIUM | …rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt | 522 | // ── Helpers ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …otlin/org/meshtastic/core/takserver/TAKDefaultsTest.kt | 28 | // ── toTakTeamName ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …otlin/org/meshtastic/core/takserver/TAKDefaultsTest.kt | 56 | // ── toTakRoleName ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …otlin/org/meshtastic/core/takserver/TAKDefaultsTest.kt | 89 | // ── toTakCallsign ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …otlin/org/meshtastic/core/takserver/TAKDefaultsTest.kt | 109 | // ── keepalive / idle timeout constants ───────────────────────────────────── | COMMENT |
| MEDIUM | …est/kotlin/org/meshtastic/core/takserver/CoTXmlTest.kt | 27 | // ── PLI round-trip ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …est/kotlin/org/meshtastic/core/takserver/CoTXmlTest.kt | 64 | // ── Chat round-trip ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …est/kotlin/org/meshtastic/core/takserver/CoTXmlTest.kt | 88 | // ── XML escaping ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …est/kotlin/org/meshtastic/core/takserver/CoTXmlTest.kt | 108 | // ── Structure ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/org/meshtastic/core/takserver/TAKServerManagerTest.kt | 169 | // ── T076: Port conflict / start failure ───────────────────────────────────── | COMMENT |
| MEDIUM | …e/network/radio/BleRadioTransportReconnectCrashTest.kt | 99 | // ─── close() triggers disconnect ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …e/network/radio/BleRadioTransportReconnectCrashTest.kt | 138 | // ─── disconnect called on connection failure ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …e/network/radio/BleRadioTransportReconnectCrashTest.kt | 179 | // ─── transient onDisconnect after failure threshold ────────────────────────────────────────── | COMMENT |
| MEDIUM | …e/network/radio/BleRadioTransportReconnectCrashTest.kt | 226 | // ─── CancellationException is not silently swallowed ───────────────────────────────────────── | COMMENT |
| MEDIUM | …e/network/radio/BleRadioTransportReconnectCrashTest.kt | 275 | // ─── Reconnect after a stable connection drops ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | …e/network/radio/BleRadioTransportReconnectCrashTest.kt | 337 | // ─── Session-failure recovery ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …e/network/radio/BleRadioTransportReconnectCrashTest.kt | 559 | // ─── Liveness restart semantics ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …e/network/radio/BleRadioTransportReconnectCrashTest.kt | 623 | // ─── Profile setup failure returns Failed outcome and retries ────────────────────────────────── | COMMENT |
| MEDIUM | …e/network/radio/BleRadioTransportReconnectCrashTest.kt | 716 | // ─── Read-path session-failure recovery (fromRadio fatal) ────────────────────────────────────── | COMMENT |
| MEDIUM | …e/network/radio/BleRadioTransportReconnectCrashTest.kt | 838 | // ─── FROMNUM subscription readiness setup failures ─────────────────────────────────────────── | COMMENT |
| MEDIUM | …e/network/radio/BleRadioTransportReconnectCrashTest.kt | 949 | // ─── Connected-gate timeout cleanup ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …e/network/radio/BleRadioTransportReconnectCrashTest.kt | 1042 | // ─── Bonded fresh-advertisement discovery ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …e/network/radio/BleRadioTransportReconnectCrashTest.kt | 1177 | // ─── Test doubles ──────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …lin/org/meshtastic/core/service/AdminControllerImpl.kt | 60 | // ── Owner ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …lin/org/meshtastic/core/service/AdminControllerImpl.kt | 92 | // ── Configuration ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …lin/org/meshtastic/core/service/AdminControllerImpl.kt | 130 | // ── Channels ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …lin/org/meshtastic/core/service/AdminControllerImpl.kt | 150 | // ── Ringtone & Canned Messages ───────────────────────────────────────── | COMMENT |
| MEDIUM | …lin/org/meshtastic/core/service/AdminControllerImpl.kt | 176 | // ── Position ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …lin/org/meshtastic/core/service/AdminControllerImpl.kt | 182 | // ── Device Status & Lifecycle ─────────────────────────────────────────── | COMMENT |
| MEDIUM | …lin/org/meshtastic/core/service/AdminControllerImpl.kt | 219 | // ── Edit Settings (transactional) ─────────────────────────────────────── | COMMENT |
| 94 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | specs/006-kmp-project-structure/quickstart.md | 13 | ### Step 1: Harden convention plugin defaults | COMMENT |
| LOW | specs/006-kmp-project-structure/quickstart.md | 35 | ### Step 2: Migrate Tier 1 modules (minimal — 6 modules) | COMMENT |
| LOW | specs/006-kmp-project-structure/quickstart.md | 65 | ### Step 3: Migrate Tier 2 modules (withHostTest — 18 modules) | COMMENT |
| LOW | specs/006-kmp-project-structure/quickstart.md | 104 | ### Step 4: Migrate Tier 3 modules (special — 3 modules) | COMMENT |
| LOW | specs/006-kmp-project-structure/quickstart.md | 143 | ### Step 5: Full verification | COMMENT |
| LOW | specs/006-kmp-project-structure/quickstart.md | 166 | ### Step 6: Validate success criteria | COMMENT |
| LOW⚡ | specs/20260520-153412-nav-tab-labels/quickstart.md | 12 | ### Step 1: Add String Resources | COMMENT |
| LOW⚡ | specs/20260520-153412-nav-tab-labels/quickstart.md | 22 | ### Step 2: Rename Enum Entries | COMMENT |
| LOW⚡ | specs/20260520-153412-nav-tab-labels/quickstart.md | 30 | ### Step 3: Update All References | COMMENT |
| LOW | specs/20260520-153412-nav-tab-labels/quickstart.md | 42 | ### Step 4: Verify | COMMENT |
| LOW | …260511-211823-compose-screenshot-testing/quickstart.md | 12 | ## Step 1: Create a Preview Composable | COMMENT |
| LOW | …260511-211823-compose-screenshot-testing/quickstart.md | 38 | ## Step 2: Add a Screenshot Test Wrapper | COMMENT |
| LOW⚡ | …260511-211823-compose-screenshot-testing/quickstart.md | 58 | ## Step 3: Generate Reference Images | COMMENT |
| LOW⚡ | …260511-211823-compose-screenshot-testing/quickstart.md | 66 | ## Step 4: Validate | COMMENT |
| LOW⚡ | …260511-211823-compose-screenshot-testing/quickstart.md | 74 | ## Step 5: Commit Reference Images | COMMENT |
| LOW | specs/20260520-153504-udp-label-rename/quickstart.md | 15 | ### Step 1: Edit the string resource | COMMENT |
| LOW⚡ | specs/20260520-153504-udp-label-rename/quickstart.md | 30 | ### Step 2: Run the string sort script | COMMENT |
| LOW⚡ | specs/20260520-153504-udp-label-rename/quickstart.md | 38 | ### Step 3: Verify the build | COMMENT |
| LOW⚡ | specs/20260520-153504-udp-label-rename/quickstart.md | 44 | ### Step 4: Confirm CI (after push) | COMMENT |
| LOW | …60520-153428-remove-admin-channel-toggle/quickstart.md | 15 | ### Step 1: Remove unused import (Line 49) | COMMENT |
| LOW | …60520-153428-remove-admin-channel-toggle/quickstart.md | 24 | ### Step 2: Remove toggle block (Lines 207–214) | COMMENT |
| LOW | …60520-153428-remove-admin-channel-toggle/quickstart.md | 40 | ### Step 3: Verify | COMMENT |
| LOW⚡ | .specify/extensions/verify/README.md | 100 | # Step 1: Create specification | COMMENT |
| LOW⚡ | .specify/extensions/verify/README.md | 103 | # Step 2: Plan and generate tasks | COMMENT |
| LOW⚡ | .specify/extensions/verify/README.md | 107 | # Step 3: Implement | COMMENT |
| LOW⚡ | .specify/extensions/verify/README.md | 110 | # Step 4: Verify implementation | COMMENT |
| LOW⚡ | …shtastic/feature/firmware/ota/Esp32OtaUpdateHandler.kt | 271 | // Step 1: Get firmware file | COMMENT |
| LOW⚡ | …shtastic/feature/firmware/ota/Esp32OtaUpdateHandler.kt | 274 | // Step 2: Read firmware once and calculate hash | COMMENT |
| LOW | …shtastic/feature/firmware/ota/Esp32OtaUpdateHandler.kt | 294 | // Step 3: Preflight — wait for the firmware to confirm OTA entry BEFORE tearing down the mesh | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …kotlin/org/meshtastic/core/database/DatabaseManager.kt | 181 | // Also mark the previous DB as used "just now" so LRU has an accurate, recent timestamp | COMMENT |
| LOW | …kotlin/org/meshtastic/core/database/DatabaseManager.kt | 341 | COMMENT | |
| LOW | …in/org/meshtastic/core/takserver/TAKMeshIntegration.kt | 181 | * v2 send path (firmware >= 2.8.0): SDK parser + zstd dictionary compression, full typed payload support | COMMENT |
| LOW | …org/meshtastic/core/network/radio/BleRadioTransport.kt | 201 | @Volatile private var isFullyConnected = false | COMMENT |
| LOW | …org/meshtastic/core/network/radio/BleRadioTransport.kt | 601 | // Guard: if handleFailure fired during setup (e.g., fromRadio/logRadio fatal | COMMENT |
| LOW | …org/meshtastic/core/service/MeshServiceOrchestrator.kt | 121 | } | COMMENT |
| LOW | …org/meshtastic/core/service/MeshServiceOrchestrator.kt | 141 | // handshake doesn't see a stale/empty node set. Previously this ran synchronously in | COMMENT |
| LOW | …meshtastic/core/service/SharedRadioInterfaceService.kt | 241 | * flaky GATT connection. Serial and TCP typically flush well under this window. | COMMENT |
| LOW | …meshtastic/core/service/SharedRadioInterfaceService.kt | 401 | // restart paths CAS synchronously, one wins, one loses immediately. Performing the | COMMENT |
| LOW | …meshtastic/core/service/SharedRadioInterfaceService.kt | 441 | // Connected -> DeviceSleep transition before the stop/start cycle so | COMMENT |
| LOW | …meshtastic/core/service/SharedRadioInterfaceService.kt | 641 | // did not report a disconnect. Uses the same processLifecycle scope and transportMutex | COMMENT |
| LOW | …ore/service/SharedRadioInterfaceServiceLivenessTest.kt | 81 | // JVM tests must install a Main dispatcher or get IllegalStateException. | COMMENT |
| LOW | …ore/service/SharedRadioInterfaceServiceLivenessTest.kt | 841 | // | COMMENT |
| LOW | …ore/service/SharedRadioInterfaceServiceLivenessTest.kt | 1121 | COMMENT | |
| LOW | …ore/service/SharedRadioInterfaceServiceLivenessTest.kt | 1281 | // The USB-serial recovery observer (see observeUsbRecoveryTriggers) watches the selected SERIAL device's | COMMENT |
| LOW | …htastic/core/data/manager/MeshConnectionManagerImpl.kt | 381 | // Surface the forced-recovery progress to the UI before the app-level Disconnected | COMMENT |
| LOW | …htastic/core/data/manager/MeshConnectionManagerImpl.kt | 541 | * See [MeshConnectionManager.onHandshakeComplete] for the full rationale. | COMMENT |
| LOW | …tic/core/data/manager/MeshConnectionManagerImplTest.kt | 521 | // After the stall fires and the sibling completes, we MANUALLY replay the | COMMENT |
| LOW | …tic/core/data/manager/MeshConnectionManagerImplTest.kt | 1161 | // (e.g. NODE_INFO_NONCE arrived). It cancels the armed stall guard and resets the counter. | COMMENT |
| LOW | config/detekt/detekt.yml | 1 | config: | COMMENT |
| LOW | .claude/hooks/pre-bash-guard.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .claude/hooks/post-edit.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .claude/hooks/subagent-audit.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | gradle/libs.versions.toml | 41 | COMMENT | |
| LOW | scripts/build-appimage.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/sync-android-docs.js | 1 | #!/usr/bin/env node | COMMENT |
| LOW | scripts/ai-guardrail.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/verify-flatpak/verify.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/verify-flatpak/desktop-offline.yaml | 1 | # Local offline verification of org.meshtastic.MeshtasticDesktop. | COMMENT |
| LOW | .github/homebrew/meshtastic-desktop.rb | 1 | # Homebrew Cask template for Meshtastic Desktop. | COMMENT |
| LOW | .github/workflows/msstore-publish.yml | 1 | name: Publish to Microsoft Store | COMMENT |
| LOW | .github/workflows/msstore-publish.yml | 61 | # Prerequisites (all manual, one-time): | COMMENT |
| LOW | .github/workflows/release.yml | 321 | # splitting the token and feeding `.release=true` to Gradle as a task name. | COMMENT |
| LOW | .github/workflows/winget-publish.yml | 1 | name: Publish to winget | COMMENT |
| LOW | .github/workflows/reusable-check.yml | 181 | env: | COMMENT |
| LOW | .specify/extensions/verify/scripts/bash/load-config.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .specify/extensions/review/config-template.yml | 1 | # Review Extension Configuration | COMMENT |
| LOW | …extensions/review/scripts/bash/detect-changed-files.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …extensions/review/scripts/bash/detect-changed-files.sh | 21 | # Text mode: | COMMENT |
| LOW | .specify/scripts/bash/check-prerequisites.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …shtastic/feature/firmware/ota/Esp32OtaUpdateHandler.kt | 281 | try { | COMMENT |
| LOW | …eshtastic/feature/firmware/ota/dfu/SecureDfuHandler.kt | 501 | // (BLE_GAP_ADV_FP_FILTER_BOTH) keyed to the bonded peer. Removing the bond strips the phone's | COMMENT |
| LOW | …tic/feature/firmware/ota/dfu/SecureDfuTransportTest.kt | 581 | // On SELECT, initialize the device's offset to the responder's selectOffset. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .specify/extensions/git/scripts/bash/git-common.sh | 6 | # Check if we have git available at the repo root | COMMENT |
| LOW | .specify/extensions/git/scripts/bash/auto-commit.sh | 34 | # Check if git is available | COMMENT |
| LOW | .specify/extensions/git/scripts/bash/auto-commit.sh | 106 | # Check if event section existed at all | COMMENT |
| LOW | .specify/extensions/git/scripts/bash/auto-commit.sh | 120 | # Check if there are changes to commit | COMMENT |
| LOW | .specify/extensions/git/scripts/bash/initialize-repo.sh | 37 | # Check if git is available | COMMENT |
| LOW | .specify/extensions/git/scripts/bash/initialize-repo.sh | 43 | # Check if already a git repo | COMMENT |
| LOW | …cify/extensions/git/scripts/bash/create-new-feature.sh | 249 | # Check if git is available at this repo root | COMMENT |
| LOW | .specify/scripts/bash/common.sh | 104 | # Check if we have git available at the spec-kit root level | COMMENT |
| LOW | .specify/scripts/bash/common.sh | 111 | # Check if .git exists (directory or file for worktrees/submodules) | COMMENT |
| LOW | .specify/scripts/bash/common.sh | 305 | # Check if jq is available for safe JSON construction | COMMENT |
| LOW | .specify/scripts/bash/common.sh | 576 | # Check if any layer uses a non-replace strategy | COMMENT |
| LOW | .specify/scripts/bash/setup-plan.sh | 54 | # Output results | COMMENT |
| LOW | .specify/scripts/bash/setup-tasks.sh | 65 | # Output results | COMMENT |
| LOW | .specify/scripts/bash/check-prerequisites.sh | 154 | # Output results | COMMENT |
| LOW | .specify/scripts/bash/create-new-feature.sh | 32 | # Check if the next argument is another option (starts with --) | COMMENT |
| LOW | .specify/scripts/bash/create-new-feature.sh | 197 | # Check if git is available at this repo root (not a parent) | COMMENT |
| LOW | .specify/scripts/bash/create-new-feature.sh | 333 | # Check if branch already exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .coderabbit.yaml | 38 | # Spec Kit scaffolding — vendored tooling, not hand-maintained here. | COMMENT |
| MEDIUM | …in/org/meshtastic/core/ui/component/AdaptiveTwoPane.kt | 68 | // column and the two-pane scaffold (e.g. on resize / fold), and so neither slot is emitted directly from two | COMMENT |
| MEDIUM | specs/20260507-161858-app-docs-markdown/plan.md | 344 | ### Safety/UX guardrails | COMMENT |
| MEDIUM | .claude/skills/proto-bump/SKILL.md | 82 | ## PR + guardrails | COMMENT |
| MEDIUM | scripts/build-appimage.sh | 7 | # AppImage bundle format. This script builds the AppDir scaffolding (AppRun, | COMMENT |
| MEDIUM | .specify/extensions/optimize/config-template.yml | 22 | # Flag if total governance tokens exceed this % of context window | COMMENT |
| MEDIUM | .specify/extensions/optimize/config-template.yml | 32 | # Target AI context window size (tokens) for budget calculations | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .specify/extensions/review/tests/bats/test_helper.bash | 15 | # Create a temporary working directory for each test | COMMENT |
| MEDIUM | .specify/extensions/review/tests/bats/test_helper.bash | 45 | # Create a bare repo to act as origin (explicitly use main) | COMMENT |
| MEDIUM | .specify/extensions/review/tests/bats/test_helper.bash | 50 | # Create the working repo | COMMENT |
| MEDIUM | .specify/scripts/bash/setup-plan.sh | 50 | # Create a basic plan file if template doesn't exist | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …in/kotlin/org/meshtastic/core/ui/component/NodeChip.kt | 83 | val user = User(short_name = "JD", long_name = "John Doe") | CODE |
| LOW | …org/meshtastic/core/ui/component/DropDownPreference.kt | 223 | summary = "Lorem ipsum dolor sit amet", | CODE |
| LOW | …org/meshtastic/core/ui/component/DropDownPreference.kt | 223 | summary = "Lorem ipsum dolor sit amet", | CODE |
| LOW | …g/meshtastic/core/ui/component/preview/PreviewUtils.kt | 32 | private val user = User(short_name = "\uD83E\uDEE0", long_name = "John Doe") | CODE |
| LOW | …re/connections/ui/components/CurrentlyConnectedInfo.kt | 129 | user = User(short_name = "\uD83E\uDEE0", long_name = "John Doe"), | CODE |
| LOW⚡ | .skills/project-overview/SKILL.md | 51 | MAPS_API_KEY=dummy_key | CODE |
| LOW⚡ | .skills/project-overview/SKILL.md | 52 | datadogApplicationId=dummy_id | CODE |
| LOW⚡ | .skills/project-overview/SKILL.md | 53 | datadogClientToken=dummy_token | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …tic/core/data/manager/MeshConnectionManagerImplTest.kt | 501 | // test stays robust against small timeout tweaks. | COMMENT |
| MEDIUM | .claude/hooks/pre-bash-guard.sh | 17 | # robust, unlike a settings.json prefix pattern. Asks, never hard-denies. | COMMENT |
| MEDIUM | …App/src/main/kotlin/org/meshtastic/app/MainActivity.kt | 130 | // Ensure the navigation bar remains seamless on modern Android versions | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/agent-governance/scripts/refresh_agent_governance.py | 141 | def repository_evidence_summary(root: Path, state: dict[str, Any], init_options: dict[str, Any]) -> str: | CODE |
| LOW | …s/agent-governance/scripts/refresh_agent_governance.py | 147 | def repository_evidence_lines(root: Path, state: dict[str, Any], init_options: dict[str, Any]) -> list[str]: | CODE |
| LOW | …s/agent-governance/scripts/refresh_agent_governance.py | 232 | def development_command_lines(root: Path) -> list[str]: | CODE |
| LOW⚡ | …s/agent-governance/scripts/refresh_agent_governance.py | 477 | def repository_evidence_default() -> list[str]: | CODE |
| LOW⚡ | …s/agent-governance/scripts/refresh_agent_governance.py | 485 | def directory_governance_default() -> list[str]: | CODE |
| LOW⚡ | …s/agent-governance/scripts/refresh_agent_governance.py | 495 | def development_commands_default() -> list[str]: | CODE |
| LOW | …s/agent-governance/scripts/refresh_agent_governance.py | 518 | def extract_section_from_text(text: str, heading: str) -> list[str]: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/sort-strings.py | 98 | print(f"Error: {xml_file} not found.") | CODE |
| MEDIUM | …s/agent-governance/scripts/refresh_agent_governance.py | 58 | print("Error: .specify/ not found. Run from a Spec Kit project root.", file=sys.stderr) | CODE |
| LOW | .specify/scripts/bash/common.sh | 373 | except Exception: | CODE |
| LOW | .specify/scripts/bash/common.sh | 461 | except Exception: | CODE |
| LOW | .specify/scripts/bash/common.sh | 492 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …shtastic/feature/firmware/ota/Esp32OtaUpdateHandler.kt | 271 | // Step 1: Get firmware file | COMMENT |
| LOW⚡ | …shtastic/feature/firmware/ota/Esp32OtaUpdateHandler.kt | 274 | // Step 2: Read firmware once and calculate hash | COMMENT |
| LOW | …shtastic/feature/firmware/ota/Esp32OtaUpdateHandler.kt | 294 | // Step 3: Preflight — wait for the firmware to confirm OTA entry BEFORE tearing down the mesh | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/sort-strings.py | 9 | CODE | |
| LOW | scripts/sort-strings.py | 58 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/check-metadata-length.py | 17 | CODE | |
| LOW | …s/agent-governance/scripts/refresh_agent_governance.py | 4 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/verify-flatpak/verify.sh | 15 | # Usage: | COMMENT |