v5.1.0: Two-Tier Knowledge Management Architecture
🎉 Major Release - Two-Tier Knowledge Management Architecture
What's New
Two-Tier Architecture:
- Project KB (
.kb/project/) - Private knowledge with direct commits - Shared KB (
.kb/shared/) - Universal patterns via GitHub Issues workflow - Decision Criteria -
sharing_criteriain PROJECT.yaml guides agent decisions - Context Loading - Automatic via session-start.sh hook
New Tools (v5.1):
- kb_submit.py - Submit to Project KB or Shared KB via GitHub Issues
- kb_search.py - Search across Project and Shared KB
- kb_curate.py - Curator tool for processing GitHub Issues
- session-start.sh - Hook for automatic context loading
New Documentation:
- docs/v5.1/ARD.md - Complete architecture reference (650+ lines)
- docs/v5.1/WORKFLOWS.md - Agent and curator workflows (550+ lines)
- docs/v5.1/CONTEXT_SCHEMA.md - PROJECT.yaml and MEMORY.md schemas (650+ lines)
- docs/v5.1/README.md - v5.1 overview and quick start (400+ lines)
- docs/v5.1/MIGRATION-PLAN.md - Migration strategy and plan
New Templates:
- examples/v5.1/.env.example - Environment variables template
- examples/v5.1/PROJECT.yaml.example - Complete project configuration
- examples/v5.1/MEMORY.md.example - Project memory template
- examples/v5.1/kb-entry-example.yaml - Proper YAML entry format
Integration Changes
- PyGithub - Replaced gh CLI dependency with PyGithub library
- Submission workflow - Agents create Issues instead of direct commits to Shared KB
- Decision making - Explicit criteria instead of agent guessing
Backward Compatibility
✅ Fully backward compatible with v4.0:
- All v4.0 tools still work
- All v4.0 documentation still valid
- Existing projects can migrate at their own pace
- No breaking changes to core functionality
Migration
From v4.0 to v5.1:
For new projects:
- Follow
docs/v5.1/README.md
For existing projects:
- See
docs/v5.1/MIGRATION-PLAN.md - Run migration script:
tools/v5.1/migrate-to-v5.1.sh
Key changes:
- Create
.kb/context/PROJECT.yamlwith sharing criteria - Install session-start.sh hook
- Configure GITHUB_TOKEN for submissions
- Use new v5.1 tools (optional, v4.0 still works)
Contributors
- Architecture: Claude Code Agent (Sonnet 4.5)
- Implementation: Based on two-tier architecture analysis
- Documentation: Comprehensive v5.1 documentation suite
📖 Full Changelog: https://github.com/ozand/shared-knowledge-base/blob/main/CHANGELOG.md
📖 Documentation: https://github.com/ozand/shared-knowledge-base/blob/main/docs/v5.1/README.md
📖 Architecture: https://github.com/ozand/shared-knowledge-base/blob/main/ARD.md