The node's own key says its agent keeps the bus server, so the assigner writes the bus want only to such a node (ADR 0594 §8)

This commit is contained in:
2026-11-03 09:03:30 +01:00
parent 9fd5429853
commit 052004d1cf
3 changed files with 27 additions and 5 deletions
+3 -1
View File
@@ -633,7 +633,9 @@ func nodeAgent(ctx context.Context, opts options, signer ed25519.PublicKey, trus
env.Composed, env.SelfComposed, env.Policy = composer, true, composer.Policy
env.HoldsData = composer.HoldsData // what runs from the kept declaration says Data as its manifest does
env.BusServer = composer.BusServer // the bus server an unwarranted want leaves as it runs (ADR 0594 §2)
session.NoteComposes(linked, delivery.ComposesOwn, "it composes its own modules, and applies no composition made elsewhere")
// And its agent keeps the bus server as it runs unless a want carries the warrant's mark (ADR 0594 §8).
session.NoteComposes(linked, delivery.ComposesOwn, "it composes its own modules, and applies no composition made elsewhere",
delivery.KeepsBusServer)
ag = agent.New(env)
own.set(ag)
current.set(ag)