Read-only diagnostics interface for querying kernel state.
Read-only adapter contract for capturing UI-facing kernel snapshots.
virtual Result< TuiSnapshot > captureSnapshot() const =0
Captures current kernel state into an immutable TUI snapshot.
virtual ~IKernelReadModel()=default
Virtual destructor for interface-safe polymorphic cleanup.
KernelReadModel(KernelReadModel &&) noexcept
Move-constructs read-model state.
KernelReadModel(const IKernelDiagnostics &diagnostics)
Constructs read-model bound to diagnostics source.
Result< TuiSnapshot > captureSnapshot() const override
Captures current kernel state into an immutable TUI snapshot.
std::unique_ptr< Impl > impl_
KernelReadModel(const KernelReadModel &)=delete
Copy construction is disabled.
~KernelReadModel() override
Destroys read-model.
KernelReadModel & operator=(const KernelReadModel &)=delete
Copy assignment is disabled.
A result type that holds either a success value of type T or an ErrorCode.
Error codes and Result<T> type for fallible operations.
Read-only diagnostics contracts exposed by kernel-adjacent adapters.
Top-level immutable model snapshot consumed by TUI controller/views.
Immutable DTO contracts for the external TUI MVC model layer.