# Sophia Domain Reference

Generated on May 8, 2026. This folder is the uniform Oshun-local documentation
home for the Sophia domain.

## Executive Summary

Sophia is the knowledge backbone of the Oshun ecosystem. It turns documents,
research papers, scriptures, and any textual source into a searchable,
graph-connected, citation-verified knowledge base. Whether you are a researcher
building a bibliography, a worldbuilder grounding your fiction in historical
fact, or a content creator who needs AI answers backed by real sources, Sophia
provides the infrastructure.

## Documentation Contract

- [Feature Inventory](feature-inventory.md)
- [Implementation Map](implementation-map.md)

## Domain Profile

- Domain slug: `sophia`
- Display name: Sophia
- Aliases: None
- TODO phase coverage: `6`
- TODO phase titles: `Sophia (Research & Knowledge) Migration`
- Repository status: Repository implementation exists under apps/libs/services.
- Oshun integration status: Referenced in Oshun apps, libraries, or docs.
- Source confidence: Implementation-backed and documentation-backed

## Evidence Profile

| Source                    | Status  | Notes                                 |
| ------------------------- | ------- | ------------------------------------- |
| Repository implementation | present | 32 app/lib/service entries discovered |
| Standalone domain docs    | present | 8 entries under docs/domains/sophia   |
| TODO phase coverage       | present | 1 mapped phase(s), 85 checklist items |
| Tests                     | present | 31 matching test files discovered     |
| Oshun integration         | present | 110 Oshun-local references discovered |

## Capability Pillars

| Capability Pillar                       | Primary Source                  | Status                |
| --------------------------------------- | ------------------------------- | --------------------- |
| Executive Summary                       | docs/domains/sophia/features.md | implementation-backed |
| Document Ingestion                      | docs/domains/sophia/features.md | implementation-backed |
| Intelligent Chunking                    | docs/domains/sophia/features.md | implementation-backed |
| Semantic Search                         | docs/domains/sophia/features.md | implementation-backed |
| RAG Pipeline                            | docs/domains/sophia/features.md | implementation-backed |
| Knowledge Graph                         | docs/domains/sophia/features.md | implementation-backed |
| Vector Database Support                 | docs/domains/sophia/features.md | implementation-backed |
| Embedding Generation                    | docs/domains/sophia/features.md | implementation-backed |
| Citation Management                     | docs/domains/sophia/features.md | implementation-backed |
| Research Workflows                      | docs/domains/sophia/features.md | implementation-backed |
| Retrieval Quality Evaluation            | docs/domains/sophia/features.md | implementation-backed |
| Cultural Research                       | docs/domains/sophia/features.md | implementation-backed |
| Predictive Analytics                    | docs/domains/sophia/features.md | implementation-backed |
| Workbench (Web Application)             | docs/domains/sophia/features.md | implementation-backed |
| TypeScript SDK                          | docs/domains/sophia/features.md | implementation-backed |
| Cross-Domain Integration                | docs/domains/sophia/features.md | implementation-backed |
| Platform Availability                   | docs/domains/sophia/features.md | implementation-backed |
| Feature Comparison: Search Modes        | docs/domains/sophia/features.md | implementation-backed |
| Feature Comparison: Chunking Strategies | docs/domains/sophia/features.md | implementation-backed |
| Feature Comparison: Vector Backends     | docs/domains/sophia/features.md | implementation-backed |

## Coverage Snapshot

- Code footprint entries: 32
- Standalone domain doc entries: 8
- OpenAPI/API doc entries: 0
- Test evidence files: 31
- Oshun-specific references: 110

## Source Precedence

1. Actual repository implementation under `apps/`, `libs/`, `services/`, and
   `openapi/`
2. Checklist-derived scope from `TODOS.md`
3. Existing standalone domain docs under `docs/domains/sophia/`
4. No feature claims are introduced without one of the sources above
