The mesh bus is required, not ambient
Design 29 said no module requires the bus. The catalogue disagrees: 49 of 72 modules take a broker credential and 23 do not, so an ambient connection mints an account for a third of the catalogue that never speaks — and the 49 each hand-write the path it lands at, which is provisioning done badly by hand. The bootstrap argument that made it ambient was narrower than it looked. "A provisioner needs an account before it can run" is true of a provisioner process and says nothing about a provision the controller answers, and the controller is not waiting on a bus account to compose one. So: the mesh-broker seat delivers mesh-bus; a module requires it and gets an address, a sealed credential and the trust to verify the server; a module that requires nothing has no account at all. The requirement delivers the connection, the declarations shape the authority, and declaring a subject without requiring the bus is refused as incoherent. mesh-bus and nats are deliberately two names: a module may run its own NATS as a backing service exactly as one provides amqp, and a manifest saying "nats" would otherwise mean either the mesh's nervous system or a private queue. The seat's Delivers was wrong twice today — amqp, then empty — and the comment says so rather than reading as though it were always right.
This commit is contained in:
@@ -135,6 +135,7 @@ python3 00-META/checks/index.py fail if stale
|
||||
- **0116** — [The bus is built in five steps, and the protocol moves with it](0116-the-bus-is-built-in-five-steps.md)
|
||||
- **0117** — [The bus is the only broker](0117-the-bus-is-the-only-broker.md) *(superseded)*
|
||||
- **0119** — [AMQP is a provision, not the bus](0119-amqp-is-a-provision-not-the-bus.md)
|
||||
- **0120** — [The mesh bus is required, not ambient](0120-the-mesh-bus-is-required-not-ambient.md)
|
||||
|
||||
### Its tiers, from the bottom up
|
||||
|
||||
|
||||
Reference in New Issue
Block a user