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
RequirementSW-REQ-260922-E4J2SoftwareReview

The parser strips full-line // comments and trailing commas before JSON parsing, so the authored JSONC parses to its declared entries.

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

The parser strips full-line // comments and trailing commas before JSON parsing, so the authored JSONC parses to its declared entries.

FRETish formula
when jsonc_has_comments_or_commas the menu_model shall eventually satisfy items_parsed
View full formal model

Rationale & tags

Why this requirement exists, and how it is categorised.

MenuModel.js stripJsonc lines 1-5 and parseMenuJsonc lines 42-64.

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 Sep 30, 2026, 07:19 UTCby agent:opencode-hazard-bcatalog v1.10.1
  • scenarioreviewedmalformed_inputboundaryedge_case

    Worst case: the stripper mangles authored content into different JSON - a URL or text containing // inside a string value gets tail-truncated as a comment, or a comma inside a string is eaten, so the file parses to silently wrong entries rather than failing loudly; the single-pass string-aware scanner (string contents copied verbatim, comments and pre-brace commas dropped only outside strings) is the control and is exactly the malformed_input handling this parser declares. boundary: EOF mid-comment and EOF mid-string terminate the pass without buffering errors, a file that strips to whitespace yields [], and a comma whose next non-whitespace character is } or ] is the exact drop condition. edge_case: escaped quotes and backslash escapes inside strings survive verbatim, inline comment tails wherever the opener sits are the fixed C8W1 sibling's subject, and the top-level array shape is the BMFE sibling's guard - both are pointer notes here, not re-reviewed.

  • propertyrevieweddeterminism

    The strip is a single left-to-right state-machine pass with two states (in-string, outside), so one input yields one output every time - the same authored file parses to the same entries on every load, including across the file watcher's reloads.

  • structuralnot applicable

    Character-classified string concatenation in a bounded single pass; no memory management, pointer math, or numeric surface, and no encoding transform - bytes pass through verbatim outside the two strip rules.

  • domainnot applicable

    The parser consumes the two fixed local menu JSONC paths (same-user, no egress sink in the traced files), and the parse-failure recovery policy (empty list, defaults preserved) is owned by the failure-arm siblings (3T3F/66FW), so no domain class binds to the strip contract reviewed here.

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-48

    Read stripJsonc (the function this branch fixed). Full-line // comments are stripped first, then trailing commas are removed string-aware: commas inside string literals copy verbatim (with backslash-escape handling) and a comma outside strings is dropped only when the next non-whitespace char is } or ]. The jsonc_has_comments_or_commas condition models both transforms; the string-awareness is the 66FW decision closing DEFECT-260927-CMMA. 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 jsonc_has_comments_or_commas the menu_model shall eventually satisfy items_parsed

Witnesses· 3 scenarios total

  • menu-test.sh:1
    exercises 3 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
#items_parsedjsonc_has_comments_or_commasResultProvesCovering test
1FFTjsonc_has_comments_or_commas
2FTFitems_parsed
3TTTitems_parsed

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