Expand description
Native daemon with local agent RPC and encrypted configuration/message sync.
Modules§
- backend
- The two release channels share a hosted authority. Persist its stable origin in identity records and resolve only the network destination for each role.
- config
- configuration_
log - Ordered configuration transport. No network operation holds the Store lock. Migration activation and trusted joining remain separate control-plane work.
- encrypted
- Native MLS persistence. Configuration authority can share the live RPC store; encrypted agent-message delivery and remote transport remain separate work.
- entitlements
- Bounded offline access. Only the hosted account authority signs leases.
- file_
objects - Trusted endpoint storage for immutable encrypted files. Agent bindings and permission checks live in store::files; the dispatcher moves only ciphertext.
- file_
transport - Ciphertext object transport for trusted endpoint code. Service acknowledgments are availability hints, never agent permission or delivery receipts. The caller must bind objects/deadlines to authorized messages and authenticate downloaded bytes with the private FileGrant before exposing plaintext.
- hosted
- A web node’s local socket carries scoped RPCs to its native hosting daemon. It owns no replicated store, sync loop, notification socket or updater.
- invitation_
transport - Native invitation mailbox transport. The caller supplies an independently trusted signed offer; account-service responses cannot supply that trust. This layer never advances Noise state. Retries send the same cached envelope.
- messages
- Private node-to-node wire records. Only a verified MLS stream authenticates the hosting node; labels and agent IDs supplied by a model never do.
- pairing
- Node bootstrap over a separately authenticated private channel (currently SSH). No relay is allowed to supply these snapshots, requests, or grants in plaintext.
- recovery
- Activation boundary for offline recovery material. Marker contents are informational; any directory entry at the marker path keeps state offline.
- release_
channel - Read the last accepted channel with or without a running daemon.
- replica
- Durable, compare-and-swap storage for an enrolled cluster’s verified authority. This is not yet used by the local-only RPC store or connected to a relay.
- shutdown
- Register process signals at the supervisor that owns shutdown ordering.
- store
- sync
- Automatic encrypted configuration and agent-record transport over an opaque relay. Relay transport credentials authorize storage, never cluster key authority.
Structs§
- Daemon
Lock - Ownership acquired before update recovery or opening the node database.
Functions§
- receive_
file - request
- run
- run_
locked - run_
locked_ until - Run until the caller requests shutdown, without installing signal handlers. Supervisors use this to drain dependent services before stopping native RPC.
- run_
until - A cooperative update stops accepting new RPCs, drains accepted requests, and waits for in-progress database transactions before releasing ownership.