Skip to main content

call_is_write

Function call_is_write 

Source
pub fn call_is_write(graph: &Graph, name: &str) -> bool
Expand description

Whether CALL name could write — the namespace gate’s question: a store-registered procedure or a built-in flagged writes in the canonical signature registry (ADR-0116 §4). The gate must never admit a callable to a read view, so registration alone counts.

Its consumer is the facade’s namespace write gate (relate::gate, which injects this as the is_write_procedure closure the planner’s is_write and plan take — the planner cannot depend on this registry). The ADR-0402 effect asks the narrower question, call_writes_store.