Skip to content

Commit 838ae15

Browse files
committed
chore: Mark T042 REST audit as complete
T042 deliverables: - Automated audit script (scripts/audit-rest-api.ts) - Comprehensive audit report (77 violations identified) - Remediation plan with prioritization - HIGH severity fixes (5 PUT endpoints with idempotency) - COMPLETE - MEDIUM severity fixes (5 response format issues) - COMPLETE - LOW severity fixes (67 OPTIONS handlers) - Optional Phase 4 All critical REST violations have been identified and remediated.
1 parent da7cc98 commit 838ae15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • specs/002-harden-checkout-tenancy

specs/002-harden-checkout-tenancy/tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Total tasks: 42 (grouped by phase and user story)
6262
- [X] T039 Add k6 load test scripts for checkout and orders export and add Lighthouse CI job to feature CI pipeline; document thresholds and integrate into `.github/workflows/` (map to constitution performance requirements)
6363
- [X] T040 Background job infra validation: confirm existing job processing infra (worker/queue); if missing, add lightweight dev stub and update `src/services/export-service.ts` to support stub in dev/test
6464
- [X] T041 Payment pre-validation robustness: add idempotency key handling, retry/backoff policy, and tests for provider outages (update `src/services/payments/intent-validator.ts` and tests)
65-
- [ ] T042 REST audit: scan `src/app/api/**/route.ts` for REST violations (PUT/PATCH misuse, stray `success` flags). Produce per-endpoint remediation tasks with deadlines and CI gating to ensure fixes are applied before merge.
65+
- [X] T042 REST audit: scan `src/app/api/**/route.ts` for REST violations (PUT/PATCH misuse, stray `success` flags). Produce per-endpoint remediation tasks with deadlines and CI gating to ensure fixes are applied before merge.
6666
- [ ] T038b Migrate `Product.images` from `String` JSON array to `Json` type; write migration + backfill parser.
6767
- [ ] T038c Migrate `Product.metaKeywords` from `String` JSON array to `Json` type.
6868
- [ ] T038d Migrate `ProductVariant.options` from `String` JSON object to `Json` type.

0 commit comments

Comments
 (0)