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 67b0e44Oct 1, 2026, 12:54 PMquattro-proofBack to current
All requirements
RequirementSW-REQ-260922-PRNVSoftwareReview

An exact id match wins over every alias.

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

An exact id match wins over every alias. App rows are never routable, so an installed app's keywords cannot shadow a menu route (htop ships Keywords=system).

FRETish formula
when route_input & exact_id_match the menu_router shall eventually satisfy route_is_exact_id
View full formal model

Rationale & tags

Why this requirement exists, and how it is categorised.

MenuModel.js resolveRoute lines 177-191.

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:33 UTC · Kimi Dogfood · AI agent
Modified
Sep 27, 2026, 21:25 UTC · Kimi Zero Warnings · AI agent

Hazard review

Reviewed Sep 30, 2026, 07:37 UTCby agent:opencode-hazard-ccatalog v1.10.1
  • scenarioreviewedboundaryedge_casemalformed_input

    Worst case: an installed app keyword shadows a menu route (htop ships Keywords=system), so typing a menu id launches an unrelated app instead - closed structurally by skipping kind==app in the alias scan so app aliases can never enter route resolution, while exact ids are checked first against the item map apps never join. boundary: the zero cases are pinned - empty input and the reserved words go/menu route to root before any lookup. edge_case: two menu items sharing one id resolve to whichever entry the merged item map holds (collision semantics owned by the merge sibling), duplicate aliases resolve by itemOrder position (deterministic but config-order dependent), and the id normalizer (lowercase, underscore-to-dash) means ids outside that folded space match only verbatim; unknown strings fall through as literal input by design so misspellings still attempt their id.

  • propertyrevieweddeterminismtotality

    determinism: resolution walks itemOrder in order after the single exact-id map hit, so the same items and input always route identically. totality: every input string resolves to exactly one target - exact id, first matching alias, root for reserved words, or verbatim passthrough - with no input leaving the router undefined.

  • structuralnot applicable

    A lowercased string compare over a bounded alias list with the same normalization applied to both sides; no eval, regex over user input, or pointer work.

  • domainnot applicable

    Routing picks which user-owned action to run; no new authority is granted by the choice, and the traced resolver carries no network, crypto, or privilege 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-58

    Read resolveRoute. The exact-id check runs before the alias scan, so an exact id always wins; the alias loop skips kind==='app' entries outright, so an installed app's keywords can never shadow a menu route (the htop Keywords=system case in the description). route_input & exact_id_match models the first arm. 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 route_input & exact_id_match the menu_router shall eventually satisfy route_is_exact_id

Witnesses· 3 scenarios total

  • menu-test.sh:1
    exercises 3 condition scenarios

MC/DC truth table· 4 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
#exact_id_matchroute_inputroute_is_exact_idResultProvesCovering test
1FTFTexact_id_match
2TFFTroute_input
3TTFFexact_id_matchExempted · defensive — an exact id hit returns the input itself at the first check; routing it elsewhere needs that return removed (reviewed: REVIEW-M8)
4TTTTroute_is_exact_id

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
1
Tests
1
At-risk contracts
0

Files to re-check (1)

  • MenuModel.jsshell/plugins/menu/MenuModel.js

Tests to re-run (1)

  • 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