Module config

Module config 

Source
Expand description

Config parsing and Markdown generation for CELLSTATE configurations

Modules§

markdown_printer 🔒
Canonical Markdown generator for config AST Generates deterministic Markdown output for round-trip testing
parser 🔒
Config parser for Markdown fence blocks Uses serde_yaml for ALL parsing (no custom mini-syntax)

Structs§

AdapterConfig
AgentConfig
AgentConstraintsConfig
AlignmentSignalConfig
CacheConfig
DelegationBoundaryConfig
FieldConfig
IndexConfig
InjectionConfig
IntentConfig
MemoryConfig
PermissionMatrixConfig
PolicyConfig
PolicyRuleConfig
ProviderConfig
ResolutionRuleConfig
TrajectoryConfig

Enums§

ActionConfig
ConfigError
FreshnessConfig
SignalTargetConfig

Functions§

ast_to_markdown
Generate a deterministic, canonical Markdown representation of a CELLSTATE AST.
parse_adapter_block
Parses an adapter YAML fence block into an AdapterDef.
parse_agent_block
Parses an agent YAML block and converts it into an AgentDef.
parse_cache_block
Parses a cache configuration YAML block and converts it into a CacheDef.
parse_injection_block
Parses an InjectionConfig YAML block and converts it into an InjectionDef.
parse_intent_block
Parses an intent YAML fence block into an IntentDef.
parse_memory_block
Parses a YAML memory block (fence content) into a MemoryDef.
parse_policy_block
Parses a policy YAML block from a Markdown fence into a PolicyDef.
parse_provider_block
Parse a provider fence block from YAML content into a ProviderDef.
parse_trajectory_block
Parse a Markdown fence trajectory YAML block into a TrajectoryDef, resolving the block name from the header or payload.