Add rigorous nonfiction frameworks

NEW frameworks:
- Diátaxis Tutorial - Learn by doing a project
- Diátaxis How-To - Accomplish a specific task
- Diátaxis Explanation - Clarify and deepen understanding
- Diátaxis Reference - Complete information lookup
- Technical Manual - From foundations to mastery
- Codebase Tour - Document code systematically
- API Documentation - Complete API reference

NonfictionGenerator class to use these frameworks.
CLI integration with --framework flag.

Example:
opus generate --framework codebase-tour --concept 'Linux Kernel'
This commit is contained in:
2026-03-13 08:43:54 +00:00
parent 81bfe8994a
commit 0f647e4e93
5 changed files with 721 additions and 14 deletions
+9
View File
@@ -41,6 +41,11 @@ from opus_orchestrator.utils.github_ingest import GitHubIngestor, create_github_
from opus_orchestrator.utils.s3_ingest import S3Ingestor, create_s3_ingestor
from opus_orchestrator.utils.local_ingest import LocalIngestor, create_local_ingestor
from opus_orchestrator.frameworks import StoryFramework
from opus_orchestrator.nonfiction_frameworks import (
NonfictionFramework,
get_nonfiction_framework,
list_nonfiction_frameworks,
)
from opus_orchestrator.crews import (
OpusCrew,
FictionCrew,
@@ -97,6 +102,10 @@ __all__ = [
"OpusGraphState",
"run_opus",
"StoryFramework",
# Nonfiction Frameworks (NEW!)
"NonfictionFramework",
"get_nonfiction_framework",
"list_nonfiction_frameworks",
# Crews
"OpusCrew",
"FictionCrew",