Dependency swaps rejected by the 2026-07 NIH audit
2026-07 NIH 审计否决的依赖替换
A repository-wide "Not Invented Here" audit (2026-07-26, ten parallel surveys covering every package group, scripts/, native/, vendor/ edges, python/, test infrastructure, and CI) asked of each hand-rolled surface: would a maintained external package or Node builtin delete it with a net win under the [dependency policy](../../implemented/process/2026-07-26-dependencies-over-hand-rolling.md)? The positive findings bec
English
Problem
A repository-wide "Not Invented Here" audit (2026-07-26, ten parallel surveys covering every package group, scripts/, native/, vendor/ edges, python/, test infrastructure, and CI) asked of each hand-rolled surface: would a maintained external package or Node builtin delete it with a net win under the dependency policy? The positive findings became their own proposed notes. The negative verdicts carry equal value — each names a plausible-looking swap whose hand-rolled shape is load-bearing — but would otherwise live only in a PR body. This note freezes them.
Proposal
Adopt the following dependency swaps. Rejected — per-item evidence below; a future proposal for any item must beat its recorded reason, not just re-cite the policy.
Protocol and parsing:
vscode-jsonrpcfor LSP base-protocol framing/correlation (lsp-stdio): the swappable core is ~255 of ~1,800 src lines; the package cannot express the configuredmaxMessageBytesincoming-size bound (restoring it means rebuilding the deleted framing), inverts the cancel-grace teardown semantics (raceAbortrejects immediately then tears down; vscode-jsonrpc keeps the promise pending), errors on pre-header stdout banners real servers emit, and is CJS in an ESM-everywhere repo. The LSP seam note assigns JSON-RPC ownership todsh-lsp-stdio; this audit is the explicit on-record weighing of the dependency it lacked.vscode-languageserver-typesfor lsp-stdio's wire-type subset: ~80 type lines and ~45 guard lines, but upstream guards differ in both directions (accepturi: undefinedthe repo must reject; requiretargetRangethe repo tolerates absent), and the initialize-result shapes live invscode-languageserver-protocol, draggingvscode-jsonrpcin as a runtime dep — ~1 MB for 80 spec-exact lines.json-rpc-2.0fordsh-sdk-jsonrpc-server: deletable correlation/dispatch is real (~100–130 lines) but the NDJSON wire must stay bit-identical for the hand-rolled Python SDK client, the package is single-maintainer, and the GUI RPC note already treats this package as a frozen narrow surface.vscode-jsonrpcis a worse fit still (Content-Length framing, cancellation vocabulary the protocol lacks).jsonrpcclientfor the Python SDK client: v4 builds/parses messages only — ~20 lines — while the 500 lines that matter (subprocess lifecycle, threaded reader, id correlation, bidirectional server-role responses) stay; the library is in low-maintenance mode.eventsource-parserfor apiproxy'sreadSse: only ~15 lines of framing are deletable, both wire ends are in-repo so spec conformance is moot, and it would add a dep to a browser-safe package. (Contrast with the archived llm-deepseek dependency decision, where a real provider sits across the wire.)
Retry, timers, async:
p-retry/exponential-backoffforllm-retry: wrong execution model — the plugin is a decision-returning waterfall listener and the agent loop owns re-execution from the durable log; there is no function to re-invoke, which is those libraries' entire API. ProviderRetry-Afteroverride, budget from prior-failure codes, durablellm/retryevents, and HMR-quiescent abort are all uncovered. Bounded-recovery note already rejected SDK-owned retries.p-timeout/AbortSignal.timeoutfordsh-timeout: the builtin cannot be disarmed early and carries a genericTimeoutError, not the capability-codedTimeoutReasonthat distinguishes nested deadlines;idleWatchdog's per-demand rearm has no equivalent. Timeout-library note owns the design.p-limit/p-queuefor the agent-loop tool-call pool: pool bookkeeping is ~25 lines; the substance (model-ordered commits, mid-group reclassification, exclusive barriers, abort-drain with synthetic durable results) is not a concurrency-limiter shape.p-queue/async-mutexfor per-key promise-chain serializers (fs-local,storage-domain): 8–14-line serializers; the packages are strictly larger than the code they would delete.events.once+AbortSignal.timeoutfor subagent-subprocessexitsWithin:events.oncerejects iferrorfires first, but the hand-roll deliberately ignoreserror(captured separately by the spawn-failure path); the swap changes teardown-race behavior in exactly the code whose semantics are teardown races.
Data and validation:
- Ajv for the tools JSON Schema validator: the schema-DSL note explicitly rejected accepting a larger schema language; the validator also does realm-intrinsic prototype checks Ajv does not.
structuredClonefor sessionsnapshotJsonValue/isJsonValue: it is a validator + detacher enforcing the lossless-JSON boundary with single-read-per-getter and cross-realm intrinsic checks;structuredCloneaccepts Map/Date/-0 and enforces nothing. Same for the deliberately dependency-freecode-runtime-workermirror hardened against a model-mutated realm.fast-deep-equalfor session surfaceisDeepEqualJsonandsafe-stable-stringifyfor repeat-tool-reminder canonicalization: both swaps work mechanically but each trades ~17–20 commented, tested lines for the first external runtime dependency of a core package — negative net at this size.- zod/valibot for durable-event strict decoders (goal fold, tool-ralph, session): exact-key fail-loud decoders at durable boundaries with event-specific messages; a second schema library beside repo-standard schemastery is a policy change, not a deletion.
gpt-tokenizer/tiktoken for token-meter: the replay-token-meter note explicitly rejected tokenizer backends; a GPT BPE is also the wrong tokenizer for DeepSeek models, and ~350 of the package's lines are replay-fold bookkeeping no tokenizer covers.partial-jsonfor streamed tool-call arguments: nothing to replace — arguments stay raw JSON strings end-to-end by documented contract;JSON.parseruns only on complete payloads.
Filesystem, subprocess, terminal:
write-file-atomicfor fs-local/storage-json atomic writes: the packages lack the private 0700 staging dir, Win32 DACL copy/ReplaceFileW, AbortSignal support, and parent-dir fsync — each the point of the hand-roll. The koffi Win32 bindings themselves are justified by the Windows durable-publish note.fzstd/native zstd packages for JSONL frame scanning:node:zlib's builtin zstd already does the compression (zstd note, which explicitly rejected an external native dependency); the remainingscanZstdFrameslocates RFC 8878 frame boundaries without decompressing for torn-tail repair, which no package exposes.picomatch/tinyglobby/ignorefor fs search: no glob engine exists — both discovery tools shell out to ripgrep per the bash-backed discovery note.istextorbinary/chardetfor text detection: the hand-roll is a ~15-line NUL-sample plus fatalTextDecoder; heuristic packages are larger and would change which files the model can read (model-visibleFS_NOT_TEXTdrift).shell-quotefor POSIX single-quoting: two 1-line quoting helpers with exhaustive tests versus a maintenance-mode package with a CVE history and different escaping output — a safety boundary is the wrong place to save one line.strip-ansifor pty sanitization: the pty sanitizer is a streaming state machine with split-sequence carry across chunks and OSC133;Dprompt-marker extraction (the shell-readiness signal); stateless strippers replace ~20 inner lines while all state machinery stays.stripVTControlCharactersalso demonstrably leaks unterminated-OSC payloads the session-title normalizer must strip (anti-spoofing).pidtree/ps-treefor the pty process inspector: bare PID trees; the code needs start-time identity against PID reuse plus/procstdin-wait detection no package does.execafor the subagent-subprocess dispose ladder:forceKillAfterDelaycovers SIGTERM→SIGKILL but not the stdin-EOF-first cooperative tier or the reject-if-no-exit-edge contract; adopting it here rewrites spawn sites while keeping the ladder. (Test-infrastructure spawn plumbing is different — see the archived execa test-infrastructure decision.)tree-killfor acp-snapshot teardown and lsp process kill: the lines are drain-ordering/error-propagation, not tree traversal; lsp/bash already use detached process groups + taskkill.- node-pty everywhere for the TUI test driver: the archived Windows-TUI note explicitly rejected node-pty-on-every-host; it was already the Windows leg.
Servers and HTTP:
mswfor llm-mock-server: the server exists to fault the wire — socket destroy, mid-SSE disconnect, stall, pre-listen refusal — for real HTTP adapters and subprocesses; in-process interception can express none of that. Wire-fault-server note owns the design.hono/sirvfor host/webserver: the core is a disposer-based dynamic route registry (registrations-are-effects contract, HMR unregistration) plus index-HTML transform taps; hono routers are add-only, and static middleware cannot serve the transformed index. ~244 lines total, genuinely small.@mozilla/readability/iconv-litefor web-fetch-http: the provider returns raw HTML; charset handling is already the builtinTextDecoder; MIME parsing is ~11 lines; redirect following is same-origin security policy.
SQLite and storage:
better-sqlite3for the three SQLite backends: all use builtinnode:sqlite, intentional twice over — it gates the Node engine floor and works inside the single-file executable where a native addon would complicate packaging. No hand-rolled migrations or busy-retry loops exist.
Repo tooling:
wireitforrun-gates.ts: could express theneeds:graph, but allowFailure observational legs and mode-specific concurrency caps have no equivalent, caching must be defensively disabled for a correctness gate runner, and every CI workflow invocation would restructure. The parallel-gates note accepts a custom scheduler as the cost; keep is defensible.@arethetypeswrong/cliforverify-node-next-types: attw is per-package (100+ invocations vs one fast whole-workspace compile) and does not check the repo-specific explicit-.ts-specifier invariant, so the scan half stays regardless. Recorded as considered; keep the script.syncpack/manypkgforcheck-workspace-constraints.ts: they cover ~20 lines of range alignment; the load-bearing 200+ lines (computedfileslists, cordis peer=dev pairing, hierarchy shape) are repo policy no generic engine expresses.remark-validate-linksforverify-md-links.ts: the gate rides the repo's shared mdast toolchain; adopting remark-cli adds a second markdown stack to delete one small file.prebuildify/node-gyp-buildfor the landlock launcher packaging: inapplicable — those load.nodeaddons via dlopen; the launcher ships a standalone exec'd static binary, and per-platformoptionalDependenciesis the ecosystem convention for binaries.- Replacing the Landlock launcher itself with
@landstrip/landstrip: fails the security-invariant test — the launcher is a ~300-line reviewable C file whose binaries are byte-pinned to native CI builds and that already migrated away from a Rust dependency; a single-maintainer LGPL Rust binary set is a larger audit surface whose releases are harder to match to reviewed source. (The unbuilt Windows rung was weighed separately and also rejected — landstrip is not battle-tested.) hatch-nodejs-versionfor Python release versioning: roughly LOC-neutral (a custom metadata hook replaces the regex), inverts the recorded decision that the dev sentinel never determines a release version, and puts a single-maintainer build plugin in the release supply chain.- YAML consolidation (
js-yamlvsyaml): the repo carries both parsers, with the!!jstag defined four times on js-yaml (vendored include, app-boot, apps/cli,scripts/verify-cordis-config.ts) and twice onyaml(sdk-telemetry'sScalarTag, sdk-helper's comment-preserving Document editing). The direction is forced — js-yaml cannot replaceyaml(sdk-helper needs the Document API) — but migrating the js-yaml sites cannot retire the library either (the vendored include pins it) and would put two parsers in charge of one dialect that must agree exactly, against the personal-config note's deliberate load-only-copy parity. Deletable: ~20–25 lines of duplicate tag definitions and two@types/js-yamlentries. The consolidation moment is a future include sync, not now.
Alternatives considered
- Record nothing and let the PR body carry the verdicts. Rejected: PR bodies are not part of the maintained record, and the whole point of surveying is that the next audit starts from these verdicts instead of re-deriving them.
- One rejected note per item. Rejected: ~30 files of ceremony for verdicts that share one evidence standard and one fate; per-item notes are warranted only if an item is re-proposed with new evidence.
- Fold each verdict into the implemented note that owns the seam. Partially done — where an owning note already rejected the alternative (retry, token-meter, schema DSL, zstd, sandbox, node-pty), this note cites rather than duplicates it. The remaining items have no owning note, which is why they are recorded here.
中文
问题
一次仓库级的「Not Invented Here(非我发明)」审计(2026-07-26,十路并行普查,覆盖每个包分组、scripts/、native/、vendor/ 边界、python/、测试基础设施与 CI)对每一处手写接口面追问同一个问题:在依赖政策之下,是否有持续维护的外部包或 Node 内置能力能以净收益把它删除?得出肯定结论的发现已各自写成独立的提案 Agent Note。否定裁定的价值不相上下——每一条都点名了一个看似可行、实则手写形态在承重的替换——但否则它们只会留存在某个 PR(Pull Request)正文里。本 Agent Note 将它们固化在案。
提案
采纳下列依赖替换。已否决——逐项证据见下;未来针对任何一项的提案都必须胜过其记录在案的理由,而不能只是重新援引政策。
协议与解析:
- 以
vscode-jsonrpc承担 LSP 基础协议的分帧/关联(lsp-stdio):可替换的核心只占 src 约 1,800 行中的约 255 行;该包无法表达已配置的maxMessageBytes入站大小上限(要恢复它就得重建被删掉的分帧代码),反转了取消宽限期的拆除语义(raceAbort立即 reject 再拆除;vscode-jsonrpc 让 promise 保持挂起),会在真实服务器输出的 header 前 stdout 横幅上报错,而且在这个全面采用 ESM 的仓库里它是 CJS。LSP seam 决策把 JSON-RPC 的所有权划给dsh-lsp-stdio;本次审计正是对该决策当时缺失的这项依赖权衡的明文记录。 - 以
vscode-languageserver-types承担 lsp-stdio 的协议类型子集:约 80 行类型加约 45 行守卫,但上游守卫在两个方向上都与本仓库不一致(接受本仓库必须拒绝的uri: undefined;强制要求本仓库容忍缺失的targetRange),而且 initialize 结果的形状住在vscode-languageserver-protocol里,会把vscode-jsonrpc拖成运行时依赖——为 80 行严格贴合规范的代码付出约 1 MB。 - 以
json-rpc-2.0替换dsh-sdk-jsonrpc-server:可删除的关联/分发代码确实存在(约 100–130 行),但 NDJSON 协议格式(wire format)必须与手写的 Python SDK 客户端逐位一致,该包只有单一维护者,且 GUI RPC 决策已把这个包当作冻结的窄接口面对待。vscode-jsonrpc更不合适(Content-Length 分帧、该协议并不具备的取消词汇)。 - 以
jsonrpcclient承担 Python SDK 客户端:v4 只做消息的构造/解析——约 20 行——而真正要紧的 500 行(子进程生命周期、线程化读取器、id 关联、双向的服务端角色应答)全都保留;该库处于低维护模式。 - 以
eventsource-parser替换 apiproxy 的readSse:可删除的分帧只有约 15 行,线路两端都在仓库内,规范符合性无关紧要,而且这会给一个浏览器安全的包添加依赖。(对比已归档的 llm-deepseek 依赖决策:那里线路对面是真实的提供方。)
重试、定时器与异步:
- 以
p-retry/exponential-backoff替换llm-retry:执行模型不对——该插件是一个返回决策的 waterfall(瀑布式事件)监听器,重新执行由 agent loop(智能体循环)依据持久日志负责;根本不存在可供重新调用的函数,而那恰是这些库的全部 API。提供方Retry-After覆写、依据先前失败代码计算预算、持久化的llm/retry事件、HMR(热模块替换)完全停稳式中止,全都无从覆盖。LLM(大语言模型)请求受限恢复决策已经否决了由 SDK 持有的重试。 - 以
p-timeout/AbortSignal.timeout替换dsh-timeout:内置能力无法提前解除,抛出的是通用TimeoutError,而不是能区分嵌套截止时限、按能力编码的TimeoutReason;idleWatchdog按需逐次重新装定的能力没有等价物。设计归超时库决策所有。 - 以
p-limit/p-queue替换 agent loop 的工具调用池:池的簿记只有约 25 行;实质部分(按模型顺序提交、组中途重新分类、排他屏障、带合成持久结果的中止排空)根本不是并发限制器的形状。 - 以
p-queue/async-mutex替换按 key 的 promise 链串行器(fs-local、storage-domain):串行器只有 8–14 行;这些包严格大于它们所能删除的代码。 - 以
events.once+AbortSignal.timeout替换 subagent-subprocess 的exitsWithin:error先触发时events.once会 reject,而手写实现有意忽略error(由 spawn 失败路径单独捕获);这次替换恰恰会在语义本身就是拆除竞态的那段代码里改变拆除竞态行为。
数据与校验:
- 以 Ajv 承担 tools 的 JSON Schema 校验器:schema DSL 决策已明确否决接纳更大的 schema 语言;这个校验器还会做 Ajv 不做的、针对 realm 内建原型的检查。
- 以
structuredClone替换会话的snapshotJsonValue/isJsonValue:它是校验器加分离器,以「每个 getter 只读一次」和跨 realm 内建对象检查强制执行无损 JSON 边界;structuredClone接受 Map/Date/-0,什么都不强制。有意保持零依赖、针对被模型篡改的 realm 做过加固的code-runtime-worker镜像实现同理。 - 以
fast-deep-equal替换会话接口面的isDeepEqualJson、以safe-stable-stringify承担 repeat-tool-reminder 的规范化:两项替换在机械层面都可行,但每一项都是拿约 17–20 行带注释、有测试的代码,去换一个核心包的第一个外部运行时依赖——在这个体量上是净亏损。 - 以 zod/valibot 承担持久事件的严格解码器(goal fold、tool-ralph、session):它们是位于持久化边界、键集精确匹配、失败即明确报错、带事件专属报错信息的解码器;在仓库标准 schemastery 之外再放一个 schema 库是政策变更,不是删除。
- 以
gpt-tokenizer/tiktoken 替换 token-meter:回放 token 计量决策已明确否决分词器后端;GPT 的 BPE 对 DeepSeek 模型来说也是错误的分词器,而且这个包约 350 行是回放折叠簿记,任何分词器都覆盖不了。 - 以
partial-json处理流式工具调用参数:无可替换——按已记录的约定,参数端到端保持为原始 JSON 字符串;JSON.parse只在完整载荷上运行。
文件系统、子进程与终端:
- 以
write-file-atomic承担 fs-local/storage-json 的原子写:这些包缺少私有 0700 暂存目录、Win32 DACL 复制/ReplaceFileW、AbortSignal 支持和父目录 fsync——每一项都正是手写实现的意义所在。koffi Win32 绑定本身由 Windows 持久发布决策提供依据。 - 以
fzstd/原生 zstd 包承担 JSONL 帧扫描:node:zlib内置的 zstd 已经负责压缩(zstd 决策,其中明确否决了外部原生依赖);剩下的scanZstdFrames为撕裂尾部修复不做解压地定位 RFC 8878 帧边界,没有任何包公开这项能力。 - 以
picomatch/tinyglobby/ignore承担 fs 搜索:根本不存在 glob 引擎——依照 bash 承载的发现工具决策,两个发现类工具都通过 shell 调用 ripgrep。 - 以
istextorbinary/chardet承担文本检测:手写实现是约 15 行的 NUL 采样加 fatal 模式的TextDecoder;启发式包体量更大,还会改变模型能读到哪些文件(模型可见的FS_NOT_TEXT漂移)。 - 以
shell-quote承担 POSIX 单引号包裹:两个各 1 行、测试详尽的引号辅助函数,对上一个处于维护模式、有 CVE 历史、转义输出还不一样的包——安全边界不是省一行代码的地方。 - 以
strip-ansi承担 pty 净化:pty 净化器是一台流式状态机,带跨分片的断裂序列续接和 OSC133;D提示符标记提取(shell 就绪信号);无状态的剥离器只能替掉约 20 行内层代码,全部状态机构件原样保留。stripVTControlCharacters还被实证会泄漏未终止的 OSC 载荷,会话标题归一化器必须剥除它们(反欺骗)。 - 以
pidtree/ps-tree承担 pty 进程巡检器:它们只给裸 PID 树;这段代码需要对抗 PID 复用的启动时间身份校验,加上/procstdin 等待检测,没有包做这些。 - 以
execa承担 subagent-subprocess 的 dispose(资源释放)阶梯:forceKillAfterDelay覆盖 SIGTERM→SIGKILL,但覆盖不了先发 stdin EOF 的协作层级,也覆盖不了「无退出沿即 reject」约定;在这里采用它意味着重写各 spawn 调用点、同时阶梯照旧保留。(测试基础设施的 spawn 管线是另一回事——见已归档的 execa 测试基础设施决策。) - 以
tree-kill承担 acp-snapshot 拆除与 lsp 进程终止:那些代码行做的是排空顺序与错误传播,不是进程树遍历;lsp/bash 已经使用分离的进程组加 taskkill。 - 在 TUI 测试驱动器上到处使用 node-pty:已归档的 Windows TUI 决策明确否决了在每个宿主上都使用 node-pty;它当时已经是 Windows 那一条腿。
服务器与 HTTP:
- 以
msw替换 llm-mock-server:这个服务器的存在意义就是在线路上制造故障——socket 销毁、SSE(Server-Sent Events)中途断连、停滞、监听前拒绝——服务对象是真实的 HTTP 适配器和子进程;进程内拦截一样都表达不了。设计归线路故障服务器决策所有。 - 以
hono/sirv承担 host/webserver:核心是基于 disposer 的动态路由注册表(「注册即效果」约定、HMR 反注册)加 index HTML 变换挂点;hono 的路由器只增不减,静态中间件也无法伺服变换后的 index。总共约 244 行,确实很小。 - 以
@mozilla/readability/iconv-lite承担 web-fetch-http:该提供方返回原始 HTML;字符集处理已经是内置的TextDecoder;MIME 解析约 11 行;重定向跟随是同源安全策略。
SQLite 与存储:
- 以
better-sqlite3承担三个 SQLite 后端:三者全部使用内置node:sqlite,且是双重有意为之——它是 Node 引擎下限的把关依据,也能在单文件可执行体内工作,原生 addon 反而会让打包复杂化。不存在任何手写的迁移或 busy 重试循环。
仓库工具链:
- 以
wireit替换run-gates.ts:它能表达needs:图,但 allowFailure 观测支路和按模式设置的并发上限没有等价物,对一个正确性门禁运行器来说缓存必须防御性禁用,而且每一处 CI 工作流调用都要重构。并行门禁决策把自研调度器认作代价;保留是站得住的。 - 以
@arethetypeswrong/cli替换verify-node-next-types:attw 按包运行(100+ 次调用对一次快速的全工作区编译),而且不检查仓库特有的显式.ts说明符不变式,因此扫描的那一半无论如何都得保留。记录为已考虑;保留脚本。 - 以
syncpack/manypkg替换check-workspace-constraints.ts:它们只覆盖约 20 行的版本范围对齐;承重的 200+ 行(计算生成的files列表、cordis peer=dev 配对、层级形状)是仓库政策,没有通用引擎能表达。 - 以
remark-validate-links替换verify-md-links.ts:该门禁搭载仓库共享的 mdast 工具链;采用 remark-cli 等于为删掉一个小文件而增加第二套 markdown 技术栈。 - 以
prebuildify/node-gyp-build承担 landlock 启动器打包:不适用——那些工具通过 dlopen 加载.nodeaddon;这个启动器交付的是独立 exec 的静态二进制,而按平台划分的optionalDependencies恰恰就是二进制分发的生态惯例。 - 以
@landstrip/landstrip替换 Landlock 启动器本身:未通过安全不变式检验——启动器是一个约 300 行、可完整评审的 C 文件,其二进制逐字节锁定到原生 CI 构建,且早已从一个 Rust 依赖迁移出来;单一维护者的 LGPL Rust 二进制集合有更大的审计面,其发布更难与已审阅源码对应。(尚未构建的 Windows 层级经单独权衡后同样被驳回——landstrip 未经实战检验。) - 以
hatch-nodejs-version承担 Python 发布版本号:代码行数大致持平(一个自定义 metadata 钩子换掉那个正则),却反转了「dev 哨兵值绝不决定发布版本」这条记录在案的决策,还把一个单一维护者的构建插件放进发布供应链。 - YAML 归一(
js-yaml与yaml):仓库同时携带两个解析器,!!js标签在 js-yaml 上定义了四次(vendor 收录的 include、app-boot、apps/cli、scripts/verify-cordis-config.ts),在yaml上定义了两次(sdk-telemetry 的ScalarTag、sdk-helper 的可保留注释的 Document 编辑)。方向是被迫的——js-yaml 无法取代yaml(sdk-helper 需要 Document API)——但迁移 js-yaml 各调用点也退休不了这个库(vendor 收录的 include 锁定了它),还会让两个解析器共管一种必须完全一致的方言,违背个人配置决策刻意的「仅加载副本」对等性。可删除的:约 20–25 行重复标签定义和两条@types/js-yaml条目。归一的时机是未来某次 include 同步,不是现在。
曾考虑的替代方案
- 什么都不记录,让 PR 正文承载这些裁定。 不予采纳:PR 正文不属于受维护的记录,而普查的全部意义就在于下一次审计从这些裁定出发,而不是重新推导。
- 每一项各写一份 rejected note。 不予采纳:为共享同一套证据标准、同一种命运的裁定制造约 30 个文件的仪式感;只有当某一项带着新证据被重新提出时,逐项 Agent Note 才有必要。
- 把每条裁定并入拥有该 seam 的 implemented note。 部分已做——凡是持有方 Agent Note 已经否决过该替代方案的(重试、token 计量、schema DSL、zstd、沙箱、node-pty),本 note 一律援引而不重复。其余各项没有持有方 note,这正是它们记录于此的原因。