<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>AI 实战笔记</title>
    <link>https://jyrealmadrid.de5.net/</link>
    <description>记录 WorkBuddy、DeepSeek Harness 等 AI 工具的实战用法：命令、版本号、真实报错与复现步骤，全部来自我自己的机器。</description>
    <language>zh-CN</language>
    <lastBuildDate>Sat, 28 Nov 2026 00:00:00 GMT</lastBuildDate>
    <atom:link href="https://jyrealmadrid.de5.net/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>人机协作的复核回路：我给自己设的四道关卡</title>
      <link>https://jyrealmadrid.de5.net/posts/review-loop/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/review-loop/</guid>
      <pubDate>Sat, 28 Nov 2026 00:00:00 GMT</pubDate>
      <description>AI 产出的东西要经过哪些检查才能进主干。本文给出四道复核关卡的具体动作、每道关卡拦住了什么类型的错误，以及为什么「最后再一起看」是最差的复核方式。</description>
      <category>复核</category>
      <category>人机协作</category>
      <category>质量</category>
      <category>方法论</category>
    </item>
    <item>
      <title>先写契约再写代码：多 agent 协作里的接口设计</title>
      <link>https://jyrealmadrid.de5.net/posts/spec-driven/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/spec-driven/</guid>
      <pubDate>Fri, 27 Nov 2026 00:00:00 GMT</pubDate>
      <description>多个 agent 并行写同一个仓库时，冲突往往不是能力问题而是契约缺失。本文给出契约该包含的五项内容、写契约的具体模板，以及一次因契约模糊导致返工的复盘。</description>
      <category>契约</category>
      <category>多agent</category>
      <category>协作</category>
      <category>方法论</category>
    </item>
    <item>
      <title>一手证据优先：为什么我不信总结信日志</title>
      <link>https://jyrealmadrid.de5.net/posts/evidence-first/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/evidence-first/</guid>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <description>总结会骗人，日志不会。本文给出证据分级与取证流程：如何区分一手观测与转述、怎样构造可复现的最小验证，以及三个因轻信总结而返工的真实案例。</description>
      <category>证据</category>
      <category>日志</category>
      <category>方法论</category>
      <category>验证</category>
    </item>
    <item>
      <title>token 黑洞：四个让账单翻倍的坏习惯，附实测账本</title>
      <link>https://jyrealmadrid.de5.net/posts/token-waste/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/token-waste/</guid>
      <pubDate>Wed, 25 Nov 2026 00:00:00 GMT</pubDate>
      <description>把一次真实会话的 token 账本拆开，找出四个最常见的浪费来源：一次一问、全量读文件、工具输出不裁剪、长会话不压缩，每项给出可量化的节省办法。</description>
      <category>token</category>
      <category>成本</category>
      <category>上下文</category>
      <category>坏习惯</category>
    </item>
    <item>
      <title>静默失败：exit 0 却什么都没做，复现八种</title>
      <link>https://jyrealmadrid.de5.net/posts/silent-failures/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/silent-failures/</guid>
      <pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate>
      <description>exit 0 不等于做对了。本机复现七种静默失败：空转的 rm -f、未匹配的通配符、被管道吞掉的退出码，每种都有实测输出与防护写法。</description>
      <category>静默失败</category>
      <category>退出码</category>
      <category>bash</category>
      <category>调试</category>
    </item>
    <item>
      <title>中文乱码三件套：GBK 终端、UTF-8 文件、BOM 头各坑一次</title>
      <link>https://jyrealmadrid.de5.net/posts/encoding-gbk/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/encoding-gbk/</guid>
      <pubDate>Mon, 23 Nov 2026 00:00:00 GMT</pubDate>
      <description>同一份中文在 GBK 控制台、UTF-8 文件与带 BOM 的 JSON 之间转换会踩的五个坑，每个都有本机实测字节输出，末尾给出编码策略与排查顺序。</description>
      <category>编码</category>
      <category>GBK</category>
      <category>BOM</category>
      <category>乱码</category>
    </item>
    <item>
      <title>Windows 路径与换行符：六个坑的实测复现</title>
      <link>https://jyrealmadrid.de5.net/posts/windows-paths/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/windows-paths/</guid>
      <pubDate>Sun, 22 Nov 2026 00:00:00 GMT</pubDate>
      <description>Git Bash 与 Python 之间传路径踩过的六类坑：路径前缀被吃掉、冒号变 NTFS 数据流、尾部空格被吞、换行符被改写，附复现命令与实测输出。</description>
      <category>Windows</category>
      <category>路径</category>
      <category>换行符</category>
      <category>MSYS</category>
    </item>
    <item>
      <title>什么时候不该用 AI 写代码：五个我付过学费的判断标准</title>
      <link>https://jyrealmadrid.de5.net/posts/when-not-to-use/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/when-not-to-use/</guid>
      <pubDate>Sat, 21 Nov 2026 00:00:00 GMT</pubDate>
      <description>不是所有代码都适合交给 AI。用五个可操作的判断标准划出禁区，每个标准都配一次真实翻车作为依据，最后给出可执行的替代做法。</description>
      <category>判断标准</category>
      <category>AI编码</category>
      <category>风险</category>
      <category>横评</category>
    </item>
    <item>
      <title>四家终端编码 agent 横评：体积、启动、入口</title>
      <link>https://jyrealmadrid.de5.net/posts/cli-coding-agents/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/cli-coding-agents/</guid>
      <pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate>
      <description>同一台机器上实测四家终端编码 agent 的安装体积、启动耗时、非交互调用方式与失败模式，给出按场景选型的明确结论，不只堆参数。</description>
      <category>CLI</category>
      <category>编码agent</category>
      <category>横评</category>
      <category>横向对比</category>
    </item>
    <item>
      <title>IDE 原生 AI 与终端 agent：边界在哪里</title>
      <link>https://jyrealmadrid.de5.net/posts/ide-native-vs-cli/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/ide-native-vs-cli/</guid>
      <pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate>
      <description>对比 VS Code 内嵌 AI 与终端 agent 在上下文获取、改动可见性、批量化上的真实差异，给出哪些活该留在编辑器里、哪些必须搬到终端的判断标准。</description>
      <category>IDE</category>
      <category>终端agent</category>
      <category>工作流</category>
      <category>横评</category>
    </item>
    <item>
      <title>同一句提示词，25 秒和 60 秒的差距：模型与客户端的成本结构拆解</title>
      <link>https://jyrealmadrid.de5.net/posts/model-cost-latency/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/model-cost-latency/</guid>
      <pubDate>Wed, 18 Nov 2026 00:00:00 GMT</pubDate>
      <description>用同一句提示词实测不同客户端的墙钟差异，并拆解一个真实会话的缓存命中账本，说明延迟到底花在哪、token 到底被谁吃掉。</description>
      <category>成本</category>
      <category>延迟</category>
      <category>token</category>
      <category>横评</category>
    </item>
    <item>
      <title>给 Harness 加工具插件：profile 与 patch 层</title>
      <link>https://jyrealmadrid.de5.net/posts/tool-authoring/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/tool-authoring/</guid>
      <pubDate>Tue, 17 Nov 2026 00:00:00 GMT</pubDate>
      <description>profile 不是配置文件而是插件包的有序栈。从 dump-config 层级注释到 plugin 转发 pnpm，讲清三种粒度。</description>
      <category>Harness</category>
      <category>插件</category>
      <category>profile</category>
      <category>扩展</category>
    </item>
    <item>
      <title>沙箱与审批：全权模式到底放开了哪一维</title>
      <link>https://jyrealmadrid.de5.net/posts/sandbox-policy/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/sandbox-policy/</guid>
      <pubDate>Mon, 16 Nov 2026 00:00:00 GMT</pubDate>
      <description>从 dump-config 的 approval 表达式到一次 PATH_RESTRICTED，讲清预设、审批与路径策略是三套独立机制。</description>
      <category>Harness</category>
      <category>沙箱</category>
      <category>权限</category>
      <category>Windows</category>
    </item>
    <item>
      <title>观测：job、spill 文件与 exit code 的真实语义</title>
      <link>https://jyrealmadrid.de5.net/posts/observability/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/observability/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>后台任务不是防火墙、输出超限会落到临时文件、exit 1 在 Windows 上可能只是被杀。用三份实测返回原文讲清 job_output 与退出码的读法。</description>
      <category>Harness</category>
      <category>job</category>
      <category>日志</category>
      <category>排障</category>
    </item>
    <item>
      <title>团队任务板：写作用域、revision CAS 与依赖排序怎么用</title>
      <link>https://jyrealmadrid.de5.net/posts/team-tasks/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/team-tasks/</guid>
      <pubDate>Sat, 14 Nov 2026 00:00:00 GMT</pubDate>
      <description>五个 agent 并行写 28 篇，靠 revision 乐观锁和 write_scopes 隔离。含一次真实的 stale revision 报错与生命周期。</description>
      <category>Harness</category>
      <category>team_task</category>
      <category>多agent</category>
      <category>并发</category>
    </item>
    <item>
      <title>上下文压缩：compress 什么时候该压，压坏了拿什么换回来</title>
      <link>https://jyrealmadrid.de5.net/posts/context-compression/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/context-compression/</guid>
      <pubDate>Fri, 13 Nov 2026 00:00:00 GMT</pubDate>
      <description>billion-context 0.1.216 的实测账本：89580 计费输入、25 秒压缩超时原文、16.9 倍缓存命中。压缩不是免费操作。</description>
      <category>Harness</category>
      <category>上下文</category>
      <category>压缩</category>
      <category>成本</category>
    </item>
    <item>
      <title>subagent 与 fork：干净上下文还是继承上下文</title>
      <link>https://jyrealmadrid.de5.net/posts/subagent-fork/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/subagent-fork/</guid>
      <pubDate>Thu, 12 Nov 2026 00:00:00 GMT</pubDate>
      <description>两个工具名只差一个后缀，代价差一整份对话历史。从 spawn/fork 配置到 delegation depth 讲清怎么选型。</description>
      <category>Harness</category>
      <category>subagent</category>
      <category>多agent</category>
      <category>上下文</category>
    </item>
    <item>
      <title>批处理守则：plan 行、依赖拆分与 reconcile 的实战用法</title>
      <link>https://jyrealmadrid.de5.net/posts/batching-guidance/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/batching-guidance/</guid>
      <pubDate>Wed, 11 Nov 2026 00:00:00 GMT</pubDate>
      <description>插件会读你程序的第一行判断你有没有规划，还会因为你连调同一个工具而警告。这篇拆解这套守则的四个硬规则和两次真实触发。</description>
      <category>Harness</category>
      <category>批处理</category>
      <category>run_code</category>
      <category>方法论</category>
    </item>
    <item>
      <title>run_code 的 PTC 模式：为什么我宁可写程序也不逐个调工具</title>
      <link>https://jyrealmadrid.de5.net/posts/run-code-ptc/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/run-code-ptc/</guid>
      <pubDate>Tue, 10 Nov 2026 00:00:00 GMT</pubDate>
      <description>实测 3 次 sleep 2 串行 6.68 秒、并行一点没快；web_fetch 并行 1.57 倍；127 个并发派发能过、140 个直接炸。</description>
      <category>Harness</category>
      <category>PTC</category>
      <category>并发</category>
      <category>run_code</category>
    </item>
    <item>
      <title>DeepSeek Harness 第一次跑起来：环境探测与最小闭环</title>
      <link>https://jyrealmadrid.de5.net/posts/harness-first-run/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/harness-first-run/</guid>
      <pubDate>Mon, 09 Nov 2026 00:00:00 GMT</pubDate>
      <description>从 0.2.2-rc.3 版本号到 3765 端口，把安装形态、数据目录与三个 profile 一次探清，附 Node 版本坑。</description>
      <category>Harness</category>
      <category>CLI</category>
      <category>环境搭建</category>
    </item>
    <item>
      <title>长会话 token 经济学：把 120KB 记忆砍到 18KB</title>
      <link>https://jyrealmadrid.de5.net/posts/workbuddy-token-economy/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/workbuddy-token-economy/</guid>
      <pubDate>Sun, 08 Nov 2026 00:00:00 GMT</pubDate>
      <description>一份自动化执行记忆涨到 120161 字节、1096 行，每次执行都要全量读一遍。我做了三轮裁剪，把常驻上下文压到 18KB，同时保住了全部「下次务必做」。</description>
      <category>WorkBuddy</category>
      <category>token</category>
      <category>上下文管理</category>
      <category>成本</category>
    </item>
    <item>
      <title>用 agent 直接产出 docx：一次实体误识别让我加了三道校验</title>
      <link>https://jyrealmadrid.de5.net/posts/workbuddy-office/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/workbuddy-office/</guid>
      <pubDate>Sat, 07 Nov 2026 00:00:00 GMT</pubDate>
      <description>让 agent 批量生成行业周报 docx，第一次交付就出现一份把个股周报当成行业周报的废稿。后来我在链路里加了三道校验：实体、体量、渲染。</description>
      <category>WorkBuddy</category>
      <category>Office</category>
      <category>docx</category>
      <category>xlsx</category>
      <category>质量校验</category>
    </item>
    <item>
      <title>让 agent 操作浏览器：CDP 与内置浏览器的边界</title>
      <link>https://jyrealmadrid.de5.net/posts/workbuddy-browser/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/workbuddy-browser/</guid>
      <pubDate>Fri, 06 Nov 2026 00:00:00 GMT</pubDate>
      <description>内置浏览器 skill 有 70 行铁律，我却最后用 Playwright 连 CDP 才跑通。差别在于一个要点授权、一个能无人值守；但后者的边界也更危险。</description>
      <category>WorkBuddy</category>
      <category>浏览器自动化</category>
      <category>Playwright</category>
      <category>授权</category>
    </item>
    <item>
      <title>MCP 接不上：一次 declarations=0 的排查</title>
      <link>https://jyrealmadrid.de5.net/posts/workbuddy-mcp/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/workbuddy-mcp/</guid>
      <pubDate>Thu, 05 Nov 2026 00:00:00 GMT</pubDate>
      <description>MCP 接不上时，第一反应总是「是不是网络问题」。我那次踩到的其实是启动竞态：连接器在会话建立时还没 ready，整个会话的 MCP 配置被冻结成 0 个声明。</description>
      <category>WorkBuddy</category>
      <category>MCP</category>
      <category>连接器</category>
      <category>排查</category>
    </item>
    <item>
      <title>多 agent 分工怎么落地：写作用域比提示词更重要</title>
      <link>https://jyrealmadrid.de5.net/posts/multi-agent-workbuddy/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/multi-agent-workbuddy/</guid>
      <pubDate>Wed, 04 Nov 2026 00:00:00 GMT</pubDate>
      <description>三个 agent 同时改一个仓库，最容易出的不是提示词冲突，是两个人写同一个文件。我改用任务板 + 写作用域隔离之后，合并冲突从每天三次降到零。</description>
      <category>WorkBuddy</category>
      <category>多 agent</category>
      <category>任务板</category>
      <category>协作</category>
    </item>
    <item>
      <title>用定时任务把日报做成流水线：六周的四条经验</title>
      <link>https://jyrealmadrid.de5.net/posts/automation-schedule/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/automation-schedule/</guid>
      <pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate>
      <description>我让 WorkBuddy 每个工作日 21:00 自动跑恐慌指数日报并推企业微信。跑了六周、攒下 1096 行执行记忆后，我把踩过的坑整理成四条规则。</description>
      <category>WorkBuddy</category>
      <category>自动化</category>
      <category>定时任务</category>
      <category>cron</category>
    </item>
    <item>
      <title>自定义 skill 从零到可用：我写废三个才明白的两件事</title>
      <link>https://jyrealmadrid.de5.net/posts/workbuddy-skills/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/workbuddy-skills/</guid>
      <pubDate>Mon, 02 Nov 2026 00:00:00 GMT</pubDate>
      <description>把提示词存成文件就算做成 skill 了吗？写废三个之后我才明白：决定它会不会被自动触发的，是 frontmatter 里那段 description。</description>
      <category>WorkBuddy</category>
      <category>Skill</category>
      <category>提示词工程</category>
    </item>
    <item>
      <title>WorkBuddy 的会话记忆到底落在哪：一次误解与实证</title>
      <link>https://jyrealmadrid.de5.net/posts/session-memory/</link>
      <guid isPermaLink="true">https://jyrealmadrid.de5.net/posts/session-memory/</guid>
      <pubDate>Sun, 01 Nov 2026 00:00:00 GMT</pubDate>
      <description>我一直以为记忆是模型自己记住的，直到新开会话它把我的项目结论全忘了。翻了三个会话目录后，我搞清了 MEMORY.md、日期文件和自动化记忆这三层落盘结构。</description>
      <category>WorkBuddy</category>
      <category>会话记忆</category>
      <category>上下文恢复</category>
    </item>
  </channel>
</rss>
