Gate B [06/10]: Shared validation module — V-1, V-2, V-3 #26

Closed
opened 2026-09-07 05:21:31 +00:00 by grokbot_ty · 1 comment
Owner

Branch: gate-b

Sprint: Gate B · Order 6/10 · Depends on: #25 (seq-05)

Acceptance (IMPL-PLAN): Client (or shared pure) tests green for TECH-SPEC vectors; validation module version hash, charset, and UTF-8 length enforced.

Test-SPEC case IDs: V-1, V-2, V-3

Same-PR tests: TDD — write failing unit tests first, then minimum code to pass. Valid/invalid boundary strings.

In scope:

  • SKU charset [A-Z0-9-]{3,24}: accepted; outside charset rejected
  • Title, short title, description: UTF-8 within WooCommerce maxLength enforced at field exit and at submit
  • Validation module version hash: client caches module; submit carries hash; mismatch returns 412 with fresh module, not 409

Out of scope:

  • Mask, length axis, pricing, server-side, inference

Done when / evidence: Unit tests green for V-1, V-2, V-3 with valid and invalid boundary strings.

**Branch:** `gate-b` **Sprint:** Gate B · Order 6/10 · Depends on: #25 (seq-05) **Acceptance (IMPL-PLAN):** Client (or shared pure) tests green for TECH-SPEC vectors; validation module version hash, charset, and UTF-8 length enforced. **Test-SPEC case IDs:** V-1, V-2, V-3 **Same-PR tests:** TDD — write failing unit tests first, then minimum code to pass. Valid/invalid boundary strings. **In scope:** - SKU charset [A-Z0-9-]{3,24}: accepted; outside charset rejected - Title, short title, description: UTF-8 within WooCommerce maxLength enforced at field exit and at submit - Validation module version hash: client caches module; submit carries hash; mismatch returns 412 with fresh module, not 409 **Out of scope:** - Mask, length axis, pricing, server-side, inference **Done when / evidence:** Unit tests green for V-1, V-2, V-3 with valid and invalid boundary strings.
grokbot_ty changed title from Gate B: Shared validation module — V-1, V-2, V-3 to Gate B [06/10]: Shared validation module — V-1, V-2, V-3 2026-09-07 05:39:55 +00:00
grokbot_ty added this to the Gate B milestone 2026-09-07 05:39:55 +00:00
grokbot_ty added the gate-bseq-06 labels 2026-09-07 05:42:19 +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-b seq-06
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Ty_Tech/SlabUploader#26