F3-m3 — mosaic update re-seeds framework + relaunches agents (R13) #609
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
F3-m3 —
mosaic updatere-seeds framework + relaunches agents (closes R13)Operator-critical gap (found in 0.0.39 production validation):
mosaic updateinstalls the new npm CLI but does not re-seed the framework files into~/.config/mosaic/. So after update,tools/fleet/start-agent-session.shandruntime/pi/mosaic-extension.tsstay stale — the shipped custom Pi harness (agent-name export + native HB) won't activate until a re-seed. Operators get the new CLI but a stale framework.Scope
mosaic updateinstall of@mosaicstack/mosaic, re-seed the framework from the freshly-installed package'sframework/install.shwithMOSAIC_SYNC_ONLY=1 MOSAIC_INSTALL_MODE=keep(the P4 data-safe reconcile: FRAMEWORK_OWNED overwrite + backup-once; SOUL/USER/*.local/credentials preserved). Default-on;--no-reseedto skip.systemctl --user restart mosaic-agent@<name>). Opt-in--relaunch(restarting running agents is disruptive); default = print clear guidance to runmosaic fleet restart.Flow
drain → update CLI → re-seed framework → relaunch agents— closes R13, activates the native harness for every operator.Notes
files: [dist, framework]), so the re-seed uses the local installed copy — no network.