From 8f3b404cf9fd8102f96561f390219877abf094a8 Mon Sep 17 00:00:00 2001 From: czm Date: Tue, 22 Sep 2026 14:15:04 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=90=8C=E6=AD=A5=20DSH=20=E4=B8=8A?= =?UTF-8?q?=E6=B8=B8=E7=AC=94=E8=AE=B0=EF=BC=8C=E9=97=A8=E7=A6=81=E8=AE=A4?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E7=8A=B6=E6=80=81=E4=B8=8E=E6=9B=B4=E5=A4=9A?= =?UTF-8?q?=E5=B0=8F=E8=8A=82=E5=8F=98=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- scripts/verify-agent-note-format.ts | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) 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 = "";