Research 024 and ADR 0201: a module keeps its current state in key-value buckets #348

Merged
mesh-admin merged 2 commits from feat/module-state-on-the-bus into main 2026-10-04 01:43:35 +00:00
Contributor

Events miss a machine that joins after them and replay history where only the latest matters (the operator's agent: MCP servers registered for every machine; a licence binding). This decides module state on the bus.

  • Research 024 (graduated): the cases, what exists, the grants measured against a running server (and re-checked once built), events vs key-value compared.
  • ADR 0201: state (owned) and reads (<module>.<name>) in a manifest; the controller creates a bucket per name from the catalogue on every raise; the membership issues each assignment its buckets; the runtime serves mesh/state.get|put|delete|keys|watch and refuses what was not issued; no secret in a bucket (partly mechanical, said so); a bucket outlives its module and is reported, never removed.
  • Designs 32 (§1, §4, §10, §12) and 25 (§1, §2, §3, §4) amended.

Checks: records, cycle, index pass.

Code: mesh-controller, mesh-tools, mesh-sdk PRs on the same branch name.

Events miss a machine that joins after them and replay history where only the latest matters (the operator's agent: MCP servers registered for every machine; a licence binding). This decides module state on the bus. - Research 024 (graduated): the cases, what exists, the grants measured against a running server (and re-checked once built), events vs key-value compared. - ADR 0201: `state` (owned) and `reads` (`<module>.<name>`) in a manifest; the controller creates a bucket per name from the catalogue on every raise; the membership issues each assignment its buckets; the runtime serves `mesh/state.get|put|delete|keys|watch` and refuses what was not issued; no secret in a bucket (partly mechanical, said so); a bucket outlives its module and is reported, never removed. - Designs 32 (§1, §4, §10, §12) and 25 (§1, §2, §3, §4) amended. Checks: records, cycle, index pass. Code: mesh-controller, mesh-tools, mesh-sdk PRs on the same branch name.
mesh-admin added 2 commits 2026-10-04 00:51:02 +00:00
Events miss a machine that joins after them and replay history where only the
latest matters. A module now declares state it owns and reads; the controller
creates the buckets, the runtime serves them on the bundle's channel. Designs 32
and 25 amended; grants measured against a running server.
mesh-admin merged commit be4b5777b8 into main 2026-10-04 01:43:35 +00:00
mesh-admin deleted branch feat/module-state-on-the-bus 2026-10-04 01:43:35 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/hq#348