The node's composer asks the vault's own for its modules' secrets sealed to its key, and keeps a value first had while its generation stands; two agent tests folded to hold the count (issue 1126, ADR 0550 §5)
mesh/delivery closed: a newer head of the same pull request
mesh/check checking 2dc384d641a2 on ff9386dcccc2 | novox/mesh-host#149 in group feat/1126-nodes-compose

This commit is contained in:
2026-10-26 19:05:12 +01:00
parent e4dbb49d2f
commit 2dc384d641
6 changed files with 125 additions and 10 deletions
+5 -1
View File
@@ -795,5 +795,9 @@ func selfComposer(ctx context.Context, session *link.Session, node string, say f
return h[len(h)-1].Value, nil
},
Mesh: frombus.Mesh{InternalSuffix: overlay.Suffix()},
Say: say})
Say: say,
// Its modules' own secrets, sealed by the vault to this machine's key (ADR 0550 §5).
Own: func(ctx context.Context) (json.RawMessage, error) {
return session.AskVault(ctx, "own", map[string]any{})
}})
}