Skip to main content

Module identity

Module identity 

Source
Expand description

Content-addressable identity — deterministic naming from spec.

Every Process gets a 128-bit BLAKE3 hash of its canonical spec, base32-encoded (26 chars) using an unambiguous alphabet (no 0/1/o/l).

Ported from convergence-controller/src/identity.rs, generalized over any Serialize spec (not just ConvergenceProcessSpec).

Structs§

Identity
Resolved identity — human-assigned or content-derived.

Constants§

PID_PATH_SEPARATOR
Canonical hierarchical PID-path segment separator.

Functions§

content_hash
Compute the content hash of any serializable spec.
derive_identity
Derive an identity from a spec + optional human override.
format_process_address
Format a hierarchical process address: {identity}.{pid_path}.
join_pid_segment
Compose the canonical <head><PID_PATH_SEPARATOR><tail> hierarchical PID-path segment join.