Repository navigation
docs(adr): ADR-0027 one node daemon per machine, hosting many node identities - #265
Draft
mickvandijke wants to merge 1 commit into
Draft
mickvandijke wants to merge 1 commit into
mickvandijke wants to merge 1 commit into
Conversation
…entities Proposes running every node identity on a machine inside one daemon: one process, one capacity budget per filesystem, one cache of chain facts, and one shared connection between two daemons, with each message addressed to the identity it is for. Every identity keeps its own key, close group, stores, paid list and rewards. The ADR replaces the August prototype (feat/multi-identity-daemon) rather than reviving it, and sets the staged rollout and the tests each stage must pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds ADR-0027 (Proposed): run every node identity on a machine inside one daemon. The identities share one process, one capacity budget per filesystem and one cache of chain facts. Between two daemons there is one connection, and each message names the identity it is for. Each identity keeps its own key, close group, stores, paid list and rewards address.
The ADR replaces the August prototype (
feat/multi-identity-daemonhere and in saorsa-core) rather than reviving it:Rollout has six stages. The first needs no transport change, since devnet already runs several nodes in one process.
This PR is docs only: no code changes.
Linear issue
No Linear issue has been identified for this work yet; a maintainer can add one.
Risk tier
Proposed; a human confirms at review. This PR is docs only. The work the ADR describes is T3, because it changes the wire protocol and routing.
Compatibility
Semver impact
Docs only, so no crate changes, as in #213 and #236.
Test evidence
Docs only, so there is nothing to run. Where the ADR describes current behaviour, I checked it against ant-node
mainat02c86824and saorsa-coremain:node/user agent;P2PNodes in one process.I also reviewed the ADR for logical blockers, and folded the findings into the text.
New dependency
none
ADR
https://github.com/WithAutonomi/ant-node/blob/docs/adr-0027-node-daemon/docs/adr/ADR-0027-one-node-daemon-many-identities.md
Mitigation / rollback
Revert the commit. The ADR is only Proposed, and no code implements it.
🤖 Generated with Claude Code