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 e797ba5Sep 30, 2026, 11:40 PMquattroBack to current
All requirements
RequirementSYS-REQ-260922-0M8ASystemReview

Dynamic rows (apps, provider enumerations) replace their source's previous batch atomically: orphans dropped, duplicates listed once, static rows untouched.

This requirement changed after its last recorded review, so approval is stale. Automated checks pass and 2/2 obligations are satisfied.
PriorityshallTypeguaranteeCategoryfunctionalComponentmenuAssuranceCFindingsnone open

Specification

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

Description

Dynamic rows (apps, provider enumerations) replace their source's previous batch atomically: orphans dropped, duplicates listed once, static rows untouched.

FRETish formula
when provider_rows_arrive the menu_model shall eventually satisfy dynamic_rows_swapped
View full formal model

Rationale & tags

Why this requirement exists, and how it is categorised.

A lost in-place write once left orphan ids that compounded into duplicate launcher rows; the swap semantics exist to make that impossible.

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 30, 2026, 08:05 UTC · Leonid Bugaev

Hazard review

Reviewed Sep 30, 2026, 08:05 UTCby human:Leonid Bugaevcatalog v1.10.1
  • scenarioreviewedmalformed_input

    Worst case graded above (in-place swap loss compounding into duplicate rows - the shipped-history defect, fixed by mergeMenuSources/mergeAppRows/swapProviderRows rebuilding fresh objects and never writing into QML var properties). malformed_input: a junk provider row (missing id, non-object) or a duplicate desktop id is skipped at the guard, so junk never enters the map, and ids already claimed are listed once by the nextItems occupancy check. Orphaned ids (provider vanished its batch) are dropped rather than carried, so a lost write cannot compound. Static JSONC rows are untouched by the swap, per contract.

  • propertyreviewedatomicityidempotency

    atomicity: each swap assigns fresh items/itemOrder objects to the model in one go - a reader observes either the old batch or the new one, never a half-swapped map; the atomicity obligation is graded above. idempotency: rerunning a provider with the same rows converges on the same map (rows replaced by providerMenu tag, order recomputed), so rescan loops stabilize. determinism: same inputs yield the same row order (arrival order, stable).

  • structuralnot applicable

    JS map/array rebuild under a GCd engine: no manual memory, pointer, or encoding surface; the dropped-write mechanism is an engine quirk dispositioned under property.atomicity (fresh-object assignment), not a structural class. Depth/path walks carry 32-deep guards (MenuModel depthFor/pathFor), so a cyclic parent chain cannot loop.

  • domainnot applicable

    the swap contract is in-process QML/JS state; provider enumeration runs are external calls but their deadlines belong to the provider requirements (children Z680/EFNR reviewed in batch B), not to the swap semantics this req carries. No trust boundary: provider rows and desktop ids originate on the same machine under the user account; concurrency classes do not fire (single-threaded event loop, swap is one synchronous function).

Change history

Every recorded revision of this requirement's source file — newest first, each with its commit message and the diff for that change.

Obligations

What this requirement must witness to be considered satisfied — the required evidence, and the tests that discharge each one.

1 obligation · 1 discharged

Browse the catalogue

Evidence tagged via <REQ> is witnessed by a requirement that satisfies this one — normal for stakeholder / aggregate requirements, which are proven through the requirements that refine them.

Discharged

Operation either fully completes or has no effect.

If it were violatedMedium

a provider rerun that swaps rows in place loses the write (QML var-property writes are occasionally dropped): orphan ids linger in itemOrder with no item behind them, the next merge carries the orphan forward, and the launcher lists the same app twice - the exact historical defect the fresh-object merge semantics exist to prevent

Discharging evidence2/2 required witnessed

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 provider_rows_arrive the menu_model shall eventually satisfy dynamic_rows_swapped

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
#dynamic_rows_swappedprovider_rows_arriveResultProvesCovering test
1FFTprovider_rows_arrive
2FTFdynamic_rows_swappedExempted · defensive — the incoming loop appends every new provider row unconditionally; arrived rows that never appear need that loop removed (reviewed: REVIEW-M8)
3TTTdynamic_rows_swapped

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.

No findings affect this requirement

Nothing was flagged against this requirement in the pinned run.

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
2
Files
2
Tests
1
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 (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