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 89b2c1eSep 29, 2026, 09:42 AMpr/9056Back to current
All requirements
RequirementSW-REQ-260922-50RESoftwareReview

open(payload) dispatches on mode: select/input open the dmenu flow, anything else opens the resolved route; close() cancels; refresh() reloads both JSONC files and returns ok; ping() returns ok.

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

Specification

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

Description

open(payload) dispatches on mode: select/input open the dmenu flow, anything else opens the resolved route; close() cancels; refresh() reloads both JSONC files and returns ok; ping() returns ok.

FRETish formula
when menu_open_called the menu_lifecycle shall eventually satisfy lifecycle_answered
View full formal model

Rationale & tags

Why this requirement exists, and how it is categorised.

Menu.qml open/close/refresh/ping lines 22-56 and openExistingMenu/openDmenu lines 902-949; this is the plugin lifecycle the dispatcher IPC reaches.

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 Upstream Refresh · AI agent
Reviewed
Sep 25, 2026, 09:20 UTC

History

Created
Sep 22, 2026, 15:09 UTC · Kimi Dogfood · AI agent
Modified
Sep 25, 2026, 09:21 UTC · Kimi Upstream Refresh · AI agent

Hazard review

Reviewed Sep 25, 2026, 09:32 UTCby agent:kimi-upstream-refreshcatalog v1.10.0
  • scenarioreviewedconcurrent

    Concurrent-summon interleaving reviewed for PR#9056: this finishRequest/lifecycle path is now reachable from open()'s new requestActive guard (SW-REQ-260925-XTGG); behavior on that path is the already-specified null/cancel semantics, so no new hazard. finishRequest remains reentrant-safe: state captured then cleared before the write.

  • domainnot applicable

    Domain classes fire only on matching workload tags (HTTP/crypto/IPC frameworks); these menu dmenu-protocol requirements carry no domain tags and the component is a local QML plugin + bash scripts with no network/crypto surface.

  • structuralnot applicable

    Structural classes target C-family memory/format-string hazards (pointer arithmetic, manual ownership, sanitizer evidence). Implementation is QML/JS (GC'd) plus bash invoking printf with constant format strings; no manual memory or binary framing exists in this component.

  • propertyreviewed

    Reviewed: no property-catalog class binds beyond the scenario coverage. The select/dispatch protocol is single-shot per request (no idempotency/monotonicity dimension); answer atomicity is owned by the finishRequest reqs (C8HX/FGZQ); the residual unbounded-wait hazard is tracked by KI-MENU-SELECT-POLL-DEADLOCK, not a property class.

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 Upstream Refresh · AI agentApprovedSpec conformanceSep 25, 2026 · last weekREVIEW-25

    Read open/close/refresh/ping (Menu.qml:22-56) and openExistingMenu/openDmenu (902-949). open() parses payload (malformed JSON falls back to {} via catch), then - post-PR#9056 - pre-answers any in-flight request (SW-REQ-260925-XTGG) before dispatching: mode select/input -> openDmenu, else openRoute; both set opened=true, so every menu_open_called yields lifecycle_answered. close() -> cancel(); refresh() reloads both JSONC files and returns ok; ping returns ok. The new guard preserves the dispatch contract (it adds an answer, never removes one). Formula models all four lifecycle verbs; no silent precondition found.

    Cited code (4)

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 menu_open_called the menu_lifecycle shall eventually satisfy lifecycle_answered

Witnesses· 2 scenarios total

  • summonCancelRace
    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
#lifecycle_answeredmenu_open_calledResultProvesCovering test
1FFTmenu_open_called
2FTFlifecycle_answered—
3TTTlifecycle_answered

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

Nothing downstream depends on this yet

No downstream impact — "open(payload) dispatches on mode" 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.

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