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.
Scores tier exact label, whole-word app name, label prefix, label substring, name text, then description.
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
Scores tier exact label, whole-word app name, label prefix, label substring, name text, then description. Menus and links promote by 2, apps demote by 5 within a tier. Final order breaks ties by depth then declaration order.
when match_quality_varies the menu_search shall eventually satisfy better_match_ranks_first
Rationale & tags
Why this requirement exists, and how it is categorised.
Rationale & tags
Why this requirement exists, and how it is categorised.
MenuModel.js searchScore lines 341-363.
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: a search ranking that can be steered - an installed app surface-crafted so its name outranks the menu route the user meant, sending the keystroke to the wrong target. The kind adjustments bound that: exact menu hit scores -2/-0 while the whole-word app ceiling is -5, so a menu exact match outranks any app tier, and apps stay inside their tier only relative to weaker menu tiers (prefix 10, substring 30, name 40, description 60), which is the intended assist without route capture. boundary: the empty/whitespace needle never reaches scoring (matchesQuery gates first), and the six tiers partition at exact-equality, whole-word membership (whitespace split), position-0 prefix, substring, name text, and description word boundary. edge_case: the whole-word-vs-exact code comment overstates one comparison (a whole-word app loses to any exact-labeled menu row by the arithmetic, and only beats weaker menu tiers); the requirement text and implementation agree with each other, so this is prose drift in a comment, not a contract break - worth a docs pass, not a hazard entry. description matching uses descriptionTextMatches so multi-word queries do not substring-match across the description wholesale. 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: the score is a pure function of (items, entry, query) with lowercase/trim normalization on both sides and no locale-dependent collation; depthFor carries its own cycle guard so a cyclic model cannot hang or inflate the depth term. totality: every entry admitted by the query filter receives exactly one score, and the final composite (score*1000 + depth*25 + order) is a strict total order with no unresolved ties.
- structuralnot applicable
indexOf, toLowerCase, and one whitespace split over config-owned labels; the only regex operates on the label, not the query, and scores are bounded small integers - no overflow, no eval, no encoding transform.
- domainnot applicable
Ranking chooses display order among rows the user already owns and could reach by scrolling; it grants no authority, and the traced scorer has no network, crypto, privilege, or cross-process wait surface.
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-62
Read searchScore. The tier ladder is exact label (root-deprioritized), whole-word app name, label prefix, label substring, name text, then description, with menus/links promoted by 2 and apps demoted by 5 within a tier; ties break deterministically. match_quality_varies models the tiered branch chain; better_match_ranks_first is the score ordering. Formula conforms to the code.
Cited code (1)
Open known issues
Findings currently open against this requirement — issues its verification surfaced that are not resolved yet. Each links to the full finding.
- LowOpen
childCount counts when-hidden children and duplicate itemOrder entries, so the submenu badge disagrees with what renders
KI-MENU-CARET-COUNT-HIDDEN-CHILDREN
- LowOpen
pathFor coerces a null parent to the id 'null'/'0' row while parentPathFor returns empty
KI-MENU-PATH-HELPERS-COERCION
- LowOpen
searchScore throws on a label-less merged row and returns a NaN rank that displayRow coerces to the best tier
KI-MENU-SEARCH-SCORE-CRASH-NAN
- LowOpen
searchScore ranking anomalies: apps promoted in-tier, root exact-labels swamped, multi-term matches collapse
KI-MENU-SEARCH-SCORE-RANKING
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 match_quality_varies the menu_search shall eventually satisfy better_match_ranks_first
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| # | better_match_ranks_first | match_quality_varies | Result | Proves | Covering test |
|---|---|---|---|---|---|
| 1 | F | F | T | match_quality_varies | |
| 2 | F | T | F | better_match_ranks_first | — |
| 3 | T | T | T | better_match_ranks_first |
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.
4 open · 0 resolved
- LowOpen
childCount counts when-hidden children and duplicate itemOrder entries, so the submenu badge disagrees with what renders
KI-MENU-CARET-COUNT-HIDDEN-CHILDREN
- LowOpen
pathFor coerces a null parent to the id 'null'/'0' row while parentPathFor returns empty
KI-MENU-PATH-HELPERS-COERCION
- LowOpen
searchScore throws on a label-less merged row and returns a NaN rank that displayRow coerces to the best tier
KI-MENU-SEARCH-SCORE-CRASH-NAN
- LowOpen
searchScore ranking anomalies: apps promoted in-tier, root exact-labels swamped, multi-term matches collapse
KI-MENU-SEARCH-SCORE-RANKING
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
Nothing downstream depends on this yet
No downstream impact — "Scores tier exact label, whole-word app name, label prefix,…" has no downstream edges.
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.