feat(knowledge): add shared team knowledge bases - #246
Closed
JnyRoad wants to merge 5 commits into
Closed
Conversation
Introduce dedicated and shared knowledge base modes with team bindings, per-member read and write grants, a globally published version head, audit history, dedicated-to-shared conversion, and controlled draft, publish, reject, and rollback workflows. Route private chats to employee-dedicated knowledge and team chats to the executing employee's dedicated knowledge plus authorized team-shared knowledge. Add management UI and regression coverage for permissions, versions, conversion, agent tools, and chat scope.
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.
Summary
Introduce first-class shared knowledge bases for team collaboration while preserving employee-dedicated knowledge isolation. This PR is intentionally scoped to the shared-knowledge architecture and excludes the unrelated accumulated changes from #237.
Changes
Testing
STAFFDECK_SRT_RUNTIME=<reviewed-runtime-dir> backend/.venv/bin/python -m pytest backend/tests -q— 2088 passed, 13 warningsnpm --prefix frontend-enterprise test -- --run— 54 files, 265 tests passednpm --prefix frontend-enterprise run build— passednpm --prefix frontend-enterprise run config:check— passedgit diff --check upstream/main...HEAD— passednpm --prefix frontend-enterprise run i18n:check— one unchanged baseline regex-literal false positive insrc/pages/chat/chatHelpers.tsx; tracked by fix(i18n): skip regex fragments in the translation check #223E9,F,Icheck — one pre-existing import-order finding inbackend/tests/test_public_api_v1.py, reproduced unchanged onupstream/mainRisks