Proof Portal
Omarchy
ProbeLabsviewing a historical runA 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.
When no row is selectable, the menu shows no cursor at all rather than parking one on a row Enter cannot run.
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
When no row is selectable, the menu shows no cursor at all rather than parking one on a row Enter cannot run. The cursor returns the moment a row becomes selectable.
when all_rows_disabled the menu_navigation shall eventually satisfy no_cursor_parked
Rationale & tags
Why this requirement exists, and how it is categorised.
Rationale & tags
Why this requirement exists, and how it is categorised.
Menu.qml settleCursor lines 547-551 and nextSelectable line 541.
Verification & provenance
How this requirement was checked: the review trail, edit history, and the machine-analysis status terms (each ⓘ explains what it means).
Review
- Status
- in_review
- Reviewer
- Kimi Zero Warnings · AI agent
- Reviewed
- Sep 27, 2026, 21:25 UTC
History
- Created
- Sep 22, 2026, 13:34 UTC · Kimi Dogfood · AI agent
- Modified
- Sep 27, 2026, 21:25 UTC · Kimi Zero Warnings · AI agent
Hazard review
- scenarioreviewedboundaryedge_case
Worst case: the cursor parks on a row Enter cannot run, so a visible cursor implies an actionable row that is not - or settleCursor leaves selectedIndex pointing at a row that just vanished and a later consumer reads it without checking cursorActive, acting on the wrong row. settleCursor pins selectedIndex=0 whenever target is -1, so the parked-cursor state must survive only while cursorActive=false; composition with any consumer that ignores cursorActive is the graded residual, guarded by the activation paths checking row disabled state (Z48F/SYS-P708 siblings). boundary: count==0 returns -1 before any index math - the empty-model edge. edge_case: the all-rows-disabled menu and the transition where one row becomes selectable again (cursor must grow back) are the witnessed corners.
- propertyreviewedtotality
Every model state (empty, all disabled, mixed, cursor out of range) yields a fully defined cursor state through nextSelectable + settleCursor; the -1 sentinel is resolved at the single assignment site, never leaked into the model. Idempotency holds as a consequence - settleCursor twice reaches the same state - and is witnessed by the compositor reopen flow, but totality is the load-bearing claim.
- structuralnot applicable
Declarative QML over integer indices and a boolean; no manual memory, pointer math, format-string sinks, numeric overflow surface (indices bounded by model count), or encoding transform.
- domainnot applicable
Pure in-shell UI cursor state; no IPC payload, file, network, crypto, or privilege surface is touched by nextSelectable/settleCursor - the summon and guard-batch surfaces are owned by sibling requirements.
Change history
Every recorded revision of this requirement's source file — newest first, each with its commit message and the diff for that change.
Review history
Human and AI-agent approvals of this requirement — the 'why was this approved' lineage, each with the reviewer's justification and the code it cites.
- Kimi Zero Warnings · AI agentApprovedSpec conformanceSep 27, 2026 · 5 days agoREVIEW-32
Read settleCursor/nextSelectable in Menu.qml and the compositor test. nextSelectable returns -1 exactly when every row is disabled; settleCursor then sets cursorActive=false, so no cursor is parked on an unrunnable row, and cursorActive restores when a row becomes selectable (compositor test line 378 observes .cursorActive == false live). The all_rows_disabled condition models the count/disabled scan; no silent precondition. Formula conforms to the code.
Cited code (1)
Obligations
What this requirement must witness to be considered satisfied — the required evidence, and the tests that discharge each one.
The tests that discharge each obligation aren't available for a historical run
The evidence matrix behind each obligation comes from the live audit index, which can't be rebuilt for a past commit. Nothing here means unknown — not that the requirement has no obligations.
Formula evidence
The formal formula behind this requirement, the variables it is written over, and the tests that exercise it (each term is explained inline).
Formula evidence
The formal formula behind this requirement, the variables it is written over, and the tests that exercise it (each term is explained inline).
FRETish formula
when all_rows_disabled the menu_navigation shall eventually satisfy no_cursor_parked
Witnesses· 2 scenarios total
- pokeGuardsexercises 2 condition scenarios
MC/DC truth table· 3 rows
Each row assigns the formula's conditions (T/F) and shows the Result— the formula's value for that input row, not a test pass/fail. A row proves a condition when flipping only that condition flips the outcome. The test that covers each row is linked.
mcdc:ignoreNo-actionfalse-result row satisfied by designUncoveredneeds a covering test| # | all_rows_disabled | no_cursor_parked | Result | Proves | Covering test |
|---|---|---|---|---|---|
| 1 | F | F | T | all_rows_disabled | |
| 2 | T | F | F | all_rows_disabled | Exempted · defensive — settleCursor sets cursorActive from nextSelectable, which returns -1 exactly when every row is disabled; a parked cursor with all rows disabled needs that assignment removed (reviewed: REVIEW-MC1) |
| 3 | T | T | T | no_cursor_parked |
Its place
How this requirement connects — what proves it, what it affects, and what it rests on. Authored links only here; automatically derived links come from the audit index.
Loading graph…
Trace evidence
The concrete artifacts linked to this requirement — implementing code, verifying tests, documents, and the findings raised against it.
No findings affect this requirement
Nothing was flagged against this requirement in the pinned run.
Impact
Blast radius — authored trace links only (automatically derived links come from the audit index and aren't shown here).
Impact
Blast radius — authored trace links only (automatically derived links come from the audit index and aren't shown here).
If you change this
Files to re-check (1)
- Menu.qmlshell/plugins/menu/Menu.qml
Tests to re-run (1)
- menu-compositor-test.shtest/shell.d/menu-compositor-test.sh
What this rests on
Discussions
Discuss this with the proof team. Nothing changes in your audit automatically — you open a request and a staff member records any outcome inside the thread.