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-260912-FVHSSoftwareReview

omarchy-update-lock run shall open the update lock file on a dedicated file descriptor, shall print a diagnostic and exit 1 when flock cannot take the lock, and shall export the descriptor to the executed command.

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

Specification

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

Description

omarchy-update-lock run shall open the update lock file on a dedicated file descriptor, shall print a diagnostic and exit 1 when flock cannot take the lock, and shall export the descriptor to the executed command.

FRETish formula
when update_run_requested & lock_unavailable the update_lock shall always satisfy run_refused_with_diagnostic
View full formal model

Rationale & tags

Why this requirement exists, and how it is categorised.

The executed update must hold the lock for its whole lifetime, so the descriptor is exported rather than released after acquisition.

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 Dogfood · AI agent
Reviewed
Sep 12, 2026, 23:50 UTC

History

Created
Sep 12, 2026, 19:49 UTC · Kimi Dogfood · AI agent
Modified
Sep 23, 2026, 17:20 UTC · Kimi Dogfood · AI agent

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 Dogfood · AI agentApprovedSpec conformanceSep 12, 2026 · 3 weeks agoREVIEW-14

    run subcommand opens the lock file on a dedicated fd; when flock fails it prints the diagnostic and exits 1 without entering the snapshot, and exports the fd to the executed command otherwise — run_refused_with_diagnostic.

    Cited code (1)

Obligations

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

Discharging tests pending a synced audit.

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 update_run_requested & lock_unavailable the update_lock shall always satisfy run_refused_with_diagnostic

Witnesses· 3 scenarios total

  • update-lock-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
#lock_unavailablerun_refused_with_diagnosticupdate_run_requestedResultProvesCovering test
1FFTTlock_unavailable
2TFFTupdate_run_requested
3TFTFlock_unavailable—
4TTTTrun_refused_with_diagnostic

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 — "omarchy-update-lock run shall open the update lock file on…" 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