What are the principles we can use to build LLM-powered software that is actually good enough to put in the hands of production customers?
This report summarizes scanner evidence for humanlayer/12-factor-agents, a TypeScript project with 26,933 GitHub stars. SynthScan examined 76,972 lines of code across 302 source files, recording 37 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 0.7 (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? 24 finding(s).
Are imports declared and package/API names verified? 9 finding(s).
Are wrappers, guards, and repeated structures necessary? 6 finding(s).
Which changes need focused human review? 37 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 37 distinct pattern matches across 9 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 | workshops/2025-07-16/test_notebook_colab_sim.sh | 40 | # Create a Python script to execute the notebook | COMMENT |
| MEDIUM | workshops/2025-07-16/walkthrough/05-main.py | 20 | # Create a new thread with the user's message | COMMENT |
| MEDIUM | workshops/2025-07-16/walkthrough/07-main.py | 6 | # Create a new thread with the user's message | COMMENT |
| MEDIUM | workshops/2025-07-16/walkthrough/03-main.py | 2 | # Create a new thread with the user's message | COMMENT |
| MEDIUM | workshops/2025-07-16/walkthrough/02-main.py | 2 | # Create a new thread with the user's message | COMMENT |
| MEDIUM | workshops/2025-07-16/walkthrough/01-main.py | 2 | # Create a new thread with the user's message as the initial event | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | content/factor-09-compact-errors.md | 23 | # if we get an error, we can add it to the context window and try again | COMMENT |
| MEDIUM | content/factor-09-compact-errors.md | 57 | # break the loop, reset parts of the context window, escalate to a human, or whatever else you want to do | COMMENT |
| MEDIUM | content/factor-03-own-your-context-window.md | 3 | ### 3. Own your context window | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | workshops/2025-07-16/walkthroughgen_py.py | 87 | CODE | |
| LOW | workshops/2025-07-16/walkthrough/05-agent.py | 4 | CODE | |
| LOW | workshops/2025-07-16/walkthrough/03b-agent.py | 13 | CODE | |
| LOW | workshops/2025-07-16/walkthrough/07-agent.py | 38 | CODE | |
| LOW | workshops/2025-07-16/walkthrough/07-agent.py | 13 | CODE | |
| LOW | workshops/2025-07-16/hack/inspect_notebook.py | 9 | CODE | |
| LOW | workshops/2025-07-16/hack/analyze_log_capture.py | 9 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | workshops/2025-07-16/walkthroughgen_py.py | 148 | # Check if args are provided | STRING |
| LOW | workshops/2025-07-16/walkthroughgen_py.py | 153 | # Check if kwargs are provided | STRING |
| LOW | workshops/2025-07-16/test_notebook_colab_sim.sh | 103 | # Check if Python BAML client was generated | COMMENT |
| LOW | workshops/2025-07-16/test_notebook_colab_sim.sh | 106 | # Check if it's Python or TypeScript | COMMENT |
| LOW | workshops/2025-07-16/hack/analyze_log_capture.py | 24 | # Check if this is a log capture test cell | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | workshops/2025-07-16/test_notebook_colab_sim.sh | 83 | except Exception as e: | CODE |
| MEDIUM | workshops/2025-07-16/hack/testing.md | 140 | " print(f'Error: {e}')" | CODE |
| LOW | content/factor-09-compact-errors.md | 22 | except Exception as e: | CODE |
| LOW | content/factor-09-compact-errors.md | 48 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | drafts/a2h-spec.md | 132 | "name": "John Doe", | CODE |
| LOW | drafts/a2h-spec.md | 304 | "name": "Jane Doe", | CODE |
| LOW | drafts/a2h-spec.md | 309 | "name": "John Doe", | CODE |
| LOW | drafts/a2h-spec.md | 325 | "name": "Jane Doe", | CODE |
| LOW | drafts/a2h-spec.md | 343 | "name": "John Doe", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | workshops/2025-07-16/walkthroughgen_py.py | 7 | CODE | |
| LOW | workshops/2025-07-16/walkthroughgen_py.py | 8 | CODE | |
| LOW | workshops/2025-07-16/walkthrough/03b-agent.py | 2 | CODE | |
| LOW | hack/contributors_markdown/contributors_markdown.py | 20 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | workshops/2025-07-16/walkthroughgen_py.py | 170 | def convert_walkthrough_to_notebook(yaml_path, output_path): | STRING |
| LOW | packages/walkthroughgen/src/cli.ts | 209 | function generateRichSectionMarkdown( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/create-12-factor-agent/template/src/cli.ts | 41 | const args = process.argv.slice(2); | COMMENT |