Skip to content

changelog: the 19.0.0-next.1 formula currency-verdict entry says the optional spellings of an amount moved from number, but a bare optional never typed as a number #38110

Description

@objectstack-fleet

repo:objectstack#8 · sunhaolin · session_017xRBcSAaBEfQpU2yJexSJ8

Filing gate: ① (release-fixed wrong text, the 先测可达性 exception: the text is in published CHANGELOGs) · Source: fleet — rider N3 of #35815, found by its developer on PR #38108 and kept out of that code PR because AGENTS.md (Documentation Guardrails) asks a factual error in a released entry to be amended in a dedicated docs-only PR.

What is wrong

The #35631 entry says the indexed and optional spellings of an amount (record['amount'] * 0.1, record.?amount * 0.1, record[?'amount'] * 0.1) moved from number to {}. Measured on PR #38108 (ablation of the readsOnlyPlainFields guard): the two bare optional spellings answer {} with and without the guard — an optional is never typed as a number — so they never moved. The spellings that do discriminate read through orValue (record.?amount.orValue(0) * 0.1).

Where the sentence is (read on origin/main 815e882): the consumed .changeset/pre/35631-formula-currency-verdict.md, and the 19.0.0-next.1 sections of packages/formula/CHANGELOG.md, ui/packages/app-shell/CHANGELOG.md and packages/spec/CHANGELOG.md.

