Proof Portal
Omarchy
ProbeLabs73 findings · 87 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.
Search lists current-menu matches before deeper (drilldown) matches, with a divider section exactly when both groups are non-empty.
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
Search lists current-menu matches before deeper (drilldown) matches, with a divider section exactly when both groups are non-empty.
when matches_span_menus the menu_search shall eventually satisfy sections_divided
Rationale & tags
Why this requirement exists, and how it is categorised.
Rationale & tags
Why this requirement exists, and how it is categorised.
Menu.qml rebuildDisplay lines 621-648.
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 divider renders with only one group populated, presenting a phantom drilldown section for a query with no deep matches (or hiding the split for a query with both) - the exactly-when-both-nonempty half is the whole risk surface. boundary: the zero cases are pinned - both groups empty renders no divider and no rows, either single group renders alone, and the divider exists only at the current/deep boundary. edge_case: the depth partition of rows into current versus drilldown groups is total per item (an item sits at exactly one depth), so no row can appear in both groups and flip the split; group membership recomputes per keystroke without accumulating stale sections. Catalog 1.11.0 re-review: input_domain not applicable, it reads no external text input. concurrency_scale not applicable, a pure function of its arguments, recomputed on each load or keystroke: no state across calls, no process, timer or lock.
- propertyrevieweddeterminismtotality
determinism: current-menu rows list before drilldown rows with the SJ7P score chain inside each group, so identical items and query yield identical section order every render. totality: every query result resolves to one defined layout - current only, deep only, both with divider, or empty - with no query producing an ambiguous or duplicated section structure.
- structuralnot applicable
List-model construction with a boolean divider flag; no parsing, arithmetic beyond depth comparison, or encoding transform in the section slice.
- domainnot applicable
Search layout is display state inside the shell window; no trust boundary, network, crypto, privilege, or cross-process wait surface exists in the traced section logic.
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-66
Read the search display path (parentPathFor/isDescendantOf wiring into rebuildDisplay). Search results list current-menu matches before deeper drilldown matches and the divider section is emitted exactly when both groups are non-empty. matches_span_menus models the two-groups case; sections_divided is the divider emission. 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 need a synced audit
The evidence matrix behind each obligation comes from the audit index, which is produced by running an audit — not read from git. 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 matches_span_menus the menu_search shall eventually satisfy sections_divided
Witnesses· 2 scenarios total
- menu-test.sh:1exercises 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| # | matches_span_menus | sections_divided | Result | Proves | Covering test |
|---|---|---|---|---|---|
| 1 | F | F | T | matches_span_menus | |
| 2 | T | F | F | matches_span_menus | Exempted · defensive — displayRow copies the caller's section onto every row unconditionally; search rows arriving without their section needs that assignment removed mcdc:witness-out-of-process (reviewed: REVIEW-M8) |
| 3 | T | T | T | sections_divided |
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.
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 (2)
- menumodel-replay.test.mjstest/node/menumodel-replay.test.mjs
- menu-test.shtest/shell.d/menu-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.