Proof Portal
Omarchy
ProbeLabs65 findings · 95 requirementsA 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.
Agents panel: Separate OpenCode usage into its own collector instead of merging into Claude Code
Reported by neo-clon · filed Aug 22, 2026 · open at source
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
Summary
The Claude usage collector (omarchy-agent-usage-claude) currently scans OpenCode SQLite history (~/.local/share/opencode/opencode.db) and merges Anthropic-provider messages into Claude Code's local stats and "TOKENS BY MODEL" breakdown.
This causes confusion and data pollution in the Claude Code tab:
1. Model pollution: OpenCode internal, proxy, or experimental model identifiers (e.g. claude-sonnet-4-6, claude-opus-4-6, claude-sonnet-4-5) appear directly in the Claude Code "TOKENS BY MODEL" list.
2. Subscription mismatch: OpenCode sessions often use independent API keys, OpenCode Zen/Go credits, or third-party gateways rather than the Claude Code OAuth subscription. Merging them misrepresents the actual Claude Code usage and limits.
Expected Behavior
- Claude Code collector (
omarchy-agent-usage-claude) should only reflect Claude Code CLI native usage (~/.claude/projects/). - OpenCode usage should be tracked in its own dedicated collector / tab in the Agents panel (similar to the ongoing work in PR #7687 for OpenCode Go) so each tool's usage, models, and quotas remain accurate and isolated.
Steps to Reproduce
- Use OpenCode with Anthropic provider models (recorded in
~/.local/share/opencode/opencode.db). - Use Claude Code separately.
- Run
omarchy-agent-usage-update(or let the agents widget refresh). - Open the Agents bar panel on the Claude Code tab.
- Observe that "TOKENS BY MODEL" lists the model IDs and token counts aggregated from OpenCode.
System details
- Omarchy version: 4.0.0-1
- Kernel: Linux 7.1.8-arch1-3
- Hyprland: 0.56.2
- Component:
shell/plugins/agents(omarchy.agents) /bin/omarchy-agent-usage-claude
View raw text
### Summary The Claude usage collector (`omarchy-agent-usage-claude`) currently scans OpenCode SQLite history (`~/.local/share/opencode/opencode.db`) and merges Anthropic-provider messages into Claude Code's local stats and "TOKENS BY MODEL" breakdown. This causes confusion and data pollution in the Claude Code tab: 1. **Model pollution:** OpenCode internal, proxy, or experimental model identifiers (e.g. `claude-sonnet-4-6`, `claude-opus-4-6`, `claude-sonnet-4-5`) appear directly in the Claude Code "TOKENS BY MODEL" list. 2. **Subscription mismatch:** OpenCode sessions often use independent API keys, OpenCode Zen/Go credits, or third-party gateways rather than the Claude Code OAuth subscription. Merging them misrepresents the actual Claude Code usage and limits. ### Expected Behavior - Claude Code collector (`omarchy-agent-usage-claude`) should only reflect Claude Code CLI native usage (`~/.claude/projects/`). - OpenCode usage should be tracked in its own dedicated collector / tab in the Agents panel (similar to the ongoing work in PR #7687 for OpenCode Go) so each tool's usage, models, and quotas remain accurate and isolated. ### Steps to Reproduce 1. Use OpenCode with Anthropic provider models (recorded in `~/.local/share/opencode/opencode.db`). 2. Use Claude Code separately. 3. Run `omarchy-agent-usage-update` (or let the agents widget refresh). 4. Open the Agents bar panel on the Claude Code tab. 5. Observe that "TOKENS BY MODEL" lists the model IDs and token counts aggregated from OpenCode. ### System details - Omarchy version: 4.0.0-1 - Kernel: Linux 7.1.8-arch1-3 - Hyprland: 0.56.2 - Component: `shell/plugins/agents` (`omarchy.agents`) / `bin/omarchy-agent-usage-claude`
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 08:21 UTC