Harness engineering beginner tutorial, from 0 to 1
This report summarizes scanner evidence for walkinglabs/learn-harness-engineering, a TypeScript project with 22,689 GitHub stars. SynthScan examined 194,427 lines of code across 2457 source files, recording 87 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 1.0 (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? 72 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 16 finding(s).
Which changes need focused human review? 87 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 87 distinct pattern matches across 8 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 | docs/uz/resources/reference/index.md | 18 | - [OpenAI: Harness engineering: leveraging Codex in an agent-first world](https://openai.com/index/harness-engineering/) | CODE |
| MEDIUM | docs/uz/resources/reference/index.md | 46 | - [GitHub: Automate repository tasks with GitHub Agentic Workflows](https://github.blog/ai-and-ml/automate-repository-ta | CODE |
| MEDIUM | docs/uz/harness-designs/claude-code/index.md | 3 | Anthropic “[Uzoq ishlaydigan agentlar uchun samarali harnessʼlar](https://www.anthropic.com/engineering/effective-harnes | CODE |
| MEDIUM | docs/uz/lectures/lecture-13-loop-engineering/index.md | 472 | - [Simon Willison: Designing Agentic Loops (Sep 2025)](https://simonw.substack.com/p/designing-agentic-loops) | CODE |
| MEDIUM | docs/vi/harness-designs/claude-code/index.md | 3 | Trong bài viết “[Effective harnesses for long-running agents](https://www.anthropic.com/engineering/effective-harnesses- | CODE |
| MEDIUM | docs/vi/lectures/lecture-13-loop-engineering/index.md | 472 | - [Simon Willison: Designing Agentic Loops (Sep 2025)](https://simonw.substack.com/p/designing-agentic-loops) | CODE |
| MEDIUM | docs/ja/harness-designs/claude-code/index.md | 3 | Anthropic は『[Effective harnesses for long-running agents](https://www.anthropic.com/engineering/effective-harnesses-for- | CODE |
| MEDIUM | docs/ja/lectures/lecture-13-loop-engineering/index.md | 472 | - [Simon Willison: Designing Agentic Loops (Sep 2025)](https://simonw.substack.com/p/designing-agentic-loops) | CODE |
| MEDIUM | docs/ru/harness-designs/claude-code/index.md | 3 | В статье «[Effective harnesses for long-running agents](https://www.anthropic.com/engineering/effective-harnesses-for-lo | CODE |
| MEDIUM | docs/ru/lectures/lecture-13-loop-engineering/index.md | 472 | - [Simon Willison: Designing Agentic Loops (Sep 2025)](https://simonw.substack.com/p/designing-agentic-loops) | CODE |
| MEDIUM | docs/zh/resources/reference/index.md | 46 | - [GitHub: Automate repository tasks with GitHub Agentic Workflows](https://github.blog/ai-and-ml/automate-repository-ta | CODE |
| MEDIUM | docs/zh/harness-designs/claude-code/index.md | 3 | Anthropic 在《[Effective harnesses for long-running agents](https://www.anthropic.com/engineering/effective-harnesses-for- | CODE |
| MEDIUM | docs/zh/lectures/lecture-13-loop-engineering/index.md | 472 | - [Simon Willison: Designing Agentic Loops (Sep 2025)](https://simonw.substack.com/p/designing-agentic-loops) | CODE |
| MEDIUM | docs/uk/resources/reference/index.md | 58 | - [GitHub: Automate repository tasks with GitHub Agentic Workflows](https://github.blog/ai-and-ml/automate-repository-ta | CODE |
| MEDIUM | docs/uk/harness-designs/claude-code/index.md | 3 | У статті «[Effective harnesses for long-running agents](https://www.anthropic.com/engineering/effective-harnesses-for-lo | CODE |
| MEDIUM | docs/uk/lectures/lecture-13-loop-engineering/index.md | 472 | - [Саймон Віллісон: Проектування агентних циклів (вер 2025)](https://simonw.substack.com/p/designing-agentic-loops) | CODE |
| MEDIUM | docs/zh-TW/resources/reference/index.md | 46 | - [GitHub: Automate repository tasks with GitHub Agentic Workflows](https://github.blog/ai-and-ml/automate-repository-ta | CODE |
| MEDIUM | docs/zh-TW/harness-designs/claude-code/index.md | 3 | Anthropic 在《[Effective harnesses for long-running agents](https://www.anthropic.com/engineering/effective-harnesses-for- | CODE |
| MEDIUM | …cs/zh-TW/lectures/lecture-13-loop-engineering/index.md | 472 | - [Simon Willison: Designing Agentic Loops (Sep 2025)](https://simonw.substack.com/p/designing-agentic-loops) | CODE |
| MEDIUM | docs/ar/harness-designs/claude-code/index.md | 3 | توضح Anthropic في مقال [Effective harnesses for long-running agents](https://www.anthropic.com/engineering/effective-har | CODE |
| MEDIUM | docs/ar/lectures/lecture-13-loop-engineering/index.md | 472 | - [سايمون ويليسون: تصميم الحلقات الوكيلية (سبتمبر 2025)](https://simonw.substack.com/p/designing-agentic-loops) | CODE |
| MEDIUM | docs/pt-BR/resources/reference/index.md | 46 | - [GitHub: Automatize tarefas de repositório com GitHub Agentic Workflows](https://github.blog/ai-and-ml/automate-reposi | CODE |
| MEDIUM | docs/pt-BR/harness-designs/claude-code/index.md | 3 | Em [Effective harnesses for long-running agents](https://www.anthropic.com/engineering/effective-harnesses-for-long-runn | CODE |
| MEDIUM | …cs/pt-BR/lectures/lecture-13-loop-engineering/index.md | 472 | - [Simon Willison: Designing Agentic Loops (Sep 2025)](https://simonw.substack.com/p/designing-agentic-loops) | CODE |
| MEDIUM | docs/de/harness-designs/claude-code/index.md | 3 | Anthropic erklärt in [Effective harnesses for long-running agents](https://www.anthropic.com/engineering/effective-harne | CODE |
| MEDIUM | docs/de/lectures/lecture-13-loop-engineering/index.md | 472 | - [Simon Willison: Designing Agentic Loops (Sep 2025)](https://simonw.substack.com/p/designing-agentic-loops) | CODE |
| MEDIUM | docs/ko/harness-designs/claude-code/index.md | 3 | Anthropic은 《[Effective harnesses for long-running agents](https://www.anthropic.com/engineering/effective-harnesses-for- | CODE |
| MEDIUM | docs/ko/lectures/lecture-13-loop-engineering/index.md | 472 | - [Simon Willison: Designing Agentic Loops (Sep 2025)](https://simonw.substack.com/p/designing-agentic-loops) | CODE |
| MEDIUM | docs/fr/resources/reference/index.md | 62 | - [GitHub : Automate repository tasks with GitHub Agentic Workflows](https://github.blog/ai-and-ml/automate-repository-t | CODE |
| MEDIUM | docs/fr/harness-designs/claude-code/index.md | 3 | Dans « [Effective harnesses for long-running agents](https://www.anthropic.com/engineering/effective-harnesses-for-long- | CODE |
| MEDIUM | docs/fr/lectures/lecture-13-loop-engineering/index.md | 472 | - [Simon Willison : Designing Agentic Loops (Sep 2025)](https://simonw.substack.com/p/designing-agentic-loops) | CODE |
| MEDIUM | docs/es/resources/reference/index.md | 58 | - [GitHub: Automate repository tasks with GitHub Agentic Workflows](https://github.blog/ai-and-ml/automate-repository-ta | CODE |
| MEDIUM | docs/es/harness-designs/claude-code/index.md | 3 | Anthropic afirma explícitamente en «[Effective harnesses for long-running agents](https://www.anthropic.com/engineering/ | CODE |
| MEDIUM | docs/es/lectures/lecture-13-loop-engineering/index.md | 472 | - [Simon Willison: Designing Agentic Loops (Sep 2025)](https://simonw.substack.com/p/designing-agentic-loops) | CODE |
| MEDIUM | docs/en/resources/reference/index.md | 27 | - [OpenAI: Harness engineering: leveraging Codex in an agent-first world](https://openai.com/index/harness-engineering/) | CODE |
| MEDIUM | docs/en/resources/reference/index.md | 59 | - [GitHub: Automate repository tasks with GitHub Agentic Workflows](https://github.blog/ai-and-ml/automate-repository-ta | CODE |
| MEDIUM | docs/en/harness-designs/claude-code/index.md | 3 | In [Effective harnesses for long-running agents](https://www.anthropic.com/engineering/effective-harnesses-for-long-runn | CODE |
| MEDIUM | docs/en/lectures/lecture-13-loop-engineering/index.md | 472 | - [Simon Willison: Designing Agentic Loops (Sep 2025)](https://simonw.substack.com/p/designing-agentic-loops) | CODE |
| MEDIUM | docs/tr/resources/reference/index.md | 58 | - [GitHub: Automate repository tasks with GitHub Agentic Workflows](https://github.blog/ai-and-ml/automate-repository-ta | CODE |
| MEDIUM | docs/tr/harness-designs/claude-code/index.md | 3 | Anthropic, [Effective harnesses for long-running agents](https://www.anthropic.com/engineering/effective-harnesses-for-l | CODE |
| MEDIUM | docs/tr/lectures/lecture-13-loop-engineering/index.md | 472 | - [Simon Willison: Designing Agentic Loops (Sep 2025)](https://simonw.substack.com/p/designing-agentic-loops) | CODE |
| MEDIUM | skills/README-KO.md | 67 | ├── templates/ # 스캐폴드(scaffold) 템플릿 | CODE |
| MEDIUM | skills/README-PT-BR.md | 45 | ├── scripts/ # Auxiliares de scaffold, validação, benchmark | CODE |
| MEDIUM | skills/README-PT-BR.md | 47 | ├── templates/ # Templates de scaffold | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tools/audit-harness.sh | 16 | # ── Colours ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/audit-harness.sh | 111 | # ── Subsystem 1: Instructions ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/audit-harness.sh | 164 | # ── Subsystem 2: Tools ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/audit-harness.sh | 174 | # ── Subsystem 3: Environment ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/audit-harness.sh | 197 | # ── Subsystem 4: State ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/audit-harness.sh | 228 | # ── Subsystem 5: Feedback ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/audit-harness.sh | 243 | # ── L05: Cross-Session Continuity ───────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/audit-harness.sh | 272 | # ── L03: Repository as System of Record ─────────────────────────────────────── | COMMENT |
| MEDIUM | tools/audit-harness.sh | 296 | # ── L07: WIP=1 and VCR Enforcement ─────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/audit-harness.sh | 334 | # ── L08: Feature List as Harness Primitive ──────────────────────────────────── | COMMENT |
| MEDIUM | tools/audit-harness.sh | 373 | # ── L09: Preventing Premature Completion Declarations ───────────────────────── | COMMENT |
| MEDIUM | tools/audit-harness.sh | 408 | # ── L10: End-to-End Testing and Architectural Boundaries ───────────────────── | COMMENT |
| MEDIUM | tools/audit-harness.sh | 445 | # ── L11: Observability Inside the Harness ───────────────────────────────────── | COMMENT |
| MEDIUM | tools/audit-harness.sh | 478 | # ── L12: Clean State Protocol ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/audit-harness.sh | 511 | # ── Summary ──────────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | package-lock.json | 3573 | "resolved": "https://registry.npmmirror.com/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |
| MEDIUM⚡ | tools/audit-harness.sh | 2 | # audit-harness.sh — Zero-dependency shell audit for harness engineering | COMMENT |
| MEDIUM⚡ | tools/audit-harness.sh | 3 | # Usage: ./tools/audit-harness.sh [path/to/repo] | COMMENT |
| MEDIUM⚡ | tools/audit-harness.sh | 4 | # curl -fsSL https://raw.githubusercontent.com/walkinglabs/learn-harness-engineering/main/tools/audit-harness.sh | COMMENT |
| MEDIUM⚡ | tools/audit-harness.sh | 5 | # Checks an existing repo for all five harness subsystems (L03–L12). | COMMENT |
| MEDIUM⚡ | tools/audit-harness.sh | 7 | # No Node.js required — complements skills/harness-creator/scripts/validate-harness.mjs | COMMENT |
| MEDIUM⚡ | tools/audit-harness.sh | 9 | # Course reference: https://walkinglabs.github.io/learn-harness-engineering/en/ | COMMENT |
| MEDIUM⚡ | tools/audit-harness.sh | 10 | # Author: Stephen Kimoi (https://github.com/Stephen-Kimoi/harness-engineering-template) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/en/lectures/lecture-13-loop-engineering/index.md | 412 | ### Step 1: Pick One Recurring Task | COMMENT |
| LOW | docs/en/lectures/lecture-13-loop-engineering/index.md | 419 | ### Step 2: Write a Goal and Stopping Condition | COMMENT |
| LOW⚡ | docs/en/lectures/lecture-13-loop-engineering/index.md | 432 | ### Step 3: Split Maker and Checker | COMMENT |
| LOW⚡ | docs/en/lectures/lecture-13-loop-engineering/index.md | 438 | ### Step 4: Add Memory | COMMENT |
| LOW⚡ | docs/en/lectures/lecture-13-loop-engineering/index.md | 442 | ### Step 5: Set a Timer | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/audit-harness.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …ects/project-06/solution/scripts/check-architecture.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | projects/project-06/solution/scripts/cleanup-scanner.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …ects/project-04/solution/scripts/check-architecture.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …5/solution/plan-gen-eval/scripts/check-architecture.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …-05/solution/single-role/scripts/check-architecture.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …ect-05/solution/gen-eval/scripts/check-architecture.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …jects/project-05/starter/scripts/check-architecture.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/build-anchor-map.ts | 1 | // Generates docs/.vitepress/anchor-map.json. | COMMENT |
| LOW | scripts/validate-anchors.ts | 1 | // Checks that docs/.vitepress/anchor-map.json is in sync with the English source. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/readme-visuals/render.py | 221 | CODE | |
| LOW | scripts/readme-visuals/render.py | 275 | CODE | |
| LOW | scripts/readme-visuals/render.py | 348 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | projects/project-06/solution/scripts/cleanup-scanner.sh | 36 | # Check if data directory exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/.vitepress/theme/index.js | 177 | function updateMermaidViewerFitScale() { | CODE |