# 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.