Skip to content

v5.1.0: Two-Tier Knowledge Management Architecture

Choose a tag to compare

@ozand ozand released this 08 Jan 03:21
· 65 commits to main since this release

🎉 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_criteria in 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:

  1. Create .kb/context/PROJECT.yaml with sharing criteria
  2. Install session-start.sh hook
  3. Configure GITHUB_TOKEN for submissions
  4. 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