diff --git a/.config/jj/config.toml b/.config/jj/config.toml
index e23224ae..82726e95 100644
--- a/.config/jj/config.toml
+++ b/.config/jj/config.toml
@@ -61,6 +61,7 @@ diff-editor = "gitpatch"
pager = ":builtin"
[revset-aliases]
+'immutable_heads()' = 'builtin_immutable_heads() | bookmarks() ~ bookmarks(regex:"^alpha/")'
'closest_bookmark(to)' = 'heads(::to & bookmarks())'
'closest_pushable(to)' = 'heads(::to & mutable() & ~description(exact:"") & (~empty() | merges()))'