You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specs/002-harden-checkout-tenancy/tasks.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,27 +5,27 @@ Generated from `specs/002-harden-checkout-tenancy/spec.md` and `plan.md`.
5
5
Total tasks: 42 (grouped by phase and user story)
6
6
7
7
## Phase 1: Setup
8
-
-[] T001 Initialize feature workspace and artifacts (create `specs/002-harden-checkout-tenancy/artifacts/`)
9
-
-[] T002 [P] Create scaffolding for logs and request correlation header in `src/lib/request-context.ts`
10
-
-[] T003 Add CI coverage gating placeholders in `.github/workflows/` for this branch (copy `ci` template) and document in `specs/002-harden-checkout-tenancy/quickstart.md`
8
+
-[X] T001 Initialize feature workspace and artifacts (create `specs/002-harden-checkout-tenancy/artifacts/`)
9
+
-[X] T002 [P] Create scaffolding for logs and request correlation header in `src/lib/request-context.ts`
10
+
-[X] T003 Add CI coverage gating placeholders in `.github/workflows/` for this branch (copy `ci` template) and document in `specs/002-harden-checkout-tenancy/quickstart.md`
11
11
12
12
## Phase 2: Foundational (blocking prerequisites)
13
-
-[] T004 [P] Create domain->store resolver at `src/lib/store/resolve-store.ts`
14
-
-[] T005 [P] Add server-side pricing service at `src/services/pricing-service.ts` (recalculate line items, discounts, shipping, taxes)
## Phase 3: User Story Implementation (Priority Order)
21
21
22
22
### User Story 1 (US1) — Shopper completes a secure checkout (Priority: P1)
23
-
-[] T010 [US1] Refactor checkout route to require session auth and `storeId` at `src/app/api/checkout/complete/route.ts`
24
-
-[] T011 [US1] Replace client-trusted monetary acceptance: wire `src/app/api/checkout/complete/route.ts` to call `src/services/pricing-service.ts` to recalc totals
25
-
-[] T012 [US1] Integrate payment intent pre-validation adapter at `src/services/payments/intent-validator.ts`
26
-
-[] T013 [US1] Refactor checkout flow to use `src/services/transaction.ts` and include order, items, inventory decrement, discount mark, payment record (edit `src/services/checkout-service.ts`)
-[] T015 [US1] Add E2E tamper test `tests/e2e/checkout/tamper.spec.ts` to attempt client price override and assert server recalculation
23
+
-[X] T010 [US1] Refactor checkout route to require session auth and `storeId` at `src/app/api/checkout/complete/route.ts`
24
+
-[X] T011 [US1] Replace client-trusted monetary acceptance: wire `src/app/api/checkout/complete/route.ts` to call `src/services/pricing-service.ts` to recalc totals
25
+
-[X] T012 [US1] Integrate payment intent pre-validation adapter at `src/services/payments/intent-validator.ts`
26
+
-[X] T013 [US1] Refactor checkout flow to use `src/services/transaction.ts` and include order, items, inventory decrement, discount mark, payment record (edit `src/services/checkout-service.ts`)
0 commit comments