pub enum CandidateKind {
Prompt,
Policy,
MemorySet,
ToolPermission,
ToolContract,
ModelSettings,
MemoryConfiguration,
MiddlewareComposition,
}Expand description
What a candidate would change. Closed enum — the gate, the pointer, and the evaluator match exhaustively on it.
R0.11 (Extension Plane, wave 1) extends the enum additively with the
registry families the design’s artifact table names as new kinds:
tool contracts, model settings, memory configurations, and middleware
compositions. The evolution rule is the one R0.10 applied when it
weighed a Speculation family and deferred it: new variants append,
golden files pin every wire shape, and old records keep deserializing.
Variants§
Prompt
New prompt text for one named prompt.
Policy
Executor policy parameters for one decision family.
MemorySet
A set of memory records (adds and supersessions).
ToolPermission
A narrowed or widened tool grant.
ToolContract
The JSON schema a tool’s manifest pin digests (R0.11).
ModelSettings
A model id plus its parameters (R0.11).
MemoryConfiguration
Memory retrieval/assembly settings — distinct from
CandidateKind::MemorySet, which carries records; this kind
carries the configuration that shapes what reads return (R0.11).
MiddlewareComposition
An ordered middleware layer list plus per-layer configuration (R0.11).