Gate C [04/6]: Duplicate SKU recovery and draft retention — GC-2, W-2 #36
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Branch:
poc(from gate-b after Gate B accepted)Sprint: Gate C · Order 4/6 · Depends on: GC-03
Acceptance (IMPL-PLAN): Duplicate SKU → stop with field-level recovery; no second product. Woo mock 409 duplicate SKU maps to field recovery; draft retained.
Test-SPEC case IDs: GC-2, W-2
Same-PR tests: Tests-with-code — API contract test + integration test with respx Woo mock. Pre-existing SKU lookup returns 409 with field recovery actions; duplicate SKU create maps to edit_sku/open_existing.
In scope:
Out of scope:
Done when / evidence: API contract test green for GC-2; integration test green for W-2. Evidence path in commit message.
Closed: superseded by different design (implemented during M3).