Skip to content

fix(ls): resolve the project before listing its scenes (#33) - #37

Merged
steveclarke merged 1 commit into
masterfrom
33-ls-scenes-resolve-project
Jul 25, 2026
Merged

steveclarke merged 1 commit into
masterfrom
33-ls-scenes-resolve-project

Conversation

@steveclarke

Copy link
Copy Markdown
Owner

Closes #33.

ls scenes passed its argument straight to the board, so an unknown project came back as an empty list rather than an error. "No scenes found" is a plausible wrong answer — it reads as "this project is empty" — and it already cost a rollback point while configuring a live 32R.

ResolveProject was already there and already accepted either form; ls scenes was the one caller not going through it.

$ ucmix ls scenes "135 Main Live"          # display title now works
01.Worship in the Park.scn

$ ucmix ls scenes "Nope"
✗ listing scenes failed: ucmix: no project named "Nope" on the board
run `ucmix ls projects` to see the projects on the board

The empty state now names the project it means ((135 Main Live has no scenes)), so it can't be confused with the not-found case.

Tests: two e2e cases — display-title resolution, and unknown-project failing instead of listing nothing. 490 unit, 90 e2e, lint clean.

https://claude.ai/code/session_01GgSVDxA51iXZ2nyBaNvGeV

`ls scenes` passed its argument straight to the board, so a name the board
did not know came back as an empty list. "No scenes found" is a plausible
wrong answer: it reads as "this project is empty" rather than "you named a
project that does not exist", and it cost a rollback point on a live rig.

ResolveProject already accepted either the display title or the slot name;
`ls scenes` was the one caller not using it. Now "135 Main Live" works
alongside "03.135 Main Live.proj", and an unknown name fails and points at
`ls projects`. The empty state names the project it is talking about.

Claude-Session: https://claude.ai/code/session_01GgSVDxA51iXZ2nyBaNvGeV
@steveclarke
steveclarke merged commit dd717a5 into master Jul 25, 2026
5 checks passed
@steveclarke
steveclarke deleted the 33-ls-scenes-resolve-project branch July 25, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ls scenes: unknown project reports 'no scenes found' instead of 'no such project'

1 participant