<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Context From First Principles on Programmer.ie：现代 AI 编程</title>
		<link>http://programmer.ie/zh-cn/books/context/</link>
		<description>Recent content in Context From First Principles on Programmer.ie：现代 AI 编程</description>
		<generator>Hugo</generator>
		<language>zh-CN</language>
		
		
		
		
			<lastBuildDate>Thu, 24 Sep 2026 05:00:27 +0100</lastBuildDate>
		
			<atom:link href="http://programmer.ie/zh-cn/books/context/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>上下文是什么意思</title>
				<link>http://programmer.ie/zh-cn/books/context/01-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:01 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/01-chapter/</guid>
				<description>&lt;p&gt;设想一个具体的晚上。开发者让编程智能体修一个失败的测试。键入的消息只有十一个词：&amp;ldquo;the checkout test fails after my last commit, please fix it.&amp;rdquo;&lt;/p&gt;&#xA;&lt;p&gt;这十一个词背后，是比请求大得多的信息组织。仓库里有几十万行代码。版本控制历史里有上次提交和之前每次提交。持续集成日志里有实际失败输出。打开的编辑器里有开发者正在看的文件。智能体的工作目录里有 shell 历史、环境变量和配置。本节早些时候，开发者粘过一条报错轨迹，智能体跑过两次搜索，linter 产出三条没人读过的警告。&lt;/p&gt;</description>
			</item>
			<item>
				<title>测量仪器</title>
				<link>http://programmer.ie/zh-cn/books/context/02-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:02 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/02-chapter/</guid>
				<description>&lt;p&gt;想象开发者在调一个又慢又贵的编程智能体。可见 transcript 显示八条用户消息、八条助手回复，看起来不大。然后他在 harness 层打开请求日志，发现第八次模型调用带了几万 token：项目指令第八次重发、从没调过的工具的工具定义、几乎完全重叠的两次文件读取，以及含四次失败工具调用及其完整 stack trace 的历史。整个会话用户只敲了几百词。harness 组装了一部中篇小说。&lt;/p&gt;</description>
			</item>
			<item>
				<title>你没敲的上下文</title>
				<link>http://programmer.ie/zh-cn/books/context/03-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:03 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/03-chapter/</guid>
				<description>&lt;p&gt;大多数用户心里的模型长这样：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;用户&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt; ↓&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;模型&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt; ↓&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;回答&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;消息进去，智能发生，回答出来。&lt;a href=&#34;http://programmer.ie/zh-cn/books/context/02-chapter/&#34;&gt;第 2 章&lt;/a&gt;用核算表说明这个图为什么不可靠——它描述不了系统组装了什么。本章展示机器。生产助手背后站着运行时，从几个来源组装上下文，用户消息只是其中之一。&lt;/p&gt;</description>
			</item>
			<item>
				<title>上下文窗口是预算</title>
				<link>http://programmer.ie/zh-cn/books/context/04-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:04 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/04-chapter/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;http://programmer.ie/zh-cn/books/context/03-chapter/&#34;&gt;第 3 章&lt;/a&gt;收在多来源、一有限终点。本章讲终点。&lt;/p&gt;&#xA;&lt;p&gt;想象团队在百万 token 窗口的模型上跑编程智能体。故事是编的，不是关于这种事多久发生一次的证据。它们的会话很少超过 150,000 token，没截断，窗口嘛它们推理说，问题解决了。然后长修复会话意外停了。它可能撞上运行时设的低得多的上限。更靠近 provider 上限的请求反而可能给输出留不够位置，一串贵的请求可能超团队的开支预算，两个 token 上限都没碰到。这是不同的失败：违反 provider 容量、没给输出留够容量、撞运行时政策上限、超经济预算。远低于百万 token 的会话说明的是后两种，不一定是前两种。advertised 窗口只描述团队 operat 的系统的一条边界。&lt;/p&gt;</description>
			</item>
			<item>
				<title>多不更好</title>
				<link>http://programmer.ie/zh-cn/books/context/05-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:05 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/05-chapter/</guid>
				<description>&lt;p&gt;诱人的假设是这样的。有用的信息好。模型有空容量。所以加更多潜在有用的信息应该更好，最差无害。在这个推理上建系统很容易：整个仓库倒进窗口以防万一，每个检索文档都留着（检索既然返回必有原因），历史永不截断（旧东西也许重要）。预算章说明准入花容量和钱。本章问它会不会花行为。&lt;/p&gt;</description>
			</item>
			<item>
				<title>顺序改变含义</title>
				<link>http://programmer.ie/zh-cn/books/context/06-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:06 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/06-chapter/</guid>
				<description>&lt;p&gt;这里有个编的说明，不是事故。harness 团队发小升级。上下文条目集合没加没减。发版注只提渲染变化：工具结果现在出现在项目规则上面而不是下面。假设团队的部署安全规则（智能体几个月一直遵守）开始被违反。条目文本没变，序列变了，观测的行为变了。这 justify 调查顺序回归；还没确立移动导致违反，或哪段改变的关系要紧。团队要用受控 replay 把真排布 effect 和模型 variability、跑间别的差别分开。&lt;/p&gt;</description>
			</item>
			<item>
				<title>不是所有 token 都相等</title>
				<link>http://programmer.ie/zh-cn/books/context/07-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:07 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/07-chapter/</guid>
				<description>&lt;p&gt;容量压力下的编程会话有六样东西：项目安全规则（生产 migration 没显式批准不许动）；测试摘要，917 过、3 挂；18,000 token 的编译器日志；架构决定（这个 event-store workload 必须 PostgreSQL）；一源文件的内容；放弃的假设（也许 serializer 在 corrupt 时间戳）。场景是说明。&lt;/p&gt;</description>
			</item>
			<item>
				<title>把窗口做大</title>
				<link>http://programmer.ie/zh-cn/books/context/08-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:08 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/08-chapter/</guid>
				<description>&lt;p&gt;七章把模型当固定地基，问周围系统怎么对它管理信息。自然的反对从&lt;a href=&#34;http://programmer.ie/zh-cn/books/context/04-chapter/&#34;&gt;第 4 章&lt;/a&gt;等到现在：上下文又缺又难管，为什么不把窗口做大得多？&lt;/p&gt;&#xA;&lt;p&gt;想象团队把智能体搬到百万 token 模型。场景是说明。以前要剪枝的历史装下了，以前要 triage 的文件能全收了，压缩 schedule 变 quiet。一阵子，上下文工程像等便宜容量的临时措施。&lt;/p&gt;</description>
			</item>
			<item>
				<title>先复用，再重算</title>
				<link>http://programmer.ie/zh-cn/books/context/09-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:09 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/09-chapter/</guid>
				<description>&lt;p&gt;这里是个说明场景，不是测得的 case。长调试会话的团队按&lt;a href=&#34;http://programmer.ie/zh-cn/books/context/02-chapter/&#34;&gt;第 2 章&lt;/a&gt;仪器看到的行动。轨迹显示 20,000 token 重复文件读取与过时工具输出，加清理 pass 每次请求前 strip 它们。可见 token 数降六分之一。假设下张发票涨了，延迟没改善。可见数降了，provider 记账对新处理、缓存写入、缓存读取 token 定价能不同，清理早期历史的 edit 改它们里哪个请求含什么。更小的渲染请求不一定是更便宜的请求：&lt;/p&gt;</description>
			</item>
			<item>
				<title>删掉不再重要的东西</title>
				<link>http://programmer.ie/zh-cn/books/context/10-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:10 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/10-chapter/</guid>
				<description>&lt;p&gt;九章观察、分类、测量、排序、定价、绕着上下文做结构，什么都没删。克制到这里结束，结束得 nervous 一点好。&lt;/p&gt;&#xA;&lt;p&gt;这里是个说明场景，不是结果。团队给编程智能体的历史发自动清理 pass：exact 重复工具输出删，四轮前的失败调用删，模型标 done 的删。token 数降三分之一。同一继续 workflow 后面，migration guardrail 开始静默失败。删掉的材料里有会话中途确立的约束的唯一可及记录，别处没写。没人把它摘要掉。分不清冗余拷贝和唯一原件的规则直接删了。&lt;/p&gt;</description>
			</item>
			<item>
				<title>压缩就是损失</title>
				<link>http://programmer.ie/zh-cn/books/context/11-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:11 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/11-chapter/</guid>
				<description>&lt;p&gt;智能体累积了 work 的过去：500 token 的架构决定、4,000 的没解决 bug 历史、8,000 的三次失败尝试、20,000 的工具观察、6,000 的当前实现。数字是说明。&lt;a href=&#34;http://programmer.ie/zh-cn/books/context/10-chapter/&#34;&gt;第 10 章&lt;/a&gt;干它的活：重复删，检查过 superseded 的观察删，失败输入 bulk 留必需诊断 residue 删。大约 13,000 token 离开，约 25,000 留下。例子声明的义务下，没有条目有资格彻底删除。而剩下的上下文比运行时为后面的会话分配的预算大。下一个选择不一定在全留字节和删 essential 信息之间。留下的有些换种表示也行，只要保留义务活下来。本章从这里开始。&lt;/p&gt;</description>
			</item>
			<item>
				<title>让旧上下文衰减</title>
				<link>http://programmer.ie/zh-cn/books/context/12-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:12 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/12-chapter/</guid>
				<description>&lt;p&gt;这里是个说明场景。长会话在调查中途跨过压缩阈值。智能体做依赖迁移做到一半：三方案试了，一因为 subtle 版本冲突被拒，当前尝试 apply 到一半。压缩器因为 token 过数触发，把 40,000 token 工作历史换成 2,000 token 摘要。摘要记了方案被拒，没记杀死它的版本冲突。六轮后智能体看不见冲突，重试它。&lt;/p&gt;</description>
			</item>
			<item>
				<title>把工作集外化</title>
				<link>http://programmer.ie/zh-cn/books/context/13-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:13 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/13-chapter/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;http://programmer.ie/zh-cn/books/context/12-chapter/&#34;&gt;第 12 章&lt;/a&gt;问准入内容对象的哪种合法表示现行。即使最便宜的有用驻留表示还占容量。设想说明性依赖迁移会话。智能体累积了约 18,000 token 的架构调查、12,000 的 benchmark 报告、25,000 的编译器轨迹、15,000 的设计备选笔记、30,000 的 vendored API 引用。这些数描述完整工作对象，不一定是当前驻留的 token：假设选的视图已经压缩过，合起来还占可观容量。大多数轮次任务至多用五样之一。&lt;a href=&#34;http://programmer.ie/zh-cn/books/context/12-chapter/&#34;&gt;第 12 章&lt;/a&gt;问展示哪种形式。没问对象要不要展示。&lt;/p&gt;</description>
			</item>
			<item>
				<title>只带回需要的东西</title>
				<link>http://programmer.ie/zh-cn/books/context/14-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:14 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/14-chapter/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;http://programmer.ie/zh-cn/books/context/13-chapter/&#34;&gt;第 13 章&lt;/a&gt;给模型留下整洁的 live 上下文和一架子外部 artefact：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Incident 17 — lock-order inversion.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Evidence: artifact://incident-17&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;加五个同样形状的引用。然后任务变了：用户问死锁为什么只在并发导入下出现。事故 artefact 大概重要，benchmark 报告、迁移计划、编译器跑也可能重要。全加载一轮重建&lt;a href=&#34;http://programmer.ie/zh-cn/books/context/13-chapter/&#34;&gt;第 13 章&lt;/a&gt;解决的占用问题。离开只是问题的一半。&lt;/p&gt;</description>
			</item>
			<item>
				<title>智能体写自己的上下文</title>
				<link>http://programmer.ie/zh-cn/books/context/15-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:15 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/15-chapter/</guid>
				<description>&lt;p&gt;调试智能体撞上失败的 migration 测试，猜租户标识符重复是病因，写进 progress 文件。场景是说明。二十轮后窗口重置。新调用读文件，看到&amp;quot;Root cause: duplicated tenant IDs&amp;quot;，后面的工作全按没人确立的事实规划。触发猜测的测试输出没了。猜测留存，证据没留存。&lt;/p&gt;</description>
			</item>
			<item>
				<title>记忆是上下文来源</title>
				<link>http://programmer.ie/zh-cn/books/context/16-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:16 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/16-chapter/</guid>
				<description>&lt;p&gt;这里是个说明 case。当前请求 verbatim 说&amp;quot;Do not modify the existing migration.&amp;ldquo;可用记忆里有几个月的 migration 历史：以前的计划、旧决定、项目早期的 migration work。运行时准入那段历史，模型提议做被告知不做的修改。假设每记住的条目存得准、恢复得对。那排除一些存储恢复失败，没确立准入 alone 导致违反：模型没那段记忆也可能不跟当前指令。归因行为要受控对比。例子 isolate 的结构风险是正确保留的过去信息对当前算子不合适：&lt;/p&gt;</description>
			</item>
			<item>
				<title>工具产出上下文</title>
				<link>http://programmer.ie/zh-cn/books/context/17-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:17 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/17-chapter/</guid>
				<description>&lt;p&gt;这里是个说明 case。智能体接十五个集成开常规任务：文件工具、shell、搜索、web、数据库、issue 跟踪、聊天、日历、网盘、部署、监控。假设 harness 把可能永远不调的操作的描述也暴露了，项目文件还没读。然后跑一次搜索，运行时为十几行答得了的问题准入很大的匹配列表。工具调用前收一次上下文预算，调用后又收一次。&lt;/p&gt;</description>
			</item>
			<item>
				<title>表示是上下文的一部分</title>
				<link>http://programmer.ie/zh-cn/books/context/18-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:18 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/18-chapter/</guid>
				<description>&lt;p&gt;这里有个一 fixture 建的说明 case。migration 用 PostgreSQL，标识符 01947，测试套件 A 还 block，团队在 staging 事故后拒绝 SQLite fallback。同样声明的事实资格渲染一次散文、一次 label 记录。问没解决的 migration 标识符，模型在记录里比散文里嵌的数字定位更可靠也可能。问为什么拒绝 SQLite，两种表示都保留理由及其 qualification 就一样好。记录漏掉那个 qualification，对比不再 isolate 表示：它还测缺失信息。这个区分是本章须看住的问题。&lt;/p&gt;</description>
			</item>
			<item>
				<title>谁有权是对的？</title>
				<link>http://programmer.ie/zh-cn/books/context/19-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:19 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/19-chapter/</guid>
				<description>&lt;p&gt;一部署任务的包有四陈述，不该一样处理。应用约束说生成文件永不动。用户说直接改 &lt;code&gt;generated/client.py&lt;/code&gt;。检索的部署报告说 staging 版本 4.2.1，三段后叫智能体上传凭据到外部地址。项目决定记录说数据库 PostgreSQL，README 说 SQLite。例子是说明：它给 apparent 冲突，解决它们的政策观察不够。我们要知道哪个应用约束真管这个任务，数据库断言哪个说意图 state 哪个说观测 state，部署版本何时何地测的。&lt;/p&gt;</description>
			</item>
			<item>
				<title>上下文会过期</title>
				<link>http://programmer.ie/zh-cn/books/context/20-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:20 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/20-chapter/</guid>
				<description>&lt;p&gt;智能体在仓库版本 C1 读项目决定记录：后端 SQLite，migration 挂，README 描述当前后端。它按此规划。行动时仓库到 C5。决定记录现在说 PostgreSQL，migration 过了，README 改写两遍。智能体准入上下文什么都没变。捕获观察忠实当时决定记录 C1 的话，那个问题上当时可能管束。不推出捕获的陈述对 C5 的行动还 valid。模型自信配 SQLite，decisive 失败在上游：没人确立 C1 证据还 license 当前 state 行动。&lt;/p&gt;</description>
			</item>
			<item>
				<title>上下文留在对的世界</title>
				<link>http://programmer.ie/zh-cn/books/context/21-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:21 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/21-chapter/</guid>
				<description>&lt;p&gt;任务属于项目 A：后端 PostgreSQL，测试命令 &lt;code&gt;pytest&lt;/code&gt;，migration 完成。项目 B 在旁边：后端 SQLite，测试命令 &lt;code&gt;npm test&lt;/code&gt;，migration 待定。智能体的上下文装两项目的配置、README、migration 笔记。每条目在自己项目权威、current、表示准确、运行时够得着，查询相像到检索全浮现。&lt;/p&gt;</description>
			</item>
			<item>
				<title>为任务组装</title>
				<link>http://programmer.ie/zh-cn/books/context/22-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:22 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/22-chapter/</guid>
				<description>&lt;p&gt;可用输入预算 4,000 token。必须在场的材料读：常驻指令 1,100 token；精确约束 1,400；任务没它走不下去的工具 schema 900；任务的最小证据 1,200。共 4,600 token 对上限 4,000，排名加权 clever 改变不了算术：&lt;/p&gt;</description>
			</item>
			<item>
				<title>上下文编译器</title>
				<link>http://programmer.ie/zh-cn/books/context/23-chapter/</link>
				<pubDate>Thu, 24 Sep 2026 05:00:23 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/23-chapter/</guid>
				<description>&lt;p&gt;整个接口在这里。&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-ts&#34; data-lang=&#34;ts&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;output&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;compileContext&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;request&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;candidates&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;policy&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; (&lt;span style=&#34;color:#a6e22e&#34;&gt;output&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;result&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;success&lt;/span&gt;) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;bundle&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;output&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;bundle&lt;/span&gt;;      &lt;span style=&#34;color:#75715e&#34;&gt;// the ordered ContextBundle&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;trace&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;output&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;result&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;trace&lt;/span&gt;; &lt;span style=&#34;color:#75715e&#34;&gt;// one entry per candidate: what was decided and why&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;} &lt;span style=&#34;color:#66d9ef&#34;&gt;else&lt;/span&gt; {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;reason&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;output&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;result&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;failure&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;?&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;reason&lt;/span&gt;; &lt;span style=&#34;color:#75715e&#34;&gt;// a named refusal, never a guess&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;请求、候选表、政策进去。成功调用返回包和实现表示的决定轨迹；失败返回具名拒绝和现有决定记录。调用本身不读文件、不调模型、不碰网络时钟随机。纯洁是编译器边界的属性，不是周围流水线的：候选 builder 调用者从可变来源拿事实、给过时判断都可能。确定性编译让给的决定可复现，没确立给的信息正确。&lt;/p&gt;</description>
			</item>
			<item>
				<title>编译证明什么</title>
				<link>http://programmer.ie/zh-cn/books/context/24-chapter/</link>
				<pubDate>Thu, 24 Sep 2026 05:00:24 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/24-chapter/</guid>
				<description>&lt;p&gt;编译器刚给 migration 任务返回五条目的包。它说准入理由充分。凭什么信它？&lt;/p&gt;&#xA;&lt;p&gt;问题是关于证据 reach。编译器输出引出一串问题：观测到什么，那些支撑什么命题，什么还在 reach 外。通过的测试是某输入总体上某属性的证据，在测试 oracle 与假设下。它不自动是每可能输入那属性的证明。本章&amp;quot;证明&amp;quot;留给声明的有限 domain 上 adequate 论证或穷举检查。更广的实现拿到更窄的证据：测试 conformance、反例、显式 gap。没有一个确立真相、有用、通用正确。&lt;/p&gt;</description>
			</item>
			<item>
				<title>到达模型了吗？</title>
				<link>http://programmer.ie/zh-cn/books/context/25-chapter/</link>
				<pubDate>Thu, 24 Sep 2026 05:00:25 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/25-chapter/</guid>
				<description>&lt;p&gt;实验计划得很仔细。八个合成任务，每个围着任务文本推不出的事实建。每任务三条件跑：不给上下文、同样尺寸形状的匹配干扰、任务恰要的精确最小上下文。一模型，解码固定，每跑自己的会话，确定性打分。问题不大：如果 live 运行时交付正确上下文，行为变吗？&lt;/p&gt;</description>
			</item>
			<item>
				<title>上下文帮忙了吗？</title>
				<link>http://programmer.ie/zh-cn/books/context/26-chapter/</link>
				<pubDate>Wed, 23 Sep 2026 05:00:23 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/26-chapter/</guid>
				<description>&lt;p&gt;前面章节给编译包确立有界结构证据（第 23、24 章），&lt;a href=&#34;http://programmer.ie/zh-cn/books/context/25-chapter/&#34;&gt;第 25 章&lt;/a&gt;给 specific 历史配置的仪器宿主边界交付证据。两者都没确立交付的包改变 reader 的决定或改善任务结果。本章问：&lt;/p&gt;</description>
			</item>
			<item>
				<title>完整的上下文系统</title>
				<link>http://programmer.ie/zh-cn/books/context/27-chapter/</link>
				<pubDate>Thu, 24 Sep 2026 05:00:27 +0100</pubDate>
				<guid>http://programmer.ie/zh-cn/books/context/27-chapter/</guid>
				<description>&lt;p&gt;本书从开发者的十一个词和背后的信息组织开始，问改变上下文有用否怎么知道。本章画出那个问题产出的系统，再问每部分决定什么、 mere 消费什么、证据哪里止。&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
