<?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: liao-zhizhi</title>
    <description>The latest articles on DEV Community by liao-zhizhi (@liaozhizhi).</description>
    <link>https://dev.to/liaozhizhi</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4224241%2F149f8427-f667-458b-83b7-f443c0d093ce.png</url>
      <title>DEV Community: liao-zhizhi</title>
      <link>https://dev.to/liaozhizhi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/liaozhizhi"/>
    <language>en</language>
    <item>
      <title>Public trial: looking for real agent traces that break doneattr — an open-source diagnostic CLI for false “done” claims (not validated yet)</title>
      <dc:creator>liao-zhizhi</dc:creator>
      <pubDate>Thu, 19 Nov 2026 03:21:03 +0000</pubDate>
      <link>https://dev.to/liaozhizhi/public-trial-looking-for-real-agent-traces-that-break-doneattr-an-open-source-diagnostic-cli-for-1bi6</link>
      <guid>https://dev.to/liaozhizhi/public-trial-looking-for-real-agent-traces-that-break-doneattr-an-open-source-diagnostic-cli-for-1bi6</guid>
      <description>&lt;p&gt;I maintain doneattr, an open-source diagnostic CLI, and I’m publicly looking for strangers to try it on real traces. To be clear: this is not a product launch, and it is not a claim that the attribution is validated. It is a diagnostic tool, and what I want most is failure feedback from real traces.&lt;/p&gt;

&lt;p&gt;What it does: after the question “does this count as done?”, it asks “which reusable decision mode does this false ‘done’ claim belong to?” It outputs one of six mutually exclusive primary attributions plus evidence snippets. One-liner: Attribute false “done” claims to reusable decision modes.&lt;/p&gt;

&lt;p&gt;Honest status: two dogfood rounds did not hold; the unclassified rate is still too high. The self-blind agreement only shows the reading is reproducible, not that the tool is validated. So I especially welcome cases where it misattributes, falls into unclassified, produces unreadable evidence, or lacks an adapter.&lt;/p&gt;

&lt;p&gt;Best fit: you have agent traces (JSONL/JSON/OTel/Langfuse/harness verdicts) and want to diagnose false_success. It reads traces locally by default; MIT; not on PyPI yet, so clone from GitHub.&lt;/p&gt;

&lt;p&gt;Worst fit: production acceptance gates, Web UI, settlement modules, or “accuracy endorsement”. Please don’t use it as an acceptance gate or settlement tool yet.&lt;/p&gt;

&lt;p&gt;Try it:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
git clone &lt;a href="https://github.com/liao-zhizhi/doneattr" rel="noopener noreferrer"&gt;https://github.com/liao-zhizhi/doneattr&lt;/a&gt;&lt;br&gt;
cd doneattr&lt;br&gt;
python3 -m venv .venv &amp;amp;&amp;amp; source .venv/bin/activate&lt;br&gt;
pip install -e ".[dev]"&lt;br&gt;
doneattr tests/fixtures/verification_skipped.jsonl&lt;br&gt;
doneattr --format json path/to/trace.jsonl&lt;br&gt;
Feedback: reply here or open a GitHub issue. Ideally include: trace type, the output primary_attr, and why you think it is a misattribution or should be unclassified. Please do not upload raw traces containing secrets, personal data, or customer data; redacted output JSON is fine. I can’t promise timely support, but I will read failure cases carefully.&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/liao-zhizhi/doneattr" rel="noopener noreferrer"&gt;https://github.com/liao-zhizhi/doneattr&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(If this kind of open-source trial recruitment is not allowed by the community rules, please let me know or remove it.)&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>testing</category>
      <category>opensource</category>
    </item>
    <item>
      <title>AI Agents Keep Lying About Finishing Tasks: Why LLM-as-a-Judge Fails and How to Fix It with Physical Witnesses</title>
      <dc:creator>liao-zhizhi</dc:creator>
      <pubDate>Thu, 12 Nov 2026 18:20:05 +0000</pubDate>
      <link>https://dev.to/liaozhizhi/ai-agents-keep-lying-about-finishing-tasks-why-llm-as-a-judge-fails-and-how-to-fix-it-with-2fna</link>
      <guid>https://dev.to/liaozhizhi/ai-agents-keep-lying-about-finishing-tasks-why-llm-as-a-judge-fails-and-how-to-fix-it-with-2fna</guid>
      <description>&lt;p&gt;The False Completion Problem&lt;/p&gt;

