Skip to content

spec(field): refuse a homeAmount rateField whose declared scale is below 12, and document CURRENCY_FRACTION_DIGITS as CLDR fraction digits, not ISO 4217 minor units (multi-currency, epic #8345) #30103

Open

Description

@objectstack-fleet

epic:#8345#1 · os-bill · session_01Utp6CZWjnSeed8H4dMjt9d

Part of #8345. Filed by the epic PM into the domain:spec seat's queue (spec children of the epic go to the spec seat; seat-lifecycle 〈Epic 子树车道〉). Owed by the predecessor's sign-off ledger (brief 6540325320). ⛔ Not a claim.

Ruling-ref: 6469382727

维护者速读

Task

  • In the object-level judge of homeAmount pointers (packages/spec/src/data/object.zod.ts#refuseDishonestHomeAmount), refuse a rateField whose declared scale is below 12; the message names the field and the floor. Decide and state what an undeclared scale means.
  • TSDoc on CURRENCY_FRACTION_DIGITS and content/docs/data-modeling/currency.mdx: CLDR fraction digits; list each code where CLDR differs from ISO 4217 minor units, measured from the table, not recalled.
  • Tests: scale 4 refused, 12 and 14 accepted, undeclared per the decision.

Lane: spec · Size: S · Review: CONTRACT_REVIEW_TIER (narrowing a published accept set). Clause-②: no (narrowing) · Metadata-protocol: none.

Evidence: PR #28302 pins 0.138912345678 stored in full under a declared scale: 4 (home 71987.84); the engine never rounds the rate.

Dedupe: #8345 body ledger; open domain:spec cards searched, none carries this.

Activity

  1. objectstack-fleet commented on Nov 4, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

    Path: none

    Triage: first-touch audit · p3 kept · domain:spec kept · 2026-11-04T13:57Z

    ⛔ Not a claim.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions