✨ Build AI agents and web apps — with a single binary.
This report presents the forensic synthetic code analysis of YaoApp/yao, a Go project with 7,547 GitHub stars. SynthScan v2.0 examined 555,078 lines of code across 2469 source files, recording 1022 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 3.2 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 1022 distinct pattern matches across 14 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 | grpc/grpc.go | 58 | // ── Health ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | grpc/grpc.go | 64 | // ── Base ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | grpc/grpc.go | 82 | // ── API ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | grpc/grpc.go | 88 | // ── MCP ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | grpc/grpc.go | 106 | // ── LLM ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | grpc/grpc.go | 116 | // ── Agent ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | grpc/grpc.go | 122 | // ── Sandbox ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | grpc/grpc.go | 147 | // ── Server lifecycle ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | grpc/auth/guard_test.go | 175 | // ── TaiTunnel auth tests ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | grpc/run/stream_test.go | 20 | // ── Layer 1: Basic RPC validation (no LLM, no real agent) ───────────────── | COMMENT |
| MEDIUM | grpc/run/stream_test.go | 166 | // ── Layer 2: DryRun mode (needs agent resolver, no LLM) ────────────────── | COMMENT |
| MEDIUM | grpc/run/stream_test.go | 298 | // ── Layer 2b: A2A DryRun (agent-caller resolves, no LLM) ───────────────── | COMMENT |
| MEDIUM | grpc/run/stream_test.go | 420 | // ── Layer 3 (optional): Real LLM integration ───────────────────────────── | COMMENT |
| MEDIUM | grpc/run/stream_test.go | 526 | // ── Helpers ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | agent/sandbox/v2/images.yml | 24 | # ── Claude Code variants ───────────────────────────────────── | COMMENT |
| MEDIUM | agent/sandbox/v2/images.yml | 82 | # ── OpenCode variants ──────────────────────────────────────── | COMMENT |
| MEDIUM | agent/sandbox/v2/images.yml | 140 | # ── Desktop-only (no agent CLI) ───────────────────────────── | COMMENT |
| MEDIUM | unit-test/agent/app/agent/kb.yml | 4 | # =============================== | COMMENT |
| MEDIUM | unit-test/agent/app/agent/kb.yml | 6 | # =============================== | COMMENT |
| MEDIUM | unit-test/agent/app/openapi/scopes/alias.yml | 4 | # ================================================ | COMMENT |
| MEDIUM | unit-test/agent/app/openapi/scopes/alias.yml | 6 | # ================================================ | COMMENT |
| MEDIUM⚡ | unit-test/agent/app/openapi/scopes/alias.yml | 25 | # ================================================ | COMMENT |
| MEDIUM⚡ | unit-test/agent/app/openapi/scopes/alias.yml | 27 | # ================================================ | COMMENT |
| MEDIUM⚡ | unit-test/agent/app/openapi/scopes/alias.yml | 29 | # ================================================ | COMMENT |
| MEDIUM⚡ | unit-test/agent/app/openapi/scopes/alias.yml | 31 | # ================================================ | COMMENT |
| MEDIUM⚡ | unit-test/agent/app/openapi/scopes/alias.yml | 102 | # ================================================ | COMMENT |
| MEDIUM⚡ | unit-test/agent/app/openapi/scopes/alias.yml | 104 | # ================================================ | COMMENT |
| MEDIUM | unit-test/agent/app/openapi/scopes/alias.yml | 182 | # ================================================ | COMMENT |
| MEDIUM | unit-test/agent/app/openapi/scopes/alias.yml | 184 | # ================================================ | COMMENT |
| MEDIUM | unit-test/agent/app/openapi/scopes/alias.yml | 273 | # ================================================ | COMMENT |
| MEDIUM | unit-test/agent/app/openapi/scopes/alias.yml | 275 | # ================================================ | COMMENT |
| MEDIUM | unit-test/agent/scripts/_common.sh | 85 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-test/agent/scripts/_common.sh | 91 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-test/agent/scripts/_common.sh | 125 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-test/agent/scripts/_common.sh | 135 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | llmprovider/presets.yml | 1 | # ─── OpenRouter ───────────────────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 136 | # ─── Anthropic ────────────────────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 195 | # ─── OpenAI ───────────────────────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 500 | # ─── DeepSeek (Anthropic) ─────────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 548 | # ─── DeepSeek (OpenAI) ────────────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 594 | # ─── Kimi / Moonshot (International) ──────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 642 | # ─── Kimi / 月之暗面 (CN) ─────────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 690 | # ─── 智谱 GLM (CN) ───────────────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 779 | # ─── Google DeepMind (AI Studio) ──────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 901 | # ─── xAI (Grok) ──────────────────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 979 | # ─── MiniMax (International) ──────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 1024 | # ─── MiniMax (国内) ───────────────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 1058 | # ─── 小米 MiMo ───────────────────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 1114 | # ─── 阶跃星辰 StepFun ────────────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 1156 | # ─── 硅基流动 SiliconFlow ────────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 1367 | # ─── 火山方舟 Volcengine ARK ─────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 1467 | # ─── 腾讯混元 MaaS ───────────────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 1550 | # ─── NVIDIA Build ─────────────────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 1742 | # ─── Ollama (Local) ───────────────────────────────────── | COMMENT |
| MEDIUM | llmprovider/presets.yml | 1751 | # ─── Azure OpenAI ─────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/unit-test-v1.yml | 56 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/unit-test-v1.yml | 60 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/unit-test-v1.yml | 534 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/unit-test-v1.yml | 536 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/unit-test-v1.yml | 579 | # ============================================================================= | COMMENT |
| 109 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | seed/seed_reset_test.go | 29 | // Step 1: Clear and import data (initial import) | COMMENT |
| LOW⚡ | seed/seed_reset_test.go | 45 | // Step 2: Clear all data (simulate Reset scenario) | COMMENT |
| LOW⚡ | seed/seed_reset_test.go | 55 | // Step 3: Import again with duplicate="update" (this is the critical test) | COMMENT |
| LOW | seed/seed_reset_test.go | 102 | // Step 1: Clear and initial import | COMMENT |
| LOW | seed/seed_reset_test.go | 115 | // Step 2: Delete one specific role (simulate partial data loss) | COMMENT |
| LOW | seed/seed_reset_test.go | 135 | // Step 3: Re-import with duplicate="update" | COMMENT |
| LOW | trace/README.md | 50 | // Step 1: Input processing | COMMENT |
| LOW | trace/README.md | 61 | // Step 2: Parallel processing - each worker completes independently | COMMENT |
| LOW | trace/README.md | 111 | // Step 3: Aggregation (auto-joins parallel branches) | COMMENT |
| LOW | trace/store/driver.go | 772 | // Step 1: Update trace info to mark as archived BEFORE creating archive | COMMENT |
| LOW | trace/store/driver.go | 792 | // Step 2: Collect all keys for this trace | COMMENT |
| LOW | trace/store/driver.go | 823 | // Step 3: Collect all data into a single map | COMMENT |
| LOW⚡ | trace/store/driver.go | 838 | // Step 4: Marshal to JSON | COMMENT |
| LOW⚡ | trace/store/driver.go | 844 | // Step 5: Compress with gzip | COMMENT |
| LOW⚡ | trace/store/driver.go | 854 | // Step 6: Save compressed archive | COMMENT |
| LOW⚡ | trace/store/driver.go | 860 | // Step 7: Delete original keys (except trace info and archive) | COMMENT |
| LOW | kb/api/search.go | 321 | // Step 1: Extract entities from query using graph search | COMMENT |
| LOW | kb/api/search.go | 345 | // Step 2: Perform vector search | COMMENT |
| LOW | kb/api/search.go | 372 | // Step 3: Merge results | COMMENT |
| LOW⚡ | test/utils.go | 20 | // // Step 1: Prepare test environment | COMMENT |
| LOW⚡ | test/utils.go | 24 | // // Step 2: Your actual test code here... | COMMENT |
| LOW | rss/parse.go | 47 | // Step 1: check if it is valid XML at all | COMMENT |
| LOW⚡ | rss/parse.go | 67 | // Step 2: detect format | COMMENT |
| LOW⚡ | rss/parse.go | 73 | // Step 3: attempt a full parse to verify structural integrity | COMMENT |
| LOW | sitemap/fetch.go | 38 | // Step 1: Discover sitemap files | COMMENT |
| LOW | sitemap/fetch.go | 54 | // Step 2: Use estimated URL counts to skip files before offset | COMMENT |
| LOW⚡ | sitemap/discover.go | 29 | // Step 1: GET robots.txt | COMMENT |
| LOW⚡ | sitemap/discover.go | 34 | // Step 2: fallback to well-known path | COMMENT |
| LOW | agent/robot/executor/standard/tasks.go | 432 | // Step 1: Try exact match first | COMMENT |
| LOW | agent/robot/executor/standard/tasks.go | 448 | // Step 2: Suffix match — LLM may omit namespace prefix | COMMENT |
| LOW | agent/task/move.go | 41 | // Step 1: Decrement positions in old column for items after the moved task | COMMENT |
| LOW⚡ | agent/task/move.go | 53 | // Step 2: Increment positions in new column for items at or after target position | COMMENT |
| LOW⚡ | agent/task/move.go | 63 | // Step 3: Update target task | COMMENT |
| LOW | openapi/oauth/core_test.go | 732 | // Step 1: Authorization | COMMENT |
| LOW⚡ | openapi/oauth/core_test.go | 747 | // Step 2: Token exchange | COMMENT |
| LOW⚡ | openapi/oauth/core_test.go | 754 | // Step 3: Refresh token (token already stored with proper scope information) | COMMENT |
| LOW⚡ | openapi/oauth/core_test.go | 762 | // Step 4: Revoke token | COMMENT |
| LOW⚡ | openapi/oauth/token_test.go | 664 | // Step 1: Generate access token | COMMENT |
| LOW⚡ | openapi/oauth/token_test.go | 670 | // Step 2: Store token data with expiresIn parameter | COMMENT |
| LOW⚡ | openapi/oauth/token_test.go | 676 | // Step 3: Introspect token | COMMENT |
| LOW⚡ | openapi/oauth/token_test.go | 683 | // Step 4: Validate token audience | COMMENT |
| LOW⚡ | openapi/oauth/token_test.go | 689 | // Step 5: Validate token binding | COMMENT |
| LOW⚡ | openapi/oauth/token_test.go | 699 | // Step 6: Token exchange | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 44 | // Step 1: Calls test.Prepare(t, config.Conf) to initialize the base Yao test environment | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 48 | // Step 2: Creates test provider with configured options | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 63 | // Step 1: Initialize base test environment with all Yao dependencies | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 66 | // Step 2: Initialize test provider | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 77 | // Step 1: Clean up test data from database | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 78 | // Step 2: Reset global variables | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 79 | // Step 3: Call test.Clean() to clean up the base test environment | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 83 | // Step 1: Clean up test data | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 86 | // Step 2: Reset global variables | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 89 | // Step 3: Clean up base test environment | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/oauth_account_test.go | 36 | // Step 1: Create a test user first (OAuth accounts need a user_id) | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/oauth_account_test.go | 42 | // Step 2: Create test OAuth account data dynamically | COMMENT |
| LOW | openapi/oauth/providers/user/invitation_test.go | 471 | // Step 1: Create multiple codes | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/invitation_test.go | 493 | // Step 2: Use first code | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/invitation_test.go | 497 | // Step 3: Verify first code is used | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/invitation_test.go | 510 | // Step 4: Delete second code (unused) | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/invitation_test.go | 514 | // Step 5: Delete first code (used) | COMMENT |
| 137 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | seed/seed_reset_test.go | 29 | // Step 1: Clear and import data (initial import) | COMMENT |
| LOW⚡ | seed/seed_reset_test.go | 45 | // Step 2: Clear all data (simulate Reset scenario) | COMMENT |
| LOW⚡ | seed/seed_reset_test.go | 55 | // Step 3: Import again with duplicate="update" (this is the critical test) | COMMENT |
| LOW | seed/seed_reset_test.go | 102 | // Step 1: Clear and initial import | COMMENT |
| LOW | seed/seed_reset_test.go | 115 | // Step 2: Delete one specific role (simulate partial data loss) | COMMENT |
| LOW | seed/seed_reset_test.go | 135 | // Step 3: Re-import with duplicate="update" | COMMENT |
| LOW | trace/store/driver.go | 772 | // Step 1: Update trace info to mark as archived BEFORE creating archive | COMMENT |
| LOW | trace/store/driver.go | 792 | // Step 2: Collect all keys for this trace | COMMENT |
| LOW | trace/store/driver.go | 823 | // Step 3: Collect all data into a single map | COMMENT |
| LOW⚡ | trace/store/driver.go | 838 | // Step 4: Marshal to JSON | COMMENT |
| LOW⚡ | trace/store/driver.go | 844 | // Step 5: Compress with gzip | COMMENT |
| LOW⚡ | trace/store/driver.go | 854 | // Step 6: Save compressed archive | COMMENT |
| LOW⚡ | trace/store/driver.go | 860 | // Step 7: Delete original keys (except trace info and archive) | COMMENT |
| LOW | kb/api/search.go | 321 | // Step 1: Extract entities from query using graph search | COMMENT |
| LOW | kb/api/search.go | 345 | // Step 2: Perform vector search | COMMENT |
| LOW | kb/api/search.go | 372 | // Step 3: Merge results | COMMENT |
| LOW⚡ | test/utils.go | 20 | // // Step 1: Prepare test environment | COMMENT |
| LOW⚡ | test/utils.go | 24 | // // Step 2: Your actual test code here... | COMMENT |
| LOW | rss/parse.go | 47 | // Step 1: check if it is valid XML at all | COMMENT |
| LOW⚡ | rss/parse.go | 67 | // Step 2: detect format | COMMENT |
| LOW⚡ | rss/parse.go | 73 | // Step 3: attempt a full parse to verify structural integrity | COMMENT |
| LOW | sitemap/fetch.go | 38 | // Step 1: Discover sitemap files | COMMENT |
| LOW | sitemap/fetch.go | 54 | // Step 2: Use estimated URL counts to skip files before offset | COMMENT |
| LOW⚡ | sitemap/discover.go | 29 | // Step 1: GET robots.txt | COMMENT |
| LOW⚡ | sitemap/discover.go | 34 | // Step 2: fallback to well-known path | COMMENT |
| LOW | agent/robot/executor/standard/tasks.go | 432 | // Step 1: Try exact match first | COMMENT |
| LOW | agent/robot/executor/standard/tasks.go | 448 | // Step 2: Suffix match — LLM may omit namespace prefix | COMMENT |
| LOW | agent/task/move.go | 41 | // Step 1: Decrement positions in old column for items after the moved task | COMMENT |
| LOW⚡ | agent/task/move.go | 53 | // Step 2: Increment positions in new column for items at or after target position | COMMENT |
| LOW⚡ | agent/task/move.go | 63 | // Step 3: Update target task | COMMENT |
| LOW | openapi/oauth/core_test.go | 732 | // Step 1: Authorization | COMMENT |
| LOW⚡ | openapi/oauth/core_test.go | 747 | // Step 2: Token exchange | COMMENT |
| LOW⚡ | openapi/oauth/core_test.go | 754 | // Step 3: Refresh token (token already stored with proper scope information) | COMMENT |
| LOW⚡ | openapi/oauth/core_test.go | 762 | // Step 4: Revoke token | COMMENT |
| LOW⚡ | openapi/oauth/token_test.go | 664 | // Step 1: Generate access token | COMMENT |
| LOW⚡ | openapi/oauth/token_test.go | 670 | // Step 2: Store token data with expiresIn parameter | COMMENT |
| LOW⚡ | openapi/oauth/token_test.go | 676 | // Step 3: Introspect token | COMMENT |
| LOW⚡ | openapi/oauth/token_test.go | 683 | // Step 4: Validate token audience | COMMENT |
| LOW⚡ | openapi/oauth/token_test.go | 689 | // Step 5: Validate token binding | COMMENT |
| LOW⚡ | openapi/oauth/token_test.go | 699 | // Step 6: Token exchange | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 44 | // Step 1: Calls test.Prepare(t, config.Conf) to initialize the base Yao test environment | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 48 | // Step 2: Creates test provider with configured options | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 63 | // Step 1: Initialize base test environment with all Yao dependencies | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 66 | // Step 2: Initialize test provider | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 77 | // Step 1: Clean up test data from database | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 78 | // Step 2: Reset global variables | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 79 | // Step 3: Call test.Clean() to clean up the base test environment | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 83 | // Step 1: Clean up test data | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 86 | // Step 2: Reset global variables | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/user_test.go | 89 | // Step 3: Clean up base test environment | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/oauth_account_test.go | 36 | // Step 1: Create a test user first (OAuth accounts need a user_id) | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/oauth_account_test.go | 42 | // Step 2: Create test OAuth account data dynamically | COMMENT |
| LOW | openapi/oauth/providers/user/invitation_test.go | 471 | // Step 1: Create multiple codes | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/invitation_test.go | 493 | // Step 2: Use first code | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/invitation_test.go | 497 | // Step 3: Verify first code is used | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/invitation_test.go | 510 | // Step 4: Delete second code (unused) | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/invitation_test.go | 514 | // Step 5: Delete first code (used) | COMMENT |
| LOW⚡ | openapi/oauth/providers/user/invitation_test.go | 518 | // Step 6: Verify both codes are deleted | COMMENT |
| LOW | openapi/oauth/providers/user/user_mfa_test.go | 34 | // Step 1: Generate MFA Secret | COMMENT |
| LOW | openapi/oauth/providers/user/user_mfa_test.go | 49 | // Step 2: Enable MFA | COMMENT |
| 120 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/websocket.go | 1 | package cmd | COMMENT |
| LOW | cmd/websocket.go | 21 | // if len(args) < 1 { | COMMENT |
| LOW | cmd/websocket.go | 41 | // if argsLen > 2 { | COMMENT |
| LOW | cmd/get/get_test.go | 1 | package get | COMMENT |
| LOW | cmd/get/get_test.go | 21 | COMMENT | |
| LOW | sui/storages/azure/azure.go | 21 | // New create a new azure sui | COMMENT |
| LOW | sui/storages/local/block_test.go | 1 | package local | COMMENT |
| LOW | sui/storages/local/block_test.go | 21 | // assert.Equal(t, "ColumnsTwo", blocks[0].(*Block).ID) | COMMENT |
| LOW | sui/storages/local/block_test.go | 41 | // tmpl, err := tests.Demo.GetTemplate("tech-blue") | COMMENT |
| LOW | sui/storages/local/block_test.go | 61 | COMMENT | |
| LOW | sui/storages/local/block_test.go | 81 | // defer clean() | COMMENT |
| LOW | sui/storages/local/block_test.go | 101 | // if err != nil { | COMMENT |
| LOW | sui/storages/local/component_test.go | 1 | package local | COMMENT |
| LOW | sui/storages/local/component_test.go | 21 | // assert.Equal(t, "/Box/Box.html", components[0].(*Component).Codes.HTML.File) | COMMENT |
| LOW | sui/storages/local/component_test.go | 41 | // tmpl, err := tests.Demo.GetTemplate("tech-blue") | COMMENT |
| LOW | sui/storages/local/component_test.go | 61 | COMMENT | |
| LOW | sui/core/parser.go | 61 | COMMENT | |
| LOW | sui/core/parser.go | 901 | // style := sel.AttrOr("style", "") | COMMENT |
| LOW | sui/api/api.go | 41 | // "process": "sui.Setting", | COMMENT |
| LOW | sui/api/api.go | 61 | // "path": "/:id/locale/:template_id", | COMMENT |
| LOW | sui/api/api.go | 81 | // "path": "/:id/block/export/:template_id", | COMMENT |
| LOW | sui/api/api.go | 101 | // "body": "?:content", | COMMENT |
| LOW | sui/api/api.go | 121 | // { | COMMENT |
| LOW | sui/api/api.go | 141 | // "method": "POST", | COMMENT |
| LOW | sui/api/api.go | 161 | // "in": ["$param.id", "$param.template_id", "$param.route", ":payload"], | COMMENT |
| LOW | sui/api/api.go | 181 | // "in": ["$param.id", "$param.template_id", "$param.route", ":query"], | COMMENT |
| LOW | sui/api/api.go | 201 | // }, | COMMENT |
| LOW | sui/api/api.go | 221 | // "path": "/:id/asset/:template_id/@pages/*path", | COMMENT |
| LOW | sui/api/api.go | 241 | // { | COMMENT |
| LOW | tools/skills.go | 1 | package tools | COMMENT |
| LOW | tools/skills.go | 21 | // into sandbox workspaces at .claude/agents/. These define sub-agent behaviors | COMMENT |
| LOW | tools/websearch/websearch_test.go | 21 | } | COMMENT |
| LOW | monitor/README.md | 101 | COMMENT | |
| LOW | trace/trace_subscription_leak_test.go | 21 | } | COMMENT |
| LOW | kb/providers/converters/utils_test.go | 141 | } | COMMENT |
| LOW | kb/providers/converters/utils_test.go | 161 | // - Test error propagation from nested converter Make methods | COMMENT |
| LOW | kb/api/search_setup_test.go | 21 | // SearchTestScienceCollection is the fixed ID for science test collection | COMMENT |
| LOW | test/utils.go | 1 | // Package test provides comprehensive testing utilities for the Yao application framework. | COMMENT |
| LOW | test/utils.go | 21 | // test.Prepare(t, config.Conf) | COMMENT |
| LOW | test/utils.go | 41 | // test.Start(t, map[string]gin.HandlerFunc{ | COMMENT |
| LOW | test/utils.go | 61 | // 2. Parses app.yao/app.json configuration with environment variable substitution | COMMENT |
| LOW | test/utils.go | 81 | // 3. Starts server on random available port | COMMENT |
| LOW | test/utils.go | 101 | // }) | COMMENT |
| LOW | test/utils.go | 121 | // | COMMENT |
| LOW | test/utils.go | 141 | // | COMMENT |
| LOW | test/utils.go | 401 | // // Load from cache | COMMENT |
| LOW | test/utils.go | 701 | _, err := store.Load(file, share.ID(root, file)) | COMMENT |
| LOW | test/utils.go | 721 | // Instead, it only validates that configuration files are parseable. | COMMENT |
| LOW | test/utils.go | 821 | c.Abort() | COMMENT |
| LOW | config/config_test.go | 21 | // xiangPath := os.Getenv("XIANG_PATH") | COMMENT |
| LOW | attachment/process.go | 661 | } | COMMENT |
| LOW | rss/discover.go | 41 | // Discover extracts feed URLs from the given text content. | COMMENT |
| LOW | rss/process.go | 21 | // | COMMENT |
| LOW | rss/process.go | 41 | } | COMMENT |
| LOW | rss/process.go | 81 | // Usage: | COMMENT |
| LOW | rss/process.go | 141 | // | COMMENT |
| LOW | excel/write_test.go | 161 | // Optional: Save the file for manual inspection | COMMENT |
| LOW | sitemap/process.go | 21 | // processParse handles the sitemap.Parse process. | COMMENT |
| LOW | sitemap/process.go | 41 | if err != nil { | COMMENT |
| LOW | sitemap/process.go | 81 | // | COMMENT |
| 176 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pipe/process_test.go | 17 | p, err := process.Of("pipes.cli.translator", map[string]interface{}{"placeholder": "translate\nhello world"}) | CODE |
| LOW | pipe/process_test.go | 42 | p, err := process.Of("pipe.Run", "cli.translator", map[string]interface{}{"placeholder": "translate\nhello world"}) | CODE |
| LOW | pipe/process_test.go | 114 | p, err := process.Of("pipe.CreateWith", dsl, map[string]interface{}{"placeholder": "hello world"}) | CODE |
| LOW | pipe/pipe_test.go | 35 | output, err := ctx.Exec(map[string]interface{}{"placeholder": "translate\nhello world"}) | CODE |
| LOW | trace/README.md | 38 | CreatedBy: "user@example.com", | CODE |
| LOW | trace/README.md | 204 | CreatedBy: "user@example.com", | CODE |
| LOW | trace/README.md | 350 | CreatedBy: "user@example.com", | CODE |
| LOW | kb/api/README.md | 113 | "author": "John Doe", | CODE |
| LOW | grpc/IMPL.md | 250 | "user": "admin@example.com", | CODE |
| LOW | attachment/manager_test.go | 142 | strings.Repeat("Lorem ipsum dolor sit amet, consectetur adipiscing elit. ", 100) | CODE |
| LOW | attachment/manager_test.go | 142 | strings.Repeat("Lorem ipsum dolor sit amet, consectetur adipiscing elit. ", 100) | CODE |
| LOW | rss/parse_test.go | 33 | assert.Equal(t, "Jane Doe", feed.Podcast.Author) | CODE |
| LOW | rss/build_test.go | 53 | Author: "Jane Doe", | CODE |
| LOW | rss/build_test.go | 58 | Owner: &Owner{Name: "Jane Doe", Email: "jane@example.com"}, | CODE |
| LOW | rss/rss_test.go | 138 | assert.Equal(t, "Jane Doe", p.Author) | CODE |
| LOW | rss/rss_test.go | 145 | assert.Equal(t, "Jane Doe", p.Owner.Name) | CODE |
| LOW | utils/jsonschema/jsonschema_test.go | 186 | "name": "John Doe", | CODE |
| LOW | utils/jsonschema/jsonschema_test.go | 531 | "name": "John Doe", | CODE |
| LOW | agent/README.md | 25 | "placeholder": { | CODE |
| LOW | agent/assistant/assistant.go | 173 | "placeholder": ast.Placeholder, | CODE |
| LOW | agent/assistant/load_supplement_integration_test.go | 234 | assert.Equal(t, ast.Placeholder, m["placeholder"]) | CODE |
| LOW | agent/assistant/load.go | 471 | if v, ok := data["placeholder"]; ok { | CODE |
| LOW | agent/docs/i18n.md | 65 | "placeholder": { | CODE |
| LOW | agent/docs/i18n.md | 157 | "placeholder": { | CODE |
| LOW | agent/docs/configuration.md | 82 | "placeholder": { | CODE |
| LOW | agent/docs/configuration.md | 231 | "placeholder": { | CODE |
| LOW | agent/robot/types/robot_test.go | 555 | Target: "user@example.com", | CODE |
| LOW⚡ | agent/robot/types/robot_test.go | 707 | Target: "user@example.com", | CODE |
| LOW⚡ | agent/robot/types/robot_test.go | 709 | Recipients: []string{"user@example.com", "manager@example.com"}, | CODE |
| LOW⚡ | agent/robot/types/robot_test.go | 716 | assert.Equal(t, "user@example.com", result.Target) | CODE |
| LOW | agent/robot/executor/standard/goals_integration_test.go | 101 | "recipients": []interface{}{"user@example.com", "team@example.com"}, | CODE |
| LOW | agent/robot/executor/standard/goals_integration_test.go | 111 | assert.Equal(t, []string{"user@example.com", "team@example.com"}, result.Recipients) | CODE |
| LOW | agent/robot/executor/standard/goals_integration_test.go | 122 | data := map[string]interface{}{"recipients": []interface{}{"user@example.com"}} | CODE |
| LOW | agent/robot/executor/standard/goals_integration_test.go | 127 | data := map[string]interface{}{"type": "sms", "recipients": []interface{}{"user@example.com"}} | CODE |
| LOW | agent/robot/executor/standard/input_unit_test.go | 297 | Recipients: []string{"user@example.com"}, | CODE |
| LOW | agent/robot/executor/standard/input_unit_test.go | 306 | assert.Contains(t, result, "user@example.com") | CODE |
| LOW | agent/store/types/fields.go | 18 | "placeholder": true, | CODE |
| LOW | agent/store/types/fields.go | 97 | "placeholder", | CODE |
| LOW | agent/store/types/prompt_test.go | 406 | ctx: map[string]string{"USER": "user@example.com"}, | CODE |
| LOW | agent/store/types/convert.go | 474 | if placeholder, ok := data["placeholder"]; ok && placeholder != nil { | CODE |
| LOW | agent/store/types/fields_test.go | 129 | "placeholder", | CODE |
| LOW | agent/store/types/fields_test.go | 180 | "placeholder", | CODE |
| LOW | agent/store/types/fields_test.go | 235 | "placeholder", | CODE |
| LOW | agent/store/types/convert_test.go | 559 | "placeholder": map[string]interface{}{ | CODE |
| LOW | agent/store/types/convert_test.go | 748 | "placeholder": nil, | CODE |
| LOW | agent/store/xun/assistant.go | 176 | "placeholder": assistant.Placeholder, | CODE |
| LOW | agent/store/xun/assistant.go | 243 | jsonFields := []string{"options", "tags", "modes", "prompts", "prompt_presets", "connector_options", "kb", "db", "mcp", | CODE |
| LOW | agent/store/xun/assistant.go | 462 | jsonFields := []string{"tags", "options", "prompts", "prompt_presets", "connector_options", "workflow", "sandbox", "kb" | CODE |
| LOW | agent/store/xun/assistant.go | 535 | jsonFields := []string{"tags", "modes", "options", "prompts", "prompt_presets", "connector_options", "workflow", "sandb | CODE |
| LOW | agent/store/xun/assistant.go | 669 | if placeholder, has := data["placeholder"]; has && placeholder != nil { | CODE |
| LOW | openapi/README.md | 102 | "username": "user@example.com", | CODE |
| LOW | openapi/README.md | 406 | "username": "user@example.com", | CODE |
| LOW | openapi/README.md | 422 | "email": "user@example.com", | CODE |
| LOW | openapi/README.md | 423 | "name": "John Doe" | CODE |
| LOW | openapi/README.md | 671 | "username": "user@example.com", | CODE |
| LOW | openapi/oauth/oauth_test.go | 132 | Email: "admin@example.com", | CODE |
| LOW | openapi/oauth/oauth_test.go | 153 | Name: "John Doe", | CODE |
| LOW | openapi/oauth/providers/user/member_test.go | 127 | "invitation_token": "fake-token", | CODE |
| LOW | openapi/oauth/providers/user/member_test.go | 357 | "admin@example.com", | CODE |
| LOW | openapi/oauth/providers/user/member_test.go | 1352 | "admin@example.com", | CODE |
| 111 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | agent/store/redis/redis.go | 19 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 25 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 31 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 37 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 43 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 53 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 59 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 65 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 71 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 81 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 87 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 93 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 99 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 105 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 111 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 121 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 127 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 133 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 139 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 145 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 151 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 157 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 167 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 173 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 179 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/redis/redis.go | 185 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 19 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 25 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 31 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 37 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 43 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 53 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 59 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 65 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 71 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 81 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 87 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 93 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 99 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 105 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 111 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 121 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 127 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 133 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 139 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 145 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 151 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 157 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 167 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 173 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 179 | // TODO: implement | COMMENT |
| LOW⚡ | agent/store/mongo/mongo.go | 185 | // TODO: implement | COMMENT |
| LOW | openapi/kb/segment.go | 345 | // TODO: Add proper logging | COMMENT |
| LOW | openapi/kb/segment.go | 404 | // TODO: Add proper logging | COMMENT |
| LOW | job/execution.go | 144 | Sequence: 0, // TODO: implement sequence tracking | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | agent/load_integration_test.go | 61 | assert.Equal(t, "hnsw", dsl.KB.Chat.Config.IndexType.String()) | CODE |
| CRITICAL | agent/load_integration_test.go | 62 | assert.Equal(t, "cosine", dsl.KB.Chat.Config.Distance.String()) | CODE |
| CRITICAL | widgets/table/layout.go | 188 | clone.Header.Preset.Import.Actions = clone.Header.Preset.Import.Actions.Filter(excludes) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | yao/data/kb/providers/embedding/fastembed/zh-cn.json | 143 | "placeholder": "your-api-key-here", | CODE |
| HIGH⚡ | yao/data/kb/providers/embedding/fastembed/en.json | 143 | "placeholder": "your-api-key-here", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | agent/sandbox/v2/images.yml | 3 | # This file is embedded into the Yao binary at compile time. | COMMENT |
| MEDIUM | unit-test/agent/scripts/_common.sh | 4 | # This file provides: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | agent/robot/TECHNICAL.md | 27 | ├── manager/ # Manager package (orchestration) | CODE |
| MEDIUM | unit-test/agent/scripts/_common.sh | 149 | # Skip test-orchestration-only variables | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | agent/search/handlers/web/tavily.go | 54 | IncludeAnswer bool `json:"include_answer,omitempty"` // Include AI-generated answer | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | attachment/types.go | 18 | // Example usage: | COMMENT |
| LOW⚡ | unit-test/agent/app/openapi/scopes/alias.yml | 109 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | trace/manager.go | 685 | space, err := m.GetSpace(id) // Use GetSpace to leverage cache | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …test/agent/app/assistants/tests/hook-next/src/index.ts | 100 | function scenarioConditionalDelegate(completion: any): any { | CODE |