Veritheia Documentation

An environment for inquiry - complete documentation

View the Project on GitHub cyharyanto/veritheia

Veritheia Documentation

Overview

This directory contains the complete documentation for Veritheia—an environment where you author your own understanding rather than consume processed information.

Start with the VISION to understand how Veritheia ensures intellectual sovereignty.

Documentation Index

Core Documents (Read in Order)

  1. VISION.md - Understanding through authorship
    • How Veritheia ensures users remain the authors
    • Why every output bears the author’s intellectual fingerprint
    • The architecture of intellectual sovereignty
  2. AI-AGENT-GUIDE.md - Epistemic collaboration principles
    • How AI agents work as instruments, not authors
    • The discipline of observation without interpretation
    • Preserving human sovereignty in development
  3. ARCHITECTURE.md - System design supporting authorship
    • Components that amplify rather than replace thinking
    • Patterns that ensure personal understanding
    • Models that make insights non-transferable
  4. MVP-SPECIFICATION.md - Features for formation
    • Capabilities that develop understanding
    • Interfaces that support authorship
    • Processes that ensure intellectual ownership
  5. IMPLEMENTATION.md - Technical foundation for sovereignty
    • Technologies that preserve the journey
    • Workflows that maintain context
    • Systems that protect formation
  6. DESIGN-PATTERNS.md - Imperative implementation patterns
    • Rejection of DDD praxis while embracing its ontology
    • Direct DbContext usage, no repository abstractions
    • User partition and journey projection invariants
    • Testing with real PostgreSQL, no internal mocking
  7. EXTENSION-GUIDE.md - Creating full-stack extensions
    • Process implementation patterns
    • Domain model integration
    • UI component development
    • Distribution and testing
  8. API-CONTRACTS.md - Interface definitions and contracts
    • Core process interfaces
    • Platform service contracts
    • Data transfer objects
    • HTTP API specifications
  9. USER-MODEL.md - User, journey, and journal architecture
    • User as the constant with persona and knowledge base
    • Journeys as process instances
    • Journals as narrative records
    • Future sharing patterns
  10. CLASS-MODEL.md - Core domain classes and their relationships
    • Comprehensive Mermaid class diagram
    • Aggregate boundaries and design principles
    • Process-specific domain models
    • Direct DbContext access patterns
  11. ENTITY-RELATIONSHIP.md - Database schema and data model
    • PostgreSQL schema with pgvector extension
    • Comprehensive ERD using Mermaid
    • Table definitions with indexes
    • Migration strategy and security patterns
  12. TESTING-STRATEGY.md - Test types, coverage expectations, and behavioral specs
    • Testing philosophy aligned with formation principles
    • Unit, integration, and behavioral test patterns
    • Context assembly and journey integrity tests
    • Extension testing guidelines
  13. PROMPT-ENGINEERING.md - Prompt patterns that maintain formation boundaries
    • Role constraints for AI assistance
    • Context assembly from journey and journals
    • Validation patterns preventing insight generation
    • Anti-patterns and required patterns

Research Papers

Planned Documents

Documentation Standards

Document Structure

Each document should include:

  1. Title - Clear, descriptive title as H1
  2. Purpose Statement - Brief paragraph explaining the document’s intent
  3. Table of Contents - For documents over 3 sections

Formatting Conventions

Cross-References

Language Guidelines

Requirement Levels (inspired by RFC 2119)

When documenting requirements, use these keywords consistently:

Example: “The Process Engine MUST validate all API requests”

Clarity Principles

Document Types

  1. Conceptual (like ARCHITECTURE.md)
    • Focus on the “what” and “why”
    • Avoid implementation details
    • Use domain language
  2. Specification (like MVP-SPECIFICATION.md)
    • Enumerate features and requirements
    • Use consistent formatting for easy scanning
    • Include acceptance criteria where applicable
  3. Technical (like IMPLEMENTATION.md and EXTENSION-GUIDE.md)
    • Focus on the “how”
    • Include code examples
    • Reference specific technologies and versions
  4. Operational (like planned DEPLOYMENT-GUIDE.md)
    • Step-by-step procedures
    • Prerequisites clearly stated
    • Troubleshooting sections

Maintenance

Contributing to Documentation

When adding new documentation:

  1. Place all documentation in this directory
  2. Determine the appropriate document type
  3. Follow the structure and formatting conventions
  4. Add entry to this README’s index
  5. Ensure all cross-references work

Changes will be automatically published via GitHub Pages.