&lt;p&gt;Have you ever asked an AI coding agent to "create a file and write the config," and it confidently replies, "File created successfully!"&lt;br&gt;
But when you check your terminal, there's no file. Just a FileNotFoundError waiting for you.&lt;/p&gt;

&lt;p&gt;This isn't just a minor hallucination. It's a structural flaw in how we evaluate AI agents. I call it False Completion.&lt;/p&gt;

&lt;p&gt;Just recently, I asked my agent to write_file fake_dir/test.txt. The directory didn't exist. The MCP tool layer swallowed the error, returned ok, and the agent confidently told me it was done.&lt;/p&gt;

&lt;p&gt;But my local audit log caught the truth:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;verdict: FAIL

reason: false completion: report says success, witness says no effect

expected but untouched: fake_dir/test.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;If you trust the AI's self-report, you build on top of a lie.&lt;/p&gt;

&lt;p&gt;Why LLM-as-a-Judge Fails&lt;/p&gt;

&lt;p&gt;The standard industry solution is to use a stronger LLM as a judge. But this is a trap. It's called Same-Origin Complicity.&lt;/p&gt;

&lt;p&gt;When the evaluator and the generator share the same observation and the same prior (the same base model), the judge's verdict is just a probabilistic echo. In information theory, I(Verdict; Truth | Observation, Prior) = 0.&lt;/p&gt;

&lt;p&gt;You cannot ask a liar to prove their innocence by asking themselves if they lied.&lt;/p&gt;

&lt;p&gt;To break this, we need Physical Witnesses—independent evidence from the filesystem or OS, completely decoupled from the agent's narration.&lt;/p&gt;

&lt;p&gt;The Solution: A Local MCP Audit Sidecar&lt;/p&gt;

&lt;p&gt;I built harness-audit-sidecar, an open-source, zero-config MCP server that sits between the agent's tool calls and your OS.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Interception: It hooks into MCP write_file and run_command calls.

Witnessing: Before and after execution, it calculates the file's mtime, size, or sha256 hash.

Four-Valued Verdict: It compares the agent's claim with the physical witness:

    PASS: Claim matches the physical change.

    FAIL: Claim says "success," but the file didn't change (False Completion).

    INVALID: No independent witness could be collected.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Here is what the terminal audit report looks like:&lt;br&gt;
bash&lt;/p&gt;

&lt;p&gt;$ harness-audit report --lang en&lt;/p&gt;

&lt;p&gt;2026-11-12T22:12:37+08:00  write_file  [FAIL]&lt;br&gt;
Intent: modify file fake_dir/test.txt&lt;br&gt;
Reason: false completion: report says success, witness says no effect&lt;br&gt;
Untouched file: fake_dir/test.txt&lt;/p&gt;

&lt;p&gt;2026-11-12T22:26:31+08:00  write_file  [PASS]&lt;br&gt;
Intent: modify file fixed_connection.txt&lt;br&gt;
Reason: witness matches intent, report agrees&lt;/p&gt;

&lt;p&gt;Works with Cursor, Claude Code, Cline, and Windsurf&lt;/p&gt;

&lt;p&gt;Because it's built on the native Model Context Protocol (MCP), you don't have to change your workflow.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Cursor: Download the VS Code extension, click "Enable Audit," and it runs silently in the background.

Claude Code: Just run:
bash

claude mcp add harness-audit -- harness-audit-server --cwd /your/project/path --trace /your/project/path/audit_trace.jsonl

Cline / Windsurf: Add the same MCP config to your JSON settings.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Beyond Auditing: Injecting "Pain" into the Agent&lt;/p&gt;

&lt;p&gt;Catching the lie is only step one. The real magic is memory injection.&lt;/p&gt;

&lt;p&gt;When the sidecar detects a FAIL, it writes the failure event to a local memory layer. The next time the agent tries a similar task, the system injects this "pain" into the prompt.&lt;/p&gt;

&lt;p&gt;In my tests, the agent—having seen its previous fake_dir failure—proactively ran mkdir -p before writing the file. It learned to avoid the pitfall.&lt;/p&gt;

&lt;p&gt;100% Local, Zero Configuration&lt;/p&gt;

&lt;p&gt;Your code never leaves your machine. No third-party APIs, no cloud dependencies. It's just pure local OS physics.&lt;/p&gt;

