RuntimeProbeFn typedef

RuntimeProbeFn = Future<ValidationReport> Function(McpBundle bundle)

Callback that probes the runtime layer. Defined here so the validator stays decoupled from flowbrain. A typical implementation runs KnowledgeSystem.importBundle in a __validate__ workspace and converts BundleImportSummary / thrown errors into a ValidationReport.

Implementation

typedef RuntimeProbeFn = Future<ValidationReport> Function(McpBundle bundle);