diff --git a/README.md b/README.md index 2d7ab2d..92234ec 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ AI 每天都能帮你交十几个 PR,但每个新会话都是一张白纸, npx skills add czm15053/write-notes-like-deepseek ``` -📺 先看效果:[在线演示看板](https://czm15053.github.io/write-notes-like-deepseek-demo/)(内置 1,106 篇来自 DeepSeek Harness 的真实决策笔记,可脱机浏览) +📺 先看效果:[在线演示看板](https://czm15053.github.io/write-notes-like-deepseek-demo/)(内置 1,196 篇来自 DeepSeek Harness 的真实决策笔记,可脱机浏览) --- @@ -267,7 +267,7 @@ npx tsx scripts/build-board.ts --init board.html "项目决策看板" # 本 npx tsx scripts/build-board.ts --bundle .agents/notes demo.html "项目决策看板" # 打包分发 ``` -真实界面(来自内嵌 DeepSeek Harness 1,106 篇真实笔记的[在线演示](https://czm15053.github.io/write-notes-like-deepseek-demo/)): +真实界面(来自内嵌 DeepSeek Harness 1,196 篇真实笔记的[在线演示](https://czm15053.github.io/write-notes-like-deepseek-demo/)):

看板真实界面:四组 KPI 总览与「系统承重墙」——按交叉引用权重萃取的最关键决策 @@ -288,7 +288,7 @@ npx tsx scripts/build-board.ts --bundle .agents/notes demo.html "项目决策看 按月份与分类切片,回看全部笔记铺开的演进轨迹:

- 演进时间线:月份与分类双维切片,2026-06 至 2026-09 共 1,106 条记录 + 演进时间线:月份与分类双维切片,2026-06 至 2026-09 共 1,196 条记录

--- diff --git a/scripts/verify-agent-note-format.ts b/scripts/verify-agent-note-format.ts index 8e3c845..1d4bd44 100644 --- a/scripts/verify-agent-note-format.ts +++ b/scripts/verify-agent-note-format.ts @@ -9,9 +9,9 @@ import { resolve } from "node:path"; import { agentNoteRoot, walkAgentNoteTree } from "./agent-note-tree.ts"; const STATUS: Record = { - proposed: /^Status: proposed$|^状态[::] ?已提议$/, - implemented: /^Status: implemented$|^状态[::] ?已实现$/, - rejected: /^Status: rejected — .+$|^状态[::] ?已否决 — .+$/, + proposed: /^Status: proposed$|^状态[::] ?(?:proposed|已提议)$/, + implemented: /^Status: implemented$|^状态[::] ?(?:implemented|已实现)$/, + rejected: /^Status: rejected — .+$|^状态[::] ?(?:rejected|已否决) — .+$/, }; const PROBLEM_FIRST = ["## Problem", "## 问题"]; @@ -24,7 +24,7 @@ const REQUIRED: Record = { ], implemented: [ ["## Decision", "## 决定", "## 决策"], - ["## Consequences", "## 后果", "## 影响", "## 结果", "## 结果与代价"], + ["## Consequences", "## 后果", "## 影响", "## 结果", "## 结果与代价", "## 影响与验证"], ], rejected: [ ["## Proposal", "## 提议", "## 方案", "## 提案"], @@ -38,7 +38,7 @@ const BANNED_IMPLEMENTED = new Set([ "## 验收标准", "## 验收条件", "## 接受标准", ]); -const ALTERNATIVES_RE = /^## (?:Alternatives considered|.{0,8}?(?:替代方案|备选方案))$/; +const ALTERNATIVES_RE = /^## (?:Alternatives considered|.{0,8}?(?:替代方案|备选(?:方案)?))$/; const FORMAT_ADOPTED = "2026-07-05"; const GRANDFATHER = "";