project get/set-vikunja cwd fallback fails from a repo subdirectory #10

Closed
opened 2026-08-14 16:33:58 +00:00 by gravityfargo · 0 comments
Owner

project get and project set-vikunja default the name to the literal cwd basename (Path.cwd().name). Invoked from a subdirectory of a registered project, the basename doesn't match the registry and resolution fails with no project named '…'.

Consider resolving the git top-level's basename instead (falling back to the cwd outside a repo), or explicitly documenting the run-from-root constraint in the verbs' help text. The consuming skills (todo, wrap-up) assume the cwd default works anywhere inside the project.

`project get` and `project set-vikunja` default the name to the literal cwd basename (`Path.cwd().name`). Invoked from a subdirectory of a registered project, the basename doesn't match the registry and resolution fails with `no project named '…'`. Consider resolving the git top-level's basename instead (falling back to the cwd outside a repo), or explicitly documenting the run-from-root constraint in the verbs' help text. The consuming skills (todo, wrap-up) assume the cwd default works anywhere inside the project.
Sign in to join this conversation.
No labels
No milestone
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
gravityfargo/local-tools#10
No description provided.