Skip to main content

Module node

Module node 

Source
Expand description

Node identity and workspace configuration for distributed AIDA.

A node is a single clone/installation of AIDA. Each node gets a unique sequential integer ID via the git CAS push loop at aida init. After registration, the node can generate globally unique object IDs offline indefinitely.

A workspace groups multiple code repos that share a single AIDA database. The workspace config is discovered by walking up the directory tree.

Structs§

AgreedCounters
Per-type counters for agreed IDs assigned at merge-to-trunk.
NodeConfig
Information about a registered node (persisted locally, gitignored).
NodeRegistry
The shared node registry (committed to git, append-only).
NodeRegistryEntry
A node registration entry in the shared registry (committed to git).
UserRegistry
The shared user registry (committed to git, append-only).
UserRegistryEntry
A user registration entry in the shared registry.
WorkspaceConfig
Workspace configuration — discovered by walking up the directory tree.

Enums§

DeploymentMode
The deployment mode for an AIDA instance.