Skip to main content

ContextKeeper v3.0 Sacred Layer

License Python Node.js
AI-aware development context management with immutable architectural constraints
ContextKeeper is a RAG-powered development context awareness system that prevents AI agents from derailing from approved architectural plans through the Sacred Layer - an immutable plan storage system with 2-layer verification.

🚀 Quick Start

✨ Key Features

🛡️ Sacred Layer Protection

  • Immutable Plans: Architectural constraints that cannot be modified once approved
  • 2-Layer Verification: Hash-based codes + environment key security
  • AI Guardrails: Prevent AI agents from suggesting non-compliant changes

🎯 Intelligent Context Management

  • Multi-Project Support: Isolated contexts for different projects
  • Smart File Filtering: Automatically excludes node_modules, venv, build files, binaries, and non-relevant languages
  • LLM-Enhanced Queries: Natural language responses instead of raw code chunks
  • Git Integration: Track development activity through git commits
  • Drift Detection: Real-time monitoring of alignment with sacred plans

🔗 Claude Code Integration

  • 8 MCP Tools: Sacred-aware tools for seamless AI collaboration
  • Natural Language: LLM-enhanced responses for technical queries
  • Real-time Context: Automatic architectural constraint provision

📋 Documentation

🏗️ Architecture

🔧 Core Workflows

Project Management (✅ Currently Working)

Sacred Plan Management (✅ Currently Working)

Claude Code Integration

📊 Project Structure

🛠️ Development

Prerequisites

  • Python 3.8+ with pip
  • Node.js 16+ with npm
  • Git
  • Google Cloud account (for GenAI API)

Running Tests

Contributing

We welcome contributions! Please see the repository guidelines: https://github.com/lostmind008/contextkeeper/blob/main/CONTRIBUTING.md

📈 Use Cases

  • AI-Assisted Development: Provide architectural context to AI coding assistants
  • Team Collaboration: Shared architectural constraints across development teams
  • Compliance Monitoring: Ensure development aligns with approved designs
  • Knowledge Management: Capture and preserve architectural decisions

🔐 Security

  • Local-only storage: No data sent to external services (except Google GenAI for embeddings)
  • Immutable plans: Sacred plans cannot be modified once approved
  • 2-layer verification: Prevents unauthorized plan changes
  • Audit trail: Complete history of all sacred operations

📜 License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

🙏 Acknowledgments

📞 Support


Made with ❤️ by LostMindAI