<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Neo</title>
    <description>The latest articles on DEV Community by Neo (@neo_efecd668f2fc8966c7e72).</description>
    <link>https://dev.to/neo_efecd668f2fc8966c7e72</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2084060%2F9319ad89-ca9a-4739-a509-5627dc178c1a.jpg</url>
      <title>DEV Community: Neo</title>
      <link>https://dev.to/neo_efecd668f2fc8966c7e72</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/neo_efecd668f2fc8966c7e72"/>
    <language>en</language>
    <item>
      <title>My First Foray into Harness Engineers</title>
      <dc:creator>Neo</dc:creator>
      <pubDate>Wed, 22 Apr 2026 03:09:27 +0000</pubDate>
      <link>https://dev.to/neo_efecd668f2fc8966c7e72/my-first-foray-into-harness-engineers-j3p</link>
      <guid>https://dev.to/neo_efecd668f2fc8966c7e72/my-first-foray-into-harness-engineers-j3p</guid>
      <description>&lt;p&gt;When our team set out to build &lt;strong&gt;BypassHire&lt;/strong&gt; — an AI tool that cuts job-application time from 45 minutes to under 5 — we quickly realized that the interesting engineering challenge wasn't the model. The model was the easy part. The hard part was everything around it.&lt;/p&gt;

&lt;p&gt;Martin Fowler recently named that surrounding layer: &lt;strong&gt;harness engineering&lt;/strong&gt;. A harness is everything in a coding-agent setup except the model itself — the guides, sensors, rules, and scaffolding that determine whether the agent produces something you can trust. We spent a significant portion of our sprint designing exactly that, and this post describes what we built and why.&lt;/p&gt;

&lt;h2&gt;
  
  
  Guides: Steering the Agent Before It Writes a Line
&lt;/h2&gt;

&lt;p&gt;Fowler divides harness mechanisms into two categories. &lt;strong&gt;Guides&lt;/strong&gt; are feedforward controls — they anticipate problems and shape behavior upfront.&lt;/p&gt;

&lt;p&gt;Our primary guide is &lt;code&gt;CLAUDE.md&lt;/code&gt;, a project-level instruction file that encodes our conventions, enforced workflow order (&lt;code&gt;/plan → /tdd → /build-fix → /code-review → /verify&lt;/code&gt;), security rules, and coverage thresholds. Every session starts with Claude reading this file. It establishes the rules of the game before any code is generated.&lt;/p&gt;

&lt;p&gt;Beyond static documentation, we deployed a suite of &lt;strong&gt;specialized sub-agents&lt;/strong&gt; — architect, planner, tdd-guide, code-reviewer, security-reviewer, and build-error-resolver — each scoped to a specific responsibility. The security-reviewer, for instance, is OWASP-scoped and fires on any PR touching auth routes, DB queries, or Claude API prompts. Rather than one general-purpose agent deciding everything, we built a council of narrow experts. Specialization reduces the surface area each agent must reason over, which increases reliability.&lt;/p&gt;

&lt;p&gt;MCP server integrations (GitHub, Playwright, Vercel) extend the agent's reach into external systems without loosening its guardrails. The agent can check deployment status or run a browser test; it cannot make unreviewed changes to production.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sensors: Catching Problems After the Fact
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Sensors&lt;/strong&gt; are feedback controls — they observe what was generated and signal corrections. This is where Claude Code's hook system becomes infrastructure.&lt;/p&gt;

&lt;p&gt;We run &lt;strong&gt;four hooks&lt;/strong&gt; wired into the session lifecycle:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Lint on edit:&lt;/strong&gt; ESLint and Prettier fire immediately after any &lt;code&gt;.ts&lt;/code&gt; or &lt;code&gt;.tsx&lt;/code&gt; file is touched. The feedback loop collapses to milliseconds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test-runner guard on exit:&lt;/strong&gt; When Claude tries to end the session, &lt;code&gt;npm test&lt;/code&gt; runs automatically. If tests fail, the session is blocked from closing. "I'll fix it later" becomes structurally impossible.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Green-test commit signal:&lt;/strong&gt; After any test-runner Bash call exits 0, a hook injects a nudge asking whether to checkpoint. Signal only — Claude decides; the hook never runs &lt;code&gt;git commit&lt;/code&gt; itself.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Task-completion commit signal:&lt;/strong&gt; When a todo transitions to &lt;code&gt;completed&lt;/code&gt;, a snapshot diff fires the same nudge for that work slice.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Fowler distinguishes &lt;strong&gt;computational&lt;/strong&gt; sensors (fast, deterministic: linters, type checkers, tests) from &lt;strong&gt;inferential&lt;/strong&gt; ones (AI-powered, slower, but semantically richer). Our hooks are computational. Our code-review and security-reviewer sub-agents are inferential — they catch the architectural and behavioral issues that linters cannot see.&lt;/p&gt;

&lt;h2&gt;
  
  
  Harnessability: The Stack Matters
&lt;/h2&gt;

&lt;p&gt;Not every codebase is equally amenable to harnesses. Fowler calls this &lt;strong&gt;harnessability&lt;/strong&gt; — the structural properties that make a system legible to agents. We chose TypeScript, Prisma, Zod, and Next.js App Router deliberately. Strong types, a schema-validated ORM, and runtime input validation at every API boundary give both human reviewers and agent sensors precise, machine-readable contracts to work against. The harness is only as good as the surface it grips.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Steering Loop
&lt;/h2&gt;

&lt;p&gt;Fowler's most important insight is that harnesses require a &lt;strong&gt;steering loop&lt;/strong&gt; — humans monitoring repeated failures and tightening controls in response. After our first sprint, we noticed Claude occasionally drifted on auth patterns; we added an ESLint rule that bans direct imports from &lt;code&gt;@clerk/nextjs/server&lt;/code&gt;, forcing all auth through our &lt;code&gt;src/lib/auth&lt;/code&gt; wrapper. The harness got smarter because we observed where it was failing.&lt;/p&gt;

&lt;p&gt;That loop — observe, encode, enforce — is the actual job of a harness engineer. The model handles generation. We handle the system that keeps generation honest.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>productivity</category>
      <category>softwareengineering</category>
    </item>
  </channel>
</rss>
