mirror of
https://github.com/czm15053/write-notes-like-deepseek
synced 2026-11-24 16:14:17 +08:00
chore: 同步 DSH 上游笔记,门禁认中文状态与更多小节变体
This commit is contained in:
@@ -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/)):
|
||||
|
||||
<p align="center">
|
||||
<img src="assets/board-baseline.png" alt="看板真实界面:四组 KPI 总览与「系统承重墙」——按交叉引用权重萃取的最关键决策" width="100%" />
|
||||
@@ -288,7 +288,7 @@ npx tsx scripts/build-board.ts --bundle .agents/notes demo.html "项目决策看
|
||||
按月份与分类切片,回看全部笔记铺开的演进轨迹:
|
||||
|
||||
<p align="center">
|
||||
<img src="assets/board-timeline.png" alt="演进时间线:月份与分类双维切片,2026-06 至 2026-09 共 1,106 条记录" width="100%" />
|
||||
<img src="assets/board-timeline.png" alt="演进时间线:月份与分类双维切片,2026-06 至 2026-09 共 1,196 条记录" width="100%" />
|
||||
</p>
|
||||
|
||||
---
|
||||
|
||||
@@ -9,9 +9,9 @@ import { resolve } from "node:path";
|
||||
import { agentNoteRoot, walkAgentNoteTree } from "./agent-note-tree.ts";
|
||||
|
||||
const STATUS: Record<string, RegExp> = {
|
||||
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<string, string[][]> = {
|
||||
],
|
||||
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 = "<!-- agent-note-format: alternatives-not-recorded (pre-format Agent Note) -->";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user