Repository navigation
docs(research): #158 复核裁定——维持 SQLite bundled 终态 - #164
Merged
Merged
Conversation
yesme
added a commit
that referenced
this pull request
Sep 3, 2026
任务书三追加「#165 核验」三项(钉定解释器正反例、供应链摘要逐平台核对、buildscript 与 C 编译 action 的缓存代价),#164 不核;状态板加 3.8 待开工,#157/#158 记为 GLM 以 #164/#165 关闭;GLM 留下的两个 buck2-prelude 上游 issue 待报项记入延后与遗留, 报告要点指向 python-build-standalone.md。 Claude-Session: https://claude.ai/code/session_01ECQQojBHRugVZZWstqqGUt Co-authored-by: Haibara AI <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
定位与重述
Issue #158 要求复核 SQLite bundled 策略与预编译库替代方案,退出条件为「替代方案同时满足离线安装、四平台能力一致、来源摘要可锁、无需用户手工安装、且实际降低构建维护成本」。本 PR 在
docs/research/libs/sqlite-online-backup.md追加复核记录:逐条对照退出条件后维持 bundled 为终态、关闭替代搜索——官方无可链接预编译库(分发形态即 amalgamation 源码 + CLI 工具 + Windows DLL);第三方预编译违反供应链纪律且开关组合不可验证;系统库版本不可钉、编译开关不可验证、最小系统不保证存在;附带否决换用 RocksDB 的提议(引擎能力与账本负载错配:人尺度 OLTP + 完整性 + 审计 vs 高写入吞吐 KV;查询层/FTS5/单文件备份/可审计性全数丧失,C++ 编译供应链问题反而加重)。深层论证:账本引擎版本应视作一次冻结绑定,与「唯一不可再生权威」的存储一致性纪律同构。issue 原列两条缺点分别由 REAPI 缓存摊薄(一次 C 编译)与 #157 拆除(fixup 维护面是 Python 3.12 阻塞造成的手工复刻,非 bundled 固有)——行动项全部转移至 #157。Closes #158。当前生效约束集
业界方案调研
本 PR 即调研产物本体(sqlite-online-backup.md 复核记录):候选对照表引用 SQLite 官方下载页分发形态、rusqlite bundled 默认路径;RocksDB 对照引用其嵌入特性(无查询层、SST 目录备份、C++ 源码编译)。无新增三方依赖。