You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skill nodes store properties flat (e.g. `{"max_iterations": 2}`) when seeded. When updating via MCP `update_node`, non-schema nodes go through `normalize_flat_properties_to_namespace` which wraps the new value into a namespaced format `{"skill": {"max_iterations": 4}}`. The deep merge then adds it under the namespace key, but `get_prop` checks the flat key first and always returns the original seeded value — so `max_iterations` can never be updated via MCP.
Root Cause
`node_service.rs` ~line 2791:
Schema nodes: skip normalization, deep merge directly ✅
All other nodes (including `skill`): normalize to namespace first, then merge
This means flat properties set during seeding are permanently shadowed.
Expected Behavior
`update_node` with `{"max_iterations": 4}` on a skill node should overwrite the existing flat `max_iterations` value.
Fix Options
Add `skill` to the list of node types that bypass normalization (like `schema`)
During seeding, store `max_iterations` under the namespaced key `{"skill": {"max_iterations": 2}}` so updates work consistently
Have `get_prop` check namespaced key first (reverting precedence)
Broader Context
We want to manage prompt and skill nodes via MCP/database as the primary workflow (no rebuild cycle), with code as the fallback for fresh installs. This bug blocks that workflow for any numeric/non-string skill properties.
Activity
Fix local agent document reading: get_node markdown, search_semantic …
Fix local agent document reading (get_node markdown, search_semantic,…
malibio commentedon Apr 11, 2026
Frontend baseline: 3918 passed (128 test files). Branch: feature/issue-1080-namespace-first-property-lookup
Fix: namespace-first property lookup so MCP updates override stale fl…
Address review: add regression test for #1080 bug scenario
Fix: skill node properties bypass namespace normalization, preventing…
Fix local agent document reading (get_node markdown, search_semantic,…
Fix: skill node properties bypass namespace normalization, preventing…