Proposed text (the developer's, from PR #38108 Acceptance notes)

"the indexed spelling of an amount (record['amount'] * 0.1) and the optional spellings read through orValue (record.?amount.orValue(0) * 0.1); a bare optional (record.?amount * 0.1) never typed as a number and answered {} before and after"

Business reason

An author or agent reading the release notes is told a spelling changed behaviour that did not; it is the record an upgrade is judged by.

Reader who acts

Seat repo:objectstack#8, one docs-only PR after PR #38108 lands (the corrected test comment is in that PR).

Dedupe

is:issue 35631 changelog optional amount → 2 hits (#35815 open, the parent; #35631 closed, the original card); is:issue "orValue" formula changelog → 3 hits, none on this sentence.

Grade: area:data · Task · p3 · reach: readers of the 19.0.0-next.1 release notes; text only, no behaviour.

Activity

  1. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:data · domain:docs · Task · p2 · pm:queue · size XS; rationale: the 19.0.0-next.1 changelog entry for the formula currency verdict misstates which spellings moved. Wrong shipped release text is p2 (p3 → p2). Recorded 2026-11-28T03:15Z.

  2. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#8 · sunhaolin · session_017xRBcSAaBEfQpU2yJexSJ8

    Picked at 2026-11-28T03:54Z: this seat's own follow-up of #35815 (filed by this seat), unblocked by PR #38108's merge as the card's reader line says. The maintainer in this seat's session, verbatim: 「开一个 objectstack 全仓座位」 with intake area:data, then 「batch 调到 5,可以用云卡」.

    Claim: PM loop round 1
    Session: session_017xRBcSAaBEfQpU2yJexSJ8
    Account: sunhaolin
    Branch: claude/issue-38110-changelog-optional-spellings
    Worktree: objectstack-issue-38110
    Domain: domain:server (the released text belongs to @objectstack/formula; the same sentence also sits in the app-shell and spec CHANGELOGs)
    Seat: repo:objectstack#8
    File surface: the one sentence of the #35631 entry in packages/formula/CHANGELOG.md, ui/packages/app-shell/CHANGELOG.md, packages/spec/CHANGELOG.md (19.0.0-next.1 sections) and the consumed .changeset/pre/35631-formula-currency-verdict.md; docs-only, skip-changeset or the release-note correction path the gates name (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: opus (dispatch-gates --tier: no path-derived mandate; default tier), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack — the released #35631 changelog entry states a spelling moved that never did | none | readers of the 19.0.0-next.1 release notes
    Thread-read: none
    Premise: holds — measured on PR #38108 (bare optional spellings answer {} with and without the guard); the sentence is on origin/main at the files named (read at 2026-11-28T03:54Z).
    Serial constraints cleared: no in-flight claim names these CHANGELOG files (check-handover.mjs --inflight).
    Scope this dispatch: the whole card. Fixes #38110.

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 28, 2026
  4. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#8 · sunhaolin · session_017xRBcSAaBEfQpU2yJexSJ8
    os-dev-report

    {
     "issue": 38110,
     "status": "done",
     "branch": "claude/issue-38110-changelog-optional-spellings",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/38157",
     "session": "session_017xRBcSAaBEfQpU2yJexSJ8",
     "premise_still_valid": true,
     "summary": "Amended the one released sentence of the 19.0.0-next.1 formula currency-verdict entry in place, byte-identical in packages/formula/CHANGELOG.md:278, packages/spec/CHANGELOG.md:3069, ui/packages/app-shell/CHANGELOG.md:1785 and .changeset/pre/35631-formula-currency-verdict.md:21, using the card's proposed text verbatim; the replacement was moved to the end of the list (after 'a name the field map does not declare') so the trailing semicolon clause keeps the sentence grammatical. Path: AGENTS.md Documentation Guardrails (amend the released entry in a dedicated docs-only PR, no new changeset) plus the DELIBERATE CORRECTION class of check-empty-changeset, declared in the PR body naming the one note; no skip-changeset label, per os-dev (editing an existing .changeset md never takes skip-changeset; the red is correct). Premise measured: the old (401eb4468^) and current inferFormulaReturn both answer {} for record.?amount * 0.1 and record[?'amount'] * 0.1, while the orValue and indexed spellings moved number -> {}.",
     "tests": "No code change. Throwaway vitest (deleted) comparing pre-#35631 formula-return.ts (401eb4468^) with origin/main 0e361201b over the test FIELDS map: 'record.?amount * 0.1' old={} new={}; \"record[?'amount'] * 0.1\" old={} new={}; 'record.?amount.orValue(0) * 0.1' old={returnType:number} new={}; \"record[?'amount'].orValue(0) * 0.1\" old={returnType:number} new={}; \"record['amount'] * 0.1\" old={returnType:number} new={}; os-verify-lock VERDICT command-exit 0, Tests 1 passed. Pins on main: packages/formula/src/formula-return.test.ts:195-200 (orValue spellings in UNPROVEN_OVER_MONEY, asserted {} at :209), :222-223 quantity controls. Four copies: sha256 of the added line (indent stripped) identical, 06a32456cc1a.... Ablation n/a (no tested behaviour changed).",
     "gates": "Local at head 7f9570d61, derived by dispatch-gates --commands --repo objectstack-ai/objectstack (68 families, merge base 0e361201b): 64 exit 0; node scripts/check-empty-changeset.mjs --base origin/main exit 1 = 'This PR changes a changeset it did not add: .changeset/pre/35631-formula-currency-verdict.md' (DELIBERATE CORRECTION, designed red); pnpm check:dual-build-cjs-loads exit 3 and pnpm check:lean-entry-closure exit 3 = NOT MEASURED (need dist of unrelated packages, 'Run pnpm build first'); pnpm --dir ui exec vitest run scripts/ exit 124 = NOT MEASURED (local 500s timeout, CI-owned). --ran reconciliation exit 0: '68 derived, 68 run, 0 NOT-MEASURED, 0 UNRUN' (exit codes self-declared). check-nul-bytes exit 0; overlap-check VERDICT clean exit 0 (vs main and #38129). PR check-runs at report time: Check Changeset in_progress (expected red: DELIBERATE CORRECTION), Lint/Type Check lanes in_progress, Queue verdict/opt-in lanes skipped.",
     "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
     "mcp_calls": "0",
     "api_writes": "2 relay dispatches (POST /repos/objectstack-ai/objectstack/dispatches): pr_create -> POST /pulls (#38157, draft) + POST /issues/38157/assignees (sunhaolin), no labels; os-dev-report -> POST /issues/38110/comments. Plus git push (not REST).",
     "open_questions": [],
     "security_findings": "withheld",
     "out_of_scope_findings": [],
     "deviations": "Commit trailer: the harness reminder's 'Co-Authored-By: Claude Opus 5.5' was refused by the pre-push check:commit-card-trailers hook; amended (unpublished) to the model-free 'Claude <noreply@anthropic.com>' pair per os-dev. PR body footer uses the os-dev session-URL form rather than the harness's robot-emoji line. Dispatch said 'label it as the correction path requires': the path requires no label (skip-changeset would skip the job holding the DELIBERATE CORRECTION refusal), so zero labels were written.",
     "files_changed": [
      ".changeset/pre/35631-formula-currency-verdict.md",
      "packages/formula/CHANGELOG.md",
      "packages/spec/CHANGELOG.md",
      "ui/packages/app-shell/CHANGELOG.md"
     ],
     "line_budget": "+4 / -4 across 4 files"
    }

    Generated by Claude Code

  5. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#8 · sunhaolin · session_017xRBcSAaBEfQpU2yJexSJ8

    Done · 2026-11-28T08:39Z — PR #38157 merged; this card closed as completed by its Fixes line. Delivered: the #35631 entry's optional-spellings sentence corrected in place in the four released copies (formula, spec, app-shell CHANGELOGs and the consumed pre changeset), by the DELIBERATE CORRECTION path (seat confirmation 7234890799). Nothing remains. pm:dispatched removed.

  6. removed
    pm:dispatched
    on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:datadomain:docspriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions