A template for deploying a Talos Kubernetes cluster including Flux for GitOps
This report presents the forensic synthetic code analysis of onedr0p/cluster-template, a YAML project with 2,795 GitHub stars. SynthScan v2.0 examined 3,382 lines of code across 51 source files, recording 52 pattern matches distributed across 3 syntactic categories. The overall adjusted score of 31.9 places this repository in the Strong AI signal 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 52 distinct pattern matches across 3 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 |
|---|---|---|---|---|
| MEDIUM⚡ | cluster.sample.toml | 160 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cluster.sample.toml | 164 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cluster.sample.toml | 171 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cluster.sample.toml | 177 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cluster.sample.toml | 191 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cluster.sample.toml | 201 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cluster.sample.toml | 210 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cluster.sample.toml | 213 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cluster.sample.toml | 250 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cluster.sample.toml | 252 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | cluster.sample.toml | 261 | # ============================================================================= | COMMENT |
| MEDIUM | cluster.sample.toml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | cluster.sample.toml | 5 | # ============================================================================= | COMMENT |
| MEDIUM | cluster.sample.toml | 44 | # ============================================================================= | COMMENT |
| MEDIUM | cluster.sample.toml | 48 | # ============================================================================= | COMMENT |
| MEDIUM | cluster.sample.toml | 86 | # ============================================================================= | COMMENT |
| MEDIUM | cluster.sample.toml | 90 | # ============================================================================= | COMMENT |
| MEDIUM | cluster.sample.toml | 112 | # ============================================================================= | COMMENT |
| MEDIUM | cluster.sample.toml | 117 | # ============================================================================= | COMMENT |
| MEDIUM | cluster.sample.toml | 275 | # ============================================================================= | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | template/scripts/test_validate.py | 39 | def test_valid_fixture_accepted(fixture: Path): | CODE |
| LOW | template/scripts/test_validate.py | 44 | def test_invalid_fixture_rejected(fixture: Path): | CODE |
| LOW⚡ | template/scripts/test_validate.py | 56 | def test_host_bits_error_suggests_network_address(): | CODE |
| LOW⚡ | template/scripts/test_validate.py | 62 | def test_duplicate_address_names_both_owners(): | CODE |
| LOW⚡ | template/scripts/test_validate.py | 69 | def test_default_gateway_derived_from_node_cidr(): | CODE |
| LOW⚡ | template/scripts/test_validate.py | 76 | def test_coredns_addr_default_and_override(): | CODE |
| LOW⚡ | template/scripts/test_validate.py | 86 | def test_spegel_enabled_follows_node_count(): | CODE |
| LOW⚡ | template/scripts/test_validate.py | 98 | def test_controller_count_ignores_workers(): | CODE |
| LOW⚡ | template/scripts/test_validate.py | 106 | def test_derived_fields_are_not_settable(): | CODE |
| LOW⚡ | template/scripts/test_validate.py | 115 | def test_cert_sans_single_source(): | CODE |
| LOW⚡ | template/scripts/test_validate.py | 122 | def test_ingress_mode_follows_dns_provider(): | CODE |
| LOW⚡ | template/scripts/test_validate.py | 131 | def test_direct_mode_requires_cloudflare_dns(): | CODE |
| LOW⚡ | template/scripts/test_validate.py | 137 | def test_schematic_id_inherits_from_talos_section(): | CODE |
| LOW⚡ | template/scripts/test_validate.py | 144 | def test_partial_bgp_rejected(): | CODE |
| LOW⚡ | template/scripts/test_validate.py | 150 | def test_node_defaults_exported(): | CODE |
| LOW⚡ | template/scripts/test_validate.py | 158 | def test_gateways_may_leave_node_cidr_only_with_bgp(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cluster.sample.toml | 1 | # ============================================================================= | COMMENT |
| LOW | cluster.sample.toml | 21 | # Upstream NTP servers. Defaults to Cloudflare's anycast NTP. Most homelabs | COMMENT |
| LOW | cluster.sample.toml | 41 | # vlan_tag = "" | COMMENT |
| LOW | cluster.sample.toml | 61 | # OPTIONAL. Default: "10.43.0.0/16" | COMMENT |
| LOW | cluster.sample.toml | 81 | # OPTIONAL. Example: ["mycluster.example.com"] | COMMENT |
| LOW | cluster.sample.toml | 101 | # REQUIRED. | COMMENT |
| LOW | cluster.sample.toml | 121 | # Must be the repo you cloned this template into. | COMMENT |
| LOW | cluster.sample.toml | 141 | # HMAC; see https://fluxcd.io/flux/components/notification/receivers/ | COMMENT |
| LOW | cluster.sample.toml | 161 | # The domain your cluster's hostnames live under. Used for every rendered | COMMENT |
| LOW | cluster.sample.toml | 181 | COMMENT | |
| LOW | cluster.sample.toml | 201 | # ============================================================================= | COMMENT |
| LOW | cluster.sample.toml | 221 | # OPTIONAL. Default: "dsr". Allowed: "dsr" | "snat" | COMMENT |
| LOW | cluster.sample.toml | 241 | # router_asn = "" | COMMENT |
| LOW | cluster.sample.toml | 261 | # ============================================================================= | COMMENT |
| LOW | cluster.sample.toml | 281 | # disk = "/dev/nvme0n1" # Block device or /dev/disk/by-id/... symlink to install Talos onto. | COMMENT |
| LOW | .github/template-tests/e2e/cluster.sh | 1 | #!/usr/bin/env bash | COMMENT |