&lt;p&gt;👉 Get it here: &lt;a href="https://causalaudit.net" rel="noopener noreferrer"&gt;https://causalaudit.net&lt;/a&gt;&lt;br&gt;
👉 Open Source: github.com/liao-zhizhi/harness-audit-sidecar&lt;/p&gt;

&lt;p&gt;Stop trusting the AI's narration. Trust the hash.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Facfahz1wrw7poeymag2d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Facfahz1wrw7poeymag2d.png" alt=" " width="800" height="804"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>programming</category>
      <category>llm</category>
    </item>
    <item>
      <title>From Code to Motor: Why Software Audit Sidecars Fail in Embodied AI</title>
      <dc:creator>liao-zhizhi</dc:creator>
      <pubDate>Wed, 11 Nov 2026 16:10:12 +0000</pubDate>
      <link>https://dev.to/liaozhizhi/from-code-to-motor-why-software-audit-sidecars-fail-in-embodied-ai-jbn</link>
      <guid>https://dev.to/liaozhizhi/from-code-to-motor-why-software-audit-sidecars-fail-in-embodied-ai-jbn</guid>
      <description>&lt;p&gt;In the digital realm, we have tools to catch "false completions" from LLM agents. We use software sidecars to record independent physical witnesses (like file hashes or git diffs) and output four-valued verdicts: PASS, FAIL, INVALID, NOT_RUN.&lt;/p&gt;

&lt;p&gt;But what happens when the agent is not writing code, but controlling a drone or a robot?&lt;/p&gt;

&lt;p&gt;Recently, I formalized the structural faults that occur when we move digital audits into embodied systems. The core issue is simple: A software exception can roll back a file write, but it cannot roll back a crash.&lt;/p&gt;

&lt;p&gt;When a software audit sidecar is applied to physical agents, it faces three structural faults:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Fault I: Shared-scheduler refusal&lt;br&gt;
If the sidecar shares the same CPU and fault domain as the flight controller, it dies when the controller deadlocks. Refusal remains an exception, which is unreachable on a physical timescale. Hardware isolation (like an independent hardware watchdog or MCU) is required to enforce the refusal.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fault II: Physical-oracle substitution&lt;br&gt;
The physical world is nearly a free outcome oracle (e.g., wind resistance, inertia). However, software sidecars often substitute this with a homologous shadow—reading logs, self-reports, and software hashes. When the auditor and the audited share the same clock or sensor channel, the temporal witness is colluded away.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fault III: Assurance-coverage collapse&lt;br&gt;
A Lean 4 development can perfectly close the discrete four-valued lattice. But physical systems require proving worst-case execution time (WCET), allocation freedom, and sensor timing. The fraction of discharged physical objectives collapses toward zero. Formal logical completeness does not equal real-time physical assurance.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The Remaining Architecture: Split the Layer&lt;br&gt;
The runtime safety of embodied AI cannot just be "another Python sidecar." It requires a split between:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;A slow record layer (can stay in Python).

A fast enable layer (must run on an independent MCU in C/Rust). The default on silence or packet loss must be a predetermined safe state (Fail-Safe).
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;I just published the full paper on this topic: The Physical Grounding Fault: Why Software Audit Sidecars Fail in Embodied Agents.&lt;/p&gt;

&lt;p&gt;This is Paper 7 in a continuous research chain that moves from formal verification (EquivSVA) to information-theoretic limits of self-evaluation, and finally to physical grounding.&lt;/p&gt;

&lt;p&gt;You can read the paper (DOI: 10.5281/zenodo.24139787) and explore the full open-source progression (including the sidecar tools) here:&lt;br&gt;
👉 GitHub Repo: &lt;a href="https://github.com/liao-zhizhi/causal-%D0%B5volution-paper" rel="noopener noreferrer"&gt;https://github.com/liao-zhizhi/causal-еvolution-paper&lt;/a&gt;&lt;br&gt;
👉 Paper Archive: &lt;a href="https://doi.org/10.5281/zenodo.24139787" rel="noopener noreferrer"&gt;https://doi.org/10.5281/zenodo.24139787&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(Disclaimer: This research is restricted to civil special-use robotics and unmanned aircraft safety. It does not involve weaponization or tactical systems.)&lt;/p&gt;

