Expand description
Config parser for Markdown fence blocks Uses serde_yaml for ALL parsing (no custom mini-syntax)
Structsยง
- Adapter
Config - Agent
Config - Agent
Constraints Config - Alignment
Signal Config - Cache
Config - Delegation
Boundary Config - Field
Config - Index
Config - Injection
Config - Intent
Config - Memory
Config - Permission
Matrix Config - Policy
Config - Policy
Rule Config - Provider
Config - Resolution
Rule Config - Trajectory
Config
Enumsยง
Functionsยง
- parse_
action ๐ - Converts an ActionConfig (parsed from YAML) into the corresponding internal Action.
- parse_
adapter_ block - Parses an adapter YAML fence block into an
AdapterDef. - parse_
adapter_ ๐type - Parse a string into an AdapterType.
- parse_
agent_ block - Parses an agent YAML block and converts it into an AgentDef.
- parse_
autonomy_ ๐level - Parse an autonomy level string into an
AutonomyLevel. - parse_
cache_ ๐backend - Parse a string into a CacheBackendType.
- parse_
cache_ block - Parses a cache configuration YAML block and converts it into a CacheDef.
- parse_
env_ ๐value - Parses a string into an EnvValue, interpreting values that start with
env:as environment variable references. - parse_
field_ ๐def - Converts a YAML-deserialized FieldConfig into the internal FieldDef.
- parse_
field_ ๐type - Parses a field type identifier into a
FieldType. - parse_
freshness_ ๐def - Convert a freshness configuration into its AST representation.
- parse_
index_ ๐def - Converts an IndexConfig into an IndexDef by parsing the configured index type.
- parse_
index_ ๐type - Parses a string representation of an index type into an
IndexType. - parse_
injection_ block - Parses an InjectionConfig YAML block and converts it into an InjectionDef.
- parse_
injection_ ๐mode - Parses an injection mode string into an InjectionMode.
- parse_
intent_ block - Parses an intent YAML fence block into an
IntentDef. - parse_
lifecycle ๐ - Parse a lifecycle descriptor string into a
Lifecycle. - parse_
memory_ block - Parses a YAML memory block (fence content) into a MemoryDef.
- parse_
memory_ ๐type - Parse a memory type name into its corresponding MemoryType.
- parse_
modifier ๐ - Parses a modifier specification string into a
ModifierDef. - parse_
policy_ block - Parses a policy YAML block from a Markdown fence into a PolicyDef.
- parse_
policy_ ๐rule - Converts a deserialized PolicyRuleConfig into a validated PolicyRule.
- parse_
provider_ block - Parse a provider fence block from YAML content into a ProviderDef.
- parse_
provider_ ๐type - Parse a provider identifier string into the corresponding ProviderType.
- parse_
retention ๐ - Parse a retention specifier string into a
Retentionvalue. - parse_
trajectory_ block - Parse a Markdown fence trajectory YAML block into a TrajectoryDef, resolving the block name from the header or payload.
- parse_
trigger ๐ - Parses a trigger specifier string into a
Trigger. - resolve_
block_ ๐name - Resolves the name of a fence block from the optional header name and the optional payload name field. The header name takes precedence when present; if both are provided, a conflict error is returned. If neither is provided, a missing-name error is returned.
- validate_
adapter_ ๐config - Validates that the adapter configuration specifies a known adapter type.