Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckSyntax ¶
CheckSyntax parses a CEL expression for syntax errors without evaluating it. Used by ocarina validate to catch bad expressions before any MCP calls run.
func EvalBool ¶
EvalBool evaluates a CEL boolean expression against the current variable set. output is the step's text output; pass "" for when: (which runs before execution). vars is the current notes map (rondo vars + prior register: captures).
Variables are injected at the top level so authors write:
when: "deploy_status == 'ready'"
expect:
rule: "output.contains('success') && count != ''"
func EvalString ¶ added in v0.5.0
EvalString evaluates a CEL expression and returns its result rendered as a string. set: uses this to compute a variable without calling a tool. Values are injected as strings (like EvalBool), so this composes and slices strings; arithmetic on numeric-looking vars is not yet supported.
Types ¶
This section is empty.