Skip to content

Put a shipped change to a customised seed to the user instead of only logging it #3558

Closed

Description

@malibio

Overview

NodeSpace ships skills, Plays, saved queries and schema settings as seeded nodes, and users are meant to edit them. When a new version ships a change to an item the user has edited, NodeSpace keeps the user's version and writes one line to the daemon log. The user never learns a newer shipped version exists. This issue records those cases and puts the choice to the user.

Problem Statement

Seed reconciliation runs on every daemon start. For an item whose shipped content changed:

  • not edited by the user: it is replaced;
  • edited by the user: it is skipped and logged once.

The second case is invisible. A user who rewrote one line of a seeded skill stops receiving every later improvement to it, and has no way to see what they are missing short of resetting and losing their edit. The more the shipped workflow is data a team is expected to edit, the more often this happens.

Proposed Solution

  • When reconciliation skips an item because the user edited that aspect and the shipped version differs, record it as pending.
  • Show pending items to the user, in the app and through a CLI command, each with the shipped version beside theirs.
  • The user chooses per item and per aspect: keep theirs, or take the shipped version. Keeping theirs clears the pending state until the shipped version changes again.
  • Nothing is replaced without that choice.

It applies to every seeded kind: agent guidance, skills, tools, Plays, saved queries, and seeded schema declarations such as context paths.

Documentation

  • ADR-094 §8 - a shipped change to a customised seed is put to the user; Build order step 5
  • ADR-072 - per-aspect modified flags, the reconciliation table, and the explicit reset this builds on; amended by ADR-094
  • Seeded Nodes - seed tables, fixed ids, how seeds are kept up to date
  • Updates: components/seeded-nodes.md (pending updates and the choice), ADR-072 (a note that the skipped case is surfaced, per ADR-094), packages/skill/references/cli.md

Architecture Impact

Implements ADR-094 §8, which amends ADR-072 (decisions/072-per-aspect-seed-durability-with-explicit-reset.md): reconciliation still never overwrites something a user touched, and the skipped case is now recorded and shown instead of only logged.

Acceptance Criteria

  • When reconciliation skips an aspect because it is user-modified and the shipped content differs, that item and aspect are recorded as pending, with the shipped version's fingerprint
  • A CLI command lists pending items: kind, title, aspect, and when the user last edited it; --json returns the same
  • A CLI command shows one pending item's shipped version and the user's version
  • The user can take the shipped version for one aspect of one item; it replaces theirs, clears the modified flag for that aspect and the pending state, and asks for confirmation unless a yes flag is given
  • The user can keep theirs; the pending state clears and stays clear across restarts until the shipped content changes again
  • The app shows that pending updates exist and lets the user review and choose for each; nothing is applied from the app without an explicit action
  • An item that is not user-modified is still replaced automatically, as today
  • The existing reset command still works and clears any pending state for what it resets
  • It works for every seeded kind, including a seeded schema declaration a user has edited; a test covers a skill body, a skill's settings, a Play and a saved query
  • Pending state is local to the machine's database and is never treated as node content an agent should act on
  • Docs updated as listed under Documentation
  • Code passes bun run quality:fix
  • Tests pass (bun run test:changed)

Technical Specifications

Reference Files

  • packages/core/src/services/node_service/mod.rs - seed_nodes_from_templates, the reconciliation table and the skipped_user_modified count
  • packages/core/src/services/node_service/crud.rs - where a user edit stamps the per-aspect modified flag
  • packages/cli/src/commands/skill.rs - nodespace skill reset, the existing confirmed destructive path
  • packages/daemon/src/services/assembly.rs - where seeding runs at startup
  • packages/agent/src/skill_pipeline.rs, packages/core/src/playbook/seeded.rs - seed tables

Implementation Details

  • Only a fingerprint of the previously shipped version is stored, so the comparison shown is "shipped now" against "yours". Showing what changed between two shipped versions would need the previous text and is out of scope.
  • Where the pending record lives is the implementer's choice; if it is a field on the seeded node it follows the node type sequence and is not shown to agents as content.
  • Use the node's modified time for display only. Whether an aspect is user-modified comes from the existing flags, not from timestamps.

Related Issues

Non-Goals

  • Merging a shipped change into a user's edit
  • Storing previous shipped versions

Activity

  1. malibio commented on Oct 5, 2026

    @malibio
    CollaboratorAuthor

    Baseline before work — Frontend: 317 test files passed, 5733 tests passed

  2. self-assigned this
    on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions