Skip to main content

Module agent_registry

Module agent_registry 

Source
Expand description

Agent identity registry.

Maps opaque agent_id strings (UUID v4) to their Ed25519 public keys. Registration requires a proof-of-possession signature so a hostile client cannot register someone else’s key.

The registry is in-memory: restart-resets by design. Each kernel boot chain-appends agent.registered events, so the audit trail survives even though the registry itself does not.

Structs§

AgentRegistry
Agent identity registry.
RegisteredAgent
A registered agent: name + public key + when it registered.

Functions§

publish_payload
Compose the canonical byte payload signed for an ipc.publish.
register_payload
Compose the canonical byte payload an agent must sign as the proof-of-possession during agent.register.
subscribe_payload
Compose the canonical byte payload signed for an ipc.subscribe_stream request.