<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AI Study on Jack's Blog</title><link>https://cj9208.github.io/blog/ai_study/</link><description>Recent content in AI Study on Jack's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 21 Nov 2026 09:34:23 +0800</lastBuildDate><atom:link href="https://cj9208.github.io/blog/ai_study/index.xml" rel="self" type="application/rss+xml"/><item><title>有界陈旧（Bounded Staleness）：TTM 作为依赖治理的一致性标准</title><link>https://cj9208.github.io/blog/ai_study/ttm-bounded-staleness-dependency-governance/</link><pubDate>Fri, 20 Nov 2026 13:59:06 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/ttm-bounded-staleness-dependency-governance/</guid><description>&lt;h2 id="一依赖治理是一致性问题"&gt;一、依赖治理是一致性问题&lt;/h2&gt;
&lt;p&gt;一个基础库发布新版本之后，数万人组织里的几百个调用方要不要立刻跟进、何时必须跟进——这个看似流程管理的问题，本质上是一致性问题：&lt;strong&gt;系统是否允许各节点暂时处于不同版本（版本偏斜，version skew），以及偏斜被容忍多久。&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;分布式系统的一致性光谱恰好提供了三个档位：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;强一致（strong consistency）&lt;/strong&gt;：任何变更原子地传播到所有节点，不存在偏斜。代价是协调成本——每次写入都要等所有相关方确认。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;最终一致（eventual consistency）&lt;/strong&gt;：允许偏斜，只承诺&amp;quot;没有新输入时终将收敛&amp;quot;，不承诺何时。收敛可能永远不发生。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;有界陈旧（bounded staleness）&lt;/strong&gt;：允许偏斜，但偏斜有显式上界——最多落后 K 个版本或 T 时间。Azure Cosmos DB 把它做成了可选的一致性级别，位于强一致与最终一致之间。&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;用这个光谱定位现有的代码库治理模式，位置立刻清晰：&lt;/p&gt;
&lt;p&gt;谷歌的 &lt;strong&gt;Live at Head（源码级依赖）&lt;/strong&gt; 是强一致。在 One Repo（单一代码仓库）里改一个底层接口，所有下游调用点必须同步修改才能合入，代价是跨团队的政治对齐——审查委员会、合规围栏、无休止的宣讲会议（详见《&lt;a href="https://cj9208.github.io/blog/systems_and_governance/corporate/google-technical-bureaucracy/"&gt;神话的黄昏&lt;/a&gt;》§一）。需要说明：强一致是 Live at Head 这一选择的性质，不是 One Repo 的必然属性——同一篇文章的附注一.4 记录了谷歌的实际演进：为了拆分底层库 //base，编译器专家用内联命名空间把版本号焊进符号名，让新老版本在同一个二进制里共存。这是软状态（soft state），是向最终一致方向的放松；但 //base 迁移历时数年至今没有迁完，古老的 &lt;code&gt;base::&lt;/code&gt; 仍活在系统血脉里。&lt;strong&gt;谷歌的实践落在最终一致档：允许偏斜，收敛无保证。&lt;/strong&gt;&lt;/p&gt;
&lt;pre class="mermaid"&gt;graph LR
 A[强一致&amp;lt;br/&amp;gt;Live at Head&amp;lt;br/&amp;gt;原子变更·对齐成本前置] --&amp;gt;|放松版本偏斜| B[有界陈旧&amp;lt;br/&amp;gt;TTM 方案&amp;lt;br/&amp;gt;偏斜 ≤ T·可审计]
 B --&amp;gt;|去掉期限承诺| C[最终一致&amp;lt;br/&amp;gt;谷歌 //base 实践&amp;lt;br/&amp;gt;软状态·尽力而为·不保证收敛]&lt;/pre&gt;
&lt;p&gt;本文提出的方案落在中间档：&lt;strong&gt;TTM（Time to Maturity，成熟期限）依赖治理&lt;/strong&gt;。TTM 就是那个 T——基础包升级后，各业务方被允许落后的最长时间。它不是最终一致的修辞类比，而是把一致性级别做成了制度参数。&lt;/p&gt;
&lt;h2 id="二方案ttm-异步分散治理"&gt;二、方案：TTM 异步分散治理&lt;/h2&gt;
&lt;p&gt;方案由三个部件构成：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;分散&lt;/strong&gt;：一个业务一个 repo，repo 之间只有显式契约，禁止隐式源码引用；每个 repo 有常驻的负责团队，升级的爆炸半径被物理隔离锁在单个 repo 内。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;TTM&lt;/strong&gt;：基础包发布新版本后，中央为这次升级设定收敛期限。期限按风险分级：常规升级一年，高危安全漏洞（CVE）七天。窗口期内各团队按自己的节奏升级，不要求立刻跟进。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Registry 与巡检&lt;/strong&gt;：中央 Registry 只记录元数据——哪个 repo、依赖哪个包、当前版本、期限何时到期。独立的巡检服务周期性比对依赖清单与 Registry 记录，发现超期或临近超期，向该 repo 的负责团队发 Alert。&lt;strong&gt;中央全程不碰业务代码，不下达升级指令。&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;用一个具体案例走完全流程：&lt;/p&gt;</description></item><item><title>Technology Comes Last: Value, Action, and the Architecture That Emerged</title><link>https://cj9208.github.io/blog/ai_study/blog-system-evolution/</link><pubDate>Sun, 20 Sep 2026 17:49:27 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/blog-system-evolution/</guid><description>朋友花几个月调研完美架构，零交付。卡住他的不是执行力，而是架构在价值被命名之前根本无法判定。价值第一，先做一个会坏的东西，技术第三——我的博客就是按这个顺序长出来的。</description></item><item><title>Presentations 分享记录</title><link>https://cj9208.github.io/blog/ai_study/presentations/</link><pubDate>Sun, 23 Aug 2026 09:16:26 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/presentations/</guid><description>在外部 AI 社区做过的一些 presentation 的记录。</description></item><item><title>The Search Pathology: Why Scaling Test-Time Compute Can Degrade Code Agent Quality</title><link>https://cj9208.github.io/blog/ai_study/search-pathology-test-time-compute/</link><pubDate>Fri, 14 Aug 2026 13:21:33 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/search-pathology-test-time-compute/</guid><description>&lt;h2 id="abstract"&gt;Abstract&lt;/h2&gt;
&lt;p&gt;As modern frontier LLMs scale Test-Time Compute (TTC) through tree search, Best-of-N sampling, and extended thinking trajectories, software engineering teams have encountered a troubling paradox: high-effort inference modes frequently produce inferior, over-engineered code compared to medium-effort baselines. While search theory dictates that increased compute should monotonically improve solution quality under an optimal Oracle, real-world software synthesis lacks a complete evaluation mechanism.&lt;/p&gt;
&lt;p&gt;When search algorithms operate on imperfect surrogates (Proxies) such as unit test suites or Process Reward Models (PRMs), scaling inference compute triggers Goodhart’s Law and Reward Hacking. Search optimization algorithms actively seek out and exploit evaluation blind spots, yielding architectural bloat, defensive over-engineering, and goal drift. To unlock the benefits of Test-Time Compute without falling into search pathologies, systems architecture must shift focus from constraining search algorithms to hardening the evaluation landscape via multi-dimensional proxy ensembles, adversarial PRM training, dynamic execution tracing, and property-based test generation.&lt;/p&gt;</description></item><item><title>From Board Games to Reasoning Agents: The Evolution of Reinforcement Learning in Large Language Models</title><link>https://cj9208.github.io/blog/ai_study/rl-evolution-llm-reasoning-agents/</link><pubDate>Thu, 06 Aug 2026 00:28:29 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/rl-evolution-llm-reasoning-agents/</guid><description>&lt;h2 id="1-foundations-of-classical-reinforcement-learning"&gt;1. Foundations of Classical Reinforcement Learning&lt;/h2&gt;
&lt;h3 id="11-core-abstractions-and-mathematical-setup"&gt;1.1 Core Abstractions and Mathematical Setup&lt;/h3&gt;
&lt;p&gt;Reinforcement Learning (RL) provides a mathematical framework for training an agent to make sequential decisions under uncertainty. The environment is formalized as a Markov Decision Process (MDP), defined by the 5-tuple:&lt;/p&gt;
&lt;span class="katex-display"&gt;&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML" display="block"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant="script"&gt;M&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;mi mathvariant="script"&gt;S&lt;/mi&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;mi mathvariant="script"&gt;A&lt;/mi&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;mi mathvariant="script"&gt;P&lt;/mi&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;mi mathvariant="script"&gt;R&lt;/mi&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;mi&gt;γ&lt;/mi&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\mathcal{M} = (\mathcal{S}, \mathcal{A}, \mathcal{P}, \mathcal{R}, \gamma)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.6833em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal"&gt;M&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;=&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mopen"&gt;(&lt;/span&gt;&lt;span class="mord mathcal" style="margin-right:0.075em;"&gt;S&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal"&gt;A&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal" style="margin-right:0.08222em;"&gt;P&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal"&gt;R&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord mathnormal" style="margin-right:0.05556em;"&gt;γ&lt;/span&gt;&lt;span class="mclose"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant="script"&gt;S&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\mathcal{S}&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.6833em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal" style="margin-right:0.075em;"&gt;S&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; represents the state space.&lt;/li&gt;
&lt;li&gt;&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant="script"&gt;A&lt;/mi&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\mathcal{A}&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.6833em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal"&gt;A&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; represents the action space.&lt;/li&gt;
&lt;li&gt;&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant="script"&gt;P&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mrow&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;mo&gt;∣&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\mathcal{P}(s_{t+1} \mid s_t, a_t)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal" style="margin-right:0.08222em;"&gt;P&lt;/span&gt;&lt;span class="mopen"&gt;(&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.3011em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;span class="mbin mtight"&gt;+&lt;/span&gt;&lt;span class="mord mtight"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2083em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;∣&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mclose"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; defines the transition probability distribution over next states given the current state &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;s_t&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.5806em;vertical-align:-0.15em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; and action &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;a_t&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.5806em;vertical-align:-0.15em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi mathvariant="script"&gt;R&lt;/mi&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\mathcal{R}(s_t, a_t)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mord mathcal"&gt;R&lt;/span&gt;&lt;span class="mopen"&gt;(&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mclose"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; is the reward function assigning a scalar feedback signal to state-action pairs.&lt;/li&gt;
&lt;li&gt;&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;γ&lt;/mi&gt;&lt;mo&gt;∈&lt;/mo&gt;&lt;mo stretchy="false"&gt;[&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\gamma \in [0, 1)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.7335em;vertical-align:-0.1944em;"&gt;&lt;/span&gt;&lt;span class="mord mathnormal" style="margin-right:0.05556em;"&gt;γ&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;∈&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mopen"&gt;[&lt;/span&gt;&lt;span class="mord"&gt;0&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;1&lt;/span&gt;&lt;span class="mclose"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; is the discount factor prioritizing immediate over future rewards.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The agent&amp;rsquo;s decision-making strategy is parameterized by a policy &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;π&lt;/mi&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;/msub&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo&gt;∣&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msub&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\pi_\theta(a_t \mid s_t)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal" style="margin-right:0.03588em;"&gt;π&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.3361em;"&gt;&lt;span style="top:-2.55em;margin-left:-0.0359em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight" style="margin-right:0.02778em;"&gt;θ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mopen"&gt;(&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;∣&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2806em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mathnormal mtight"&gt;t&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mclose"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;, which maps states to probability distributions over actions. The canonical objective of RL is to find parameter settings &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mi&gt;θ&lt;/mi&gt;&lt;mo&gt;∗&lt;/mo&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\theta^*&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.6944em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal" style="margin-right:0.02778em;"&gt;θ&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.6887em;"&gt;&lt;span style="top:-3.063em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mbin mtight"&gt;∗&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; that maximize the expected cumulative discounted return across generated trajectories &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mi&gt;τ&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo stretchy="false"&gt;(&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/msub&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/msub&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo separator="true"&gt;,&lt;/mo&gt;&lt;mo&gt;…&lt;/mo&gt;&lt;mtext&gt; &lt;/mtext&gt;&lt;mo stretchy="false"&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\tau = (s_0, a_0, s_1, a_1, \dots)&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.4306em;"&gt;&lt;/span&gt;&lt;span class="mord mathnormal" style="margin-right:0.1132em;"&gt;τ&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;=&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.2778em;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:1em;vertical-align:-0.25em;"&gt;&lt;/span&gt;&lt;span class="mopen"&gt;(&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.3011em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.3011em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.3011em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.3011em;"&gt;&lt;span style="top:-2.55em;margin-left:0em;margin-right:0.05em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.15em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="minner"&gt;…&lt;/span&gt;&lt;span class="mspace" style="margin-right:0.1667em;"&gt;&lt;/span&gt;&lt;span class="mclose"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;:&lt;/p&gt;</description></item><item><title>The Death of the Wrapper: How Agentic Post-Training Is Reshaping AI Architecture</title><link>https://cj9208.github.io/blog/ai_study/death-of-the-wrapper/</link><pubDate>Wed, 05 Aug 2026 12:47:04 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/death-of-the-wrapper/</guid><description>&lt;h3 id="from-wrapper-bottlenecks-and-olympiad-rlvr-to-the-dual-harness-paradigm"&gt;From Wrapper Bottlenecks and Olympiad RLVR to the Dual-Harness Paradigm&lt;/h3&gt;
&lt;p&gt;The evolution of LLM-based autonomous agents is frequently framed as a simple progression from &amp;ldquo;wrapper-heavy software&amp;rdquo; to &amp;ldquo;pure model autonomy.&amp;rdquo; In production engineering, however, this narrative is misleading. The external control harness is not disappearing. Instead, agent architectures are undergoing a fundamental structural rebalancing in the division of labor between deterministic software wrappers and model parameters.&lt;/p&gt;
&lt;p&gt;In early agent frameworks, external scaffolding operated as an overbearing micro-manager—intercepting every token, parsing tool parameters with rigid regular expressions, and manually prompting the base model through every error-recovery step.&lt;/p&gt;</description></item><item><title>A First-Principles Architecture for Agent Routing and Safety Harnesses</title><link>https://cj9208.github.io/blog/ai_study/agent-routing-safety-harness/</link><pubDate>Tue, 04 Aug 2026 23:31:21 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/agent-routing-safety-harness/</guid><description>&lt;h2 id="governing-probabilistic-engines-via-first-principles-system-design"&gt;Governing Probabilistic Engines via First-Principles System Design&lt;/h2&gt;
&lt;hr&gt;
&lt;h1 id="1-problem-definition-and-first-principles-constraints"&gt;1. Problem Definition and First-Principles Constraints&lt;/h1&gt;
&lt;h2 id="11-the-core-thesis--enterprise-mismatch"&gt;1.1 The Core Thesis &amp;amp; Enterprise Mismatch&lt;/h2&gt;
&lt;p&gt;Deploying Generative AI Agents into high-stakes, regulated environments (such as financial services, healthcare, and core infrastructure) exposes a fundamental architectural mismatch: &lt;strong&gt;enterprise software requires deterministic guarantees, whereas Large Language Models (LLMs) are probabilistic token samplers.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Traditional agent architectures attempt to overcome model instability through empirical prompt engineering—wrapping LLMs in self-reflection prompts or granting them direct API execution handles. This design creates brittle systems susceptible to four systemic enterprise failure modes:&lt;/p&gt;</description></item><item><title>生态式架构：AI 时代的 EMD 演进逻辑</title><link>https://cj9208.github.io/blog/ai_study/eco-architecture-ai-emd-evolution/</link><pubDate>Sun, 19 Jul 2026 11:12:51 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/eco-architecture-ai-emd-evolution/</guid><description>&lt;p&gt;在之前的两篇 《&lt;a href="https://cj9208.github.io/blog/ai_study/ai-coding-evolution/"&gt;AI Coding 的防御性进化：平台化、业务解耦与结构的自然生长&lt;/a&gt;》和 《&lt;a href="https://cj9208.github.io/blog/ai_study/linux-revival-ai-functions/"&gt;文艺复兴：从 Linux 老派教条看 AI 时代的函数开发&lt;/a&gt;》探讨中，我们分别从仓库的空间隔离与函数的刚性契约两个视角，为大模型时代的软件工程打造了一套静态的“防爆服”。通过划定物理沙盒，我们切断了大模型的爆炸半径；通过戴上强类型的“手铐”，我们锁死了单次 Tool Calling 的参数幻觉。&lt;/p&gt;
&lt;p&gt;然而，在实际的工业级落地中，如果系统仅仅停留在静态的防线内，很快就会引发一场新型的工程危机。&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="一-痛点静态防线引发的-token-危机"&gt;一、 痛点：静态防线引发的 Token 危机&lt;/h2&gt;
&lt;h3 id="1-物理底座的静止缺陷"&gt;1. 物理底座的静止缺陷&lt;/h3&gt;
&lt;p&gt;空间沙盒（第一篇）与强类型手铐（第二篇）确实在空间维度上锁死了 AI 的破坏力。但当系统在时间维度上维持静止时，这种极度碎片化的“高内聚、低耦合”就会显露出极其昂贵的副作用。&lt;/p&gt;
&lt;p&gt;当大模型面对一个复杂的复合业务场景时，由于底层机制被拆得极其细碎，它不得不像瞎子摸象一样，连续进行十几次甚至几十次工具调用（Tool Calling）。&lt;/p&gt;
&lt;h3 id="2-交互链路的长途折返"&gt;2. 交互链路的长途折返&lt;/h3&gt;
&lt;p&gt;这种长链路的“上下文折返跑”，会直接带来两个致命的工程痛点：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Token 账单的二次爆炸：&lt;/strong&gt; Agent 在多轮交互中频繁翻转上下文，反复吞噬历史状态，导致算力成本呈几何级数激增。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;无法忍受的响应延迟（Latency）&lt;/strong&gt;：金融级或实时业务根本无法承受多轮 Tool Calling 带来的漫长等待。&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;静态的模块化（Modular）如果是僵死的，系统终究会被自身的碎片化压垮。&lt;/p&gt;
&lt;blockquote&gt;
&lt;h3 id="-emd-的破局诞生"&gt;💡 EMD 的破局诞生&lt;/h3&gt;
&lt;p&gt;为了调和**“空间碎片化隔离”&lt;strong&gt;与&lt;/strong&gt;“时间长链路摩擦”**之间的剧烈冲突，&lt;strong&gt;EMD（Evolve Modular Design，演进式模块化设计）&lt;/strong&gt; 范式应运而生。
它的核心理念是：&lt;strong&gt;既然静态的过早抽象是不可靠的，那就把“架构设计”变成一种运行时的“生态演进”。&lt;/strong&gt; 它的核心思想是由两个双螺旋结构组成：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Modular（空间确定性）&lt;/strong&gt;：用最刻板的物理沙盒与强类型，继续焊死 AI 的空间爆炸半径；&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Evolve（时间动态性）&lt;/strong&gt;：用运行时的真实调用规律，去驱动静态结构在时间轴上的“自适应坍缩”与“延迟收敛”。&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;hr&gt;
&lt;h2 id="二-运行逻辑模块的四步演进生命周期"&gt;二、 运行逻辑：模块的四步演进生命周期&lt;/h2&gt;
&lt;p&gt;在 EMD 的范式下，一个模块、一个功能或一条契约的生命周期，不再是由人类工程师在图纸上规划好的，而是完全遵循生态物种的“生老病死”规律，经历以下四个阶段：&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;[需求突变] ──&amp;gt; 1. 并行突变 (v1/v2无痛共存)
 │
 ▼
 2. 世代路由 (流量自然淘汰)
 │
 ▼
 3. 算子坍缩 (长链路管道折叠)
 │
 ▼
[特征稳定] ──&amp;gt; 4. 延迟收敛 (晋升平台只读资产)
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id="1-并行突变divergence容忍良性重复"&gt;1. 并行突变（Divergence）：容忍良性重复&lt;/h3&gt;
&lt;p&gt;传统的架构升级，最大的痛点在于对抗 Breaking Changes（破坏性变更）。为了兼容老业务，人类不得不去修改线上跑得很稳的旧函数，结果改出一堆臃肿的 &lt;code&gt;if-else&lt;/code&gt;。&lt;/p&gt;</description></item><item><title>文艺复兴：从 Linux 老派教条看 AI 时代的函数开发</title><link>https://cj9208.github.io/blog/ai_study/linux-revival-ai-functions/</link><pubDate>Fri, 03 Jul 2026 05:52:14 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/linux-revival-ai-functions/</guid><description>在&lt;a href="https://cj9208.github.io/blog/ai_study/ai-coding-evolution/"&gt;《AI Coding 的防御性进化：平台化、业务解耦与结构的自然生长》&lt;/a&gt;中，我们讨论了 AI 时代 repository（代码仓库）的设计和管理。本文将进一步讨论在 AI 时代，具体函数的编写方法。读者可以参考以下背景资料：</description></item><item><title>AI Coding 的防御性进化：平台化、业务解耦与结构的自然生长</title><link>https://cj9208.github.io/blog/ai_study/ai-coding-evolution/</link><pubDate>Tue, 30 Jun 2026 17:04:54 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/ai-coding-evolution/</guid><description>随着 Cursor、Claude Code 等新一代 AI 编程工具全面进入 Agent（智能体）时代，软件工程的生产力迎来了一次陡峭的跃升。开发者们开始习惯于&amp;quot;指点江山&amp;quot;：丢下一个复杂的工单（Ticket），让 Agent 在后台翻阅源码、修改逻辑、自动运行测试，直到红灯变绿。</description></item><item><title>为什么系统最终都会走向流程化？从“程序正义”到“大模型评测的铁腕统治”</title><link>https://cj9208.github.io/blog/ai_study/systems-processification-evaluation/</link><pubDate>Tue, 30 Jun 2026 09:33:44 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/systems-processification-evaluation/</guid><description>在系统科学里，有一个幽灵无处不在，它的名字叫 Goodhart&amp;rsquo;s Law（古德哈特定律）：&amp;ldquo;当一个指标变成目标时，它就不再是一个好指标。&amp;rdquo;</description></item><item><title>破局“审计师陷阱”：Harness 与算力通缩如何双向重构 AI 的商业账本</title><link>https://cj9208.github.io/blog/ai_study/auditor-trap-compute-deflation/</link><pubDate>Mon, 29 Jun 2026 09:54:44 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/auditor-trap-compute-deflation/</guid><description>在生成式 AI 技术步入深水区的 2026 年，行业正在经历一场悄无声息的认知大洗牌。过去，企业疯狂迷恋大模型在刷榜时展现出的&amp;quot;高智商&amp;quot;；而如今，当大模型试图走出&amp;quot;纯文本、纯创意&amp;quot;的舒适区，切入金融、法务、核心重构代码等实体高价值产业时，它们迎面撞上了一堵冰冷的高墙——审计师陷阱（Auditing Paradox）。</description></item><item><title>算力经济学：从历史沙盘推演 AI 的百倍通缩终局</title><link>https://cj9208.github.io/blog/ai_study/compute-economics-deflation/</link><pubDate>Mon, 29 Jun 2026 09:12:49 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/compute-economics-deflation/</guid><description>2026 年年中，全球科技巨头（M7）在人工智能领域的资本开支（CapEx）预计将冲上 7000 亿美元 的史诗级高度。在这场军备竞赛中，英伟达凭借高达 75% 的恐怖毛利和源源不断的大厂订单，被推上了资本市场的王座。</description></item><item><title>程序员的顶级“偷懒”秘籍：控制论视角的四大底层逻辑与现代 AI 工程实践</title><link>https://cj9208.github.io/blog/ai_study/lazy-programmer-cybernetics/</link><pubDate>Sat, 27 Jun 2026 11:19:49 +0800</pubDate><guid>https://cj9208.github.io/blog/ai_study/lazy-programmer-cybernetics/</guid><description>在软件工程界，拉里·瓦尔（Larry Wall）老爷子开创 Perl 语言时定义的程序员三大美德深入人心，其首位便是：懒惰（Laziness）。</description></item></channel></rss>