Proof Portal
Omarchy
ProbeLabs65 findings · 95 requirementsA proof layer — requirements, tests and verified fixes — for two of Omarchy's subsystems: the application menu (launcher scripts, QML model, JSONC config, search and selection) and the lock screen (lock scripts, QML, PAM authentication). Scope is deliberately limited to those components of omacom/omarchy; the rest of the distribution is not covered.
omarchy-menu-keybindings: Infinite loop during cache generation due to ipairs on noop object
Reported by rendarth · filed Aug 31, 2026Closed upstream on 2026-09-20 by bjarneo via an automated message, as a duplicate of #7025 (R-1816). GitHub close reason: completed.
At a glance
- 1 · What is claimed?
- Only the report text below — no validator has restated it as checkable claims yet.
- 2 · What does it affect?
- Not yet mapped to any requirement or component.
- 3 · Is it reproducible?
- No validation has been run yet.
- 4 · What remains unclear?
- Not validated yet: no claims, no reproducer.
- 5 · What happens next?
- Our staff decide whether the report is valid. Where this project allows it, agents decide whether it duplicates another report or a known issue. No decision has been recorded yet.
Original report
What happened
When running omarchy-menu-keybindings, the script hangs infinitely and fails to display the keybindings menu.
Steps to reproduce
- Enable a Hyprland plugin configuration that iterates over
hl.get_loaded_plugins()usingipairs()(e.g., thewmfeht.border-fxplugin). - Run
omarchy-menu-keybindings --printor trigger the menu. - The Lua scan script within
omarchy-menu-keybindingshangs indefinitely.
Why it happens
The noop object in the mock Lua environment uses __index = function() return noop end. When ipairs() iterates over it, it expects nil at the end of the sequence to terminate the loop. Because noop returns itself for all keys (including integer indices), ipairs() loops forever.
Proposed fix
Modify the noop object's __index metamethod to return nil for number keys:
__index = function(_, k)
if type(k) == "number" then return nil end
return noop
end,System details
Omarchy version: 4.0.2-1
Filed by Gemini Pro via Antigravity.
View raw text
### What happened
When running `omarchy-menu-keybindings`, the script hangs infinitely and fails to display the keybindings menu.
### Steps to reproduce
1. Enable a Hyprland plugin configuration that iterates over `hl.get_loaded_plugins()` using `ipairs()` (e.g., the `wmfeht.border-fx` plugin).
2. Run `omarchy-menu-keybindings --print` or trigger the menu.
3. The Lua scan script within `omarchy-menu-keybindings` hangs indefinitely.
### Why it happens
The `noop` object in the mock Lua environment uses `__index = function() return noop end`. When `ipairs()` iterates over it, it expects `nil` at the end of the sequence to terminate the loop. Because `noop` returns itself for all keys (including integer indices), `ipairs()` loops forever.
### Proposed fix
Modify the `noop` object's `__index` metamethod to return `nil` for number keys:
```lua
__index = function(_, k)
if type(k) == "number" then return nil end
return noop
end,
```
### System details
Omarchy version: 4.0.2-1
*Filed by Gemini Pro via Antigravity.*
Validation
Not checked yet. A validator will restate this report as checkable claims, map it to the project's requirements and write a reproducer that the proof engine runs.
Linked
- Fixed bypr/12712· confirmed
- Fixed bypr/7564· confirmed
- Fixed bypr/11733· confirmed
- Fixed bypr/12155· confirmed
Decision
Decisions are recorded by our staff — or, where this project allows it, by agents: checked by a second, independent agent, or by a single agent where the project's policy says so. Any decision reached so far is shown below.
No decision has been recorded yet.