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 20d4e6aOct 2, 2026, 05:32 PMquattro-proofBack to current
All requirements
RequirementSW-REQ-260922-SJ7PSoftwareReview

Scores tier exact label, whole-word app name, label prefix, label substring, name text, then description.

This requirement changed after its last recorded review, so approval is stale. Automated checks pass.
PriorityshallTypeguaranteeCategoryfunctionalComponentmenuAssuranceCFindingsLowworst open

Specification

The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.

Description

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.

FRETish formula
when match_quality_varies the menu_search shall eventually satisfy better_match_ranks_first
View full formal model

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

Assurance levelC
Formalizationvalid
Realizabilityrealizable
Vacuitychecked_ok
Strategyfretish

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

Reviewed Oct 1, 2026, 21:26 UTCby agent:claude-baseline-passcatalog v1.11.0
  • 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.

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

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

FRETish formula

when match_quality_varies the menu_search shall eventually satisfy better_match_ranks_first

Witnesses· 2 scenarios total

  • menu-test.sh:1
    exercises 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.

Covereda test exercises this rowExempteda reviewed mcdc:ignoreNo-actionfalse-result row satisfied by designUncoveredneeds a covering test
#better_match_ranks_firstmatch_quality_variesResultProvesCovering test
1FFTmatch_quality_varies
2FTFbetter_match_ranks_firstExempted · defensive — searchScore is a pure function of the match tier; a weaker match outscoring a stronger one needs the tier ladder reordered (reviewed: REVIEW-M8)
3TTTbetter_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.

Impact

Blast radius — authored trace links only (automatically derived links come from the audit index and aren't shown here).

If you change this

Requirements
0
Files
2
Tests
3
At-risk contracts
0

Files to re-check (2)

  • Menu.qmlshell/plugins/menu/Menu.qml
  • MenuModel.jsshell/plugins/menu/MenuModel.js

Tests to re-run (3)

  • menumodel-replay.test.mjstest/node/menumodel-replay.test.mjs
  • report-reproducers.test.mjstest/node/report-reproducers.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.

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