WI-027 · Accepted Sprint Plan · sprint-2-operational-floor

Sprint 2: Operational Floor POC - rooms/zones, labels, bulk ops, report skeleton

queued P0 medium risk   Owner: TBD   0% · 0/6 tasks complete

Gates: C1 C2 C3 C4 C5 C6 Requirements: REQ-OPS-001 REQ-OPS-002 REQ-OPS-003 REQ-OPS-004 REQ-OPS-005 REQ-OPS-006 Updated: 2026-06-22

At a glance

CodeWI-027
PhaseOperational Floor POC
Order57 of 93
Story points
Primary surfaceapps/web + supabase
Retires
Depends onSprint 1: Spine POC - identity/status/QR foundation
Blocks
Evidence
docs/product/capture-to-sale-tracking.md

Goals

Sprint 2: Operational Floor POC - rooms/zones, labels, bulk ops, report skeleton — advances C1, C2, C3, C4, C5, C6 toward its gate(s).

Implementation — what to build

C1-C4 — see the build slices

  • Rooms/zones = WI-032 . Label batches = WI-033 . Bulk ops = WI-034 . Client reports = WI-035.

C5 — Team roles + permissions

  • Roles: owner/admin, cataloger, pricer, label/runner, checkout, client-report viewer.
  • Membership table (sale or org scoped); gate actions by role; document owner-scoped RLS path (P6).

C6 — Markdown / discount phases

  • discount_phases: timed pricing stages per sale.
  • src/lib/troveDiscounts.ts: calculateSaleDiscountState (current/next/urgency/percent) + isSaleOpenNow; UI to configure phases.

Acceptance

  • Rooms/zones, labels, bulk ops, reports, team roles, and markdown phases work together in a sale-floor flow.

Checklist

  • C1 Rooms, zones, and pickup areas exist in the tracking model.
  • C2 Label batch workflow is first-class and QR print/pack path is demoable.
  • C3 Bulk edit, mass label, and batch discount path is validated.
  • C4 Client report skeleton is generated from sale/reconciliation state.
  • C5 Team roles and permissions exist with an owner-scoped RLS upgrade path.
  • C6 Discount phases / markdown-stage model supports timed sale pricing.

Gates & testing

  • C1 Rooms, zones, and pickup areas exist in the tracking model.
    CODE TEST
  • C2 Label batch workflow is first-class and QR print/pack path is demoable.
    CODE TEST
  • C3 Bulk edit, mass label, and batch discount path is validated.
    CODE TEST
  • C4 Client report skeleton is generated from sale/reconciliation state.
    CODE TEST
  • C5 Team roles and permissions exist with an owner-scoped RLS upgrade path.
    CODE TEST
  • C6 Discount phases / markdown-stage model supports timed sale pricing.
    CODE TEST

Requirements

Verify (done when)

rooms/zones, label batches, bulk ops, and a report skeleton work together in a floor flow.

Cost triggers

No paid API / infra spend triggered by this item.

Status & editing

queued   Sprint: Sprint 2 - Operational Floor POC

Edit status / sprint on the ★ Live Board → — changes are logged live with who / when / why.

Human-in-the-loop

No human tasks linked.

Findings

None recorded yet.

Concerns

None recorded yet.

Risks

None recorded yet.

Tech debt

None recorded yet.

Tools used

No tool calls recorded.

Files & artifacts

No files / artifacts recorded.

Update log

No log entries yet.