Home Assistant Companion for Android
This report summarizes scanner evidence for home-assistant/android, a Kotlin project with 4,012 GitHub stars. SynthScan examined 241,389 lines of code across 1669 source files, recording 49 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 0.4 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 28 finding(s).
Are imports declared and package/API names verified? 15 finding(s).
Are wrappers, guards, and repeated structures necessary? 8 finding(s).
Which changes need focused human review? 49 finding(s).
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.
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.
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.
The scanner identified 49 distinct pattern matches across 10 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/e2e.yml | 236 | # Hands the failed run to the `E2E failure triage` agentic workflow, which reads the | COMMENT |
| MEDIUM | .github/agents/agentic-workflows.md | 45 | - Configuration: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/github-agentic-workflows.md` | CODE |
| MEDIUM⚡ | .github/agents/agentic-workflows.md | 69 | **Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/create-agentic-workflow.md` | CODE |
| MEDIUM⚡ | .github/agents/agentic-workflows.md | 79 | **Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/update-agentic-workflow.md` | CODE |
| MEDIUM⚡ | .github/agents/agentic-workflows.md | 89 | **Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/debug-agentic-workflow.md` | CODE |
| MEDIUM⚡ | .github/agents/agentic-workflows.md | 99 | **Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/upgrade-agentic-workflows.md` | CODE |
| MEDIUM | .github/agents/agentic-workflows.md | 119 | **Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/create-shared-agentic-workflow.md` | CODE |
| MEDIUM | .github/agents/agentic-workflows.md | 193 | # Initialize repository for agentic workflows | COMMENT |
| MEDIUM | .github/agents/agentic-workflows.md | 225 | - Always reference the instructions file at `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/github-agent | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ntion/src/main/kotlin/AndroidCommonConventionPlugin.kt | 189 | val sdkVersion = libs.versions.robolectric.target.sdk.get().toInt() | CODE |
| CRITICAL | …panion/android/home/views/RefreshIntervalPickerView.kt | 83 | fontSize = MaterialTheme.typography.displayMedium.fontSize.value.dp.toSp(), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | microwakeword/src/main/cpp/CMakeLists.txt | 81 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | microwakeword/src/main/cpp/CMakeLists.txt | 83 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | microwakeword/src/main/cpp/CMakeLists.txt | 135 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | microwakeword/src/main/cpp/CMakeLists.txt | 137 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | microwakeword/src/main/cpp/CMakeLists.txt | 263 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | microwakeword/src/main/cpp/CMakeLists.txt | 265 | # ------------------------------------------------------------------------------ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …t/companion/android/settings/LicensesScreenshotTest.kt | 69 | "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW⚡ | …t/companion/android/settings/LicensesScreenshotTest.kt | 69 | "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW⚡ | …t/companion/android/settings/LicensesScreenshotTest.kt | 77 | "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW⚡ | …t/companion/android/settings/LicensesScreenshotTest.kt | 77 | "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW⚡ | …mpanion/android/assist/ui/AssistSheetScreenshotTest.kt | 35 | AssistMessage("Tell me everything about lorem ipsum", isInput = true), | CODE |
| LOW⚡ | …mpanion/android/assist/ui/AssistSheetScreenshotTest.kt | 37 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut " + | CODE |
| LOW⚡ | …mpanion/android/assist/ui/AssistSheetScreenshotTest.kt | 37 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut " + | CODE |
| LOW⚡ | …mpanion/android/assist/ui/AssistSheetScreenshotTest.kt | 46 | "voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit " + | CODE |
| LOW | …ndroid/settings/wear/views/SettingsWearTemplateTile.kt | 127 | renderedTemplate = "Example entity: Lorem ipsum", | CODE |
| LOW | …ndroid/developer/nfc/DebugNfcTagEmulatorServiceTest.kt | 85 | setTag("placeholder") | CODE |
| LOW | …ndroid/developer/nfc/DebugNfcTagEmulatorServiceTest.kt | 93 | assertTrue(DebugNfcTagEmulatorState.content.value.summary.contains("placeholder")) | CODE |
| LOW | …roid/developer/catalog/HAButtonsAndIndicatorsScreen.kt | 26 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit." | CODE |
| LOW | …roid/developer/catalog/HAButtonsAndIndicatorsScreen.kt | 26 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit." | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …keword/src/androidTest/resources/lib/arm64-v8a/wrap.sh | 1 | #!/system/bin/sh | COMMENT |
| LOW | microwakeword/src/main/cpp/Logging.h | 1 | #ifndef LOGGING_H | COMMENT |
| LOW | .github/move.yml | 1 | # Configuration for move-issues - https://github.com/dessant/move-issues | COMMENT |
| LOW | .github/zizmor.yml | 1 | # zizmor configuration. See https://docs.zizmor.sh/configuration/ | COMMENT |
| LOW | .github/workflows/e2e-triage.lock.yml | 1 | # gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"39541c998079ce2ccee33e9e176ee33cfef0e1490217b71311f2b4d6c50 | COMMENT |
| LOW | .github/workflows/e2e-triage.lock.yml | 21 | # gh aw compile | COMMENT |
| LOW | .github/workflows/e2e-triage.lock.yml | 941 | script: | | COMMENT |
| LOW | .github/workflows/e2e-triage.lock.yml | 961 | # --allow-tool shell(jq) | COMMENT |
| LOW | .github/workflows/pr-emulator-wtf.yml | 81 | REPO: ${{ github.repository }} | COMMENT |
| LOW | .github/workflows/pr-emulator-wtf.yml | 241 | - name: Download emulator.wtf results from this run | COMMENT |
| LOW | .github/actions/monitor-resources/monitor.sh | 1 | #!/usr/bin/env bash | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …meassistant/companion/android/launch/LaunchActivity.kt | 188 | // Skip the system's default splash exit animation for a seamless transition to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …assistant/companion/android/widgets/todo/TodoWidget.kt | 17 | * Note: Don't forget to register this Receiver in the manifest and in the Application. | COMMENT |
| LOW | …omeassistant/companion/android/common/util/FailFast.kt | 10 | * Don't forget to register the handler in [FailFast.setHandler]. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …nion/android/widgets/BaseGlanceEntityWidgetReceiver.kt | 65 | * ### Usage: | COMMENT |
| LOW | .github/scripts/merge_sarif.py | 6 | ## Usage: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/companion/android/common/sensors/MobileDataManager.kt | 25 | class MobileDataManager @Inject constructor( | CODE |
| LOW | .github/scripts/merge_sarif.py | 37 | def clean_artifact_location_uris(results): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | gradle/libs.versions.toml | 80 | robolectric = "4.17" # Check if robolectric supports a more recent version of the SDK on each update | CODE |