<?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: Merlin</title>
    <description>The latest articles on DEV Community by Merlin (@merlin_h_2636e3753c2e642e).</description>
    <link>https://dev.to/merlin_h_2636e3753c2e642e</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%2F3935035%2F4f44857e-f7d7-4819-9075-fed326b98365.png</url>
      <title>DEV Community: Merlin</title>
      <link>https://dev.to/merlin_h_2636e3753c2e642e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/merlin_h_2636e3753c2e642e"/>
    <language>en</language>
    <item>
      <title>Introducing Truthmark 1.4.0: Git-native truth workflows for AI coding agents</title>
      <dc:creator>Merlin</dc:creator>
      <pubDate>Sat, 16 May 2026 15:23:03 +0000</pubDate>
      <link>https://dev.to/merlin_h_2636e3753c2e642e/introducing-truthmark-140-git-native-truth-workflows-for-ai-coding-agents-1m4d</link>
      <guid>https://dev.to/merlin_h_2636e3753c2e642e/introducing-truthmark-140-git-native-truth-workflows-for-ai-coding-agents-1m4d</guid>
      <description>&lt;p&gt;AI coding agents are getting good at changing code.&lt;/p&gt;

&lt;p&gt;That creates a new problem.&lt;/p&gt;

&lt;p&gt;The code changes, but the repository often stops telling the truth.&lt;/p&gt;

&lt;p&gt;The behavior moves ahead of the docs. Architecture notes become stale. Product decisions stay in chat history. Reviewers see the implementation diff, but not the context that changed around it.&lt;/p&gt;

&lt;p&gt;Truthmark is built for that gap.&lt;/p&gt;

&lt;p&gt;It is a Git-native, branch-scoped workflow layer for AI-assisted software development. It helps coding agents keep repository truth aligned with functional code changes, while leaving humans with ordinary Git diffs they can inspect.&lt;/p&gt;

&lt;p&gt;The latest release, Truthmark 1.4.0, adds workflow verifier and writer agents. That makes the installed workflows more useful for larger repositories, where a single agent context can get crowded fast.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Truthmark does
&lt;/h2&gt;

&lt;p&gt;Truthmark does not try to be another AI model.&lt;/p&gt;

&lt;p&gt;It does not host a service. It does not run a database. It does not add an MCP server. It does not ask your team to trust hidden memory.&lt;/p&gt;

&lt;p&gt;Instead, it installs workflow infrastructure into your repository.&lt;/p&gt;

&lt;p&gt;That infrastructure has two surfaces.&lt;/p&gt;

&lt;p&gt;The first surface is the human-facing CLI. Maintainers use it to configure the repository, install workflow files, refresh generated surfaces, and validate the truth setup.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;truthmark config
truthmark init
truthmark check
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The second surface is AI-facing. Truthmark installs host-native workflow surfaces for coding agents. Depending on the host, these show up as skills, prompts, commands, managed instruction blocks, or project agents.&lt;/p&gt;

&lt;p&gt;That distinction is important.&lt;/p&gt;

&lt;p&gt;The CLI prepares the repository. The AI-facing surfaces are the runtime that agents use while doing the work.&lt;/p&gt;

&lt;h2&gt;
  
  
  The normal workflow
&lt;/h2&gt;

&lt;p&gt;The default Truthmark path looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;agent changes functional code
relevant tests run
Truth Sync checks mapped truth docs
truth docs update when needed
human reviews code diff + truth diff
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The goal is not to create more documentation.&lt;/p&gt;

&lt;p&gt;The goal is to make repository truth harder to skip.&lt;/p&gt;

&lt;p&gt;When an AI agent changes behavior, Truthmark gives it a finish-time workflow guard. The agent checks the mapped truth docs before handoff. If the docs need to change, the change appears as a normal Git diff.&lt;/p&gt;

&lt;p&gt;That makes the repository easier to review, easier to hand off, and easier to trust.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why branch-scoped truth matters
&lt;/h2&gt;

&lt;p&gt;A lot of AI tooling focuses on the next answer.&lt;/p&gt;

&lt;p&gt;Truthmark focuses on the next handoff.&lt;/p&gt;

&lt;p&gt;In real repositories, truth is not global in a simple way. Branches diverge. Architecture changes happen in stages. Product behavior may differ between a feature branch and main. A memory tool can help one user or one session, but it does not automatically give the reviewer a committed record of what the branch currently believes.&lt;/p&gt;

&lt;p&gt;Truthmark keeps that context in the repository.&lt;/p&gt;

&lt;p&gt;The route files, truth docs, generated workflow surfaces, and instruction blocks live with the branch. They can be reviewed, updated, reverted, and merged like other project files.&lt;/p&gt;

&lt;p&gt;That is the point.&lt;/p&gt;

&lt;p&gt;AI context becomes repository state.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is new in 1.4.0
&lt;/h2&gt;

&lt;p&gt;Truthmark 1.4.0 adds project-scoped verifier agents and a leased &lt;code&gt;truth-doc-writer&lt;/code&gt; where supported by the host.&lt;/p&gt;

&lt;p&gt;This gives the installed workflows a better way to handle bounded evidence work.&lt;/p&gt;

