Repository Analysis

juanfont/headscale

An open source, self-hosted implementation of the Tailscale control server

3.1 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of juanfont/headscale, a Go project with 41,660 GitHub stars. SynthScan v2.0 examined 174,747 lines of code across 562 source files, recording 481 pattern matches distributed across 8 syntactic categories. The overall adjusted score of 3.1 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).

3.1
Adjusted Score
3.1
Raw Score
100%
Time Factor
2026-07-03
Last Push
41.7K
Stars
Go
Language
174.7K
Lines of Code
562
Files
481
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 3LOW 478

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 481 distinct pattern matches across 8 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.

Over-Commented Block215 hits · 208 pts
SeverityFileLineSnippetContext
LOWconfig-example.yaml1---COMMENT
LOWconfig-example.yaml21# Address to listen to /metrics and /debug, you may wantCOMMENT
LOWconfig-example.yaml41# List of IP prefixes to allocate tailaddresses from.COMMENT
LOWconfig-example.yaml61 v6: fd7a:115c:a1e0::/48COMMENT
LOWconfig-example.yaml81 # Region ID to use for the embedded DERP server.COMMENT
LOWconfig-example.yaml121 # https://headscale.net/stable/ref/derp/COMMENT
LOWconfig-example.yaml141 # (auth key, CLI, web auth). Tagged nodes are exempt and never expire.COMMENT
LOWconfig-example.yaml161 # pings each HA node every probe_interval via the Noise channel. If a nodeCOMMENT
LOWconfig-example.yaml201 # SQLite configCOMMENT
LOWconfig-example.yaml221 # name: headscaleCOMMENT
LOWconfig-example.yaml281 # If the mode is set to "file", the path to a HuJSON file containing policies.COMMENT
LOWconfig-example.yaml301#COMMENT
LOWconfig-example.yaml321 global:COMMENT
LOWconfig-example.yaml341 # your tailnet base_domain is always the first search domain.COMMENT
LOWconfig-example.yaml361unix_socket: /var/run/headscale/headscale.sockCOMMENT
LOWconfig-example.yaml381# # `LoadCredential` straightforward:COMMENT
LOWconfig-example.yaml401#COMMENT
LOWconfig-example.yaml421# # PKCE adds an additional layer of security to the OAuth 2.0 authorization code flowCOMMENT
LOWconfig-example.yaml441 # disabled by default. Enabling this will make your clients send logs to Tailscale Inc.COMMENT
LOWconfig-example.yaml461 enabled: falseCOMMENT
LOWcmd/vendorhash/main.go1// vendorhash maintains the Nix SRI hash for the Go module vendor treeCOMMENT
LOWcmd/gen-openapi/main.go1// Command gen-openapi emits a Headscale OpenAPI document from the authoritativeCOMMENT
LOWintegration/auth_oidc_test.go121 t.Fatalf("unexpected users: %s", diff)COMMENT
LOWintegration/auth_oidc_test.go1081 listNodes, err := headscale.ListNodes()COMMENT
LOWintegration/auth_oidc_test.go1101// - The test verifies that the node ID is preserved (since it's the same user on the same device)COMMENT
LOWintegration/auth_oidc_test.go1321 }COMMENT
LOWintegration/auth_oidc_test.go1461// policy applied until they restarted their client. This was a regressionCOMMENT
LOWintegration/auth_oidc_test.go1741 }, integrationutil.ScaledTimeout(10*time.Second), integrationutil.SlowPoll, "headscale should have correct users and noCOMMENT
LOWintegration/ts2021_websocket_test.go41// client uses. It is fast and always on.COMMENT
LOWintegration/auth_key_test.go561 // Verify node comes back onlineCOMMENT
LOWintegration/acl_test.go621 assert.EventuallyWithT(t, func(c *assert.CollectT) {COMMENT
LOWintegration/acl_test.go641// "SrcIPs": ["*"]COMMENT
LOWintegration/acl_test.go3141//COMMENT
LOWintegration/acl_test.go3301 // Additional verification: check filter rules are not emptyCOMMENT
LOWintegration/acl_test.go3461// This test verifies that:COMMENT
LOWintegration/auth_web_flow_test.go201// initially authenticate using the web-based authentication flow (where users visit a URLCOMMENT
LOWintegration/tags_test.go2781 assertNodeHasTagsWithCollect(c, nodes[0], []string{"tag:valid-owned"})COMMENT
LOWintegration/tags_test.go3081 t.Logf("Test 5.2 PASS: Registration correctly rejected with error: %v", err)COMMENT
LOWintegration/route_test.go2161 panic("node not found")COMMENT
LOWintegration/route_test.go3841 ip, err := subRouter2.IPv4()COMMENT
LOWintegration/route_test.go4061// than a graceful tailscale down. The two differ in what the server sees:COMMENT
LOWintegration/route_test.go4261 assert.Contains(c, peer.PrimaryRoutes.AsSlice(), pref)COMMENT
LOWintegration/route_test.go4281// resumes when r1 returns.COMMENT
LOWintegration/scenario.go61 // The list contains two special cases, "head" and "unstable" whichCOMMENT
LOWintegration/scenario.go141 // Networks, if set, is the separate Docker networks that should beCOMMENT
LOWintegration/scenario.go1741 // endpoint.COMMENT
LOWintegration/scenario.go1761 // return errStatusCodeNotOKCOMMENT
LOWintegration/k8s_operator_test.go41 Sources: []policyv2.Alias{policyv2.Wildcard},COMMENT
LOWintegration/tsic/tsic.go1061// Netmap returns the current Netmap ([netmap.NetworkMap]) of the Tailscale instance.COMMENT
LOWintegration/tsic/tsic.go1301 // Before that, we can check the BackendState to see if theCOMMENT
LOWintegration/wasmic/wasmclient/main.go1//go:build jsCOMMENT
LOWintegration/k3sic/k3sic.go1// Package k3sic wraps a single-container k3s cluster (server + agent) as aCOMMENT
LOWintegration/k3sic/k3sic.go221COMMENT
LOWintegration/k3sic/k3sic.go241COMMENT
LOWintegration/k3sic/k3sic.go461 // Proxy pods' tailscaled logs: DERP-connection and registration failuresCOMMENT
LOWgen/client/v1/client.gen.go401//COMMENT
LOWhscontrol/auth_test.go2301 "error-test-method",COMMENT
LOWhscontrol/auth_test.go2941 t.Logf("✓ New node created for user1 with machine key from %s (ID=%d)", node.hostname, newNode.ID().Uint64())COMMENT
LOWhscontrol/auth_test.go3161COMMENT
LOWhscontrol/auth_test.go3441 assert.Equal(t, initialNodeID, allNodes.At(0).ID(), "node ID should not change on re-registration")COMMENT
155 more matches not shown…
Structural Annotation Overuse95 hits · 124 pts
SeverityFileLineSnippetContext
LOWconfig-example.yaml45# WARNING: These prefixes MUST be subsets of the standard Tailscale ranges:COMMENT
LOWintegration/auth_oidc_test.go1834 // Step 1: Verify initial route is advertised, approved, and SERVINGCOMMENT
LOWintegration/auth_oidc_test.go1863 // Step 2: LogoutCOMMENT
LOWintegration/auth_oidc_test.go1885 // Step 3: Re-authenticate via OIDC as the same userCOMMENT
LOWintegration/auth_oidc_test.go1903 // Step 4: THE CRITICAL TEST - Verify routes are STILL SERVING after re-authenticationCOMMENT
LOWintegration/auth_key_test.go639 // Step 1: Verify initial route is advertised, approved, and SERVINGCOMMENT
LOWintegration/auth_key_test.go668 // Step 2: LogoutCOMMENT
LOWintegration/auth_key_test.go690 // Step 3: Re-authenticate with the SAME user (using auth key)COMMENT
LOWintegration/auth_key_test.go713 // Step 4: THE CRITICAL TEST - Verify routes are STILL SERVING after re-authenticationCOMMENT
LOWintegration/acl_test.go2812 // Step 1: Verify initial state - HTTP on port 80 should work with tag:webserverCOMMENT
LOWintegration/acl_test.go2818 // Step 2: Change tag from webserver to sshonlyCOMMENT
LOWintegration/acl_test.go3278 // Step 4: Create a NEW user - this triggers [State.updatePolicyManagerUsers]COMMENT
LOWintegration/acl_test.go3285 // Step 5: THE CRITICAL TEST - verify connectivity STILL worksCOMMENT
LOWintegration/acl_test.go2576 // Step 1: Verify initial access stateCOMMENT
LOWintegration/acl_test.go2609 // Step 2: Apply tag changeCOMMENT
LOWintegration/acl_test.go2627 // Step 3: Verify final NetMap visibility first (fast signal thatCOMMENT
LOWintegration/acl_test.go2655 // Step 4: Verify final access state (this is the key test for #2389).COMMENT
LOWintegration/acl_test.go2839 // Step 3: Verify peer is still visible in NetMap (partial access, not full removal)COMMENT
LOWintegration/acl_test.go2858 // Step 4: Verify HTTP on port 80 now fails (tag:sshonly only allows port 22).COMMENT
LOWintegration/acl_test.go3054 // Step 1: Verify initial connectivity - all users can reach each otherCOMMENT
LOWintegration/acl_test.go3066 // Step 2: Get user3's node and user, then delete themCOMMENT
LOWintegration/acl_test.go3091 // Step 3: Verify that user1 and user2 can still communicate (before triggering policy refresh)COMMENT
LOWintegration/acl_test.go3102 // Step 4: Create a NEW user - this triggers [State.updatePolicyManagerUsers] whichCOMMENT
LOWintegration/acl_test.go3114 // Step 5: THIS IS THE CRITICAL TEST - verify connectivity STILL works afterCOMMENT
LOWintegration/acl_test.go3231 // Step 1: Verify initial connectivity - user1 and user3 can ping each otherCOMMENT
LOWintegration/acl_test.go3245 // Step 2: Delete user2's node and user (like reporter deleting "deleteable")COMMENT
LOWintegration/acl_test.go3263 // Step 3: Verify connectivity still works after user2 deletionCOMMENT
LOWintegration/acl_test.go3395 // Step 1: Verify initial connectivity with VALID policyCOMMENT
LOWintegration/acl_test.go3409 // Step 2: DYNAMICALLY update policy to add unknown userCOMMENT
LOWintegration/acl_test.go3439 // Step 3: THE CRITICAL TEST - verify connectivity STILL worksCOMMENT
LOWintegration/acl_test.go3543 // Step 1: Verify initial connectivity WITH unknown user in policyCOMMENT
LOWintegration/acl_test.go3558 // Step 2: Update policy to REMOVE the unknown userCOMMENT
LOWintegration/acl_test.go3587 // Step 3: Verify connectivity after removing unknown userCOMMENT
LOWintegration/tags_test.go3181 // Step 3: Register via CLI with user (this is the exact step that triggers the panic)COMMENT
LOWintegration/tags_test.go3188 // Step 4: Verify node is now user-owned and the mapper didn't panic.COMMENT
LOWintegration/tags_test.go526 // Step 2: Admin assigns different tags via headscale CLICOMMENT
LOWintegration/tags_test.go548 // Step 3: Force reauthenticationCOMMENT
LOWintegration/tags_test.go650 // Step 2: Admin assigns multiple tags via headscale CLICOMMENT
LOWintegration/tags_test.go671 // Step 3: Attempt to reduce tags via CLICOMMENT
LOWintegration/tags_test.go1012 // Step 2: Admin assigns tagsCOMMENT
LOWintegration/tags_test.go1033 // Step 3: Run tailscale up with --resetCOMMENT
LOWintegration/tags_test.go1131 // Step 2: Admin assigns tagsCOMMENT
LOWintegration/tags_test.go1152 // Step 3: Run tailscale up with empty --advertise-tagsCOMMENT
LOWintegration/tags_test.go1250 // Step 2: Admin assigns multiple tagsCOMMENT
LOWintegration/tags_test.go1271 // Step 3: Attempt to reduce tags via CLICOMMENT
LOWintegration/tags_test.go1549 // Step 1: Create and register with one tagCOMMENT
LOWintegration/tags_test.go1579 // Step 2: Try to add second tag via CLICOMMENT
LOWintegration/tags_test.go1640 // Step 1: Create and register with two tagsCOMMENT
LOWintegration/tags_test.go1670 // Step 2: Try to remove second tag via CLICOMMENT
LOWintegration/tags_test.go1731 // Step 1: Register with one tagCOMMENT
LOWintegration/tags_test.go1765 // Step 2: Admin assigns different tagCOMMENT
LOWintegration/tags_test.go1785 // Step 3: Try to change tags via CLICOMMENT
LOWintegration/tags_test.go1848 // Step 1: Register with one tagCOMMENT
LOWintegration/tags_test.go1881 // Step 2: Admin assigns both tagsCOMMENT
LOWintegration/tags_test.go1901 // Step 3: Try to reduce tags via CLICOMMENT
LOWintegration/tags_test.go2575 // Step 2: Admin changes tag to tag:second (FIRST CALL - this is "tag:bar" in issue terms)COMMENT
LOWintegration/tags_test.go2630 // Step 3: Call SetNodeTags AGAIN with the SAME tag (SECOND CALL)COMMENT
LOWintegration/tags_test.go2649 // Step 4: Do another tag change to verify the pattern repeatsCOMMENT
LOWintegration/tags_test.go2685 // Step 5: Call SetNodeTags AGAIN with the SAME tagCOMMENT
LOWintegration/tags_test.go2835 // Step 1: Create and register a node with tagsCOMMENT
35 more matches not shown…
Verbosity Indicators94 hits · 123 pts
SeverityFileLineSnippetContext
LOWintegration/auth_oidc_test.go1834 // Step 1: Verify initial route is advertised, approved, and SERVINGCOMMENT
LOWintegration/auth_oidc_test.go1863 // Step 2: LogoutCOMMENT
LOWintegration/auth_oidc_test.go1885 // Step 3: Re-authenticate via OIDC as the same userCOMMENT
LOWintegration/auth_oidc_test.go1903 // Step 4: THE CRITICAL TEST - Verify routes are STILL SERVING after re-authenticationCOMMENT
LOWintegration/auth_key_test.go639 // Step 1: Verify initial route is advertised, approved, and SERVINGCOMMENT
LOWintegration/auth_key_test.go668 // Step 2: LogoutCOMMENT
LOWintegration/auth_key_test.go690 // Step 3: Re-authenticate with the SAME user (using auth key)COMMENT
LOWintegration/auth_key_test.go713 // Step 4: THE CRITICAL TEST - Verify routes are STILL SERVING after re-authenticationCOMMENT
LOWintegration/acl_test.go2812 // Step 1: Verify initial state - HTTP on port 80 should work with tag:webserverCOMMENT
LOWintegration/acl_test.go2818 // Step 2: Change tag from webserver to sshonlyCOMMENT
LOWintegration/acl_test.go3278 // Step 4: Create a NEW user - this triggers [State.updatePolicyManagerUsers]COMMENT
LOWintegration/acl_test.go3285 // Step 5: THE CRITICAL TEST - verify connectivity STILL worksCOMMENT
LOWintegration/acl_test.go2576 // Step 1: Verify initial access stateCOMMENT
LOWintegration/acl_test.go2609 // Step 2: Apply tag changeCOMMENT
LOWintegration/acl_test.go2627 // Step 3: Verify final NetMap visibility first (fast signal thatCOMMENT
LOWintegration/acl_test.go2655 // Step 4: Verify final access state (this is the key test for #2389).COMMENT
LOWintegration/acl_test.go2839 // Step 3: Verify peer is still visible in NetMap (partial access, not full removal)COMMENT
LOWintegration/acl_test.go2858 // Step 4: Verify HTTP on port 80 now fails (tag:sshonly only allows port 22).COMMENT
LOWintegration/acl_test.go3054 // Step 1: Verify initial connectivity - all users can reach each otherCOMMENT
LOWintegration/acl_test.go3066 // Step 2: Get user3's node and user, then delete themCOMMENT
LOWintegration/acl_test.go3091 // Step 3: Verify that user1 and user2 can still communicate (before triggering policy refresh)COMMENT
LOWintegration/acl_test.go3102 // Step 4: Create a NEW user - this triggers [State.updatePolicyManagerUsers] whichCOMMENT
LOWintegration/acl_test.go3114 // Step 5: THIS IS THE CRITICAL TEST - verify connectivity STILL works afterCOMMENT
LOWintegration/acl_test.go3231 // Step 1: Verify initial connectivity - user1 and user3 can ping each otherCOMMENT
LOWintegration/acl_test.go3245 // Step 2: Delete user2's node and user (like reporter deleting "deleteable")COMMENT
LOWintegration/acl_test.go3263 // Step 3: Verify connectivity still works after user2 deletionCOMMENT
LOWintegration/acl_test.go3395 // Step 1: Verify initial connectivity with VALID policyCOMMENT
LOWintegration/acl_test.go3409 // Step 2: DYNAMICALLY update policy to add unknown userCOMMENT
LOWintegration/acl_test.go3439 // Step 3: THE CRITICAL TEST - verify connectivity STILL worksCOMMENT
LOWintegration/acl_test.go3543 // Step 1: Verify initial connectivity WITH unknown user in policyCOMMENT
LOWintegration/acl_test.go3558 // Step 2: Update policy to REMOVE the unknown userCOMMENT
LOWintegration/acl_test.go3587 // Step 3: Verify connectivity after removing unknown userCOMMENT
LOWintegration/tags_test.go3181 // Step 3: Register via CLI with user (this is the exact step that triggers the panic)COMMENT
LOWintegration/tags_test.go3188 // Step 4: Verify node is now user-owned and the mapper didn't panic.COMMENT
LOWintegration/tags_test.go526 // Step 2: Admin assigns different tags via headscale CLICOMMENT
LOWintegration/tags_test.go548 // Step 3: Force reauthenticationCOMMENT
LOWintegration/tags_test.go650 // Step 2: Admin assigns multiple tags via headscale CLICOMMENT
LOWintegration/tags_test.go671 // Step 3: Attempt to reduce tags via CLICOMMENT
LOWintegration/tags_test.go1012 // Step 2: Admin assigns tagsCOMMENT
LOWintegration/tags_test.go1033 // Step 3: Run tailscale up with --resetCOMMENT
LOWintegration/tags_test.go1131 // Step 2: Admin assigns tagsCOMMENT
LOWintegration/tags_test.go1152 // Step 3: Run tailscale up with empty --advertise-tagsCOMMENT
LOWintegration/tags_test.go1250 // Step 2: Admin assigns multiple tagsCOMMENT
LOWintegration/tags_test.go1271 // Step 3: Attempt to reduce tags via CLICOMMENT
LOWintegration/tags_test.go1549 // Step 1: Create and register with one tagCOMMENT
LOWintegration/tags_test.go1579 // Step 2: Try to add second tag via CLICOMMENT
LOWintegration/tags_test.go1640 // Step 1: Create and register with two tagsCOMMENT
LOWintegration/tags_test.go1670 // Step 2: Try to remove second tag via CLICOMMENT
LOWintegration/tags_test.go1731 // Step 1: Register with one tagCOMMENT
LOWintegration/tags_test.go1765 // Step 2: Admin assigns different tagCOMMENT
LOWintegration/tags_test.go1785 // Step 3: Try to change tags via CLICOMMENT
LOWintegration/tags_test.go1848 // Step 1: Register with one tagCOMMENT
LOWintegration/tags_test.go1881 // Step 2: Admin assigns both tagsCOMMENT
LOWintegration/tags_test.go1901 // Step 3: Try to reduce tags via CLICOMMENT
LOWintegration/tags_test.go2575 // Step 2: Admin changes tag to tag:second (FIRST CALL - this is "tag:bar" in issue terms)COMMENT
LOWintegration/tags_test.go2630 // Step 3: Call SetNodeTags AGAIN with the SAME tag (SECOND CALL)COMMENT
LOWintegration/tags_test.go2649 // Step 4: Do another tag change to verify the pattern repeatsCOMMENT
LOWintegration/tags_test.go2685 // Step 5: Call SetNodeTags AGAIN with the SAME tagCOMMENT
LOWintegration/tags_test.go2835 // Step 1: Create and register a node with tagsCOMMENT
LOWintegration/tags_test.go2876 // Step 2: Reauth with empty tags to remove all tagsCOMMENT
34 more matches not shown…
Fake / Example Data71 hits · 66 pts
SeverityFileLineSnippetContext
LOWhscontrol/types/testcapture/testcapture_test.go424 "full_policy": {"tagOwners": {"tag:ops": ["user@example.com"]}},CODE
LOWhscontrol/types/testcapture/testcapture_test.go442 want := `{"tagOwners":{"tag:ops":["user@example.com"]}}`CODE
LOWhscontrol/servertest/via_ha_compat_test.go394 "thor@example.org",CODE
LOWhscontrol/templates/auth_success.go25 // e.g. "user@example.com".COMMENT
LOWhscontrol/policy/v2/policy_test.go896 {Model: gorm.Model{ID: 1}, Name: "admin", Email: "admin@example.com"},CODE
LOWhscontrol/policy/v2/policy_test.go935 "group:admin": ["admin@example.com"]CODE
LOWhscontrol/policy/v2/policy_test.go1063 {Model: gorm.Model{ID: 2}, Name: "admin", Email: "admin@example.com"},CODE
LOWhscontrol/policy/v2/policy_test.go1145 "group:admin": ["admin@example.com"],CODE
LOWhscontrol/policy/v2/policy_test.go1232 {Model: gorm.Model{ID: 1}, Name: "admin", Email: "admin@example.com"},CODE
LOWhscontrol/policy/v2/policy_test.go1262 "group:admin": ["admin@example.com"]CODE
LOWhscontrol/policy/v2/policy_test.go1300 {Model: gorm.Model{ID: 1}, Name: "admin", Email: "admin@example.com"},CODE
LOWhscontrol/policy/v2/policy_test.go1339 "group:admin": ["admin@example.com"]CODE
LOWhscontrol/policy/v2/policytester_compat_test.go48 {Model: gorm.Model{ID: 2}, Name: "thor", Email: "thor@example.org"},CODE
LOWhscontrol/policy/v2/types_test.go42 Group("group:example"): []Username{Username("user@example.com")},CODE
LOWhscontrol/policy/v2/types_test.go48 Tag("tag:test"): Owners{up("user@example.com")},CODE
LOWhscontrol/policy/v2/types_test.go55 new(Username("user@example.com")),CODE
LOWhscontrol/policy/v2/types_test.go5996 "tagOwners": {"tag:server": ["admin@example.org"]},CODE
LOWhscontrol/policy/v2/types_test.go5998 {"src": "thor@example.org", "dst": ["tag:server"], "accept": ["root"]}CODE
LOWhscontrol/policy/v2/types_test.go6007 require.Equal(t, "thor@example.org", got.Src.String())CODE
LOWhscontrol/policy/v2/types_test.go6072 "tagOwners": {"tag:server": ["admin@example.org"]},CODE
LOWhscontrol/policy/v2/types_test.go6074 {"src": "thor@example.org", "dst": ["tag:server:22"], "accept": ["root"]}CODE
LOWhscontrol/policy/v2/types_test.go6084 "tagOwners": {"tag:server": ["admin@example.org"]},CODE
LOWhscontrol/policy/v2/types_test.go6086 {"src": "thor@example.org", "dst": ["10.0.0.0/8"], "accept": ["root"]}CODE
LOWhscontrol/policy/v2/types_test.go6142 "tagOwners": {"tag:server": ["admin@example.org"]},CODE
LOWhscontrol/policy/v2/types_test.go6144 {"src": "thor@example.org", "dst": ["autogroup:internet"], "accept": ["root"]}CODE
LOWhscontrol/policy/v2/types_test.go6154 "tagOwners": {"tag:server": ["admin@example.org"]},CODE
LOWhscontrol/policy/v2/types_test.go6156 {"src": "thor@example.org", "dst": ["tag:not-in-tagOwners"], "accept": ["root"]}CODE
LOWhscontrol/policy/v2/types_test.go6166 "tagOwners": {"tag:server": ["admin@example.org"]},CODE
LOWhscontrol/policy/v2/types_test.go74 assert.Contains(t, jsonString, "user@example.com")CODE
LOWhscontrol/policy/v2/types_test.go422 "group:c": ["thor@example.org"],CODE
LOWhscontrol/policy/v2/types_test.go661 "group:admins": ["admin@example.com"]CODE
LOWhscontrol/policy/v2/types_test.go682 Group("group:admins"): []Username{Username("admin@example.com")},CODE
LOWhscontrol/policy/v2/types_test.go709 "tag:web": ["admin@example.com"],CODE
LOWhscontrol/policy/v2/types_test.go710 "tag:server": ["admin@example.com"]CODE
LOWhscontrol/policy/v2/types_test.go733 "group:admins": ["admin@example.com"]CODE
LOWhscontrol/policy/v2/types_test.go752 Group("group:admins"): []Username{Username("admin@example.com")},CODE
LOWhscontrol/policy/v2/types_test.go1031 "group:test": ["user@example.com"],CODE
LOWhscontrol/policy/v2/types_test.go1032 "INVALID_GROUP_FIELD": ["user@example.com"]CODE
LOWhscontrol/policy/v2/types_test.go1043 "group:test": ["user@example.com"],CODE
LOWhscontrol/policy/v2/types_test.go1055 "group:test": ["user@example.com"],CODE
LOWhscontrol/policy/v2/types_test.go1079 "tag:test": ["user@example.com"],CODE
LOWhscontrol/policy/v2/types_test.go1110 "src": ["user@example.com"],CODE
LOWhscontrol/policy/v2/types_test.go1111 "dst": ["user@example.com"],CODE
LOWhscontrol/policy/v2/types_test.go1143 "10.0.0.0/8": ["user@example.com"]CODE
LOWhscontrol/policy/v2/types_test.go1145 "exitNode": ["user@example.com"],CODE
LOWhscontrol/policy/v2/types_test.go1198 "user@example.com"CODE
LOWhscontrol/policy/v2/types_test.go1201 "user@example.com"CODE
LOWhscontrol/policy/v2/types_test.go2175 "tag:client": ["admin@example.com"]CODE
LOWhscontrol/policy/v2/types_test.go2197 "tag:client": ["admin@example.com"]CODE
LOWhscontrol/policy/v2/types_test.go2217 "tag:client": ["admin@example.com"]CODE
LOWhscontrol/policy/v2/types_test.go2237 "tag:client": ["admin@example.com"]CODE
LOWhscontrol/policy/v2/types_test.go6020 "tagOwners": {"tag:server": ["admin@example.org"]},CODE
LOWhscontrol/policy/v2/types_test.go6023 "src": "thor@example.org",CODE
LOWhscontrol/policy/v2/types_test.go6049 "tagOwners": {"tag:server": ["admin@example.org"]},CODE
LOWhscontrol/policy/v2/types_test.go6051 {"src": "thor@example.org", "dst": ["tag:server"]}CODE
LOWhscontrol/policy/v2/types_test.go6100 "tagOwners": {"tag:server": ["admin@example.org"]},CODE
LOWhscontrol/policy/v2/types_test.go6102 {"src": "thor@example.org", "dst": ["100.64.0.16"], "accept": ["root"]}CODE
LOWhscontrol/policy/v2/types_test.go6122 "tagOwners": {"tag:server": ["admin@example.org"]},CODE
LOWhscontrol/policy/v2/types_test.go6124 {"src": "thor@example.org", "dst": ["fd7a:115c:a1e0::10"], "accept": ["root"]}CODE
LOWhscontrol/policy/v2/types_test.go6178 "tagOwners": {"tag:server": ["admin@example.org"]},CODE
11 more matches not shown…
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMintegration/route_test.go683 // Get the expected router IP - use a more robust approach to handle temporary disconnectionsCOMMENT
MEDIUMintegration/dockertestutil/config.go70 // This could be improved with more robust detection if neededCOMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWintegration/run.sh59# Check if both arguments are providedCOMMENT
LOW.github/workflows/needs-more-info-timer.yml81 # Check if 3 days have passedCOMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMintegration/README.md52## Required scaffoldingCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWhscontrol/mapper/tail_test.go199 // TODO: Add tests to check other aspects of the node conversion:COMMENT