<?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: Omar Aderkaoui</title>
    <description>The latest articles on DEV Community by Omar Aderkaoui (@whoelsebutumar).</description>
    <link>https://dev.to/whoelsebutumar</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%2F808677%2Fc00654d0-dd46-4cda-a394-33d5da73ccf4.jpg</url>
      <title>DEV Community: Omar Aderkaoui</title>
      <link>https://dev.to/whoelsebutumar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/whoelsebutumar"/>
    <language>en</language>
    <item>
      <title>Harness Config: A Source-to-Surface Model for AI Tool Config</title>
      <dc:creator>Omar Aderkaoui</dc:creator>
      <pubDate>Tue, 02 Jun 2026 12:11:55 +0000</pubDate>
      <link>https://dev.to/whoelsebutumar/harness-config-a-source-to-surface-model-for-ai-tool-config-1obm</link>
      <guid>https://dev.to/whoelsebutumar/harness-config-a-source-to-surface-model-for-ai-tool-config-1obm</guid>
      <description>&lt;p&gt;Most repositories were not designed for the number of AI coding tools developers now use side by side.&lt;/p&gt;

&lt;p&gt;A repo might have &lt;code&gt;AGENTS.md&lt;/code&gt; for Codex-readable instructions, &lt;code&gt;.claude/&lt;/code&gt; for Claude-specific configuration, &lt;code&gt;.cursor/&lt;/code&gt; for Cursor rules, &lt;code&gt;.agents/&lt;/code&gt; for another declared harness surface, plus prompts, skills, hooks, local settings, and tool-specific runtime files.&lt;/p&gt;

&lt;p&gt;Each file makes sense on its own. Each tool needs somewhere to read instructions from.&lt;/p&gt;

&lt;p&gt;The problem starts when those places become competing sources of truth.&lt;/p&gt;

&lt;p&gt;A rule gets copied into multiple folders. One copy changes, another does not. A runtime setting gets written locally and then committed by accident. A team-specific override starts looking like shared project configuration.&lt;/p&gt;

&lt;p&gt;The repo still works, but ownership becomes unclear.&lt;/p&gt;

&lt;p&gt;That is the drift problem Harness Config is trying to address.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Harness Config Means by “Harness”
&lt;/h2&gt;

&lt;p&gt;Harness Config uses a few terms carefully.&lt;/p&gt;

&lt;p&gt;A &lt;strong&gt;harness&lt;/strong&gt; is an AI agent or developer-facing tool runtime that consumes repository instructions, context, tools, and configuration.&lt;/p&gt;

&lt;p&gt;A &lt;strong&gt;harness surface&lt;/strong&gt; is the repo-local file or folder that a harness reads from. Examples include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;AGENTS.md&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;.agents/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;.claude/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;.cursor/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;another declared output location&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The important idea is that these live surfaces do not have to be the durable source.&lt;/p&gt;

&lt;p&gt;They can be projected outputs.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Source-to-Surface Model
&lt;/h2&gt;

&lt;p&gt;Harness Config proposes keeping reviewed configuration in a source layout, commonly under &lt;code&gt;.harness/&lt;/code&gt;, and projecting that source into declared harness surfaces.&lt;/p&gt;

&lt;p&gt;In plain terms:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;.harness/&lt;/code&gt; is the reviewed source.&lt;/li&gt;
&lt;li&gt;Projection computes what each declared surface should receive.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;AGENTS.md&lt;/code&gt;, &lt;code&gt;.agents/&lt;/code&gt;, &lt;code&gt;.claude/&lt;/code&gt;, &lt;code&gt;.cursor/&lt;/code&gt;, and similar locations are the live harness surfaces.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The source is authored and reviewed.&lt;/p&gt;

&lt;p&gt;The surfaces are what tools read.&lt;/p&gt;

&lt;p&gt;That boundary matters because live tool folders often contain a mix of reviewed config, projected output, local settings, and runtime-owned state.&lt;/p&gt;

&lt;h2&gt;
  
  
  The CLI Workflow
&lt;/h2&gt;

&lt;p&gt;The CLI follows the same model.&lt;/p&gt;

&lt;p&gt;A manifest declares configured sources and declared surfaces. Then the CLI can validate the repo and preview activation before writing anything.&lt;/p&gt;

&lt;p&gt;The rough workflow is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx harnessc validate
npx harnessc activate
npx harnessc activate &lt;span class="nt"&gt;--yes&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The mental model is simple:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;validate&lt;/code&gt; checks the configuration&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;activate&lt;/code&gt; previews the projection&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;activate --yes&lt;/code&gt; writes the projection&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That preview step is important. It makes changes inspectable before projected files are updated.&lt;/p&gt;

&lt;h2&gt;
  
  
  This Is Not One Generic Config for Every Tool
&lt;/h2&gt;

&lt;p&gt;Different AI tools need different configuration.&lt;/p&gt;

&lt;p&gt;Codex, Claude, Cursor, and other harnesses do not all consume the same files in the same way. A useful standard has to allow those differences instead of hiding them.&lt;/p&gt;

&lt;p&gt;Harness Config supports that through shared resources, target-specific overrides, profiles, composable instruction files, and mutable files.&lt;/p&gt;

&lt;p&gt;That means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;shared resources can stay shared&lt;/li&gt;
&lt;li&gt;tool-specific output can still be projected&lt;/li&gt;
&lt;li&gt;profiles can switch configuration for different modes of work&lt;/li&gt;
&lt;li&gt;mutable files can be seeded once and then owned by the runtime&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The point is not to make every tool identical.&lt;/p&gt;

&lt;p&gt;The point is to make ownership visible.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why This Matters
&lt;/h2&gt;

&lt;p&gt;As teams add more AI coding tools to the same repository, configuration drift becomes easier to miss.&lt;/p&gt;

&lt;p&gt;Without a source-to-surface model, every new tool adds another place where instructions can be copied, changed, or forgotten.&lt;/p&gt;

&lt;p&gt;Over time, a file may still be technically valid, but no one knows whether it is meant to be edited directly, projected from somewhere else, or owned by the runtime.&lt;/p&gt;

&lt;p&gt;With a projection model, the repo can still support multiple harnesses, but the authored configuration has a clearer home.&lt;/p&gt;

&lt;p&gt;I have been working on the repo as a collaborator, and this is the part that stands out to me: Harness Config is less about forcing tools to be the same, and more about making configuration ownership explicit.&lt;/p&gt;

&lt;p&gt;Different harnesses should have different config when they need it.&lt;/p&gt;

&lt;p&gt;But the repo should make it clear which files are reviewed source, which files are projected surfaces, and which files belong to the runtime.&lt;/p&gt;

&lt;p&gt;That is the boundary Harness Config is trying to define.&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/reachjalil/harness-config" rel="noopener noreferrer"&gt;https://github.com/reachjalil/harness-config&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Spec: &lt;a href="https://www.harnessconfig.dev/" rel="noopener noreferrer"&gt;https://www.harnessconfig.dev/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>agentskills</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