&lt;p&gt;For example, a parent workflow can ask a verifier to inspect a specific route, a specific doc claim, or a specific truth-doc shard. The verifier stays read-only. It works inside a bounded assignment instead of wandering through the whole repository.&lt;/p&gt;

&lt;p&gt;For document writing, the new leased writer model is intentionally strict. The parent workflow owns the lease, the write boundary, the final report, and the diff validation. The writer does not get broad permission to rewrite the repository.&lt;/p&gt;

&lt;p&gt;That is the core idea behind this release:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;delegate bounded evidence work
keep parent workflow control
validate the diff before accepting it
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This matters because AI workflows often fail by becoming too broad. A task starts as “check this behavior” and turns into a vague repo-wide rewrite. Truthmark 1.4.0 pushes in the opposite direction. Smaller assignments. Clearer leases. Parent-owned acceptance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Supported agent hosts
&lt;/h2&gt;

&lt;p&gt;Truthmark currently supports generated surfaces for:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;codex
opencode
claude-code
github-copilot
gemini-cli
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Different hosts expose workflow surfaces differently.&lt;/p&gt;

&lt;p&gt;Codex, Claude Code, and supported Copilot IDEs can expose &lt;code&gt;/truthmark-*&lt;/code&gt; style workflows. OpenCode uses &lt;code&gt;/skill truthmark-*&lt;/code&gt;. Gemini CLI uses &lt;code&gt;/truthmark:*&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The exact files generated depend on your &lt;code&gt;.truthmark/config.yml&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;By default, Truthmark includes every supported platform. In a real project, you should remove the platforms you do not use, then rerun:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;truthmark init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The workflows
&lt;/h2&gt;

&lt;p&gt;Truthmark installs several AI-facing workflows.&lt;/p&gt;

&lt;p&gt;Truth Sync is the normal finish-time workflow after functional code changes. It is code-first. The code leads, and mapped truth docs follow.&lt;/p&gt;

&lt;p&gt;Truth Document is for implemented behavior that already exists, but is not documented well enough. It is implementation-first and doc-only. It should not change functional code.&lt;/p&gt;

&lt;p&gt;Truth Structure repairs or splits broad routing. This is useful after initialization, because a new repository often starts with one broad route that needs to become real product, service, or domain areas.&lt;/p&gt;

&lt;p&gt;Truth Preview is read-only. It lets an agent inspect likely routing before edits.&lt;/p&gt;

&lt;p&gt;Truth Realize is doc-first. A truth doc leads, and the agent updates code to match it.&lt;/p&gt;

&lt;p&gt;Truth Check is the AI-facing audit workflow. It is separate from the terminal command &lt;code&gt;truthmark check&lt;/code&gt;, even though the names are related.&lt;/p&gt;

&lt;p&gt;That boundary is deliberate. Humans run the CLI. Agents run the installed workflow surfaces.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick start
&lt;/h2&gt;

&lt;p&gt;Install Truthmark in the repository you want to initialize.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /path/to/your-repo
npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; truthmark
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Create the repository truth contract.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;truthmark config
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Review the generated config.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.truthmark/config.yml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then install the workflow surfaces.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;truthmark init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Validate the setup.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;truthmark check
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After that, review the generated files before committing. You will usually see route files, truth-doc scaffolding, templates, managed instruction blocks, and host-specific workflow surfaces.&lt;/p&gt;

&lt;p&gt;On an existing repository, the first useful agent task is often a structure pass:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/truthmark-structure split the broad repository area into auth, billing, and notifications
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That gives Truth Sync better destinations later.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I think this matters
&lt;/h2&gt;

&lt;p&gt;AI-assisted development is moving from novelty to daily practice.&lt;/p&gt;

&lt;p&gt;The hard part is no longer whether an agent can produce a change. The hard part is whether the team can still understand the repository after many agent-produced changes.&lt;/p&gt;

&lt;p&gt;Truthmark is an attempt to make that problem concrete.&lt;/p&gt;

&lt;p&gt;Not by adding a dashboard.&lt;/p&gt;

&lt;p&gt;Not by adding another memory layer.&lt;/p&gt;

&lt;p&gt;Not by asking reviewers to trust the chat transcript.&lt;/p&gt;

&lt;p&gt;The repository should carry its own truth. Agents should read it. Agents should update it when their work changes it. Humans should review the result in Git.&lt;/p&gt;

&lt;p&gt;That is what Truthmark is for.&lt;/p&gt;

&lt;p&gt;Truthmark 1.4.0 takes another step in that direction by making the workflow surface more scalable. Verifier agents can inspect bounded evidence. Leased writer agents can handle bounded doc shards. Parent workflows still own the final judgment.&lt;/p&gt;

&lt;p&gt;That balance matters.&lt;/p&gt;

&lt;p&gt;AI agents can move fast, but the repository still has to be governable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; truthmark
truthmark config
truthmark init
truthmark check
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;GitHub: &lt;a href="https://github.com/merlinhu1/truthmark" rel="noopener noreferrer"&gt;https://github.com/merlinhu1/truthmark&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you try it on an existing repository, start small. Initialize the repo, review the generated config, split the default route into real ownership areas, then let Truth Sync handle the next functional code change.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>documentation</category>
      <category>programming</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