</description>
      <category>ai</category>
      <category>robotics</category>
      <category>systems</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Why Your LLM Agent Keeps Burning Tokens (and How to Cut It at the HTTP Layer)</title>
      <dc:creator>liao-zhizhi</dc:creator>
      <pubDate>Wed, 11 Nov 2026 06:15:49 +0000</pubDate>
      <link>https://dev.to/liaozhizhi/why-your-llm-agent-keeps-burning-tokens-and-how-to-cut-it-at-the-http-layer-12he</link>
      <guid>https://dev.to/liaozhizhi/why-your-llm-agent-keeps-burning-tokens-and-how-to-cut-it-at-the-http-layer-12he</guid>
      <description>&lt;p&gt;Have you ever watched an AI agent confidently burn through your entire daily API quota while trying to "optimize" its own output?&lt;/p&gt;

&lt;p&gt;I recently experienced a hilarious (but expensive) failure case with an agent doing deep research. I told it: "This is consuming too many tokens. Please optimize your process to save tokens."&lt;/p&gt;

&lt;p&gt;The agent said "No problem," and got to work.&lt;/p&gt;

&lt;p&gt;What it actually did was search the web, realize its summary was too long, and then decide to rewrite the summary to make it shorter. It wrote a new one. It was still too long. So it rewrote it again. And again. And again.&lt;/p&gt;

&lt;p&gt;It repeated this loop over 100 times until it gave up and told me, "I really can't make it any shorter." It completely drained my 5-hour quota.&lt;/p&gt;

&lt;p&gt;The most terrifying part? The agent had absolutely no idea it was doing something stupid. It couldn't "see" that its retry loop was consuming massive amounts of tokens. It only looked at the text length, completely blind to the physical cost of its own actions.&lt;/p&gt;

&lt;p&gt;This is a classic "long-horizon task drift."&lt;br&gt;
Why do agents do this?&lt;/p&gt;

&lt;p&gt;Because LLMs lack an external physical witness. They are trapped inside their own textual context. They can read their own text, but they cannot independently verify the real-world cost or the actual state changes of their actions.&lt;/p&gt;

&lt;p&gt;To solve this, we need to stop asking the model to "behave" and start enforcing physical boundaries at the infrastructure level.&lt;/p&gt;

&lt;p&gt;Here are two lightweight open-source tools I built to fix this exact problem.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The Budget Proxy: Cut the loop at the HTTP layer&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Instead of modifying the agent's complex prompt or loop logic, we intercept the API calls. We built a local, OpenAI-compatible proxy.&lt;/p&gt;

&lt;p&gt;You only need to change one line in your code:&lt;br&gt;
python&lt;/p&gt;

&lt;p&gt;from openai import OpenAI&lt;/p&gt;

&lt;h1&gt;
  
  
  Change your base_url to the local proxy
&lt;/h1&gt;

&lt;p&gt;client = OpenAI(&lt;br&gt;
    base_url="&lt;a href="http://127.0.0.1:8788/v1" rel="noopener noreferrer"&gt;http://127.0.0.1:8788/v1&lt;/a&gt;", &lt;br&gt;
    api_key="your-real-api-key" &lt;br&gt;
)&lt;/p&gt;

&lt;p&gt;The proxy sits between your agent and the LLM provider. It monitors the usage.total_tokens and compares the length of consecutive outputs.&lt;/p&gt;

&lt;p&gt;If the agent exceeds the budget, or if the output length hasn't shrunk by at least 5% across retries, the proxy will immediately block the request and return a 429 Too Many Requests.&lt;/p&gt;

&lt;p&gt;We tested it on a simulation of that exact "shortening loop":&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Without Proxy: Agent ran 100 loops, consumed 50,000 tokens, output length unchanged.

With Proxy: Agent was cut off at loop 4, consumed 2,000 tokens. Saved 48,000 tokens.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt;The Causal Auditor: Catch the "False Completion"&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Agents also lie. They claim "I have modified the file" or "I have run the tests." If you don't have time to check the code, you will find out it didn't actually do anything when the app crashes.&lt;/p&gt;

&lt;p&gt;We built a stdio MCP (Model Context Protocol) sidecar that sits between the agent and your file system. It completely ignores the agent's narration. It only checks physical witnesses (file hashes, git diffs, exit codes).&lt;/p&gt;

&lt;p&gt;It outputs a four-valued verdict: PASS, FAIL, INVALID, NOT RUN. (INVALID means "I couldn't verify it," which is fundamentally different from PASS).&lt;br&gt;
Stop changing the model, change the interface.&lt;/p&gt;

