Proof Portal

Project overview

Omarchy

ProbeLabs65 findings · 95 requirements

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.

Inbox
ReportR-1262GitHub issuePublicDecided· Out of scope

Agents widget attributes Pi/OpenAI usage to Codex after Codex uninstall

Reported by Samk13 · filed Aug 29, 2026 · open at source

Decided: Out of scope — decided by agents · verified 4 days ago.

At a glance

1 · What is claimed?
Only the report text below — no validator has restated it as checkable claims yet.
2 · What does it affect?
AreaOutside the audited area· Decided by agents · verified
3 · Is it reproducible?
No validation has been run yet.
4 · What remains unclear?
  • Not validated yet: no claims, no reproducer.
5 · What happens next?
Decided by agents and verified by a second, independent agent — see the decision.

Original report

Agents widget attributes Pi/OpenAI usage to Codex after Codex uninstallrevision 1 · captured 2026-09-28 21:24 UTC via poll

Agents widget attributes Pi/OpenAI usage to Codex and shows Codex error after Codex uninstall

Summary

The Omarchy top-bar Agents widget appears to treat Pi sessions that use the openai-codex/OpenAI provider as Codex usage. After uninstalling the Codex CLI and setting Pi as the default agent, the top bar still showed Codex, with a red/unhealthy state saying Codex was not configured/available.

This is confusing because the active/default agent is Pi, not Codex.

Environment

  • Omarchy version: 4.0.1-1
  • Default agent: pi
  • pi is installed and on PATH
  • codex was uninstalled and is no longer on PATH

Relevant local checks:

$ omarchy-default-agent
pi

$ command -v pi
/home/samk13/.local/share/mise/installs/pi/latest/pi/pi

$ command -v codex
# no output

What happened

  1. Pi was configured as the default agent.
  2. Codex CLI was uninstalled.
  3. The top-bar Agents widget still showed Codex.
  4. The Codex entry was marked red/unhealthy and indicated it was not configured/available.
  5. The stale usage record looked like this:
{
  "id": "codex",
  "name": "Codex",
  "ready": true,
  "hasLocalStats": true,
  "totalPrompts": 111,
  "totalSessions": 7,
  "usageStatusText": "Codex unavailable",
  "authHelpText": "codex not found in PATH"
}

Pi session files on this machine contain messages with:

"provider": "openai-codex"

So it looks like the Codex usage collector is picking up Pi/OpenAI usage and presenting it as the Codex agent/provider.

Expected behavior

One of these would be less confusing:

  • Pi usage should show as Pi in the Agents widget, even when the underlying API/provider is OpenAI/Codex-compatible; or
  • If Codex CLI is not installed, the widget should not show a Codex subscription/provider purely because Pi sessions used an OpenAI/Codex-compatible backend; or
  • The widget should distinguish “Pi using OpenAI/Codex-compatible API” from “Codex CLI/subscription”.

Actual behavior

The Agents widget showed Codex after Codex was uninstalled, with a red/unavailable state (codex not found in PATH), even though Pi was the selected/default agent.

Diagnostics

A diagnostic log was generated locally at:

/tmp/omarchy-debug.log

Attach/upload that log if requested by maintainers.

View raw text
# Agents widget attributes Pi/OpenAI usage to Codex and shows Codex error after Codex uninstall

## Summary

The Omarchy top-bar Agents widget appears to treat Pi sessions that use the `openai-codex`/OpenAI provider as `Codex` usage. After uninstalling the Codex CLI and setting Pi as the default agent, the top bar still showed Codex, with a red/unhealthy state saying Codex was not configured/available.

This is confusing because the active/default agent is Pi, not Codex.

## Environment

- Omarchy version: `4.0.1-1`
- Default agent: `pi`
- `pi` is installed and on PATH
- `codex` was uninstalled and is no longer on PATH

Relevant local checks:

```text
$ omarchy-default-agent
pi

$ command -v pi
/home/samk13/.local/share/mise/installs/pi/latest/pi/pi

$ command -v codex
# no output
```

## What happened

1. Pi was configured as the default agent.
2. Codex CLI was uninstalled.
3. The top-bar Agents widget still showed `Codex`.
4. The Codex entry was marked red/unhealthy and indicated it was not configured/available.
5. The stale usage record looked like this:

```json
{
  "id": "codex",
  "name": "Codex",
  "ready": true,
  "hasLocalStats": true,
  "totalPrompts": 111,
  "totalSessions": 7,
  "usageStatusText": "Codex unavailable",
  "authHelpText": "codex not found in PATH"
}
```

Pi session files on this machine contain messages with:

```json
"provider": "openai-codex"
```

So it looks like the Codex usage collector is picking up Pi/OpenAI usage and presenting it as the Codex agent/provider.

## Expected behavior

One of these would be less confusing:

- Pi usage should show as `Pi` in the Agents widget, even when the underlying API/provider is OpenAI/Codex-compatible; or
- If Codex CLI is not installed, the widget should not show a Codex subscription/provider purely because Pi sessions used an OpenAI/Codex-compatible backend; or
- The widget should distinguish “Pi using OpenAI/Codex-compatible API” from “Codex CLI/subscription”.

## Actual behavior

The Agents widget showed Codex after Codex was uninstalled, with a red/unavailable state (`codex not found in PATH`), even though Pi was the selected/default agent.

## Diagnostics

A diagnostic log was generated locally at:

```text
/tmp/omarchy-debug.log
```

Attach/upload that log if requested by maintainers.

Validation

Not checked yet. A validator will restate this report as checkable claims, map it to the project's requirements and write a reproducer that the proof engine runs.

Linked

Not linked to any known issue, other report or change yet.

Decision

Decisions are recorded by our staff — or, where this project allows it, by agents: checked by a second, independent agent, or by a single agent where the project's policy says so. Any decision reached so far is shown below.

  • Out of scopeDecided by agents · verified · 2026-10-09 09:57 UTC