com-example-payment-PaymentDetails · git:20260829.8218fd2 · 2026-08-29 · sha256 bc38d878ca801636
com-example-payment-PaymentDetails git:20260829.8218fd2A
Immutable. This exact content never changes and is served at /api/v1/blob/bc38d878ca801636.
--- description: "AI rules for com.example.payment.PaymentDetails" globs: ["**/PaymentDetails.java"] alwaysApply: false --- <!-- VIBETAGS-START --> # Rules for PaymentDetails ## Strict Type Safety - **Rule**: Loose typing (e.g., Object, raw types, generic Map<String, Object>) is strictly prohibited. Enforce type safety. - **Reason**: Currency math broke in INC-4412 when a double leaked into amount; keep money as BigDecimal and never widen these fields to Object/Map <!-- VIBETAGS-END -->