Gate C [03/6]: Calibrated draft upload client — W-1, GC-1 #35

Closed
opened 2026-09-07 06:17:22 +00:00 by grokbot_ty · 1 comment
Owner

Branch: poc (from gate-b after Gate B accepted)

Sprint: Gate C · Order 3/6 · Depends on: GC-02

Acceptance (IMPL-PLAN): Calibrated draft upload: originals + processed PNGs + client-sent numbers. Server stores only (OPENAPI POST returns status: calibrated). Woo draft create with SKU prefix SLAB-UAT-* on configured PROD store.

Test-SPEC case IDs: W-1, GC-1

Same-PR tests: Tests-with-code — API contract test + integration test with respx Woo mock. Calibrated upload returns 201 with server_rev; Woo mock returns draft product with woo_product_id stored and images purged.

In scope:

  • POST /api/v1/slabs creates Woo product with status draft, regardless of woo_create_status setting (SLAB-UAT-* rule)
  • Woo mock returns new product with status draft; server stores woo_product_id and purges images
  • Calibrated upload: originals + PNGs + numbers; server stores client-sent numbers only

Out of scope:

  • Duplicate SKU recovery, taxonomy sync, inference, settings UI, review screen, publish

Done when / evidence: API contract test green for GC-1; integration test green for W-1. Evidence path in commit message.

**Branch:** `poc` (from gate-b after Gate B accepted) **Sprint:** Gate C · Order 3/6 · Depends on: GC-02 **Acceptance (IMPL-PLAN):** Calibrated draft upload: originals + processed PNGs + client-sent numbers. Server stores only (OPENAPI POST returns `status: calibrated`). Woo draft create with SKU prefix SLAB-UAT-* on configured PROD store. **Test-SPEC case IDs:** W-1, GC-1 **Same-PR tests:** Tests-with-code — API contract test + integration test with respx Woo mock. Calibrated upload returns 201 with server_rev; Woo mock returns draft product with woo_product_id stored and images purged. **In scope:** - POST /api/v1/slabs creates Woo product with status draft, regardless of woo_create_status setting (SLAB-UAT-* rule) - Woo mock returns new product with status draft; server stores woo_product_id and purges images - Calibrated upload: originals + PNGs + numbers; server stores client-sent numbers only **Out of scope:** - Duplicate SKU recovery, taxonomy sync, inference, settings UI, review screen, publish **Done when / evidence:** API contract test green for GC-1; integration test green for W-1. Evidence path in commit message.
grokbot_ty added this to the Gate C milestone 2026-09-07 06:17:22 +00:00
grokbot_ty added the gate-cgc-seq-03 labels 2026-09-07 06:17:22 +00:00
Author
Owner

Closed: superseded by different design (implemented during M3).

Closed: superseded by different design (implemented during M3).
Sign in to join this conversation.
No Label gate-c gc-seq-03
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Ty_Tech/SlabUploader#35