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§
- 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§
- 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.