bankai/rules/service
Product-facing mobile-rule service.
This module composes durable local rule records with the pure isolated Gleamunison evaluator. It never mutates a task: an optional task reference is serialized into an immutable bounded input view only.
Values
pub fn evaluate(
workspace: String,
hash: String,
options: List(String),
) -> Result(json.Json, String)
options accepts only --caller <name> and --task <id>. A task is read
once and encoded as immutable JSON; the evaluator gets no database handle.
pub fn register(
workspace: String,
name: String,
source: String,
) -> Result(json.Json, String)