Dw Signup Fulfillment

repo: ~/Projects/dw-signup-fulfillment · 3 commits · 3 in last 24h, 3 in last 7d ·

Search the build

3 commits indexed

  1. c323e03 2026-07-28 retail: function-backed unique sample codes (safe sample-lock) + theme modal proposal + house-account
  2. d786b75 2026-07-28 rep assignment: fixed DW House Account (not round-robin) per Steve
  3. bc2558d 2026-07-28 initial scaffold: DW signup fulfillment (retail gift-card + moderated trade approval + rep round-robin), dry-run

Authors

Agents used

  • none detected

Skills used

  • /retail-code1
  • /shopify1
  • /create1
  • /theme-modal-proposal1

Creative ideas + design notes

Commits with substantial prose (≥120 chars) — the rationale behind each move.

c323e03 · 2026-07-28 · retail: function-backed unique sample codes (safe sample-lock) + theme modal proposal + house-account
- lib/retail-code.js: per-customer DWSAMP-XXXXXXXX unique code via discountCodeAppCreate
  referencing the deployed DW Free Samples Discount Function (samples-only, first 3 free,
  usageLimit 1, appliesOncePerCustomer). Avoids the roll-zeroing money leak of a gift
  card / plain collection code.
- lib/shopify.js: add DRY_RUN-safe graphql() helper (mutations short-circuit + log WOULD-call).
- webhook customers/create now issues the function-code path; giftcard + giftcode-discount
  kept as clearly-labeled NOT-WIRED alternates.
- config + .env.example: DISCOUNT_FUNCTION_ID (required at go-live; simulate+WARN in DRY_RUN).
- selftest: asserts discountCodeAppCreate WOULD-call carries functionId + usageLimit 1 +
  unique code + emails the code; exits 0 in DRY_RUN.
- DEPLOY.md: one-time function deploy step; no auto-apply discount; renumbered runbook.
- docs/theme-modal-proposal.md: BEFORE/AFTER for retail copy, moderated Apply-for-Trade,
  and Continue-with-Google (proposal only, not deployed).

File tree

20 files tracked. Click any to browse the source at HEAD.

Other build journals

← Dw Showroom  ·  all 4 projects  ·  Dw Slideshow Gen →

Export

commits.csv · feed.atom · project.json · commits.json

rendered in 0ms