docs: weekly review 2026-07-02#136
Open
vasylenko wants to merge 1 commit into
Open
Conversation
…N.md EXPECTED_OFF_ONLY_TOOLS was omitted from the description of constants in tests/system/registration-gate.test.ts. The file defines three constants, not two.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Owner
Author
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the developer specification to accurately reflect the system test that locks in registration-time read/write tool gating, including the “off-only” tool set used when edit mode is disabled.
Changes:
- Corrected the “Registration-Time Read/Write Gating” section to reference
EXPECTED_READ_ONLY_TOOLS,EXPECTED_OFF_ONLY_TOOLS, andEXPECTED_WRITE_TOOLS(matchingtests/system/registration-gate.test.ts).
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.



Weekly documentation review against the codebase (2026-07-02).
Change
docs/dev/SPECIFICATION.md— the "Registration-Time Read/Write Gating" section describedtests/system/registration-gate.test.tsas defining two constants (EXPECTED_READ_ONLY_TOOLSandEXPECTED_WRITE_TOOLS). The file actually defines three:EXPECTED_READ_ONLY_TOOLS,EXPECTED_OFF_ONLY_TOOLS, andEXPECTED_WRITE_TOOLS. The omission ofEXPECTED_OFF_ONLY_TOOLS(which coversbear-capabilities, the discovery tool registered only when edit mode is off) left the spec incomplete.Scope
Reviewed: README.md, docs/user/NPM.md, docs/dev/SPECIFICATION.md, docs/dev/SECURITY.md, docs/dev/BEAR_DATABASE_SCHEMA.md, docs/dev/MCP_STANDARDS.md, docs/dev/CODE_STYLE.md, .github/copilot-instructions.md, evals/README.md, CHANGELOG.md, CLAUDE.md. All other docs were accurate.
Generated by Claude Code