Skip to main content

Module ids

Module ids 

Source
Expand description

Strongly-typed identifier newtypes used across the framework.

Each entity (project, agent config, experiment, session, signal) gets its own UUID-backed newtype so that mixing them at a call site is a compile error rather than a runtime bug. Adapters identify themselves by a stable string instead of a UUID, since adapter identity is part of the public protocol.

Structs§

AdapterId
Stable string identifier for a registered adapter (e.g., "claude-code", "cursor", "aider"). String-based rather than UUID-based because adapter identity is part of the public protocol — IDs must round-trip across machines and across the wire.
ConfigId
Identifies an AgentConfig row in storage.
ExperimentId
Identifies an in-flight or completed champion-vs-challenger experiment.
ProjectId
Identifies a project that Evolve is managing.
SessionId
Identifies a single user session as recorded by an adapter hook.
SignalId
Identifies a single fitness signal contributed to a session.