Proof Portal

Project overview

Omarchy

ProbeLabsviewing a historical run

A 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.

Viewing historical run eeb0506Oct 2, 2026, 05:09 PMpr/14055Back to current
Back to findings
Known issueKI-MENU-PENDING-INITIAL-MENU-DEAD

pendingInitialMenu is stored and never read: a route summoned before the JSONC loads opens root and stays there

FixedFixedLow

This defect has been fixed and verified.

Closure: Fix witnessed

Description

The issue as recorded.

The shell queues a summon that arrives before the menu plugin loads. It hands the summon to open() as soon as the plugin loads. Neither menu FileView has read its JSONC file then, and the user extension usually answers first. So openRoute cannot resolve the route, and openExistingMenu falls back to root. On 821ae589 nothing opens the route when the files land. openRoute writes the route to pendingInitialMenu, but nothing reads that property. The reader went away with the bash menu's replay (edfd68d4, 4cd6593b). A summon during startup (Super+Escape right after login or a shell restart) shows the main menu. An action alias such as reminder-set never runs. Seen live on 821ae589 in every cold-start run.

Affected requirements

The requirement(s) this issue violates — click through to the spec.

Severity, explained

Why this is rated the way it is — and the scoring signals behind the rating (each ⓘ explains the term).

LowRated severity — the impact if this issue is exploited or hit.
why this rating
Risk-rated
risk area
Correctness
Security classification
Not a security surface
CVE surface
None

How it's proven

The reproducer — an actual test that drives the real code and shows the issue happening. Run it yourself, or peek the test and the source it covers.

Known issue not reproducedprofileknown_issue_reproducer
Reproducer test
Run it yourself
bash test/shell.d/menu-startup-route-test.sh
Covers (2)
Last run Oct 2, 2026, 4:51 PM

Reproduction steps

Technical steps for your engineers to confirm the issue by hand.

bash test/shell.d/menu-startup-route-test.sh

What protects you, and the fix

What limits your exposure today, and the planned remediation.

What protects you now

The race needs a summon landing before the JSONC loads (a sub-second window at session start); reopening lands on the intended route

The fix

Fixed upstream on #14055 (SW-REQ-261002-DK0D). A route that fell back to root stays pending until both menu files have answered. Then the menu tries it one time and drops it. Typing or opening another menu drops it earlier.

Blast radius

If you touch this issue, what else may need re-checking — the requirements it affects and the code and tests that hang off them. Historical view: authored trace links only — automatically derived links aren't reconstructible for past runs.

Tracing blast radius…

Touch this finding and you re-check 3 requirements · 1 code files · 17 tests.

Code files (1)
  • Menu.qml
Tests (17)
  • menumodel-replay.test.mjs
  • menu-test.sh
  • menu-compositor-test.sh
  • seq-route-after-load.events
  • seq-startup-action-alias.events
  • seq-startup-default-only.events
  • seq-startup-default-then-missing-user.events
  • seq-startup-missing-user-then-default.events
  • and 9 more

Per-requirement evidence

For each requirement this finding touches: the implementing code, verifying tests, and proof obligations that discharge it.

Implementing code (3)
  • shell/plugins/menu/Menu.qml
    requestDeleteSelected
  • shell/plugins/menu/Menu.qml
    resolveRoute
  • shell/plugins/menu/Menu.qml
    runAction
Tests & evidence (2)
  • test/node/menumodel-replay.test.mjs
  • test/shell.d/menu-test.sh
Implementing code (5)
  • shell/plugins/menu/Menu.qml
  • shell/plugins/menu/Menu.qml
    disarmPointer
  • shell/plugins/menu/Menu.qml
    open
  • shell/plugins/menu/Menu.qml
    openDmenu
  • shell/plugins/menu/Menu.qml
    requestDeleteSelected
Tests & evidence (1)
  • test/shell.d/menu-compositor-test.sh
Implementing code (5)
  • shell/plugins/menu/Menu.qml
    disarmPointer
  • shell/plugins/menu/Menu.qml
    item
  • shell/plugins/menu/Menu.qml
    menuFilesAnswered
  • shell/plugins/menu/Menu.qml
    requestDeleteSelected
  • shell/plugins/menu/Menu.qml
    underhang
Tests & evidence (14)
  • test/bdiff/corpus/lifecycle/seq-route-after-load.events
  • test/bdiff/corpus/lifecycle/seq-startup-action-alias.events
  • test/bdiff/corpus/lifecycle/seq-startup-default-only.events
  • test/bdiff/corpus/lifecycle/seq-startup-default-then-missing-user.events
  • test/bdiff/corpus/lifecycle/seq-startup-missing-user-then-default.events
  • test/bdiff/corpus/lifecycle/seq-startup-navigate-before-user.events
  • test/bdiff/corpus/lifecycle/seq-startup-root-summon.events
  • test/bdiff/corpus/lifecycle/seq-startup-route-closed.events
  • test/bdiff/corpus/lifecycle/seq-startup-route-reload.events
  • test/bdiff/corpus/lifecycle/seq-startup-route-summon.events
  • test/bdiff/corpus/lifecycle/seq-startup-route-then-select.events
  • test/bdiff/corpus/lifecycle/seq-startup-type-before-user.events
  • test/bdiff/harness.mjs
  • test/shell.d/menu-startup-route-test.sh

Evidence trail

The raw evidence manifests behind this finding — superseded by the resolved reproducer above, kept here for traceability.

  • proof/evidence/ki-menu-pending-initial-menu-dead.yaml
  • test/shell.d/menu-startup-route-test.sh

Change history

Every recorded revision of this finding's source file — when it was added, edited, or re-classified, with the diff for each change.

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.

Sign in to discuss this with the proof team.Sign in