<?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>Forem: Andrei Traistaru</title>
    <description>The latest articles on Forem by Andrei Traistaru (@brigalssa).</description>
    <link>https://forem.com/brigalssa</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%2F3852923%2F3cb829ae-02d9-4991-b747-ab5b04e2fb08.png</url>
      <title>Forem: Andrei Traistaru</title>
      <link>https://forem.com/brigalssa</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/brigalssa"/>
    <language>en</language>
    <item>
      <title>How I built an append-only cryptographic audit trail for AI agent actions</title>
      <dc:creator>Andrei Traistaru</dc:creator>
      <pubDate>Tue, 31 Mar 2026 07:03:52 +0000</pubDate>
      <link>https://forem.com/brigalssa/how-i-built-an-append-only-cryptographic-audit-trail-for-ai-agent-actions-4kep</link>
      <guid>https://forem.com/brigalssa/how-i-built-an-append-only-cryptographic-audit-trail-for-ai-agent-actions-4kep</guid>
      <description>&lt;p&gt;&lt;a&gt;&lt;/a&gt;## The problem&lt;/p&gt;

&lt;p&gt;AI agents are making real, consequential decisions — sending emails, calling APIs, modifying files. But when something goes wrong, there's no verifiable record of what the agent decided and why.&lt;/p&gt;

&lt;p&gt;You can't prove what tools ran. You can't show an auditor what reasoning led to an action. You can't verify the chain of events offline.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;p&gt;Decision Passport stamps every agent event into a cryptographically linked append-only chain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reasoning summary (with confidence score)&lt;/li&gt;
&lt;li&gt;Tool intent (before the call)&lt;/li&gt;
&lt;li&gt;Tool result (after the call)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When the session ends, you export a portable JSON bundle. Anyone can verify it offline — no API, no database, no external dependency.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three integration patterns
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Wrapper&lt;/strong&gt; — explicit control, record each event manually&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Middleware&lt;/strong&gt; — automatic intercept, wraps tool calls transparently&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Raw primitives&lt;/strong&gt; — use the chain functions directly for custom integrations&lt;/p&gt;

&lt;h2&gt;
  
  
  The bundle format
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
json
{
  "bundle_version": "1.4-openclaw-lite",
  "passport_records": [...],
  "manifest": {
    "record_count": 3,
    "chain_hash": "sha256:..."
  }
}
Verification result: PASS or FAIL with per-check details.
Open source
Apache-2.0, TypeScript, 2-minute setup:
github.com/brigalss-a/decision-passport-openclaw-lite
Enterprise tier (execution claims, guard enforcement, replay protection) is in private development for regulated industries.
Feedback welcome — especially on the bundle format design.
---

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

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