<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>ContextGovernance on Latent</title>
    <link>https://latent-site.pages.dev/tags/contextgovernance/</link>
    <description>Recent content in ContextGovernance on Latent</description>
    <generator>Hugo</generator>
    <language>zh</language>
    <copyright>2026 Latent</copyright>
    <atom:link href="https://latent-site.pages.dev/tags/contextgovernance/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>nanobot 源码解读 · 03 | 上下文工程：一条消息如何被拼成 LLM 能读懂的「剧本」</title>
      <link>https://latent-site.pages.dev/posts/1/01/nanobot-%E6%BA%90%E7%A0%81%E8%A7%A3%E8%AF%BB-03-%E4%B8%8A%E4%B8%8B%E6%96%87%E5%B7%A5%E7%A8%8B%E4%B8%80%E6%9D%A1%E6%B6%88%E6%81%AF%E5%A6%82%E4%BD%95%E8%A2%AB%E6%8B%BC%E6%88%90-llm-%E8%83%BD%E8%AF%BB%E6%87%82%E7%9A%84%E5%89%A7%E6%9C%AC/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://latent-site.pages.dev/posts/1/01/nanobot-%E6%BA%90%E7%A0%81%E8%A7%A3%E8%AF%BB-03-%E4%B8%8A%E4%B8%8B%E6%96%87%E5%B7%A5%E7%A8%8B%E4%B8%80%E6%9D%A1%E6%B6%88%E6%81%AF%E5%A6%82%E4%BD%95%E8%A2%AB%E6%8B%BC%E6%88%90-llm-%E8%83%BD%E8%AF%BB%E6%87%82%E7%9A%84%E5%89%A7%E6%9C%AC/</guid>
      <description>逐函数拆解 nanobot 的上下文装配与治理：ContextBuilder 如何把身份/记忆/技能/历史/运行时上下文拼成 system+history；ContextGovernor 如何在每一轮把消息「修干净」再送进模型——剥离占位符、剔除畸形 tool_call、补齐缺失结果、工具结果预算与超大结果落盘、在飞压缩与历史裁剪。配真实代码、消息流向图与可运行的例子。</description>
    </item>
  </channel>
</rss>
