You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DIP/docs/architecture/RUNTIME_SPLIT_PATCH_J.md

45 lines
1.5 KiB
Markdown

# Runtime split Patch J
Patch J is a broader cleanup patch for the **actual current codebase**.
It adds the missing runtime/config split scaffolding and rewires the remaining NEW-mode classes
that still injected `TedProcessorProperties`.
## Added
- `dip.runtime` infrastructure
- `RuntimeMode`
- `RuntimeModeProperties`
- `@ConditionalOnRuntimeMode`
- `RuntimeModeCondition`
- `DipSearchProperties`
- `DipIngestionProperties`
- `TedProjectionProperties`
## Rewired off `TedProcessorProperties`
### NEW search/chunking
- `PostgresFullTextSearchEngine`
- `PostgresTrigramSearchEngine`
- `PgVectorSemanticSearchEngine`
- `DefaultSearchOrchestrator`
- `SearchLexicalIndexStartupRunner`
- `DefaultSearchResultFusionService`
- `ChunkedLongTextRepresentationBuilder`
### NEW ingestion/projection
- `GenericDocumentImportService`
- `GenericFileSystemIngestionRoute`
- `GenericDocumentImportController`
- `MailDocumentIngestionAdapter`
- `TedPackageDocumentIngestionAdapter`
- `TedPackageChildImportProcessor`
- `TedNoticeProjectionService`
- `TedProjectionStartupRunner`
## Additional behavior
- `GenericDocumentImportService` now hands embedding work off to the new embedding subsystem
via `RepresentationEmbeddingOrchestrator` and resolves the default model through
`EmbeddingModelRegistry` / `EmbeddingModelCatalogService`.
## Notes
This patch intentionally targets the real current leftovers visible in the actual codebase.
It assumes the new embedding subsystem already exists.