Skip to content

docs: fix MCP tool count (12→13), add June 2026 hardening notes - #446

Merged
EtanHey merged 1 commit into
mainfrom
docs/freshness-june-2026
Jun 5, 2026
Merged

EtanHey merged 1 commit into
mainfrom
docs/freshness-june-2026

Conversation

@EtanHey

@EtanHey EtanHey commented Jun 5, 2026 •

Copy link
Copy Markdown
Owner

Summary

Test plan

  • Docs-only change, no source code modified
  • Tool count verified against src/brainlayer/mcp/__init__.py (13 tool registrations confirmed)
  • BrainBar stub status verified in brain-bar/Sources/BrainBarDaemon/MCPRouter.swift (all 3 tools have real implementations since PR feat: implement all 6 BrainBar stub tools #135)
  • PR numbers verified against gh pr list --state merged --limit 20

🤖 Generated with Claude Code (maintenanceClaude docs sweep 2026-06-05)


Note

Low Risk
Markdown-only changes with no runtime or source modifications.

Overview
Documentation-only updates align MCP tool count to 13 in CLAUDE.md and the README comparison table (replacing stale 11/12 figures), and expand the documented tool roster with brain_resume and brain_enrich.

CLAUDE.md now clarifies that brain_update, brain_expand, and brain_tags are deprecated on the Python MCP path (they error there) while remaining available via the BrainBar native path.

The README adds a June 2026 search & KG hardening changelog block (PRs #433–#445): loud hook failures, drain lock resilience, chunk_origin provenance, MMR on by default for brain_search, KG entity dedup tooling, and KG boost reconnected to entity FTS.

Reviewed by Cursor Bugbot for commit 1564721. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Fix MCP tool count to 13 and add June 2026 search & KG hardening changelog

  • Updates MCP tool count from 12 to 13 in CLAUDE.md and README.md, adding brain_resume and brain_enrich to the tool list.
  • Adds deprecation note that brain_update, brain_expand, and brain_tags return errors on the Python MCP path; users should use the BrainBar native path instead.
  • Adds a "June 2026 search & KG hardening" section covering: loud hook failure surfacing, drain hardening, chunk_origin provenance stamping and backfill, default-on MMR in brain_search, KG entity dedup tooling, and reconnected KG boost to entity FTS.

Macroscope summarized 1564721.

Comparison table said 12 MCP tools; correct count is 13.
CLAUDE.md Interfaces section updated from 11→13 tools (added
brain_resume + brain_enrich), with note that brain_update/expand/tags
are deprecated in Python MCP path but work via BrainBar native path.
Added June 2026 search & KG hardening section covering PRs #433–#445:
loud hook failures, drain hardening, chunk_origin provenance, MMR
default-ON, KG entity dedup tooling, KG boost→entity-FTS.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@coderabbitai

coderabbitai Bot commented Jun 5, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@EtanHey, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 30 minutes and 21 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 27ca6e63-08e8-4ad6-96a3-be7ff877b118

📥 Commits

Reviewing files that changed from the base of the PR and between 9506ce5 and 1564721.

📒 Files selected for processing (2)
  • CLAUDE.md
  • README.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/freshness-june-2026

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1564721332

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md
- **Hook failures are now loud** ([#433](https://github.com/EtanHey/brainlayer/pull/433)) — BrainLayer hook DB failures raise clearly instead of silently swallowing errors.
- **Drain hardening** ([#435](https://github.com/EtanHey/brainlayer/pull/435)) — drain is now resilient to DB open locks under writer contention.
- **chunk_origin provenance** ([#436](https://github.com/EtanHey/brainlayer/pull/436)) — enrichment stamps `chunk_origin` on every processed chunk; a backfill pass covers existing unknowns, making provenance queryable across the full corpus.
- **MMR diversity is now on by default** ([#439](https://github.com/EtanHey/brainlayer/pull/439)) — `brain_search` applies Maximal Marginal Relevance post-retrieval dedup automatically; pass `mmr=false` to opt out.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Document a real MMR opt-out

This documents mmr=false as a brain_search opt-out, but the Python MCP tool contract does not expose or read any mmr parameter: I checked the brain_search schema/dispatcher in src/brainlayer/mcp/__init__.py, and SearchMixin always calls _mmr_rerank_scored_results after sorting in src/brainlayer/search_repo.py. In contexts where a caller needs exact boosted ranking or is debugging retrieval quality, following this README advice silently leaves MMR enabled, so the documented tool contract is misleading unless the option is implemented or the docs point to the actual control.

Useful? React with 👍 / 👎.

@EtanHey
EtanHey merged commit e95c40d into main Jun 5, 2026
6 checks passed
@EtanHey
EtanHey deleted the docs/freshness-june-2026 branch June 26, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant