Problem
When the server no longer recognizes a project (e.g. it was removed), sync fails opaquely instead of guiding the user to recover.
Expected result
Sync detects a PROJECT_NOT_FOUND response and offers to re-create the project and re-sync (respecting non-interactive mode).
Impact
Turns a confusing hard failure into a clear, recoverable flow.
Scope
Files: cmd/sync.go, internal/api/, internal/sync/ (+ tests)
Acceptance: a missing-project sync offers a clear recovery path.
Status: blocked — requires the server-side PROJECT_NOT_FOUND response and the sync feature to be un-gated.
Problem
When the server no longer recognizes a project (e.g. it was removed), sync fails opaquely instead of guiding the user to recover.
Expected result
Sync detects a
PROJECT_NOT_FOUNDresponse and offers to re-create the project and re-sync (respecting non-interactive mode).Impact
Turns a confusing hard failure into a clear, recoverable flow.
Scope
PROJECT_NOT_FOUNDresponse in the sync client.httptestserver returning the error.Files:
cmd/sync.go,internal/api/,internal/sync/(+ tests)Acceptance: a missing-project sync offers a clear recovery path.