feat: add sovereign biblical text integration module (scripture)

Implement the core scripture module for local-first ESV text storage,
verse retrieval, reference parsing, original language support,
cross-referencing, topical mapping, and automated meditation workflows.

Architecture:
- scripture/constants.py: 66-book Protestant canon with aliases and metadata
- scripture/models.py: Pydantic models with integer-encoded verse IDs
- scripture/parser.py: Regex-based reference extraction and formatting
- scripture/store.py: SQLite-backed verse/xref/topic/Strong's storage
- scripture/memory.py: Tripartite memory (working/long-term/associative)
- scripture/meditation.py: Sequential/thematic/lectionary meditation scheduler
- dashboard/routes/scripture.py: REST endpoints for all scripture operations
- config.py: scripture_enabled, translation, meditation settings
- 95 comprehensive tests covering all modules and routes

https://claude.ai/code/session_015wv7FM6BFsgZ35Us6WeY7H
This commit is contained in:
Claude
2026-02-26 17:06:00 +00:00
parent 166e9f7544
commit 63bbe2a288
12 changed files with 2603 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ include = [
"src/agent_core",
"src/lightning",
"src/self_modify",
"src/scripture",
]
[tool.pytest.ini_options]