Skip to content

Commit 775d8c0

Browse files
committed
docs(adr): ADR-0144 dates the #27157 landing in Context and the verification notes
PR #27218 (0cd578f) landed #27157 on 2026-10-28: defaultCurrency has no default and a fixed config without a code is refused. The readings stay dated at cdec747; a one-line note records the landing. Claude-Session: https://claude.ai/code/session_01Utp6CbTZrFqRYNgjSaSbN5 Co-authored-by: Claude <noreply@anthropic.com>
1 parent eb99f86 commit 775d8c0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎docs/adr/0144-multi-currency-record-currency-dated-rates-write-time-home-projection.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ aggregation. The ruling names them by topic ("Q0 A", "rates A", "home currency A
8181
record's currency.
8282
- **A `fixed` field with no code becomes a yuan field.** `defaultCurrency` defaults to `'CNY'` (same schema).
8383
#27157 (#27119 Q2 X) requires the code and drops the default. It is a member of R1 and a blocker of M0-1.
84+
*Note (2026-10-28):* #27157 landed in PR #27218 (`0cd578f7`). On `main`, `defaultCurrency` has no default, and a
85+
`fixed` config without a code is refused.
8486
- **The tenant currency is the `localization.currency` setting**
8587
(`packages/services/service-settings/src/manifests/localization.manifest.ts#localizationSettingsManifest`, key
8688
`currency`). It has tenant scope, no platform default and `valueDomain: 'iso_4217_currency'`. It may be unset. It is
@@ -356,7 +358,7 @@ says what the command printed at `cdec7473`.
356358

357359
```bash
358360
git grep -n "Neither mode is a per-record choice" -- packages/spec/src/data/field.zod.ts # 1 line
359-
git grep -n "default('CNY')" -- packages/spec/src/data/field.zod.ts # 1 line, until #27157
361+
git grep -n "default('CNY')" -- packages/spec/src/data/field.zod.ts # 1 line; #27157 landed 2026-10-28 in PR #27218 (0cd578f7), after which the one match is a docblock line recording the old default
360362
git grep -n "export const CurrencyValueSchema" -- packages/spec/src/data/field.zod.ts # 1 line, until #27182
361363
git grep -n "may be handed a res" -- packages/formula/src/stdlib.ts # 1 line
362364
git grep -n -i -E "exchange.?rate|fx_rate|currency_conversion|convertCurrency" -- packages/ ':!*.test.ts' # 0 lines

0 commit comments

Comments
 (0)