more model; now for serializing

This commit is contained in:
lda
2026-05-18 03:13:43 +07:00 Verified
parent b288671aee
commit 7534bf9de0
10 changed files with 109 additions and 4 deletions
+4
View File
@@ -194,6 +194,10 @@ The code now has the first capability-source layer in place.
- `CapabilitySource` is the mutable runtime registry object; typed
`SourceStatus` and `SourceInventory` snapshots are the serializable domain
projections used at boundaries such as `list_sources()`.
- Executable `NodeSpec` objects stay inside runtime buckets because they hold
Python callables. Inventory exposes `NodeSpecInventory` contracts instead:
names, descriptions, outcomes, schemas, and execution flags, but never the
wrapped function object itself.
- `WfMcpService.capability_sources` is the canonical in-memory registry.
- Planner node lookup reads `CapabilitySource.capabilities.node_specs`
directly; the old `SpecSource` compatibility layer has been removed.