| Files | Last commit | Last update |
|---|---|---|
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
feat: 初始化项目骨架 (Phase 1) | 5 months ago | |
fix: P1 watcher leak, semantic capabilities, module bounds, staging cleanup P1: Watcher test thread leak conftest.py now has two autouse fixtures: - _cleanup_server_instances: gc.collect() + close() any leaked ProjectBrainServer after each test - _assert_no_leaked_threads: warn if debounce/watcher/reconcile threads survive test teardown P1: Semantic capabilities not implemented ToolCapabilities now carries semantic search state: - configured_search_strategy / effective_search_strategy - semantic_available / semantic_loaded / semantic_stale - normal_vectors / test_vectors / model / generation capabilities_for() accepts config, semantic_index, semantic_stale, generation params. _refresh_capabilities passes live server state. ToolCapabilities changed from frozen=True to mutable (frozen prevented field assignment in capabilities_for). P1: Module response unbounded get_module_contents now accepts max_items (default 500). When total items exceed max_items, lists are truncated and response includes truncated=true + total_items count. P1: .tmp staging cleanup - New GenerationRepository.cleanup_staging(): removes ALL .tmp dirs immediately (called during server close()). - __init__ still does _cleanup_orphan_tmp() for >1h old dirs on startup. - close() calls cleanup_staging() before stopping watcher. Tests: 571 passed, 6 skipped. | 4 months ago | |
release: v0.4.1 runtime safety fixes | 4 months ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
fix: extract functions inside extern C linkage specifications and add --ref/--child when pull wiki Co-authored-by: wy201012<wangyu700@huawei.com> | 2 months ago | |
feat: expand parser evidence and semantic relations Add parser recovery diagnostics, exact symbol facts, Clang enrichment, cross-language FFI, template/override/macro/callback relations, audit tooling, and real-project regression coverage. | 3 months ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
feat: 知识图谱质量与检索能力全面升级 - 定义侧唯一键: function id 加入 struct 维度消歧, class_id 存节点id, ClassNode 加 methods 字段, 新增 crate 维度, 边按id去重 - 查询层: file 路径回填, 名称歧义返回候选, 路径分隔符归一化, locate_symbol 大小写不敏感, keyword_search 测试过滤, 查询结果去重 - 调用消解: self.method() 精确消解, 外部变量方法调用弃建避免串配, 同名函数 callers/callees 聚合 - impact_analysis 支持 struct/trait 聚合 methods 影响面; 删除 get_test_coverage(14个工具) - get_related_tests 复用 callers 过滤 is_test 推断测试 - BM25 替换纯TF检索(IDF降权/长度归一化/词频饱和) - 修复: doc_parser DESCRIBE 边 id 不一致, IMPLEMENT dangling, DEPEND 边缺失(stem映射), return_type where污染, 非git降级提示, conventions 深度, sqlite连接未关闭 - 丰富 14 个 MCP 工具描述 - 新增端到端测试与真实图谱测试, 全量 258 passed | 5 months ago | |
fix: extract functions inside extern C linkage specifications and add --ref/--child when pull wiki Co-authored-by: wy201012<wangyu700@huawei.com> | 2 months ago | |
refactor: 合并2个工具+修复get_symbol_info按需过滤+清理死代码 工具数 20 → 18 合并1: get_module_contents + get_module_api → get_module_contents(exported_only) - get_module_contents 加 exported_only 参数(True=仅导出符号) - get_module_api 保留为内部兼容包装 - MCP层移除独立 get_module_api 工具 - 顺带修复 submodules 返回格式不一致(string→dict) 合并2: get_callers + get_callees → get_call_graph(direction) - 合并为 get_call_graph(function_id, direction='both', depth) - direction: callers/callees/both,与 get_dependencies 模式统一 - MCP层移除独立 get_callers/get_callees 工具 - engine层保留 get_callers/get_callees 供内部调用 get_symbol_info 按需过滤: - 加 include 参数(callers/callees/tests/any,逗号分隔) - class 节点关系聚合(参照 get_context/impact_analysis) 清理死代码: - doc_parser._extract_references 用假id(md5符号名)生成DESCRIBE边 但 parse_file 从不调用它(用空列表替代),link_engine 才是真正建边者 - 删除该方法 + 对应测试 test_extract_references | 5 months ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
feat: 文档完整快照与检索 + Windows兼容与性能修复 核心功能: - build --store-doc-content 指定文档/文件夹保留完整正文到 DocumentNode - documents.stored_content 配置块(include/exclude glob + 容量预算 + on_limit) - token感知分块(~400 tokens,自动适配CJK与Latin),BM25/语义索引命中章节深处 - get_content 优先读图谱快照,支持source/行范围/游标分页 - keyword_search 返回命中位置附近动态预览,不返回全文 - Schema 6→7, config摘要触发重建, watcher增量共用同一策略 平台兼容与性能: - 修复Windows NTFS TOCTOU 100%误报(st_ctime_ns移除) - preserve_exact分页 O(n²)→O(n)(游标携带行号) - snapshot_md5延迟计算(正常文档零开销) - 文档解析有界内存路径 构建成功后才写回config.yaml,保证增量更新策略一致。 | 4 months ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
feat: 知识图谱质量与检索能力全面升级 - 定义侧唯一键: function id 加入 struct 维度消歧, class_id 存节点id, ClassNode 加 methods 字段, 新增 crate 维度, 边按id去重 - 查询层: file 路径回填, 名称歧义返回候选, 路径分隔符归一化, locate_symbol 大小写不敏感, keyword_search 测试过滤, 查询结果去重 - 调用消解: self.method() 精确消解, 外部变量方法调用弃建避免串配, 同名函数 callers/callees 聚合 - impact_analysis 支持 struct/trait 聚合 methods 影响面; 删除 get_test_coverage(14个工具) - get_related_tests 复用 callers 过滤 is_test 推断测试 - BM25 替换纯TF检索(IDF降权/长度归一化/词频饱和) - 修复: doc_parser DESCRIBE 边 id 不一致, IMPLEMENT dangling, DEPEND 边缺失(stem映射), return_type where污染, 非git降级提示, conventions 深度, sqlite连接未关闭 - 丰富 14 个 MCP 工具描述 - 新增端到端测试与真实图谱测试, 全量 258 passed | 5 months ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
release: v0.4.1 runtime safety fixes | 4 months ago | |
release: v0.4.1 runtime safety fixes | 4 months ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
release: v0.4.1 runtime safety fixes | 4 months ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
feat: 文档完整快照与检索 + Windows兼容与性能修复 核心功能: - build --store-doc-content 指定文档/文件夹保留完整正文到 DocumentNode - documents.stored_content 配置块(include/exclude glob + 容量预算 + on_limit) - token感知分块(~400 tokens,自动适配CJK与Latin),BM25/语义索引命中章节深处 - get_content 优先读图谱快照,支持source/行范围/游标分页 - keyword_search 返回命中位置附近动态预览,不返回全文 - Schema 6→7, config摘要触发重建, watcher增量共用同一策略 平台兼容与性能: - 修复Windows NTFS TOCTOU 100%误报(st_ctime_ns移除) - preserve_exact分页 O(n²)→O(n)(游标携带行号) - snapshot_md5延迟计算(正常文档零开销) - 文档解析有界内存路径 构建成功后才写回config.yaml,保证增量更新策略一致。 | 4 months ago | |
feat: 文档完整快照与检索 + Windows兼容与性能修复 核心功能: - build --store-doc-content 指定文档/文件夹保留完整正文到 DocumentNode - documents.stored_content 配置块(include/exclude glob + 容量预算 + on_limit) - token感知分块(~400 tokens,自动适配CJK与Latin),BM25/语义索引命中章节深处 - get_content 优先读图谱快照,支持source/行范围/游标分页 - keyword_search 返回命中位置附近动态预览,不返回全文 - Schema 6→7, config摘要触发重建, watcher增量共用同一策略 平台兼容与性能: - 修复Windows NTFS TOCTOU 100%误报(st_ctime_ns移除) - preserve_exact分页 O(n²)→O(n)(游标携带行号) - snapshot_md5延迟计算(正常文档零开销) - 文档解析有界内存路径 构建成功后才写回config.yaml,保证增量更新策略一致。 | 4 months ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
fix(graph): add missing get_edge method to GraphStore backends code_parser.py:220 (fallback code_chunk linking loop, added in 61f112d) calls store.get_edge(edge_id) to dedup CONTAIN edges between a fallback file and its parent directory module, but get_edge was never defined on any store backend — only get_edges (by node) existed. The bug was unreachable for root-level fallback files (no parent dir, so the linking loop is skipped), which is why the existing fallback test suite never caught it. It surfaced on any real codebase whose parse-failed files live in subdirectories (e.g. tree-sitter-c on a C project), making the full graph build raise: AttributeError: 'JsonStore' object has no attribute 'get_edge' - JsonStore.get_edge: O(E) scan over self.edges, membership short- circuited via the existing _edge_ids set; add_edge already dedups, so get_edge only guards the edges_created counter. - SqliteStore.get_edge: SELECT by id. - base.GraphStore: declare get_edge as abstract. Regression tests: - test_json_store: get_edge found / not-found / reflects deletion. - test_fallback_chunks: fallback file nested in a subdirectory now links to its parent module instead of crashing the build. | 4 months ago | |
feat: 添加 LanguageRule Protocol 和文件扫描器 | 5 months ago | |
release: v0.4.1 runtime safety fixes | 4 months ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
fix: projection removes symbols in unreachable private modules P0: mini graph no longer saves private module symbols The core bug was that projection only checked each symbol's own is_exported flag, ignoring whether the symbol's parent module is reachable from the crate root. A pub trait Entry inside mod util; (private module) had is_exported=True and was retained, even though util is not accessible. Fix: GraphProjection now computes crate-root reachability before removal: 1. _reachable_module_ids() — BFS from root modules through is_exported=True children. A module is reachable only if all ancestors in the chain are exported (declared pub mod). 2. _collect_reexported_names() — gathers all pub use re-exported symbol names from FileNode.reexports fields. 3. _is_reachable_symbol() — a symbol is retained if its module_id is in the reachable set, OR it has no module_id, OR its name is in the re-exported names set (explicitly pub use-ed from a reachable module). 4. _remove_functions/_remove_classes now check reachability: a retained symbol in an unreachable module that is not re-exported is removed, counted as removed_unreachable_symbols. The incremental updater mirrors this via _is_module_reachable() which walks the module's ancestor chain checking is_exported at each level. Symbols in unreachable modules are only installed if their name appears in the file's reexported_names. Result: pub trait Entry re-exported via pub use util::Entry; is retained; pub fn helper() and pub struct Hidden in the same private module without re-export are removed at projection time. Tests: 570 passed, 6 skipped (1 new reachability projection test). | 4 months ago | |
feat: expand parser evidence and semantic relations Add parser recovery diagnostics, exact symbol facts, Clang enrichment, cross-language FFI, template/override/macro/callback relations, audit tooling, and real-project regression coverage. | 3 months ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
feat: expand parser evidence and semantic relations Add parser recovery diagnostics, exact symbol facts, Clang enrichment, cross-language FFI, template/override/macro/callback relations, audit tooling, and real-project regression coverage. | 3 months ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
feat: expand parser evidence and semantic relations Add parser recovery diagnostics, exact symbol facts, Clang enrichment, cross-language FFI, template/override/macro/callback relations, audit tooling, and real-project regression coverage. | 3 months ago | |
feat(search): per-query and build-time retrieval strategy selection - keyword_search/_retrieve accept a strategy override (keyword / keyword+graph / semantic / hybrid) exposed through search --strategy, the REPL and the MCP keyword_search tool; unknown values fall back to the configured search.strategy, and semantic/hybrid degrade to BM25 when the vector index is unavailable, stale or empty - build --strategy sets the retrieval strategy for the built graph and persists it to config so serve inherits it; mutually exclusive with --semantic, which remains as a hybrid + index_body shortcut - docs: detailed user-guide rewrite (strategy selection, query techniques, incremental updates, semantic retrieval boundaries, AI integration, large-repo tuning, troubleshooting) plus a README entry link | 1 month ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
refactor: 清理死代码+修复吞异常+加timeout+统一常量(P2) P2-17: 删除 errors.py 死代码 - 5个异常类零import零raise, 全部用 except Exception - 删除 errors.py + test_errors.py P2-18: 修复静默吞异常 - server.py store.load/semantic.load 的 except Exception: pass 改为 except Exception as e: logger.warning(...) P2-19: history_parser subprocess.run 加 timeout - git log 全量: timeout=120 - git log 单文件: timeout=60 P2-21: 清理 reasoning/engine.py 死代码 - 删除 impact_analysis(影子实现, QueryEngine有独立版本) - 删除 change_risk/_get_file_hotness/_get_test_coverage(未暴露为工具) - 删除 ImpactResult/RiskResult dataclass - 只保留 test_recommendation(被MCP工具使用) - 消除两套风险评分算法混淆(整数vs浮点) P2-22: 清理 history_parser.py 死方法 - 删除 get_file_history/get_owner_info(被QueryEngine版本取代) P2-23: CommitNode._files monkey-patch 改正式字段 - CommitNode 加 files: list[str] 字段 - history_parser 用 .files 替代 ._files P2-28: 删除 config.py 三个死字段 - storage_threshold(自动后端切换未实现) - full_rebuild_interval(定时重建未实现) - include_prs(PR开关未实现) P2-30: 统一 batch_size 常量 - SemanticIndex 加 EMBED_BATCH_SIZE=256, SAVE_EVERY_BATCHES=4 - server.py/__main__.py/semantic_index.py 统一引用常量 验证: 299测试通过(删10个引用已删方法的测试), 无回归 | 4 months ago | |
feat: 文档完整快照与检索 + Windows兼容与性能修复 核心功能: - build --store-doc-content 指定文档/文件夹保留完整正文到 DocumentNode - documents.stored_content 配置块(include/exclude glob + 容量预算 + on_limit) - token感知分块(~400 tokens,自动适配CJK与Latin),BM25/语义索引命中章节深处 - get_content 优先读图谱快照,支持source/行范围/游标分页 - keyword_search 返回命中位置附近动态预览,不返回全文 - Schema 6→7, config摘要触发重建, watcher增量共用同一策略 平台兼容与性能: - 修复Windows NTFS TOCTOU 100%误报(st_ctime_ns移除) - preserve_exact分页 O(n²)→O(n)(游标携带行号) - snapshot_md5延迟计算(正常文档零开销) - 文档解析有界内存路径 构建成功后才写回config.yaml,保证增量更新策略一致。 | 4 months ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
feat: expand parser evidence and semantic relations Add parser recovery diagnostics, exact symbol facts, Clang enrichment, cross-language FFI, template/override/macro/callback relations, audit tooling, and real-project regression coverage. | 3 months ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
release: v0.4.1 runtime safety fixes | 4 months ago | |
release: v0.4.1 runtime safety fixes | 4 months ago | |
feat: 添加 GraphStore Protocol 接口 | 5 months ago | |
release: v0.4.1 runtime safety fixes | 4 months ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
release: v0.4.1 runtime safety fixes | 4 months ago | |
sync bot-gate into master Main changes: - feat: Go/Java language support; storage dir migration to .botbrain - feat: build-time scan include/exclude via --include/--exclude flags - feat(wiki): auto re-login on cookie expiry during pull (CLI) - feat: --ref/--child flags for pull-wiki CLI; wiki.include_refs/include_children config defaults - fix: extract functions inside extern C linkage specifications - fix: paginate children_wiki_by_sn past the 50-child page cap - fix: correct inverted symlink handling in path normalization - fix: root-anchor slash patterns for nested build/dist/target/vendor dirs - fix: warn on legacy trailing-slash exclude patterns - feat(go): record satisfied_via on structural IMPLEMENT edges - release: 0.7.0 packaging/rename (bot-brain) and docs refresh | 1 month ago | |
feat: extend document, wiki, and semantic build support Add Office document ingestion, asynchronous wiki workflows and tooling, deployment guidance, dependency and resilience fixes, plus configurable ONNX embedding threads. | 3 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 1 month ago | ||
| 5 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 1 month ago | ||
| 2 months ago | ||
| 3 months ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 5 months ago | ||
| 2 months ago | ||
| 5 months ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 4 months ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 5 months ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 1 month ago | ||
| 4 months ago | ||
| 1 month ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 4 months ago | ||
| 5 months ago | ||
| 4 months ago | ||
| 1 month ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 1 month ago | ||
| 3 months ago | ||
| 1 month ago | ||
| 3 months ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 1 month ago | ||
| 3 months ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 5 months ago | ||
| 4 months ago | ||
| 1 month ago | ||
| 4 months ago | ||
| 1 month ago | ||
| 3 months ago |