os-me-route raises uncaught KeyError on an unknown source #1388

Open
opened 2026-10-25 21:29:36 +00:00 by jared · 0 comments
Owner

Problem

The os-me-route command gives no clean error for an unknown source. The user sees a backtrace.

Observed

os-me-route with an unknown source raises KeyError from CalibrationPrior#p_wrong.
Thor does not catch it. There is no clean error message, and the status is 1 with a backtrace.

Reproduce

n/a: the exact command is not recorded; see finding-d under docs/crc/os-sdlc/fast-batch-15/ on branch fast-batch-15.

Origin

  • Trigger: in-process test conversion of os-me tests (finding-d) in fast-batch-15
  • Improvised this session: none
  • Chain: backtrace on unknown source ← KeyError from CalibrationPrior#p_wrong ← the CLI route does not rescue it
  • Root candidate: none found; searched os-me-route, KeyError, CalibrationPrior, p_wrong
  • VERDICT: CREATE
  • Where: plugins/os-me/lib/os_me (CalibrationPrior#p_wrong, CLI route)
  • Session: 01c29715-c945-43b4-86fc-6c5fc6c4dd3f
  • Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os/01c29715-c945-43b4-86fc-6c5fc6c4dd3f.jsonl
## Problem The `os-me-route` command gives no clean error for an unknown source. The user sees a backtrace. ## Observed `os-me-route` with an unknown source raises KeyError from CalibrationPrior#p_wrong. Thor does not catch it. There is no clean error message, and the status is 1 with a backtrace. ## Reproduce n/a: the exact command is not recorded; see finding-d under docs/crc/os-sdlc/fast-batch-15/ on branch fast-batch-15. ## Origin - Trigger: in-process test conversion of os-me tests (finding-d) in fast-batch-15 - Improvised this session: none - Chain: backtrace on unknown source ← KeyError from CalibrationPrior#p_wrong ← the CLI route does not rescue it - Root candidate: none found; searched os-me-route, KeyError, CalibrationPrior, p_wrong - VERDICT: CREATE - Where: plugins/os-me/lib/os_me (CalibrationPrior#p_wrong, CLI route) - Session: 01c29715-c945-43b4-86fc-6c5fc6c4dd3f - Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os/01c29715-c945-43b4-86fc-6c5fc6c4dd3f.jsonl
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#1388
No description provided.