Project Planning
RavenmaskOS v4 development roadmap and feature tracking.
Overview
RavenmaskOS has evolved from a personal productivity system to an AI Agent Platform with true domain intelligence and learned routing. The v4 plan represents a strategic pivot toward building a commercial product while dogfooding it for personal use.
Linear Project: RavenmaskOS - AI Agent Platform
Mission: Build a company around an AI agent platform with true domain intelligence and learned routing, dogfooding it first to prove value.
v4 Architecture
Core Innovations
| Innovation | Description |
|---|---|
| Domain Intelligence Schema (DIS) | Formal schema for modeling business/life domains that agents operate within |
| Raven Model | Cognitive architecture with distinct data planes: Huginn (state), Muninn (memory), Context (identity), Domain (world) |
| Neural LLM Routing | Treating agent workflows as neural networks with learned routing and pathway reinforcement |
Key Principles
- UI-First Configuration - Everything configurable via Agent Studio UI, zero SSH/config files
- Domain Intelligence First - Agents must know their world before acting in it
- Learned Routing - Pathways that succeed get reinforced, failures decay
- Centralized User Profile - One place for identity, memory, permissions, preferences
- n8n as First-Class - 400+ integrations as sales weapon, executives configure dont customize
- Human in the Loop - Approval workflows for critical actions with case management
Implementation Phases (v4)
| Phase | Name | Duration | Status | Linear |
|---|---|---|---|---|
| 0 | Validate & Stabilize | 1 week | 📋 Todo | RAV-192 |
| 1 | Domain Intelligence Foundation | 2 weeks | 📋 Backlog | RAV-197 |
| 2 | Memory & Context Layer | 2 weeks | 📋 Backlog | RAV-204 |
| 3 | Visual Builder + CI/CD | 2 weeks | 📋 Backlog | RAV-209 |
| 4 | Learned Routing | 2 weeks | 📋 Backlog | RAV-210 |
| 5 | Deployment & Metrics | 2 weeks | 📋 Backlog | RAV-211 |
| 6 | First Customer | Month 3 | 📋 Backlog | RAV-212 |
Timeline: ~12 weeks to production-ready (Phases 0-5), Month 3 for first customer
Phase Details
Phase 0: Validate & Stabilize
Goal: Validate existing Norns agent works end-to-end before building new features.
Key Tasks:
- Test task creation via Slack
- Test task query functionality
- Test calendar integration
- Test Linear integration
- Fix any blocking bugs
Exit Criteria:
- All core Norns functions work reliably
- Baseline established for Phase 1 work
Phase 1: Domain Intelligence Foundation
Goal: Build the DIS foundation - the map that agents use to understand their domain.
Key Deliverables:
- Neo4j container for structural memory
- NATS JetStream for real-time events
- DIS database schema
- Domain Modeler UI (
/domains/*) - Visual ERD canvas with React Flow
- DIS Resolver Service API
- RavenmaskOS domain dossier
New Infrastructure:
| Service | Purpose |
|---|---|
| Neo4j 5 | Knowledge graph, structural memory |
| NATS 2.10 | Real-time event streaming |
Phase 2: Memory & Context Layer
Goal: Build the Raven Model memory architecture with User Profile Hub, RBAC, and HITL.
Key Deliverables:
- Structural Memory (Neo4j sync with DIS)
- Context Service (Huginn + Muninn + Domain assembly)
- Event Fabric Integration (NATS)
- Memory Consolidation Jobs
- Memory Explorer UI (
/memory/*) - User Profile Hub (
/users/*) - RBAC System (roles, permissions)
- Human in the Loop (
/approvals/*,/cases/*)
HITL Features:
- Approval workflow definitions
- Tool approval requirements
- Case management with timelines
- Slack/email notifications
- Full audit logging
Phase 3: Visual Builder + CI/CD
Goal: Complete agent development experience with n8n as first-class platform.
Key Deliverables:
- Visual Canvas (React Flow)
- Prompt Editor with DIS variables
- Tool Assignment with DIS triplet binding
- Branch & Version Control
- Agent Playground with execution trace
- n8n Workflow Management (
/workflows/*) - Integration Library UI (400+ integrations)
Phase 4: Learned Routing
Goal: Implement Neural LLM routing - pathways that succeed get reinforced.
Key Deliverables:
- Learning Service (weight initialization, updates, decay)
- Routing Integration (weighted selection)
- Feedback Loop (success/failure signals)
- Pathway Dashboard
- A/B Testing Framework
Phase 5: Deployment & Metrics
Goal: Production-ready deployment pipeline with comprehensive metrics.
Key Deliverables:
- CI/CD Deployment Pipeline
- Merge Request Workflow with visual diff
- Metrics & Analytics Dashboards
- Complete Audit Trail
- Executive Dashboard
Phase 6: First Customer
Goal: Land first paying customer with multi-tenant deployment.
Key Deliverables:
- Terraform AWS Infrastructure
- Self-service Onboarding
- Pricing Model & Billing
- Sales Enablement Materials
- Support System
Workflow Process
Each feature follows a lifecycle tracked via Linear labels:
stage: Design → stage: Build → stage: Test → stage: Approval → Done
Labels Structure:
- Phase labels:
v4: Phase 0 - Validatethroughv4: Phase 6 - Customer - Stage labels:
stage: Design,stage: Build,stage: Test,stage: Approval - Component labels:
component: DIS,component: Neo4j,component: NATS,component: Bifrost,component: Studio,component: n8n,component: HITL,component: Norns
Tech Stack (v4)
| Layer | Technology |
|---|---|
| Graph Database | Neo4j 5 |
| Event Fabric | NATS JetStream |
| Relational DB | PostgreSQL 16 |
| Cache | Redis |
| API Gateway | Bifrost (custom) |
| UI | Agent Studio (Next.js) |
| Workflows | n8n |
| Auth | Zitadel SSO |
| Agent | Norns (LangGraph) |
| Observability | Grafana, Loki, Tempo |
8 Life Domains
The domain model remains consistent from earlier versions:
| Domain | Codename | Focus Area |
|---|---|---|
| Finance | Hrafnhoard | Budget, investments, goals |
| Work | Ravenhelm | Career, professional |
| Family | Idunns Garden | Relationships, family |
| Health | Eirs Vitality | Fitness, wellness |
| Creative | Bragis Quill | Projects, learning |
| Home | Midgard | Property, maintenance |
| Household | Friggs Hearth | Daily operations |
| Digital | Mimirs Legacy | Digital assets |
Documentation
- v4 Plan Document:
/Users/nate/Development/ravenmaskOS/RavenmaskOS_Project_Plan_v4.md - Linear Project: RavenmaskOS - AI Agent Platform
See Also
- Getting Started - Architecture overview
- Norns - Agent framework
- Bifrost - API gateway
- n8n - Workflow automation
- User Studio - Frontend application