Repository navigation
Description
Problem
A user's or team's edit to a seeded skill node's guidance content — the same content nodespace skill guidance fetches for an external agent — has no protection against being silently overwritten by a future code-driven content change to that skill.
seed_skill_nodes()'s templates (packages/agent/src/skill_pipeline.rs) are all SeedTier::System. Per the reconciliation design in NodeService::seed_nodes_from_templates (packages/core/src/services/node_service/mod.rs), system-tier content is always replaced on a version-hash mismatch — there is no user_modified guard for that tier. update_node only stamps _seed.user_modified for starter-tier nodes; a live edit to a system-tier node's content does not set that flag.
In practice this means: a user edits a seeded skill's guidance directly in the graph, and it sticks — right up until skill_pipeline.rs's compiled template for that same skill changes (a normal code change, e.g. shipping a guidance fix) and the daemon restarts. At that point the user's edit is deleted and replaced with the new compiled default, with no warning and no way to recover it.
Why this matters
The graph-is-source-of-truth model for fetched guidance depends on users and teams being able to durably customize what an external agent fetches. The system tier's "always replaced on template change" behavior is correct and intentional for engineering-artifact content (tool descriptions, retrieval-tuned prose) — but the same seeded skill nodes are now also the fetch target for user/team-authored procedural guidance, and those two roles pull in different directions on durability.
What needs deciding
This is a real design question, not an implementation bug to quietly patch:
- Should user-editable guidance live on a different tier, or a different node type entirely, separate from the engineering-artifact content the system tier is designed to protect?
- Should a system-tier node gain its own "user has customized this" signal (distinct from the starter-tier flag) that blocks the next template-driven replace, the way starter tier already does?
- Or is the current behavior acceptable, provided it's surfaced to the user at the moment of loss (e.g. a diagnostic/log line when a reconciliation replace discards a hash that differs from both the old and new compiled template — i.e. discards content the code didn't produce)?
Context
Surfaced during code review of the fetch-at-activation guidance mechanism (nodespace skill guidance, which reads these same seeded skill nodes). Not fixed there — it's a pre-existing property of the tier system, not something that PR introduced, and reconciling it is separable, decision-level work.
Activity
malibio commentedon Sep 10, 2026
Design resolved — see ADR-072 (per-aspect-seed-durability-with-explicit-reset) in nodespace-docs.
Summary: extend the starter-tier
user_modifieddurability guard to system-tier seeded nodes, but track it per aspect (config:root_properties— description/tool_whitelist/max_iterations — vs. guidance: the markdown children) rather than one flag per node, since editing one doesn't touch the other.update_nodestamps_seed.config_modified/_seed.guidance_modified.nodespace skill reset <key> --guidance|--config|--allis the only path that discards a modified aspect — reconciliation itself never does.This resolves the tier question raised in the issue (system vs. starter, or a new tier) — durability no longer depends on tier at all; every tier gets the same per-aspect guard, and the only thing that changed is that nothing is auto-destructive anymore without an explicit user action.
Ready to move to implementation.
malibio commentedon Sep 10, 2026
Frontend baseline: 239 test files, 4925 tests passed (80.34s)