Skip to main content

Module primitives

Module primitives 

Source

Structs§

AgentDid
A Decentralized Identifier — v0.1.0 mandates did:web.
ContentHash
sha256:<64-lowercase-hex> — content-addressable hash with algorithm prefix.
CtxId
acdp://<authority>/<uuid-v4> — registry-assigned context identifier.
LineageId
lin:sha256:<64-lowercase-hex> — registry-assigned lineage identifier.

Enums§

ContextType
Registered context types plus open-ended custom namespace.
Status
Registry-derived lifecycle status.
Visibility
Visibility level of a context.

Functions§

is_valid_dns_authority
Validate a bare DNS authority: lowercase ASCII labels separated by dots, each 1..=63 chars of [a-z0-9-] with no leading/trailing hyphen, total <= 253. Rejects uppercase, underscores, and ports.