src/cli/commands/init.rs:164:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/init.rs:168:    if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/epic.rs:64:        if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/epic.rs:72:    if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/epic.rs:111:        } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/epic.rs:137:        } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/epic.rs:191:    } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/comments.rs:84:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/comments.rs:176:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/comments.rs:190:    if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/dep.rs:319:    } else if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/dep.rs:408:    } else if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/dep.rs:546:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/dep.rs:943:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/dep.rs:1171:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/changelog.rs:168:    match resolve_render_mode(json, ctx.mode()) {
src/cli/commands/changelog.rs:196:const fn resolve_render_mode(json: bool, output_mode: OutputMode) -> ChangelogRenderMode {
src/cli/commands/changelog.rs:524:            resolve_render_mode(false, OutputMode::Json),
src/cli/commands/changelog.rs:528:            resolve_render_mode(false, OutputMode::Toon),
src/cli/commands/changelog.rs:536:            resolve_render_mode(true, OutputMode::Plain),
src/cli/commands/changelog.rs:540:            resolve_render_mode(true, OutputMode::Rich),
src/cli/commands/changelog.rs:548:            resolve_render_mode(true, OutputMode::Toon),
src/cli/commands/changelog.rs:556:            resolve_render_mode(false, OutputMode::Quiet),
src/cli/commands/changelog.rs:703:            resolve_render_mode(true, OutputMode::Quiet),
src/cli/commands/version.rs:102:    if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/count.rs:102:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/count.rs:112:            } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/count.rs:124:            } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/count.rs:202:fn parse_statuses(values: &[String]) -> Result<Vec<Status>> {
src/cli/commands/count.rs:209:fn parse_types(values: &[String]) -> Result<Vec<IssueType>> {
src/cli/commands/count.rs:216:fn parse_priorities(values: &[String]) -> Result<Vec<Priority>> {
src/cli/commands/blocked.rs:202:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/blocked.rs:255:            if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/show.rs:198:        if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/show.rs:247:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/show.rs:262:                if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/upgrade.rs:92:    } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/upgrade.rs:133:    } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/upgrade.rs:166:    let is_rich = matches!(ctx.mode(), OutputMode::Rich);
src/cli/commands/q.rs:222:    } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/stale.rs:79:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/stale.rs:83:    if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/stale.rs:123:fn parse_statuses(values: &[String]) -> Result<Vec<Status>> {
src/cli/commands/label.rs:355:    } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/label.rs:412:        } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/label.rs:433:        } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/label.rs:465:    } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/label.rs:511:        } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/label.rs:547:        } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/label.rs:573:    } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/search.rs:180:    if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/list.rs:246:            } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/graph.rs:220:        if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/graph.rs:276:        } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/query.rs:313:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/query.rs:331:    } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/query.rs:395:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/query.rs:411:    } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/query.rs:450:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/query.rs:468:    } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/info.rs:81:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/info.rs:339:    } else if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/schema.rs:69:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/stats.rs:155:    if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/stats.rs:167:            if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/orphans.rs:44:const fn resolve_render_mode(json: bool, output_mode: OutputMode) -> OrphanRenderMode {
src/cli/commands/orphans.rs:76:        output_empty(resolve_render_mode(json, ctx.mode()), ctx);
src/cli/commands/orphans.rs:125:    let render_mode = resolve_render_mode(json, ctx.mode());
src/cli/commands/orphans.rs:563:            resolve_render_mode(true, OutputMode::Toon),
src/cli/commands/orphans.rs:571:            resolve_render_mode(true, OutputMode::Rich),
src/cli/commands/orphans.rs:579:            resolve_render_mode(true, OutputMode::Plain),
src/cli/commands/orphans.rs:587:            resolve_render_mode(true, OutputMode::Quiet),
src/cli/commands/orphans.rs:595:            resolve_render_mode(false, OutputMode::Toon),
src/cli/commands/orphans.rs:603:            resolve_render_mode(false, OutputMode::Json),
src/cli/commands/orphans.rs:611:            resolve_render_mode(false, OutputMode::Quiet),
src/cli/commands/ready.rs:218:            } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/ready.rs:308:fn parse_types(types: &[String]) -> Result<Option<Vec<IssueType>>> {
src/cli/commands/ready.rs:322:fn parse_priorities(priorities: &[String]) -> Result<Option<Vec<Priority>>> {
src/cli/commands/defer.rs:166:    } else if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/defer.rs:168:    } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/defer.rs:426:    } else if matches!(ctx.mode(), OutputMode::Quiet) {
src/cli/commands/defer.rs:428:    } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/reopen.rs:153:    } else if matches!(ctx.mode(), OutputMode::Rich) {
src/error/structured.rs:403:        let hint = if let Some(detected) = detect_priority_intent(provided) {
src/error/structured.rs:438:        let hint = if let Some(detected) = detect_status_intent(provided) {
src/error/structured.rs:464:        let hint = if let Some(detected) = detect_type_intent(provided) {
src/error/structured.rs:570:                let hint = detect_status_intent(status)
src/error/structured.rs:582:                let hint = detect_type_intent(issue_type)
src/error/structured.rs:594:                let hint = detect_priority_intent(priority).map_or_else(
src/error/structured.rs:702:                if let Some(detected) = detect_priority_intent(priority) {
src/error/structured.rs:709:                if let Some(detected) = detect_status_intent(status) {
src/error/structured.rs:716:                if let Some(detected) = detect_type_intent(issue_type) {
src/error/structured.rs:850:fn detect_status_intent(input: &str) -> Option<&'static str> {
src/error/structured.rs:874:fn detect_type_intent(input: &str) -> Option<&'static str> {
src/error/structured.rs:898:fn detect_priority_intent(input: &str) -> Option<&'static str> {
src/error/structured.rs:1071:    fn test_detect_status_intent() {
src/error/structured.rs:1072:        assert_eq!(detect_status_intent("done"), Some("closed"));
src/error/structured.rs:1073:        assert_eq!(detect_status_intent("wip"), Some("in_progress"));
src/error/structured.rs:1074:        assert_eq!(detect_status_intent("OPEN"), Some("open"));
src/error/structured.rs:1075:        assert_eq!(detect_status_intent("draft"), Some("draft"));
src/error/structured.rs:1076:        assert_eq!(detect_status_intent("op"), Some("open")); // Prefix match
src/error/structured.rs:1077:        assert_eq!(detect_status_intent("xyz"), None);
src/error/structured.rs:1081:    fn test_detect_type_intent() {
src/error/structured.rs:1082:        assert_eq!(detect_type_intent("story"), Some("feature"));
src/error/structured.rs:1083:        assert_eq!(detect_type_intent("defect"), Some("bug"));
src/error/structured.rs:1084:        assert_eq!(detect_type_intent("TASK"), Some("task"));
src/error/structured.rs:1085:        assert_eq!(detect_type_intent("docs"), Some("docs"));
src/error/structured.rs:1086:        assert_eq!(detect_type_intent("xyz"), None);
src/error/structured.rs:1090:    fn test_detect_priority_intent() {
src/error/structured.rs:1091:        assert_eq!(detect_priority_intent("high"), Some("1"));
src/error/structured.rs:1092:        assert_eq!(detect_priority_intent("critical"), Some("0"));
src/error/structured.rs:1093:        assert_eq!(detect_priority_intent("P2"), Some("2"));
src/error/structured.rs:1094:        assert_eq!(detect_priority_intent("p3"), Some("3"));
src/error/structured.rs:1095:        assert_eq!(detect_priority_intent("2"), Some("2"));
src/error/structured.rs:1096:        assert_eq!(detect_priority_intent("xyz"), None);
src/error/structured.rs:1100:    fn test_detect_priority_intent_all_digits() {
src/error/structured.rs:1102:            assert_eq!(detect_priority_intent(digit), Some(expected));
src/error/structured.rs:1107:    fn test_detect_priority_intent_all_p_prefixed() {
src/error/structured.rs:1121:                detect_priority_intent(input),
src/error/structured.rs:1129:    fn test_detect_priority_intent_rejects_malformed() {
src/error/structured.rs:1130:        assert_eq!(detect_priority_intent("p5"), None);
src/error/structured.rs:1131:        assert_eq!(detect_priority_intent("P5"), None);
src/error/structured.rs:1132:        assert_eq!(detect_priority_intent("px"), None);
src/error/structured.rs:1133:        assert_eq!(detect_priority_intent("p10"), None);
src/error/structured.rs:1134:        assert_eq!(detect_priority_intent("5"), None);
src/error/structured.rs:1135:        assert_eq!(detect_priority_intent("9"), None);
src/error/structured.rs:1136:        assert_eq!(detect_priority_intent(""), None);
src/error/structured.rs:1137:        assert_eq!(detect_priority_intent("p"), None);
src/error/structured.rs:1138:        assert_eq!(detect_priority_intent("P"), None);
src/cli/commands/agents.rs:487:            if !ctx.is_json() && !matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/agents.rs:646:    let is_rich = matches!(ctx.mode(), OutputMode::Rich);
src/cli/commands/agents.rs:809:    if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/agents.rs:877:        } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/agents.rs:925:        } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/agents.rs:963:    } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/agents.rs:1007:        } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/agents.rs:1034:        } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/agents.rs:1077:    } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/agents.rs:1121:        } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/agents.rs:1150:        } else if matches!(ctx.mode(), OutputMode::Rich) {
src/cli/commands/agents.rs:1194:    } else if matches!(ctx.mode(), OutputMode::Rich) {
