plan --diff says which modules a push would leave out, and why #181

Merged
mesh-admin merged 1 commits from fix/plan-diff-says-what-it-leaves-out into main 2026-10-09 12:41:16 +00:00
+4
View File
@@ -1239,6 +1239,10 @@ func planCommand(ctx context.Context, args []string) error {
if err != nil {
return err
}
// A module left out is not in the body, so the diff alone would say "nothing would change" for
// a module just assigned whose settings cannot compose — success-shaped silence. Said first, with
// why, as push and the plain plan say it (novox/hq ADR 0163, rule 6).
reportLeftOut(args[0], declared)
return writePlanDiff(ctx, open.inventory, args[0], body)
}
if *asJSON {