feat(v0.19.0): SQLite WAL + devkit_index_health + roadmap overhaul#37
Merged
Conversation
Sprint A — 存储可靠性加固落地: - SQLite WAL 双点注入(migrate.rs init_db_at + storage.rs build_pool) - 使用 pragma_update 而非 execute,避免 PRAGMA 返回结果 panic - 新增 devkit_index_health MCP tool(第 65 个 tool) - 返回 overall_score (0-100)、schema_valid、num_docs、consistency - 复用 list_indexed_repo_ids_at + orphan_tantivy_docs + RepairResult 逻辑 - 文档联动更新 - README: 四层纵深架构图 + Reliability Layer 显式化 - AGENTS.md: §知识库生产级缺口与补齐路线 + 阶段升级 - ROADMAP.md: v0.19.0–v0.21.0 Sprint 规划 + 验收标准 - Vault 认知沉淀: knowledge-base-production-gap + sprint-a-report - clippy --fix: 自动清理 6 个 pre-existing 警告 验证: cargo test --all-targets 464 passed, clippy -D warnings 全绿
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.
Sprint A — 存储可靠性加固
解决用户反馈的"玩具感"核心问题:devbase 首先是一个可靠的本地知识基础设施,然后才是一个 World Model Compiler。
变更摘要
migrate.rs+storage.rs双点注入journal_mode = WAL,解决 111MB registry.db 并发锁定问题devkit_index_healthknowledge-base-production-gap.md+sprint-a-storage-reliability-report.mdcargo clippy --fix自动清理 6 个 pre-existing 警告关键技术决策
PRAGMA journal_mode = WAL会返回结果行,必须使用rusqlite::Connection::pragma_update()而非execute()devkit_index_health复用已有list_indexed_repo_ids_at/orphan_tantivy_docs/RepairResult基础设施,零新增外部依赖验证
cargo test --all-targets→ 464 passed, 0 failedcargo clippy --all-targets -D warnings→ 0 warningscargo fmt --check→ clean关联