&lt;p&gt;We don't need smarter agents. We need better interfaces that enforce physical grounding.&lt;/p&gt;

&lt;p&gt;Both tools are open-source, local-first, and require zero data to leave your machine. You can try the live dashboard or install the auditor with a single command:&lt;/p&gt;

&lt;p&gt;👉 Try the interactive demo &amp;amp; setup guide: &lt;a href="https://audit.silicon-probe.com" rel="noopener noreferrer"&gt;https://audit.silicon-probe.com&lt;/a&gt;&lt;br&gt;
👉 GitHub Repository: &lt;a href="https://github.com/liao-zhizhi/harness-audit-sidecar" rel="noopener noreferrer"&gt;https://github.com/liao-zhizhi/harness-audit-sidecar&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd love to hear if you've encountered similar "retry loops" or "false completions" in your agent workflows.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F36s03jnb0w14yxzh5pds.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F36s03jnb0w14yxzh5pds.png" alt=" " width="800" height="685"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>programming</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Why Your AI Evaluator Is Structurally Blind (and how to mathematically prove it)</title>
      <dc:creator>liao-zhizhi</dc:creator>
      <pubDate>Sat, 07 Nov 2026 18:47:12 +0000</pubDate>
      <link>https://dev.to/liaozhizhi/why-your-ai-evaluator-is-structurally-blind-and-how-to-mathematically-prove-it-3mn0</link>
      <guid>https://dev.to/liaozhizhi/why-your-ai-evaluator-is-structurally-blind-and-how-to-mathematically-prove-it-3mn0</guid>
      <description>&lt;p&gt;Have you ever had an AI agent confidently say, &lt;em&gt;"Task completed successfully!"&lt;/em&gt; only to find out it didn't actually change the file, or swallowed an error and returned exit code 0? &lt;/p&gt;

&lt;p&gt;We call this &lt;strong&gt;False Completion&lt;/strong&gt;. It's the silent killer of AI agent reliability.&lt;/p&gt;

