Skip to content

[Bug]:Severity (P0-P3) vs priority (critical|high|medium|low) dual-axis is confusing; no unified 'urgent' surface #398

@kryptobaseddev

Description

@kryptobaseddev

Bug Report

Summary

CLEO has two orthogonal urgency axes that operators conflate:

  • priority ∈ {critical, high, medium, low}
  • severity ∈ {P0, P1, P2, P3} — triggers Ed25519 attestation

Operator instructions colloquially use "P0" for the most urgent. CLEO's priority enum doesn't use P-codes; CLEO's severity does. There's no single-axis way to ask "show me everything truly urgent" — you must check both. Worse: --severity P0 silently downgrades without a signing key (separate bug).

Reproduce

cleo show T149 | jq '.data.task | {priority, severity}'
# → {"priority":"critical","severity":"P1"}

# No "show me urgent" command
cleo find --urgent  # ← does not exist
cleo next | jq '.data.nextTasks[].score'
# → priority is in the score, severity is not weighted

# cleo briefing surfaces tasks by `nextSuggested` heuristic — severity P0/P1 not boosted
cleo briefing | jq '.data.nextTasks | map(.id)'

Expected

  1. cleo find --urgent returns the union of priority IN (critical, high) OR severity IN (P0, P1).
  2. cleo briefing highlights tasks with priority=critical OR severity ∈ {P0,P1} in a dedicated ⚠ urgent section.
  3. cleo update --help documents the dual-axis side-by-side with examples of when to use which.
  4. cleo show <id> renders urgency line: Urgency: priority=critical · severity=P1 · deadline=2026-06-01.

Actual

The two axes are documented as "orthogonal" but operators have no unified read surface. Result: T148/T149 (P0-deadline tasks) currently show as priority:critical, severity:P1 and cleo next returns generic "score:50" tasks ahead of them.

Impact

Urgent work gets buried. Resuming agents check cleo next, see no P0/P1 in the top suggestions, and start on whatever the score-50 default surfaces. Time-critical bugs (T148 Gemini sunset 2026-06-01) need explicit human flagging to be picked up.

Suggested fix

  1. Add --urgent flag to cleo find.
  2. Boost severity ∈ {P0,P1} in cleo next scoring (additive +30/+15).
  3. Section-header surface in cleo briefing.
  4. Document axes in cleo update --help:
    --priority    Workload urgency (critical|high|medium|low) — orchestrator scheduling weight
    --severity    Bug/risk classification (P0|P1|P2|P3) — triggers signed attestation
    

Cross-ref

.cleo/research/sg-sor/06-cleo-gaps.md issue #9.

Severity: Moderate
Area: cli

Are you using an AI agent?

Yes - AI agent filed this issue


Environment

Component Version
CLEO 2026.2.1
Node.js v24.13.1
OS linux 6.19.14-200.fc43.x86_64 x64 (x64)
Shell /bin/bash
gh CLI gh version 2.87.3 (2026-02-23)
Install /home/keatonhoskins/.npm-global/bin/cleo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds triage and prioritization

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions