Skip to content

Remove scale from currency fields: objectstack main refuses it and no forward conversion exists (cloud re-cut floor 1) #1965

Description

@hotlong

Source

Floor 1 of the cloud framework re-cut (objectstack-ai/cloud#2332). After #1964's premise was disproved, the maintainer ruled in the epic session on 2026-09-28 (verbatim): 「平台修转换 + HotCRM 先删 scale(推荐)」. Epic objectstack-ai/cloud#2440.

What

objectstack main refuses scale on currency fields ("scale is not valid on a currency field"; semantic entry field-currency-scale-refused). No forward conversion exists for it, so this is the one key family hotcrm must remove itself. The hotcrm#1964 dev counted 23 such fields in hotcrm main's composed artifact (objects[].fields[].scale on currency fields).

Direction

Remove scale from every currency field in hotcrm sources. Verify these on the tree; they are not yet measured:

  • scale is optional on currency at the installed and published @objectstack/spec 17.4.0, so the removal is legal on both versions;
  • how currency precision is expressed without it at both versions;
  • whether displayed values or seed data change.

If removing it changes what users see, stop and report.

Acceptance

  1. No currency field in hotcrm sources carries scale.
  2. hotcrm's own pnpm verify chain passes at 17.4.0.
  3. The dev states in the report what this leaves of the objectstack-main refusal list. After this card, the chart / assignedProfiles families are expected to remain, pending the platform conversion fix.

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpm:donepm:epicParent delegated to a dedicated epic PM — other PMs never dispatch into its subtree

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions