Skip to content

Commit fee128d

Browse files
authored
chore: sync AGENTS.md to v0.14.3, remove dead todo!() (#7)
* ci(release): replace softprops/action-gh-release with gh CLI + add permissions softprops/action-gh-release@v1 consistently fails with 403 / Too many retries on this repository. Switch to native gh release create CLI which uses the same GITHUB_TOKEN but has better error handling. Also add explicit permissions: contents: write. * chore: sync AGENTS.md to v0.14.3, remove dead todo!(), delete merged branches Phase 1: AGENTS.md version hallucination fix - v0.16.1 -> v0.14.3, commit hash 5928499 -> 2867811 - Test counts: 456 -> 490+, integration 9/11 -> 11/11 - Clippy: 1 warning -> 0 warning Phase 2: Remove dead code KnowledgeRepository::generate_report - Zero callers confirmed by grep across src/ - Actual devkit_knowledge_report uses oplog_analytics::generate_report Phase 3: Remote feature branches already absent (cleaned previously)
1 parent 322f3e7 commit fee128d

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

‎AGENTS.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
> 它将本地数字资产的原始数据(代码库、笔记、Skill、工作流)编译为 AI 可决策的结构化情境,不负责思考,不负责执行,只负责感知、编码、持久化、检索。
66
7-
- **当前阶段**:阶段六 — v0.16.1 / MCP Python SDK 兼容修复 + repo.rs trait 化收尾
8-
- **当前版本**:v0.16.1 (`main@5928499`)
9-
- **已完成里程碑**:Registry God Object 完全拆解(10 子模块提取)+ 18 workspace crates 提取 + MCP Python SDK 1.16.0 兼容修复(NDJSON + null-id workaround)+ repo.rs crate:: 引用 13→9
7+
- **当前阶段**:阶段六 — v0.14.3 / MCP Python SDK 兼容修复 + repo.rs trait 化收尾
8+
- **当前版本**:v0.14.3 (`main@2867811`)
9+
- **已完成里程碑**:Registry God Object 完全拆解(10 子模块提取)+ 18 workspace crates 提取 + MCP Python SDK 1.16.0 兼容修复(NDJSON + null-id workaround)+ repo.rs crate:: 引用 13→9 + flaky 测试根治(RF-2.1/2.2/2.3)+ 许可证迁移(MIT → AGPL-3.0-or-later 双许可)
1010
- **核心方向**:让 Kimi CLI 在调用文件工具之前,先通过 devbase 获得"该读哪些文件、为什么读、它们之间的关系"
1111
- **本质分析**:见 `vault/99-Meta/devbase-essence-analysis-20260430.md` 与 `docs/architecture/redefinition.md`
1212
- **设计文档**:
@@ -25,8 +25,8 @@ Skill Runtime 全生命周期已落地(含依赖管理 Schema v15),Schema
2525
- **MCP Server**:stdio only,**48 个 tools**(含 5 个 vault tools + 8 个代码分析工具 + 4 个 embedding/搜索工具 + 4 个 Skill Runtime tools + 3 个 Workflow/评分 tools + 1 个报告工具 + 1 个 arXiv 工具 + 2 个 KnownLimit tools + 3 个 Relation tools + 2 个 Agent 状态工具 + 1 个 streaming index 工具 + 1 个 oplog 工具);配置见 `mcp.json`
2626
- **Kimi CLI 集成**:MCP server 已通过 `kimi mcp add` 注册,端到端验证通过(`kimi --print` 成功调用 `devkit_health`);项目级 skill 位于 `.kimi/skills/devbase-project/SKILL.md`
2727
- **统一节点模型**:`core::node::{Node, NodeType, Edge}` —— GitRepo / VaultNote / Asset / ExternalLink
28-
- **当前测试**:456 workspace passed / 0 failed / 5 ignored(主 crate 379 + symbol-links 4 + sync-protocol 12 + core-types 3 + syncthing-client 2 + vault-frontmatter 5 + vault-wikilink 5 + workflow-interpolate 9 + workflow-model 2 + registry-health 3 + registry-metrics 4 + registry-workspace 5 + embedding 5 + skill-runtime-types 7 + skill-runtime-parser 3);9/11 passed(integration `tests/cli.rs`)
29-
- **编译状态**:1 warning(unused import `SortMode`)/ 0 vulnerabilities(`cargo audit` 干净,除上游 `tokei` 的 `RUSTSEC-2020-0163`)
28+
- **当前测试**:490+ workspace passed / 0 failed / 4 ignored(主 crate 390 + symbol-links 4 + sync-protocol 12 + core-types 3 + syncthing-client 2 + vault-frontmatter 5 + vault-wikilink 5 + workflow-interpolate 9 + workflow-model 2 + registry-health 3 + registry-metrics 4 + registry-workspace 5 + embedding 5 + skill-runtime-types 7 + skill-runtime-parser 3 + 其他 crates ~30);11/11 passed(integration `tests/cli.rs`)
29+
- **编译状态**:0 warning / 0 vulnerabilities(`cargo audit` 干净,除上游 `tokei` 的 `RUSTSEC-2020-0163`)
3030
- **Workspace 结构**:`crates/` 目录已启用,18 个零耦合模块已提取为独立 crate(`devbase-symbol-links`, `devbase-sync-protocol`, `devbase-core-types`, `devbase-syncthing-client`, `devbase-vault-frontmatter`, `devbase-vault-wikilink`, `devbase-workflow-interpolate`, `devbase-workflow-model`, `devbase-registry-health`, `devbase-registry-metrics`, `devbase-registry-workspace`, `devbase-embedding`, `devbase-skill-runtime-types`, `devbase-skill-runtime-parser`, `devbase-registry-entity`, `devbase-registry-relation`, `devbase-registry-call-graph`, `devbase-registry-dead-code`, `devbase-registry-code-symbols`)
3131
- **Workflow Engine**:YAML 解析 + 拓扑调度 + batch 并行执行 + 5 种 step 类型(skill/subworkflow/parallel/condition/loop)
3232
- **NLQ 自然语言查询**:TUI `[:]` 触发 embedding 语义搜索,fallback 降级文本搜索

‎src/repository/knowledge.rs‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,6 @@ impl<'a> KnowledgeRepository<'a> {
200200
tx.commit()?;
201201
Ok(inserted)
202202
}
203-
204-
/// Generate a knowledge report for a repo.
205-
pub fn generate_report(&self, _repo_id: &str) -> anyhow::Result<Value> {
206-
// TODO: migrate from mcp/tools/repo.rs DevkitKnowledgeReportTool
207-
todo!()
208-
}
209203
}
210204

211205
impl<'a> super::Repository for KnowledgeRepository<'a> {

0 commit comments

Comments
 (0)