- Slim Entry.cs from ~550 to ~330 lines (thin dispatcher only) - Extract HtmlSanitizer, CommandLogger, EntryFileService from Entry.cs - Extract PythonSidecarClient from duplicated sidecar plumbing - Add IEntryFileRepository + DiskEntryFileRepository (mirrors Fragment pattern) - Move payload records to Dtos/CommandDtos.cs - Move database result records to Dtos/DatabaseDtos.cs - Register new services and repository in DI - All 70/70 smoke tests pass, no behavior changes Co-Authored-By: Warp <agent@warp.dev>
19 lines
476 B
C#
19 lines
476 B
C#
namespace Journal.Core.Dtos;
|
|
|
|
public sealed record JournalDatabaseStatus(
|
|
string DatabasePath,
|
|
int KeyLengthBytes,
|
|
int Iterations,
|
|
string KeyDerivation,
|
|
IReadOnlyList<string> SchemaTables,
|
|
string SchemaBootstrapPath,
|
|
bool RuntimeReady,
|
|
string RuntimeMessage);
|
|
|
|
public sealed record JournalDatabaseHydrationResult(
|
|
string DatabasePath,
|
|
string SchemaBootstrapPath,
|
|
int EntryFilesProcessed,
|
|
bool RuntimeReady,
|
|
string Message);
|