def env.ah
import cswap-bend-cli@0.1.0.0/policy/decide.bend as Decideimport Base
import cswap-bend-cli@0.1.0.0/policy/usage.bend as U
298# The active account's headroom, as this tick reads it.
299def env.ah(+e: Env) -> Maybe<&2, Nat>:
300 match e:
301 case Env{active, as, us, now, cfg, st, mem}:
302 U.head.row(U.usage.of(active, us), now, cfg.models(cfg))