Skip to main content

usage-rules.md

<!--
SPDX-FileCopyrightText: 2026 Zach Daniel

SPDX-License-Identifier: MIT
-->

# Rules for working with AshLua

## Understanding AshLua

AshLua provides function definitions for the [`lua`](https://hex.pm/packages/lua)
Elixir package, ensuring a consistent actor, tenant, and context are propagated
into all calls executed from a Lua script.