Expand description
Canonical Markdown generator for config AST Generates deterministic Markdown output for round-trip testing
Functionsยง
- action_
to_ ๐yaml - Convert action to YAML format (for policy rules).
- ast_
to_ markdown - Generate a deterministic, canonical Markdown representation of a CELLSTATE AST.
- autonomy_
level_ ๐to_ string - Converts an AutonomyLevel into its canonical lowercase string representation. Kept as a local helper because AutonomyLevel is defined in cellstate_core.
- env_
value_ ๐to_ string - Converts an EnvValue into its canonical string representation for Markdown output. This function is kept as a local helper because EnvValue::Literal uses yaml_safe_string which is specific to the Markdown printer context.
- filter_
expr_ ๐to_ string - Formats a filter expression into a canonical, human-readable string.
- signal_
target_ ๐to_ yaml - Converts a SignalTarget into a YAML-compatible string representation.
- yaml_
safe_ ๐string - Quote a string value if it could be misinterpreted by YAML.