&lt;p&gt;Recently, we ran a simple experiment: we gave an untrained base model ten completed trajectories from a code-execution sandbox. Four of them had demonstrably failed (the code didn't run), and six had succeeded. We asked the model to act as a judge.&lt;/p&gt;

&lt;p&gt;The result? &lt;strong&gt;It answered &lt;code&gt;PASS&lt;/code&gt; on all ten trajectories.&lt;/strong&gt; &lt;br&gt;
Not only was the evaluator optimistic, but it was a &lt;strong&gt;constant&lt;/strong&gt;. And this isn't just an anecdote—it's a structural mathematical failure. &lt;/p&gt;

&lt;h3&gt;
  
  
  Why LLMs are structurally blind to their own mistakes
&lt;/h3&gt;

&lt;p&gt;In the AI industry, the standard solution is to use a stronger LLM as a judge (LLM-as-a-Judge). But this creates a problem called &lt;strong&gt;Same-Origin Complicity&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;In our latest paper, &lt;em&gt;The Mathematical Limits of AI Reliability&lt;/em&gt;, we formalized this using causal graphs (DAGs). When the evaluator and the generator share the same observation and the same prior (the same base model), the verdict is just a measurable function of that pair. &lt;/p&gt;

&lt;p&gt;In information theory terms: &lt;code&gt;I(Verdict; Truth | Observation, Prior) = 0&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;This isn't an accuracy problem that can be fixed by better prompts or more fine-tuning. It’s an identity. If you and the judge share the same blind spots, no amount of retraining will make the judge see the truth.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Solution: Causal Grounding and Four-Valued Verdicts
&lt;/h3&gt;

&lt;p&gt;To solve this, we stopped trying to fix the judge and built an independent &lt;strong&gt;Causal Execution Layer (Sidecar)&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;It completely ignores the agent's narration and only checks physical witnesses outside the agent's control:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Git diffs and file hashes&lt;/li&gt;
&lt;li&gt;Actual exit codes&lt;/li&gt;
&lt;li&gt;Third-party API responses&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Instead of a binary Pass/Fail, we use a four-valued verdict:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;PASS&lt;/code&gt;: Claim matches the physical witness.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;FAIL&lt;/code&gt;: Claim was attempted, but nothing landed.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;INVALID&lt;/code&gt;: &lt;strong&gt;No independent witness was found.&lt;/strong&gt; (The most important distinction).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;NOT_RUN&lt;/code&gt;: The task was never attempted.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  See it in action
&lt;/h3&gt;

&lt;p&gt;Here is a screenshot from our live demo dashboard, running on a mobile 5G network. The system just caught an agent (&lt;code&gt;robot_arm_01&lt;/code&gt;) claiming success while the physical witness denied it. The agent's trust score was immediately penalized by 25 points, and the ledger recorded a &lt;code&gt;FAIL&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;(Insert your mobile screenshot here)&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The Math and the Code
&lt;/h3&gt;

&lt;p&gt;We wrote two 40-page preprints detailing the engineering and the mathematical limits of this architecture. The core discrete logic is machine-verified in &lt;strong&gt;Lean 4&lt;/strong&gt; (0 errors, 0 warnings, no &lt;code&gt;sorry&lt;/code&gt;). We even did a DPO fine-tuning experiment to prove that text-only alignment just makes models stay silent; it doesn't teach them to seek truth.&lt;/p&gt;

&lt;p&gt;If you are building agentic workflows, you can't just rely on self-evaluation. You need a witness.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;Read the papers (DOI):&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Paper 1 (Causal Evolution Dynamics): &lt;a href="https://doi.org/10.5281/zenodo.24032997" rel="noopener noreferrer"&gt;https://doi.org/10.5281/zenodo.24032997&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Paper 2 (Mathematical Limits): &lt;a href="https://doi.org/10.5281/zenodo.24041061" rel="noopener noreferrer"&gt;https://doi.org/10.5281/zenodo.24041061&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;👉 &lt;strong&gt;GitHub Repository (Source + Lean 4):&lt;/strong&gt; &lt;a href="https://github.com/liao-zhizhi/causal-evolution-paper" rel="noopener noreferrer"&gt;https://github.com/liao-zhizhi/causal-evolution-paper&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;Live Interactive Demo:&lt;/strong&gt; &lt;a href="https://demo.silicon-probe.com" rel="noopener noreferrer"&gt;https://demo.silicon-probe.com&lt;/a&gt; (Click "Simulate False Completion" to see the red light)&lt;/p&gt;

&lt;p&gt;We don't claim unconditional superiority; we claim a verifiable baseline. Would love to hear how you handle "silent failures" in your agent harnesses.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjowqlgm1qdj79adldaqr.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjowqlgm1qdj79adldaqr.jpg" alt=" " width="800" height="1778"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>machinelearning</category>
      <category>lean4</category>
    </item>
    <item>
      <title>The Geometry of Progress: How Bio-Quantum Interfaces Break the Laws of Scale</title>
      <dc:creator>liao-zhizhi</dc:creator>
      <pubDate>Wed, 04 Nov 2026 14:26:33 +0000</pubDate>
      <link>https://dev.to/liaozhizhi/the-geometry-of-progress-how-bio-quantum-interfaces-break-the-laws-of-scale-2i48</link>
      <guid>https://dev.to/liaozhizhi/the-geometry-of-progress-how-bio-quantum-interfaces-break-the-laws-of-scale-2i48</guid>
      <description>&lt;p&gt;For years, the AI industry has believed in a magical "Emergence"—the idea that if you scale up Large Language Models enough, they suddenly unlock new reasoning abilities. &lt;/p&gt;

&lt;p&gt;But what if this "emergence" is just a statistical mirage caused by discrete sampling? And what if the only way to bridge the gap between AI's statistical correlation and physical causation is through strict "causal intervention"?&lt;/p&gt;

&lt;p&gt;We just published a 26-page paper (and a 988-test open-source engine) to mathematically prove it.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Mirage of Emergence
&lt;/h3&gt;

&lt;p&gt;Our experiments show that the "strobe effect" of AI emergence is caused by evaluating smooth, continuous power-law curves with discrete metrics. If you sample models per order of magnitude, the continuous slope looks like a sudden step.&lt;/p&gt;

&lt;p&gt;We also derived the exact mathematical formula for this: the transition width is constant (about 3.94 orders of magnitude). True emergence, if it exists, requires crossing "fractal interfaces."&lt;/p&gt;

&lt;h3&gt;
  
  
  Bio-Quantum Interfaces: Crossing the Uncanny Valley of Scale
&lt;/h3&gt;

&lt;p&gt;How did biology cross the massive 12-order-of-magnitude gap between quantum decoherence and macroscopic functionality? &lt;/p&gt;

&lt;p&gt;Through extremely "narrow interfaces"—like protein scaffolds. By using our interface evolution engine, we mathematically proved that human engineering (cryogenic cooling) can only buy a 2x reach, while biology (protein scaffolds) buys a 10,000x reach, because biology optimized for scalability and replication.&lt;/p&gt;

&lt;h3&gt;
  
  
  Causal Intervention: Pearl's Do-Calculus in AI
&lt;/h3&gt;

&lt;p&gt;LLM-as-a-Judge doesn't work. It reads the agent's own narration, making it blind to physical reality.&lt;/p&gt;

&lt;p&gt;In our experiment, we ran 1000 tasks. Pure context-based judges had a 100% false completion rate. But when we injected "causal intervention" (using physical witnesses like Git hashes to verify disk state), the false completion rate dropped to 0%. We even used Judea Pearl's Do-calculus to prove that without an external physical witness, the judge function has no causal variable.&lt;/p&gt;

&lt;h3&gt;
  
  
  Auditing Ourselves
&lt;/h3&gt;

&lt;p&gt;We used our own verdict engine (PASS, FAIL, INVALID, UNAVAILABLE) to audit this paper itself. It caught a fatal blind spot: we initially forgot to cite Judea Pearl despite using his Do-calculus. We fixed it and logged our own failure in ERRATA.md. &lt;/p&gt;

&lt;p&gt;An audit tool that only audits others is a decoration.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Read the full paper:&lt;/strong&gt; &lt;a href="https://doi.org/10.5281/zenodo.23952122" rel="noopener noreferrer"&gt;https://doi.org/10.5281/zenodo.23952122&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Open-source code (v1.0.1):&lt;/strong&gt; &lt;a href="https://github.com/liao-zhizhi/agent-metabolism-os" rel="noopener noreferrer"&gt;https://github.com/liao-zhizhi/agent-metabolism-os&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>science</category>
      <category>causality</category>
      <category>complexity</category>
    </item>
    <item>
      <title>Trust, but Verify: How We Audited OpenAI's Lean 4 Math Proofs with a Zero-Dependency Sidecar</title>
      <dc:creator>liao-zhizhi</dc:creator>
      <pubDate>Tue, 03 Nov 2026 12:24:22 +0000</pubDate>
      <link>https://dev.to/liaozhizhi/trust-but-verify-how-we-audited-openais-lean-4-math-proofs-with-a-zero-dependency-sidecar-283d</link>
      <guid>https://dev.to/liaozhizhi/trust-but-verify-how-we-audited-openais-lean-4-math-proofs-with-a-zero-dependency-sidecar-283d</guid>
      <description>&lt;p&gt;Recently, OpenAI released a repository of formal proofs (&lt;code&gt;ten-proofs&lt;/code&gt;) demonstrating AI's capability to solve complex mathematical problems using Lean 4. &lt;/p&gt;

&lt;p&gt;When an AI lab drops thousands of lines of formal code claiming "we solved it," how does the rest of the world verify it? Currently, we rely on a handful of expert mathematicians who don't have the time to read 37,000 lines of code. Or, we rely on another LLM to "judge" it—which just hallucinates a thumbs-up.&lt;/p&gt;

&lt;p&gt;I wanted to see if an automated, physical-witness approach could do better. So, I used my open-source project, &lt;code&gt;harness-audit-sidecar&lt;/code&gt;, to audit OpenAI's proofs locally. &lt;/p&gt;

&lt;p&gt;Here is what happened.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Setup: No Hallucinations Allowed
&lt;/h3&gt;

&lt;p&gt;LLM-as-a-Judge fails here. A compiler asks &lt;em&gt;"does this elaborate?"&lt;/em&gt;, but an auditor must ask &lt;em&gt;"is there a physical witness?"&lt;/em&gt;. &lt;/p&gt;

&lt;p&gt;To create a physical witness, I didn't just scan the text. I pulled the 7.2 GB Mathlib cache, compiled 8,687 jobs locally, and ran our &lt;code&gt;LeanProofAuditor&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Results: 11 PASS, 12 FAIL
&lt;/h3&gt;

&lt;p&gt;The audit took about 40 minutes. Here are the hard facts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The 11 Main Proof Files achieved a genuine &lt;code&gt;PASS&lt;/code&gt;.&lt;/strong&gt; &lt;br&gt;
All theorems elaborated successfully. Zero smuggled custom axioms. They rely only on the three standard Lean axioms (&lt;code&gt;Classical.choice&lt;/code&gt;, &lt;code&gt;propext&lt;/code&gt;, &lt;code&gt;Quot.sound&lt;/code&gt;). OpenAI's core mathematical proofs are solid.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;12 Files returned &lt;code&gt;FAIL&lt;/code&gt; (42 placeholders found).&lt;/strong&gt;&lt;br&gt;
Wait, did OpenAI cheat? No. These 12 files are located in &lt;code&gt;ComparatorChallenges/&lt;/code&gt;. They are templates intentionally left with &lt;code&gt;sorry&lt;/code&gt; (Lean's unproved placeholder) for human contestants to fill out. Our auditor simply reported the physical fact: &lt;em&gt;these files are not complete proofs.&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;If an LLM judged this repository, it would read the comments, see the word "solved", and output a confident &lt;code&gt;PASS&lt;/code&gt; for the whole folder—completely ignoring the 42 &lt;code&gt;sorry&lt;/code&gt; placeholders.&lt;/p&gt;

&lt;p&gt;Our sidecar enforces a four-valued verdict: &lt;strong&gt;PASS, FAIL, INVALID, NOT RUN&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It didn't just guess. &lt;/li&gt;
&lt;li&gt;It didn't accept &lt;code&gt;exit code 0&lt;/code&gt; as proof (because a file with &lt;code&gt;sorry&lt;/code&gt; can compile cleanly).&lt;/li&gt;
&lt;li&gt;It inspected the artifact's dependency graph via &lt;code&gt;#print axioms&lt;/code&gt; to expose the truth.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Four-Valued Immune System
&lt;/h3&gt;

&lt;p&gt;This audit is just one application of the &lt;code&gt;harness-audit-sidecar&lt;/code&gt;. Originally, it was built to catch AI agents lying about writing files or executing shell commands. &lt;/p&gt;

&lt;p&gt;We introduced:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Conditional Immunity&lt;/strong&gt;: Tier 1 (cheap stat checks) and Tier 2 (full Git diffs). Two consecutive &lt;code&gt;FAIL&lt;/code&gt;s trigger an "inflammation storm" that blocks writes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Membrane Gateway&lt;/strong&gt;: Agents cannot define their own success criteria. They must register expectations before execution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agent Metabolism OS&lt;/strong&gt;: Regulates LLM API costs and fast/slow thinking beats.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  A Tool that Audits Itself
&lt;/h3&gt;

&lt;p&gt;During development, our own auditor caught &lt;em&gt;itself&lt;/em&gt; producing false completions. We log these in &lt;code&gt;ERRATA.md&lt;/code&gt;. For example, we initially failed a legitimate &lt;code&gt;opaque&lt;/code&gt; definition because we confused it with an &lt;code&gt;axiom&lt;/code&gt;. We corrected it and wrote a regression test. &lt;/p&gt;

&lt;p&gt;An audit tool that only audits others is a decoration. You can read our ERRATA to see how the system caught its own bugs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Resources:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/liao-zhizhi/harness-audit-sidecar" rel="noopener noreferrer"&gt;Agent Harness Sidecar (GitHub)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/liao-zhizhi/agent-metabolism-os" rel="noopener noreferrer"&gt;Agent Metabolism OS (GitHub)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://doi.org/10.5281/zenodo.23891527" rel="noopener noreferrer"&gt;Preprint on Zenodo&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Update (Nov 3, 2026)
&lt;/h3&gt;

&lt;p&gt;Following the release of this article, we published the &lt;strong&gt;v2 version&lt;/strong&gt; of our paper. It now includes the &lt;strong&gt;Rule Interface (RuleRegistry)&lt;/strong&gt; architecture for managing signed YAML safety packages, and the full empirical audit results of both OpenAI's &lt;code&gt;ten-proofs&lt;/code&gt; and DeepMind's &lt;code&gt;alphaproof-nexus-results&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Read the updated v2 paper here: &lt;a href="https://doi.org/10.5281/zenodo.23952122" rel="noopener noreferrer"&gt;https://doi.org/10.5281/zenodo.23952122&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>math</category>
      <category>lean4</category>
    </item>
  </channel>
</rss>
