From Implicit to Explicit Knowledge
This example demonstrates how Rhema transforms scattered, ephemeral knowledge into structured, persistent context that survives across AI conversations and development sessions.
π― The Problem: Lost Context
In traditional development workflows, critical knowledge exists in:
-
Individual minds - Developer memories and experiences
-
Temporary chats - AI conversations that disappear
-
Scattered docs - Unstructured, stale documentation
-
Forgotten decisions - Architectural choices with lost rationale
This creates knowledge silos, session amnesia, and inconsistent AI behavior across your team.
π‘ The Rhema Solution
Rhema transforms ephemeral knowledge into persistent, structured context that:
-
π Survives sessions - Context persists across AI conversations and development sessions
-
π₯ Scales with teams - Knowledge is shared and discoverable across your organization
-
π Evolves with code - Context changes are tracked alongside code in Git
-
π― Enables consistency - AI agents access the same structured context
-
β‘ Accelerates onboarding - New team members quickly understand project context
π Before Rhema (Implicit Knowledge)
Developer A: "I remember we decided to use PostgreSQL for the user service..."
Developer B: "Wait, when was that decided? I thought we were using MongoDB."
AI Agent: "Based on the code I can see, I recommend using Redis for caching..."
Developer C: "Actually, we already tried Redis and it caused issues with our deployment."Problems:
-
β Session amnesia - AI agents donβt remember past decisions
-
β Team misalignment - Different developers have different understandings
-
β Lost knowledge - Critical insights disappear when team members change
-
β Inconsistent recommendations - AI agents make conflicting suggestions
β¨ After Rhema (Explicit Knowledge)
Decisions File
# .rhema/decisions.yaml
decisions:
- id: "decision-001"
title: "Use PostgreSQL for user service"
description: "Chosen for ACID compliance and existing team expertise"
status: "approved"
date: "2024-01-15"
rationale: "MongoDB lacks ACID transactions needed for user data integrity"
alternatives_considered: ["MongoDB", "MySQL"]
impact: "Affects user-service, auth-service, and payment-service"Knowledge File
# .rhema/knowledge.yaml
insights:
performance:
- finding: "Redis caching caused deployment issues"
impact: "Service startup failures in containerized environment"
solution: "Use in-memory caching with periodic persistence"
confidence: "high"
evidence: ["Deployment logs", "Performance metrics"]
related_files: ["src/cache.rs", "docker-compose.yml"]π Results
-
β Session continuity - AI agents know about the PostgreSQL decision and Redis issues
-
β Team alignment - Everyone has access to the same explicit context
-
β Faster onboarding - New developers can quickly understand past decisions
-
β Consistent recommendations - AI agents make recommendations based on explicit knowledge
-
β Knowledge preservation - Critical insights arenβt lost when team members change
π Querying the Context
Once knowledge is explicit, you can query it:
# Find all approved decisions
rhema query "decisions WHERE status='approved'"
# Find performance insights
rhema query "knowledge.insights.performance"
# Find decisions affecting multiple services
rhema query "decisions WHERE impact CONTAINS 'multiple'"π Next Steps
-
Start small - Begin by recording your next architectural decision
-
Build incrementally - Add knowledge as you discover insights
-
Query regularly - Use CQL to find and leverage existing context
-
Share with team - Commit context files to version control
π Related Examples
-
Quick Start Commands - Get started with Rhema
-
CQL Queries - Learn to query your context effectively
-
Advanced Usage - Explore advanced patterns