Skip to content

Quyết định

Mỗi dòng liên kết tới một ADR duy nhất. Append-only. Cập nhật status sang Superseded by NNNN khi bị ghi đè — không bao giờ xóa.

IDTrạng tháiNgàyTiêu đềThay thế
0001Accepted2026-01Một thực thể SaleOrder duy nhất cho cart và order đã commit
0002Accepted2026-02Pessimistic Lock SELECT FOR UPDATE trên order khi thay đổi item
0003Accepted2026-02Sự kiện thanh toán MQ-Pay đến qua webhook HTTP, không polling
0004Accepted2026-03AllocationUsage(usageType, usageId) đa hình dùng chung bởi SaleOrder + Reservation
0005Accepted2026-03Capture snapshot pricing (v1 + v2) khi checkout vào order item

Quy tắc viết

  • Một quyết định mỗi file, template MADR (NNNN-<kebab-slug>.md).
  • Đánh số 4 chữ số tuần tự, không bao giờ tái sử dụng.
  • Trạng thái: Proposed · Accepted · Deprecated · Superseded by NNNN.
  • Quyết định liên service đặt trong developer/decisions/, không phải ở đây.

Proprietary and Confidential. Unauthorized copying, distribution, or use of this software is strictly prohibited.