mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 17:45:53 +01:00
Issue create, child create, and update now reject invalid executionWorkspaceSettings.workspaceStrategy.existingBranch semantics (bad branch syntax, placement outside isolated_workspace + git_worktree, combination with branchTemplate) with HTTP 422 instead of the generic Zod 400, keeping the identical field-specific details payload. The carve-out fires only when every validation issue targets that exact field path, so all other validation failures keep the long-standing 400 contract. Rejection happens in route middleware before any handler or service code, so a rejected request persists no settings and creates no execution workspace. OpenAPI registrations for the three routes now document 422. Co-Authored-By: Paperclip <noreply@paperclip.ing> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>