dbs-decision
Builds a local decision knowledge engineering system for business, relationship, health, career, learning, or investment problems requiring long-term tracking. Use when users request decision filing, outcome backfilling, status profiling, or long-term review.
1How It Works & Mechanism
Positioned as a 'local knowledge engineering system' rather than a decision ledger: It does not make decisions for users, but documents facts, judgments, stage states, and pending hypotheses separately into files.
你是 dontbesilent 的决策系统 AI。你不替用户做决定,也不做决策台账。
Files serve as the single source of truth: Chat memory fades, so reusable content must be written to disk—the fundamental rationale behind the disk-writing architecture.
本地 Markdown 以文件为准。聊天记忆会丢,上下文会变,后面还要继续用的内容就写进文件。
Fixed four-layer structure, each governing a specific category of content with distinct mutability rules (01 append-only, 02 append corrections, 03 write-once immutable, 04 clear upon completion).
| `01_事实/` | 发生过什么。客观事实、相关方笔记、稳定信息、用户长期偏好 | 只追加,不改写已有条目 |
Mutability grading is achieved via 'snapshots are immutable once written; new situations start under a new date', using versioning instead of in-place overwriting.
**快照写完不改。** 情况变化就新建带新日期的版本。
Each layer directory includes a `_这层放什么.md` file, using contextual instructions to reduce misplacement.
每层目录里放一个 `_这层放什么.md`
Defaults to persisting at `~/.dbs/decisions/{project_name}/`, with --here supported to override the location; the project name defaults to the current directory name.
默认落 `~/.dbs/decisions/{项目名}/`。
Enforces mandatory provenance tags on every entry (Self/AI Hypothesis/AI Conclusion/Key Note/Meta Record/Tentative Concept/Outcome Backfill/Correction/Others' Words and Actions), strictly requiring AI tags.
`AI` 标签不能省。
Five operating modes cover the full lifecycle: Initialization / Update Current State (default) / Decision Filing / Outcome Backfilling / Status Profile Snapshot.
### 模式 C:决策立案
Outcome backfilling requires updating 4 places simultaneously (Decision Event §8 append, 01_事实 fact logging, current state sync, 04_待解 task clearance) to ensure ledger-reality consistency.
### 模式 D:结果回填
Privacy mode is decided via a prompt during init: stakeholder notes use codenames, and real names are centralized in an unshared, uncommitted mapping table.
真名只在 `01_事实/相关方笔记/代号映射.md`,这个文件不分享、不提交
Thresholds exist for new concepts entering 02_规律/ (must satisfy at least 2 of 3: observed in facts 3+ times, explains multiple facts, guides next steps); otherwise tagged tentative.
不要想到一个名词就建概念文件。
Strict guidelines written into the new project's AGENTS.md persist across sessions, including an anti-pleasing mechanism (stops providing solutions and writes `[AI 元记录]` upon detecting compulsive questioning loops).
停止提供方案。指出用户已经在做取舍,并写一条 `[AI 元记录]`。
2Core Capabilities
4Recommended Governance & Evidence
- 本地工作目录: File I/O and artifact output: `~/.dbs/decisions/{project_name}/` (the default storage location specified in the text)
5Second-Pass Verification
- [ok] 目录内确无脚本(写盘由正文指令驱动) — 目录仅 SKILL.md(11063B) + agents/openai.yaml(275B);无 tools/、无 package.json;危险 token 扫描零命中。
- [ok] 四层结构与可变规则 — 01_事实/02_规律/03_定格/04_待解 四行规则逐字命中;速查表另有 6 行规则。
- [ok] 落盘路径与 --here 分支 — 原文含「默认落 `~/.dbs/decisions/{项目名}/`。」与「落到 `{当前工作目录}/决策/{项目名}/`。」两处。
- [ok] 隐私模式为显式开关 — 模式 A 第 1 步要求问用户是否涉人名/商业机密/财务,正文标注「默认关」。
- [ok] 来源标签与「AI 标签不能省」 — 标签清单 + 三条规则均在原文;「`AI` 标签不能省。」逐字命中。
- [ok] 外部依赖为空 — 无 URL、无 CLI、无第三方包;grep process.env|API_KEY|keychain|child_process 零命中。
- [ok] description 与内容相符 — description 的「业务、关系、健康、职业、学习或投资」对应 01_事实 的相关方笔记与 04_待解 的决策事件;「决策立案、结果回填、状态画像、长期复盘」对应模式 A-E,无夸大。
- [ok] commit / license / 元数据 — HEAD = 8b8e33f1ecaed8cee606fe950c4426b525ead314;LICENSE = CC BY-NC 4.0(含 NonCommercial,非商业授权);stars 10121、pushed_at 2026-09-07T03:48:59Z。
6Verdict & Scenarios
d2451bd842c58244…