<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Audit on 魔都水滴</title>
    <link>https://blog.margrop.net/tag/audit/</link>
    <description>Recent content in Audit on 魔都水滴</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Tue, 31 Mar 2026 21:30:00 +0800</lastBuildDate>
    <atom:link href="https://blog.margrop.net/tag/audit/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Clawd Code 架构速读版：用一页纸看懂 Python-first 重写工作区</title>
      <link>https://blog.margrop.net/post/clawd-code-architecture-quick-read/</link>
      <pubDate>Tue, 31 Mar 2026 21:30:00 +0800</pubDate>
      <guid>https://blog.margrop.net/post/clawd-code-architecture-quick-read/</guid>
      <description>&lt;p&gt;&lt;code&gt;margrop/clawd-code&lt;/code&gt; 的最新代码，已经不是“把泄露源码原样存起来”的那种仓库了。它现在是一个很明确的 &lt;strong&gt;Python-first porting workspace&lt;/strong&gt;：&lt;code&gt;src/&lt;/code&gt; 是活动实现，&lt;code&gt;tests/&lt;/code&gt; 负责验证，&lt;code&gt;archive/claude_code_ts_snapshot/&lt;/code&gt; 只是可选的本地归档，&lt;code&gt;src/reference_data/&lt;/code&gt; 才是命令和工具镜像的来源。&lt;/p&gt;&#xA;&lt;p&gt;如果上一版长文讲的是“怎么读源码”，这一版速读版只回答一个问题：&lt;strong&gt;这个工作区到底怎么分层？&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://blog.margrop.net/post-images/clawd-code-quick-overview.svg&#34;&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Clawd Code 最新代码解析：一个 Python-first 的 Claude Code 重写工作区如何组织命令、工具、会话与审计</title>
      <link>https://blog.margrop.net/post/claude-code-daofa-tishu-source-code-analysis/</link>
      <pubDate>Tue, 31 Mar 2026 20:30:00 +0800</pubDate>
      <guid>https://blog.margrop.net/post/claude-code-daofa-tishu-source-code-analysis/</guid>
      <description>&lt;p&gt;我重新看了 &lt;code&gt;margrop/clawd-code&lt;/code&gt; 的最新代码之后，得出的第一印象是：这仓库已经不再是“泄露源码镜像”的延续叙事了，而是一个明确的 &lt;strong&gt;Python-first porting workspace&lt;/strong&gt;。它的 tracked tree 里，&lt;code&gt;src/&lt;/code&gt; 是活动实现，&lt;code&gt;tests/&lt;/code&gt; 是验证层，&lt;code&gt;archive/claude_code_ts_snapshot/&lt;/code&gt; 是可选的本地归档，&lt;code&gt;src/reference_data/&lt;/code&gt; 则保存了命令、工具和表面覆盖率的镜像数据。&lt;/p&gt;&#xA;&lt;p&gt;这意味着项目关注点变了。它不再只问“原始 Claude Code 是怎么写的”，而是问：&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;旧系统的结构能不能被重新组织成更清晰的 Python 工程；&lt;/li&gt;&#xA;&lt;li&gt;命令、工具、会话、权限和启动顺序能不能被显式建模；&lt;/li&gt;&#xA;&lt;li&gt;当前 porting workspace 到底覆盖到了旧体系的哪些边界；&lt;/li&gt;&#xA;&lt;li&gt;哪些部分只是镜像，哪些部分还只是骨架，哪些部分已经能跑出可读的 runtime 报告。&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;从这个角度看，这个仓库更像一套“重建中的工程系统”，而不是“保存原样的源码档案”。这也是我把这篇文章重新更新的原因。上一版文章仍然围绕旧快照本体，这一版必须围绕最新的 Python porting 工作区本身来写。&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://blog.margrop.net/post-images/clawd-code-architecture-2026.svg&#34;&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
