You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
spec: a summary over a plain tenant-currency amount cannot say it is in the tenant currency — currencyMode: 'dynamic' is refused unless the child is a stored home amount #35045
Found by hotcrm#2569, measured on 18.5.0 (zh-CN stack, tenant currency CNY); re-read on objectstack main.
What happens
A summary (sum) over a child Field.currency in the default mode, which is the tenant currency, renders bare: 78,000.00 beside currency fields and currency formulas on the same record that render ¥120,000.00. Declaring currencyConfig: { currencyMode: 'dynamic' } on it (e.g. crm_timesheet.total_cost over crm_time_entry.cost_amount) fails objectstack validate: "… 'crm_time_entry.cost_amount' is not a stored home amount, so its rows are not known to be in the home currency".
Why (code)
packages/spec/src/data/record-currency-path.ts:241 refuses dynamic unless the child field is named by a homeAmount.field; the currencyConfig description in field.zod.ts (~2447) admits otherwise only fixed, which needs a currency code and so pins one currency into a package meant for any tenant.
Expected
A child currency field with no record/fixed currency is, by the field schema's own rule, in the tenant currency; a sum of it is too. Either admit dynamic over such a child, or render a summary over it with the tenant currency by default. hotcrm has 17 such summaries (PSA and O2C).
First touch (R1207, 00:5xZ): p2 · domain:spec → pm:queue.
Theme: zh-CN customers / HotCRM (hotcrm#2569, tenant currency CNY). A summary over a plain tenant-currency amount cannot declare currencyMode: 'dynamic'. That is an expressiveness gap HotCRM met while building, not a break of something that worked, and HotCRM is not named as waiting on it. So p2, the same footing as feature cards.
Reading adopted: a plain dynamic child amount is in the tenant currency by definition (ADR-0144 D6 / D8 rule 5 as written), so a total of such amounts is too. No ADR-0144 decision changes; an add-only dated note under D6 may record the reading.
Execution (area data-2, lease data-2, two PRs in order, one ruling):
Claim: PM loop round 3 · area data-2 (ruled: maintainer 2026-11-19T05:03Z 「A 合计声明,度量自动跟随」, seat ruling record 7000258793) · 2026-11-19T06:21Z
Area: data-2
Session: session_01Utp6CajiB6BSQKWowy6YLB
Account: os-bill
Branch: claude/issue-35045-dynamic-summary-tenant-child
Worktree: objectstack-issue-35045
Domain: domain:spec
Seat: repo:objectstack#5
File surface: packages/spec/src/data/record-currency-path.ts (the dynamic-summary admission predicate and its message), the field.zod.tscurrencyConfig describe text only where it states the admission, packages/objectql/src/record-currency-aggregate-door.ts (the registration arm that mirrors it), their tests, generated reference pages the spec build regenerates, root .changeset/. ⛔ No docs/adr/** (the optional dated D6 note is a separate Tier H edit), no analytics / service-analytics (#35046, next), no renderer change. Stop on breach and report.
Container & model: M, mode:subagent, model: default — no path-derived mandate, effort: high
Clause-②: yes
Metadata-protocol: none
Responsibility: packages/spec + objectql in objectstack refuse currencyMode: 'dynamic' on a summary over a plain tenant-currency (dynamic) child amount, so the total renders bare beside currency cells; no platform path covers it; every package author totalling tenant-currency amounts (HotCRM: 17 summaries)
Thread-read: 7000258793
Premise: holds — on origin/main: recordCurrencyDynamicRollupNotHomeError (record-currency-path.ts) and the door's storedHomeAmountSourceOf(...) !== undefined arms (record-currency-aggregate-door.ts) admit dynamic only over a stored home amount
Serial constraints cleared: none — no open PR touches record-currency-path.ts, record-currency-aggregate-door.ts or field.zod.ts (live read of all 48 open PRs' files at claim time)
Pre-claim lane: domain:spec (packages/spec/**, with the packages/objectql mirror arm in the same defect; kept in lane under area-lease 留道)
Pre-claim deps: none named; #35046 follows this PR (same ruling, two PRs in order)
Prior rulings read: currencyMode dynamic, summary, home amount, tenant currency → ruling record 7000258793 binds (a plain dynamic child is tenant currency by definition; no ADR-0144 decision changes; no published default changes: a summary declaring nothing still has no currency); prior refusal lineage seat ruling 6746006322 (#31958) and lane decision 6890000941 (#33659 / PR #33710), contract review 6890873219 N3 named this follow-up; ADR-0144 D6 / D8 rule 5 read as written; none conflicts
{
"issue": 35045,
"status": "blocked",
"branch": "claude/issue-35045-dynamic-summary-tenant-child",
"pr": null,
"session": "session_01Utp6CajiB6BSQKWowy6YLB",
"premise_still_valid": true,
"summary": "BLOCKED ON ONE THING ONLY THE PM/MAINTAINER CAN CLEAR: the Claude Code auto-mode permission classifier refused every `git commit` in this container (3 attempts, reasons 'Destructive or Unwanted Actions' then 'Undermining Oversight' x2) when the commit carried the model-free trailer pair AGENTS.md requires (Claude-Session + `Co-authored-by: Claude` with the noreply address) instead of the harness-reminder trailer that names a model; I did not retry with other spellings, and did not use the model-named trailer, which the dispatch and AGENTS.md forbid. So nothing is committed, nothing pushed beyond the empty branch probe, no PR. The implementation is complete and verified in the working tree: one new spec predicate `isTenantCurrencyAmount` (a stored `currency` field in `dynamic` mode; a stored home amount is one) is now the (d) admission test in `defineStack` (stack.zod.ts) and in both registration orders of the objectql follow door; refusal text, the object-door admitted list, field.zod describe/JSDoc, the regenerated reference pages, currency.mdx / field-types.mdx, a dated liveness note and a changeset move with it. Record-mode, fixed, number, formula and child-summary children stay refused; a summary declaring nothing still has no currency. The full diff (453 lines, 18 files) sits uncommitted in /home/user/objectstack-issue-35045 (worktree kept, NOT removed) and as /mnt/project-files/objectstack-seat5/area-ux/data-2/wip-35045.patch (sha256 prefix 674dced68fe32549, applies to base 24cc61fa), with a ready PR body at /mnt/project-files/objectstack-seat5/area-ux/data-2/pr-body-35045.md.",
"tests": "Working tree on base 24cc61fa (no head sha: no commit landed). `pnpm --filter @objectstack/spec test` Test Files 856 passed (856), Tests 27370 passed | 1 todo; `pnpm --filter @objectstack/objectql test` Test Files 614 passed (614), Tests 13878 passed; printed SPEC_EXIT=0 OQL_EXIT=0 (lock line read 'batch-last-exit 0' because the parts were ';'-joined, so the per-part exits printed are the evidence). Targeted: spec currency-summary-home-rollup + currency-config-record-mode 82/82 VERDICT command-exit 0; objectql record-currency-guards + protocol-batch-object-registration 97/97 VERDICT command-exit 0. `pnpm --filter @objectstack/spec typecheck && pnpm --filter @objectstack/objectql typecheck` VERDICT command-exit 0. Reverse verification instead of ablation (ablation-replace restores from HEAD, and HEAD cannot hold the fix): detached worktree at 24cc61fa with only the new test files copied in -> spec 12 failed | 70 passed (VERDICT command-exit 1; the 5 admitted legs and the reworded refusal legs), objectql (base spec dist rebuilt) 6 failed | 91 passed; then new spec src + base door, spec rebuilt, `ablation-dist-preflight @objectstack/spec 'function isTenantCurrencyAmount'` passed -> objectql 3 failed | 94 passed, exactly the three admitted legs (registry both orders, metadata-API publish), so the door arm is load-bearing. Compare worktree reset with `git checkout HEAD --` (status clean) and removed.",
"gates": "Derived via `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` (tree 24cc61fa, working-tree change set): 121 families, all run locally, exit captured before any pipe. `--ran` with recorded exits: '121 derived famil(ies) accounted for, 118 run, 3 NOT-MEASURED (3 DERIVED from a recorded exit 3)'. Exit 0: 117. NOT MEASURED (exit 3, prerequisite: dists not built in this tree): `check:skill-examples` (client-react dist), `check:dual-build-cjs-loads` (80 package dists), `check:lean-entry-closure` (objectql dist/core). RED exit 1, not this diff: `check:platform-checklist`, 'platform-core.seed-mode-matrix: VARIANTS STALE, SeedMode in packages/spec/src/data/seed.zod.ts now has 0 members', and this diff touches neither seed.zod.ts nor docs/qa. `pnpm --filter @objectstack/spec check:generated`: 3 of 14 stale (api-surface, export-origins, docs), `--fix` regenerated those 3 (VERDICT command-exit 0); re-check green as part of the 121. `node scripts/check-nul-bytes.mjs` exit 0. `node scripts/pm/overlap-check.mjs`: NOT MEASURED, because it reads committed work only and nothing is committed. CI check-runs: none, because there is no PR.",
"dogfood_battery": "n/a: no `!` in the planned title and no (narrowing) arm (claim line is `Clause-②: yes`)",
"mcp_calls": "0",
"api_writes": "1 — POST /repos/objectstack-ai/objectstack/issues/35045/comments (this os-dev-report, via post-stamped.mjs through the fleet-write relay). Also one `git push` of the empty branch (not a REST write)",
"open_questions": [
{
"question": "How should commits from this container land, given that the auto-mode classifier refuses a commit carrying AGENTS.md's model-free trailer pair?",
"options": [
"A: the maintainer or seat allows the commit (permission rule or a manual commit) and the seat applies wip-35045.patch onto the branch, pushes and opens the draft PR with pr-body-35045.md",
"B: re-dispatch to a container whose permission mode allows the model-free trailer",
"C: commit with the harness's model-named trailer (forbidden by AGENTS.md, the dispatch and the pre-push hook; not recommended)"
],
"recommendation": "A, because the work is finished and verified, and the patch applies to base 24cc61fa as one diff."
},
{
"question": "Metadata-protocol declaration: the claim says `none`, but measured on the diff this admits one more accepted declaration on an existing key (`currencyMode: 'dynamic'` on a summary over a plain dynamic child). AGENTS.md classes 'a new ... accepted value' as `added`, and the decision file's own Clause-② analysis says `added` / `@objectstack/spec` minor.",
"options": [
"A: keep the claim's lines verbatim (as written now: `Clause-②: yes`, `Metadata-protocol: none`, both packages patch)",
"B: seat amends the claim to `Clause-②: yes (widening)` / `Metadata-protocol: added`, and the changeset takes `@objectstack/spec: minor`"
],
"recommendation": "B, because AGENTS.md's kind table reads a newly accepted declaration as `added`, and the published-export addition `isTenantCurrencyAmount` is a widening. I copied the claim verbatim per os-dev and report the difference here."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: seat (claim surface) · noted, not filed: the diff reaches beyond the claim's enumerated file surface, in the same defect: `packages/spec/src/stack.zod.ts` (the (d) caller dispatch A1 names, its call site and docblock), `packages/spec/src/data/object.zod.ts` (the object door's admitted-currencies refusal text, which this change would otherwise make false), `content/docs/data-modeling/currency.mdx` + `field-types.mdx` (hand-written pages stating the old refusal), `packages/spec/liveness/field.json` (dated WIDENED line, the ledger's convention for each change of this row), and `api-surface/data.json` + `export-origins/data.json` (regenerated for the new export). I am declaring this as a deviation, not hiding it.",
"carrier: seat · noted, not filed: `skills/objectstack-data/evals/objects-fields-relationships.json` eval 20's expected_output ends '`dynamic` is admitted only on a roll-up of a home amount (defineStack / os validate refuses it over any other child field)', which is now narrower than the platform. Its assertions do not read that sentence, and `skills/**` is a governed Tier H surface outside this card.",
"carrier: seat (renderer lane) · noted, not filed: comments in ui/packages/fields/src/currency.ts:58, index.tsx:2881 and widgets/SummaryField.tsx:64 still describe the `dynamic` summary as 'a roll-up of a stored home amount'. Behaviour is right (`summaryDeclaresCurrency` answers true for any `dynamic` summary); the comment is narrow, and renderers are fenced out.",
"carrier: none · noted: `check:platform-checklist` is red on base 24cc61fa (platform-core.seed-mode-matrix VARIANTS STALE vs SeedMode 0 members). It comes from another lane's change to seed.zod.ts, not from this diff."
],
"line_budget": "453 changed lines (309 added, 144 deleted) over 18 files incl. 4 regenerated, under the ~500 stop line; not a skills/** diff, so no ratchet ledger applies",
"deviations": [
"No commit, push of work, PR or draft: the auto-mode classifier refused `git commit` 3 times (commands: `git add -A && git commit -m ...` -> 'Destructive or Unwanted Actions'; `git commit -F msg` and `git commit -m ... --trailer 'Claude-Session: ...' --trailer 'Co-authored-by: Claude' (noreply address)` -> 'Undermining Oversight'). I stopped there and tried no other trailer spelling.",
"Ablation not run in the prescribed form (ablation-replace restores from HEAD, and HEAD does not hold the fix). I substituted reverse verification in a separate base worktree; readings are in `tests`.",
"File surface beyond the claim's list: see out_of_scope_findings[0].",
"Maintainer brief written in the four-line form (seat-practice.md section 1, which the dispatch names), not os-dev.md's six-line form. The dispatch and os-dev.md conflict here; the maintainer's newer practice note was followed.",
"`Metadata-protocol: none` copied verbatim from the claim, although the measurement reads `added`: see open_questions[1]."
],
"files_changed": [
"packages/spec/src/data/record-currency-path.ts",
"packages/spec/src/stack.zod.ts",
"packages/spec/src/data/object.zod.ts",
"packages/spec/src/data/field.zod.ts",
"packages/objectql/src/record-currency-aggregate-door.ts",
"packages/spec/src/data/currency-summary-home-rollup.test.ts",
"packages/spec/src/data/currency-config-record-mode.test.ts",
"packages/objectql/src/record-currency-guards.test.ts",
"packages/objectql/src/protocol-batch-object-registration.test.ts",
"packages/spec/liveness/field.json",
"packages/spec/api-surface/data.json",
"packages/spec/export-origins/data.json",
"content/docs/references/data/field.mdx",
"content/docs/references/data/object.mdx",
"content/docs/references/system/migration.mdx",
"content/docs/data-modeling/currency.mdx",
"content/docs/data-modeling/field-types.mdx",
".changeset/35045-dynamic-summary-tenant-child.md"
],
"head": "none: uncommitted on base 24cc61fabd9cf9b1d83458869786115db16ee1d7; the remote branch holds only that base (empty probe push)",
"A1": "Holds. (d) is decided in two sites that read a predicate: spec `collectRecordCurrencyPathErrors` case (d) in stack.zod.ts (it was `storedHomeAmountSourceOf(child, ops.field) === undefined`) and the objectql door at both orders (~:620 at the parent, ~:672 at the child). A grep of `storedHomeAmountSourceOf` / `recordCurrencyDynamicRollupNotHomeError` / 'is not a stored home amount' finds no third deciding site. The object door (`refuseUnadmittedSummaryCurrency`, object.zod.ts) already passes a `dynamic` summary that names a child field and no `defaultCurrency`; only its message text named the old set. All three now read or state `isTenantCurrencyAmount`, so one predicate decides both deciding sites.",
"A2": "Plain dynamic child = `type: 'currency'` with `currencyConfig` absent, or `currencyMode` absent or 'dynamic'; `readonly`, `expression` and `defaultCurrency` are not read. This is a superset of the stored home amount (isStoredHomeField is currency + dynamic + readonly + no expression). Summary-of-summary: kept REFUSED and pinned (a child `summary` declaring `dynamic` is refused with \"is a 'summary' field, not a `currency` field in `dynamic` mode\"). Reasons: the ruling names a plain dynamic child amount; a summary is not a `currency` field; and contract review N3 left the nested total as a follow-up 'if a consumer needs' it. Admitting it would be one more arm in isTenantCurrencyAmount (type summary with a dynamic currencyConfig) and needs the seat's word.",
"A3": "Holds. Legs that pinned today's refusal of a plain dynamic child were flipped: spec plain `note_amount`, the plain readonly field of a home-less record amount, and the N7 forged-homeAmount legs over plain amounts (writable, computed, double-claimed); objectql the writable-home-field re-save (now admitted; the de-currency re-save leg was moved to a `number`, so the R7 refusal leg still bites). The 'is not a stored home amount' strings were reworded where the leg is still a refusal (number, formula). Record-mode and fixed refusals were kept unchanged as controls in spec, objectql registry and metadata-API publish."
}
Claim amendment · area data-2 · 2026-11-19T07:38Z
Area: data-2
Clause-②: yes (widening)
Metadata-protocol: added
Why: measured on the diff (os-dev-report 7002876436), a summary may now declare currencyMode: 'dynamic' over a plain tenant-currency child, a newly accepted declaration (AGENTS.md: a new accepted value is added, level at least minor on @objectstack/spec), and isTenantCurrencyAmount is a new published export.
File surface (adds to claim 7001536938, same defect): packages/spec/src/stack.zod.ts (the (d) call site), packages/spec/src/data/object.zod.ts (refusal text only), packages/spec/liveness/field.json (dated WIDENED line), regenerated api-surface/data.json / export-origins/data.json / reference pages, and content/docs/data-modeling/currency.mdx + field-types.mdx (stated the old refusal).
Kept refused (dev's reading, seat agrees): a child summary declaring dynamic (summary-of-summary), record-mode, fixed, number and formula children.
{
"issue": 35045,
"status": "done",
"branch": "claude/issue-35045-dynamic-summary-tenant-child",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35387",
"session": "session_01Utp6CajiB6BSQKWowy6YLB",
"premise_still_valid": true,
"summary": "Implemented, committed and opened as draft PR #35387, head 76fb831b. Supersedes os-dev-report 7002876436 (blocked). The commit landed on the coordinator's single retry: a plain `git commit -F msgfile` with the model-free trailer pair inside the file, which passed. One new spec predicate, `isTenantCurrencyAmount` (a stored `currency` field in `dynamic` mode; a stored home amount is one such field), is now the case (d) admission test in `defineStack` (stack.zod.ts) and in both registration orders of the objectql follow door. Moved with it: the refusal text, the object door's admitted list, the field.zod describe and JSDoc, the regenerated reference pages, currency.mdx and field-types.mdx, a dated liveness note, and a changeset (`@objectstack/spec` minor, `@objectstack/objectql` patch). Its declaration lines are `Clause-②: yes (widening)`, `Metadata-protocol: added` and `Skills-docs: follow-up owed`, per claim amendment 7002901285. Record-mode, fixed, number, formula and child-summary children stay refused. A summary that declares nothing still has no currency.",
"tests": "Readings taken on the working tree that became 76fb831b (the commit added only the changeset's level and declaration lines after these runs). Working tree on base 24cc61fa (no head sha: no commit landed). `pnpm --filter @objectstack/spec test` Test Files 856 passed (856), Tests 27370 passed | 1 todo; `pnpm --filter @objectstack/objectql test` Test Files 614 passed (614), Tests 13878 passed; printed SPEC_EXIT=0 OQL_EXIT=0 (lock line read 'batch-last-exit 0' because the parts were ';'-joined, so the per-part exits printed are the evidence). Targeted: spec currency-summary-home-rollup + currency-config-record-mode 82/82 VERDICT command-exit 0; objectql record-currency-guards + protocol-batch-object-registration 97/97 VERDICT command-exit 0. `pnpm --filter @objectstack/spec typecheck && pnpm --filter @objectstack/objectql typecheck` VERDICT command-exit 0. Reverse verification instead of ablation (ablation-replace restores from HEAD, and HEAD cannot hold the fix): detached worktree at 24cc61fa with only the new test files copied in -> spec 12 failed | 70 passed (VERDICT command-exit 1; the 5 admitted legs and the reworded refusal legs), objectql (base spec dist rebuilt) 6 failed | 91 passed; then new spec src + base door, spec rebuilt, `ablation-dist-preflight @objectstack/spec 'function isTenantCurrencyAmount'` passed -> objectql 3 failed | 94 passed, exactly the three admitted legs (registry both orders, metadata-API publish), so the door arm is load-bearing. Compare worktree reset with `git checkout HEAD --` (status clean) and removed.",
"gates": "Derived via `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` (tree 24cc61fa, working-tree change set): 121 families, all run locally, exit captured before any pipe. `--ran` with recorded exits: '121 derived famil(ies) accounted for, 118 run, 3 NOT-MEASURED (3 DERIVED from a recorded exit 3)'. Exit 0: 117. NOT MEASURED (exit 3, prerequisite: dists not built in this tree): `check:skill-examples` (client-react dist), `check:dual-build-cjs-loads` (80 package dists), `check:lean-entry-closure` (objectql dist/core). RED exit 1, not this diff: `check:platform-checklist`, 'platform-core.seed-mode-matrix: VARIANTS STALE, SeedMode in packages/spec/src/data/seed.zod.ts now has 0 members', and this diff touches neither seed.zod.ts nor docs/qa. `pnpm --filter @objectstack/spec check:generated`: 3 of 14 stale (api-surface, export-origins, docs), `--fix` regenerated those 3 (VERDICT command-exit 0); re-check green as part of the 121. `node scripts/check-nul-bytes.mjs` exit 0. `node scripts/pm/overlap-check.mjs` before the push: the first run exited 3 (PREREQUISITE NOT MET, HTTP 502 reading the files of #33916); the rerun exited 0 ('VERDICT clean': origin/main 35c63310 merges cleanly, PR #35362 merges cleanly). PR check-runs at report time on 76fb831b: 4 skipped by their selectors (Borrowed queue verdict, Queue verdict, Schedule gate, two opt-in jobs); every required family, including the Lint and Type Check lanes, Check Changeset, Governed Surface Queue Guard and Spec property liveness, was in_progress or queued. That is an honest in_progress, and CI convergence is the PM's to read.",
"dogfood_battery": "n/a: no `!` in the planned title and no (narrowing) arm (claim line is `Clause-②: yes`)",
"mcp_calls": "0",
"api_writes": "3 — POST /repos/objectstack-ai/objectstack/issues/35045/comments (report 7002876436, blocked); POST /repos/objectstack-ai/objectstack/pulls plus POST /repos/objectstack-ai/objectstack/issues/35387/assignees (one pr_create action through the relay, assignee os-bill, read back identical); POST /repos/objectstack-ai/objectstack/issues/35045/comments (this report). Also two `git push` of the card branch (the empty probe, then 76fb831b), which are not REST writes.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: seat · noted, not filed: `skills/objectstack-data/evals/objects-fields-relationships.json` eval 20's expected_output ends '`dynamic` is admitted only on a roll-up of a home amount (defineStack / os validate refuses it over any other child field)', which is now narrower than the platform. Its assertions do not read that sentence, and `skills/**` is a governed Tier H surface outside this card.",
"carrier: seat (renderer lane) · noted, not filed: comments in ui/packages/fields/src/currency.ts:58, index.tsx:2881 and widgets/SummaryField.tsx:64 still describe the `dynamic` summary as 'a roll-up of a stored home amount'. Behaviour is right (`summaryDeclaresCurrency` answers true for any `dynamic` summary); the comment is narrow, and renderers are fenced out.",
"carrier: none · noted: `check:platform-checklist` is red on base 24cc61fa (platform-core.seed-mode-matrix VARIANTS STALE vs SeedMode 0 members). It comes from another lane's change to seed.zod.ts, not from this diff."
],
"line_budget": "453 changed lines (309 added, 144 deleted) over 18 files incl. 4 regenerated, under the ~500 stop line; not a skills/** diff, so no ratchet ledger applies",
"deviations": [
"The first 3 commit attempts were refused by the auto-mode classifier (see report 7002876436). The coordinator's single retry, a plain `git commit -F msgfile`, passed. No other spelling was tried, and no model-named trailer was used.",
"I did not merge origin/main before opening the PR (AGENTS.md multi-agent section 10). Main moved 10 commits in packages/spec and packages/objectql, in files this diff does not touch (approval-service contract, aggregate-field-type door). overlap-check reads a clean merge, and PR CI runs on the merge ref. I avoided a second commit, the merge commit, to stay within the one authorised retry.",
"No ablation in the prescribed form (the fix was uncommitted while it was measured). I ran reverse verification in a separate base worktree instead; the readings are in `tests`.",
"Maintainer brief written in the four-line form from seat-practice.md section 1, which the dispatch names, not os-dev.md's six-line form. The dispatch and os-dev.md conflict here; I followed the maintainer's newer practice note.",
"The extra file surface is accepted by claim amendment 7002901285."
],
"files_changed": [
"packages/spec/src/data/record-currency-path.ts",
"packages/spec/src/stack.zod.ts",
"packages/spec/src/data/object.zod.ts",
"packages/spec/src/data/field.zod.ts",
"packages/objectql/src/record-currency-aggregate-door.ts",
"packages/spec/src/data/currency-summary-home-rollup.test.ts",
"packages/spec/src/data/currency-config-record-mode.test.ts",
"packages/objectql/src/record-currency-guards.test.ts",
"packages/objectql/src/protocol-batch-object-registration.test.ts",
"packages/spec/liveness/field.json",
"packages/spec/api-surface/data.json",
"packages/spec/export-origins/data.json",
"content/docs/references/data/field.mdx",
"content/docs/references/data/object.mdx",
"content/docs/references/system/migration.mdx",
"content/docs/data-modeling/currency.mdx",
"content/docs/data-modeling/field-types.mdx",
".changeset/35045-dynamic-summary-tenant-child.md"
],
"head": "76fb831b21a0a33437622b3828730967f54a50fc",
"A1": "Holds. (d) is decided in two sites that read a predicate: spec `collectRecordCurrencyPathErrors` case (d) in stack.zod.ts (it was `storedHomeAmountSourceOf(child, ops.field) === undefined`) and the objectql door at both orders (~:620 at the parent, ~:672 at the child). A grep of `storedHomeAmountSourceOf` / `recordCurrencyDynamicRollupNotHomeError` / 'is not a stored home amount' finds no third deciding site. The object door (`refuseUnadmittedSummaryCurrency`, object.zod.ts) already passes a `dynamic` summary that names a child field and no `defaultCurrency`; only its message text named the old set. All three now read or state `isTenantCurrencyAmount`, so one predicate decides both deciding sites.",
"A2": "Plain dynamic child = `type: 'currency'` with `currencyConfig` absent, or `currencyMode` absent or 'dynamic'; `readonly`, `expression` and `defaultCurrency` are not read. This is a superset of the stored home amount (isStoredHomeField is currency + dynamic + readonly + no expression). Summary-of-summary: kept REFUSED and pinned (a child `summary` declaring `dynamic` is refused with \"is a 'summary' field, not a `currency` field in `dynamic` mode\"). Reasons: the ruling names a plain dynamic child amount; a summary is not a `currency` field; and contract review N3 left the nested total as a follow-up 'if a consumer needs' it. Admitting it would be one more arm in isTenantCurrencyAmount (type summary with a dynamic currencyConfig) and needs the seat's word.",
"A3": "Holds. Legs that pinned today's refusal of a plain dynamic child were flipped: spec plain `note_amount`, the plain readonly field of a home-less record amount, and the N7 forged-homeAmount legs over plain amounts (writable, computed, double-claimed); objectql the writable-home-field re-save (now admitted; the de-currency re-save leg was moved to a `number`, so the R7 refusal leg still bites). The 'is not a stored home amount' strings were reworded where the leg is still a refusal (number, formula). Record-mode and fixed refusals were kept unchanged as controls in spec, objectql registry and metadata-API publish.",
"report_supersedes": "https://github.com/objectstack-ai/objectstack/issues/35045#issuecomment-7002876436"
}
Delivered (ruling A, 7000258793): a sum / min / max / avg summary may declare dynamic currency over any plain currency child field in dynamic mode (isTenantCurrencyAmount), at both doors (defineStack and the engine registry, either registration order). record / fixed children, number, formula and summary children stay refused.
Follow-ups: #35409 (p3, L2 nits N2–N4); the skills text (eval 20 + rules/field-types.md) is seat 5's. #35046 (the derived-measure half) is next in data-2.
State: pm:dispatched removed; card closed.
Activity
objectstack-fleet commentedon Nov 18, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
First touch (R1207, 00:5xZ): p2 · domain:spec →
pm:queue.Theme: zh-CN customers / HotCRM (hotcrm#2569, tenant currency CNY). A summary over a plain tenant-currency amount cannot declare
currencyMode: 'dynamic'. That is an expressiveness gap HotCRM met while building, not a break of something that worked, and HotCRM is not named as waiting on it. So p2, the same footing as feature cards.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ
Seat ruling record · 2026-11-19T05:03Z
Ruling-ref: maintainer 2026-11-19T05:03Z on seat 5's decision card for #35045 + #35046, option chosen verbatim: 「A 合计声明,度量自动跟随」. Analysis: project file
objectstack-seat5/area-ux/data-2/decision-35045-35046-34938.md.Reading adopted: a plain
dynamicchild amount is in the tenant currency by definition (ADR-0144 D6 / D8 rule 5 as written), so a total of such amounts is too. No ADR-0144 decision changes; an add-only dated note under D6 may record the reading.Execution (area data-2, lease
data-2, two PRs in order, one ruling):currencyMode: 'dynamic'is refused unless the child is a stored home amount #35045: asummaryover a stored plain tenant-currency (dynamic) child amount admitscurrencyConfig.currencyMode: 'dynamic'. Loosening, soClause-②: yes. The console already formats it (summaryDeclaresCurrency), so no renderer change is expected.enrichResultColumns). This card moves todomain:serverand stays in data-2.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CajiB6BSQKWowy6YLB
Claim: PM loop round 3 · area data-2 (ruled: maintainer 2026-11-19T05:03Z 「A 合计声明,度量自动跟随」, seat ruling record 7000258793) · 2026-11-19T06:21Z
Area: data-2
Session:
session_01Utp6CajiB6BSQKWowy6YLBAccount:
os-billBranch:
claude/issue-35045-dynamic-summary-tenant-childWorktree:
objectstack-issue-35045Domain:
domain:specSeat:
repo:objectstack#5File surface:
packages/spec/src/data/record-currency-path.ts(thedynamic-summary admission predicate and its message), thefield.zod.tscurrencyConfigdescribe text only where it states the admission,packages/objectql/src/record-currency-aggregate-door.ts(the registration arm that mirrors it), their tests, generated reference pages the spec build regenerates, root.changeset/. ⛔ Nodocs/adr/**(the optional dated D6 note is a separate Tier H edit), no analytics /service-analytics(#35046, next), no renderer change. Stop on breach and report.Container & model:
M,mode:subagent,model: default — no path-derived mandate,effort: highClause-②: yes
Metadata-protocol: none
Responsibility:
packages/spec+objectqlin objectstack refusecurrencyMode: 'dynamic'on asummaryover a plain tenant-currency (dynamic) child amount, so the total renders bare beside currency cells; no platform path covers it; every package author totalling tenant-currency amounts (HotCRM: 17 summaries)Thread-read: 7000258793
Premise: holds — on
origin/main:recordCurrencyDynamicRollupNotHomeError(record-currency-path.ts) and the door'sstoredHomeAmountSourceOf(...) !== undefinedarms (record-currency-aggregate-door.ts) admitdynamiconly over a stored home amountSerial constraints cleared: none — no open PR touches
record-currency-path.ts,record-currency-aggregate-door.tsorfield.zod.ts(live read of all 48 open PRs' files at claim time)Pre-claim lane:
domain:spec(packages/spec/**, with thepackages/objectqlmirror arm in the same defect; kept in lane under area-lease 留道)Pre-claim deps: none named; #35046 follows this PR (same ruling, two PRs in order)
Prior rulings read: currencyMode dynamic, summary, home amount, tenant currency → ruling record 7000258793 binds (a plain
dynamicchild is tenant currency by definition; no ADR-0144 decision changes; no published default changes: a summary declaring nothing still has no currency); prior refusal lineage seat ruling 6746006322 (#31958) and lane decision 6890000941 (#33659 / PR #33710), contract review 6890873219 N3 named this follow-up; ADR-0144 D6 / D8 rule 5 read as written; none conflictsobjectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CajiB6BSQKWowy6YLB
os-dev-report
{ "issue": 35045, "status": "blocked", "branch": "claude/issue-35045-dynamic-summary-tenant-child", "pr": null, "session": "session_01Utp6CajiB6BSQKWowy6YLB", "premise_still_valid": true, "summary": "BLOCKED ON ONE THING ONLY THE PM/MAINTAINER CAN CLEAR: the Claude Code auto-mode permission classifier refused every `git commit` in this container (3 attempts, reasons 'Destructive or Unwanted Actions' then 'Undermining Oversight' x2) when the commit carried the model-free trailer pair AGENTS.md requires (Claude-Session + `Co-authored-by: Claude` with the noreply address) instead of the harness-reminder trailer that names a model; I did not retry with other spellings, and did not use the model-named trailer, which the dispatch and AGENTS.md forbid. So nothing is committed, nothing pushed beyond the empty branch probe, no PR. The implementation is complete and verified in the working tree: one new spec predicate `isTenantCurrencyAmount` (a stored `currency` field in `dynamic` mode; a stored home amount is one) is now the (d) admission test in `defineStack` (stack.zod.ts) and in both registration orders of the objectql follow door; refusal text, the object-door admitted list, field.zod describe/JSDoc, the regenerated reference pages, currency.mdx / field-types.mdx, a dated liveness note and a changeset move with it. Record-mode, fixed, number, formula and child-summary children stay refused; a summary declaring nothing still has no currency. The full diff (453 lines, 18 files) sits uncommitted in /home/user/objectstack-issue-35045 (worktree kept, NOT removed) and as /mnt/project-files/objectstack-seat5/area-ux/data-2/wip-35045.patch (sha256 prefix 674dced68fe32549, applies to base 24cc61fa), with a ready PR body at /mnt/project-files/objectstack-seat5/area-ux/data-2/pr-body-35045.md.", "tests": "Working tree on base 24cc61fa (no head sha: no commit landed). `pnpm --filter @objectstack/spec test` Test Files 856 passed (856), Tests 27370 passed | 1 todo; `pnpm --filter @objectstack/objectql test` Test Files 614 passed (614), Tests 13878 passed; printed SPEC_EXIT=0 OQL_EXIT=0 (lock line read 'batch-last-exit 0' because the parts were ';'-joined, so the per-part exits printed are the evidence). Targeted: spec currency-summary-home-rollup + currency-config-record-mode 82/82 VERDICT command-exit 0; objectql record-currency-guards + protocol-batch-object-registration 97/97 VERDICT command-exit 0. `pnpm --filter @objectstack/spec typecheck && pnpm --filter @objectstack/objectql typecheck` VERDICT command-exit 0. Reverse verification instead of ablation (ablation-replace restores from HEAD, and HEAD cannot hold the fix): detached worktree at 24cc61fa with only the new test files copied in -> spec 12 failed | 70 passed (VERDICT command-exit 1; the 5 admitted legs and the reworded refusal legs), objectql (base spec dist rebuilt) 6 failed | 91 passed; then new spec src + base door, spec rebuilt, `ablation-dist-preflight @objectstack/spec 'function isTenantCurrencyAmount'` passed -> objectql 3 failed | 94 passed, exactly the three admitted legs (registry both orders, metadata-API publish), so the door arm is load-bearing. Compare worktree reset with `git checkout HEAD --` (status clean) and removed.", "gates": "Derived via `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` (tree 24cc61fa, working-tree change set): 121 families, all run locally, exit captured before any pipe. `--ran` with recorded exits: '121 derived famil(ies) accounted for, 118 run, 3 NOT-MEASURED (3 DERIVED from a recorded exit 3)'. Exit 0: 117. NOT MEASURED (exit 3, prerequisite: dists not built in this tree): `check:skill-examples` (client-react dist), `check:dual-build-cjs-loads` (80 package dists), `check:lean-entry-closure` (objectql dist/core). RED exit 1, not this diff: `check:platform-checklist`, 'platform-core.seed-mode-matrix: VARIANTS STALE, SeedMode in packages/spec/src/data/seed.zod.ts now has 0 members', and this diff touches neither seed.zod.ts nor docs/qa. `pnpm --filter @objectstack/spec check:generated`: 3 of 14 stale (api-surface, export-origins, docs), `--fix` regenerated those 3 (VERDICT command-exit 0); re-check green as part of the 121. `node scripts/check-nul-bytes.mjs` exit 0. `node scripts/pm/overlap-check.mjs`: NOT MEASURED, because it reads committed work only and nothing is committed. CI check-runs: none, because there is no PR.", "dogfood_battery": "n/a: no `!` in the planned title and no (narrowing) arm (claim line is `Clause-②: yes`)", "mcp_calls": "0", "api_writes": "1 — POST /repos/objectstack-ai/objectstack/issues/35045/comments (this os-dev-report, via post-stamped.mjs through the fleet-write relay). Also one `git push` of the empty branch (not a REST write)", "open_questions": [ { "question": "How should commits from this container land, given that the auto-mode classifier refuses a commit carrying AGENTS.md's model-free trailer pair?", "options": [ "A: the maintainer or seat allows the commit (permission rule or a manual commit) and the seat applies wip-35045.patch onto the branch, pushes and opens the draft PR with pr-body-35045.md", "B: re-dispatch to a container whose permission mode allows the model-free trailer", "C: commit with the harness's model-named trailer (forbidden by AGENTS.md, the dispatch and the pre-push hook; not recommended)" ], "recommendation": "A, because the work is finished and verified, and the patch applies to base 24cc61fa as one diff." }, { "question": "Metadata-protocol declaration: the claim says `none`, but measured on the diff this admits one more accepted declaration on an existing key (`currencyMode: 'dynamic'` on a summary over a plain dynamic child). AGENTS.md classes 'a new ... accepted value' as `added`, and the decision file's own Clause-② analysis says `added` / `@objectstack/spec` minor.", "options": [ "A: keep the claim's lines verbatim (as written now: `Clause-②: yes`, `Metadata-protocol: none`, both packages patch)", "B: seat amends the claim to `Clause-②: yes (widening)` / `Metadata-protocol: added`, and the changeset takes `@objectstack/spec: minor`" ], "recommendation": "B, because AGENTS.md's kind table reads a newly accepted declaration as `added`, and the published-export addition `isTenantCurrencyAmount` is a widening. I copied the claim verbatim per os-dev and report the difference here." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: seat (claim surface) · noted, not filed: the diff reaches beyond the claim's enumerated file surface, in the same defect: `packages/spec/src/stack.zod.ts` (the (d) caller dispatch A1 names, its call site and docblock), `packages/spec/src/data/object.zod.ts` (the object door's admitted-currencies refusal text, which this change would otherwise make false), `content/docs/data-modeling/currency.mdx` + `field-types.mdx` (hand-written pages stating the old refusal), `packages/spec/liveness/field.json` (dated WIDENED line, the ledger's convention for each change of this row), and `api-surface/data.json` + `export-origins/data.json` (regenerated for the new export). I am declaring this as a deviation, not hiding it.", "carrier: seat · noted, not filed: `skills/objectstack-data/evals/objects-fields-relationships.json` eval 20's expected_output ends '`dynamic` is admitted only on a roll-up of a home amount (defineStack / os validate refuses it over any other child field)', which is now narrower than the platform. Its assertions do not read that sentence, and `skills/**` is a governed Tier H surface outside this card.", "carrier: seat (renderer lane) · noted, not filed: comments in ui/packages/fields/src/currency.ts:58, index.tsx:2881 and widgets/SummaryField.tsx:64 still describe the `dynamic` summary as 'a roll-up of a stored home amount'. Behaviour is right (`summaryDeclaresCurrency` answers true for any `dynamic` summary); the comment is narrow, and renderers are fenced out.", "carrier: none · noted: `check:platform-checklist` is red on base 24cc61fa (platform-core.seed-mode-matrix VARIANTS STALE vs SeedMode 0 members). It comes from another lane's change to seed.zod.ts, not from this diff." ], "line_budget": "453 changed lines (309 added, 144 deleted) over 18 files incl. 4 regenerated, under the ~500 stop line; not a skills/** diff, so no ratchet ledger applies", "deviations": [ "No commit, push of work, PR or draft: the auto-mode classifier refused `git commit` 3 times (commands: `git add -A && git commit -m ...` -> 'Destructive or Unwanted Actions'; `git commit -F msg` and `git commit -m ... --trailer 'Claude-Session: ...' --trailer 'Co-authored-by: Claude' (noreply address)` -> 'Undermining Oversight'). I stopped there and tried no other trailer spelling.", "Ablation not run in the prescribed form (ablation-replace restores from HEAD, and HEAD does not hold the fix). I substituted reverse verification in a separate base worktree; readings are in `tests`.", "File surface beyond the claim's list: see out_of_scope_findings[0].", "Maintainer brief written in the four-line form (seat-practice.md section 1, which the dispatch names), not os-dev.md's six-line form. The dispatch and os-dev.md conflict here; the maintainer's newer practice note was followed.", "`Metadata-protocol: none` copied verbatim from the claim, although the measurement reads `added`: see open_questions[1]." ], "files_changed": [ "packages/spec/src/data/record-currency-path.ts", "packages/spec/src/stack.zod.ts", "packages/spec/src/data/object.zod.ts", "packages/spec/src/data/field.zod.ts", "packages/objectql/src/record-currency-aggregate-door.ts", "packages/spec/src/data/currency-summary-home-rollup.test.ts", "packages/spec/src/data/currency-config-record-mode.test.ts", "packages/objectql/src/record-currency-guards.test.ts", "packages/objectql/src/protocol-batch-object-registration.test.ts", "packages/spec/liveness/field.json", "packages/spec/api-surface/data.json", "packages/spec/export-origins/data.json", "content/docs/references/data/field.mdx", "content/docs/references/data/object.mdx", "content/docs/references/system/migration.mdx", "content/docs/data-modeling/currency.mdx", "content/docs/data-modeling/field-types.mdx", ".changeset/35045-dynamic-summary-tenant-child.md" ], "head": "none: uncommitted on base 24cc61fabd9cf9b1d83458869786115db16ee1d7; the remote branch holds only that base (empty probe push)", "A1": "Holds. (d) is decided in two sites that read a predicate: spec `collectRecordCurrencyPathErrors` case (d) in stack.zod.ts (it was `storedHomeAmountSourceOf(child, ops.field) === undefined`) and the objectql door at both orders (~:620 at the parent, ~:672 at the child). A grep of `storedHomeAmountSourceOf` / `recordCurrencyDynamicRollupNotHomeError` / 'is not a stored home amount' finds no third deciding site. The object door (`refuseUnadmittedSummaryCurrency`, object.zod.ts) already passes a `dynamic` summary that names a child field and no `defaultCurrency`; only its message text named the old set. All three now read or state `isTenantCurrencyAmount`, so one predicate decides both deciding sites.", "A2": "Plain dynamic child = `type: 'currency'` with `currencyConfig` absent, or `currencyMode` absent or 'dynamic'; `readonly`, `expression` and `defaultCurrency` are not read. This is a superset of the stored home amount (isStoredHomeField is currency + dynamic + readonly + no expression). Summary-of-summary: kept REFUSED and pinned (a child `summary` declaring `dynamic` is refused with \"is a 'summary' field, not a `currency` field in `dynamic` mode\"). Reasons: the ruling names a plain dynamic child amount; a summary is not a `currency` field; and contract review N3 left the nested total as a follow-up 'if a consumer needs' it. Admitting it would be one more arm in isTenantCurrencyAmount (type summary with a dynamic currencyConfig) and needs the seat's word.", "A3": "Holds. Legs that pinned today's refusal of a plain dynamic child were flipped: spec plain `note_amount`, the plain readonly field of a home-less record amount, and the N7 forged-homeAmount legs over plain amounts (writable, computed, double-claimed); objectql the writable-home-field re-save (now admitted; the de-currency re-save leg was moved to a `number`, so the R7 refusal leg still bites). The 'is not a stored home amount' strings were reworded where the leg is still a refusal (number, formula). Record-mode and fixed refusals were kept unchanged as controls in spec, objectql registry and metadata-API publish." }objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CajiB6BSQKWowy6YLB
Claim amendment · area data-2 · 2026-11-19T07:38Z
Area: data-2
Clause-②: yes (widening)
Metadata-protocol: added
Why: measured on the diff (os-dev-report 7002876436), a
summarymay now declarecurrencyMode: 'dynamic'over a plain tenant-currency child, a newly accepted declaration (AGENTS.md: a new accepted value isadded, level at leastminoron@objectstack/spec), andisTenantCurrencyAmountis a new published export.File surface (adds to claim 7001536938, same defect):
packages/spec/src/stack.zod.ts(the (d) call site),packages/spec/src/data/object.zod.ts(refusal text only),packages/spec/liveness/field.json(dated WIDENED line), regeneratedapi-surface/data.json/export-origins/data.json/ reference pages, andcontent/docs/data-modeling/currency.mdx+field-types.mdx(stated the old refusal).Kept refused (dev's reading, seat agrees): a child
summarydeclaringdynamic(summary-of-summary), record-mode, fixed, number and formula children.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CajiB6BSQKWowy6YLB
os-dev-report
{ "issue": 35045, "status": "done", "branch": "claude/issue-35045-dynamic-summary-tenant-child", "pr": "https://github.com/objectstack-ai/objectstack/pull/35387", "session": "session_01Utp6CajiB6BSQKWowy6YLB", "premise_still_valid": true, "summary": "Implemented, committed and opened as draft PR #35387, head 76fb831b. Supersedes os-dev-report 7002876436 (blocked). The commit landed on the coordinator's single retry: a plain `git commit -F msgfile` with the model-free trailer pair inside the file, which passed. One new spec predicate, `isTenantCurrencyAmount` (a stored `currency` field in `dynamic` mode; a stored home amount is one such field), is now the case (d) admission test in `defineStack` (stack.zod.ts) and in both registration orders of the objectql follow door. Moved with it: the refusal text, the object door's admitted list, the field.zod describe and JSDoc, the regenerated reference pages, currency.mdx and field-types.mdx, a dated liveness note, and a changeset (`@objectstack/spec` minor, `@objectstack/objectql` patch). Its declaration lines are `Clause-②: yes (widening)`, `Metadata-protocol: added` and `Skills-docs: follow-up owed`, per claim amendment 7002901285. Record-mode, fixed, number, formula and child-summary children stay refused. A summary that declares nothing still has no currency.", "tests": "Readings taken on the working tree that became 76fb831b (the commit added only the changeset's level and declaration lines after these runs). Working tree on base 24cc61fa (no head sha: no commit landed). `pnpm --filter @objectstack/spec test` Test Files 856 passed (856), Tests 27370 passed | 1 todo; `pnpm --filter @objectstack/objectql test` Test Files 614 passed (614), Tests 13878 passed; printed SPEC_EXIT=0 OQL_EXIT=0 (lock line read 'batch-last-exit 0' because the parts were ';'-joined, so the per-part exits printed are the evidence). Targeted: spec currency-summary-home-rollup + currency-config-record-mode 82/82 VERDICT command-exit 0; objectql record-currency-guards + protocol-batch-object-registration 97/97 VERDICT command-exit 0. `pnpm --filter @objectstack/spec typecheck && pnpm --filter @objectstack/objectql typecheck` VERDICT command-exit 0. Reverse verification instead of ablation (ablation-replace restores from HEAD, and HEAD cannot hold the fix): detached worktree at 24cc61fa with only the new test files copied in -> spec 12 failed | 70 passed (VERDICT command-exit 1; the 5 admitted legs and the reworded refusal legs), objectql (base spec dist rebuilt) 6 failed | 91 passed; then new spec src + base door, spec rebuilt, `ablation-dist-preflight @objectstack/spec 'function isTenantCurrencyAmount'` passed -> objectql 3 failed | 94 passed, exactly the three admitted legs (registry both orders, metadata-API publish), so the door arm is load-bearing. Compare worktree reset with `git checkout HEAD --` (status clean) and removed.", "gates": "Derived via `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` (tree 24cc61fa, working-tree change set): 121 families, all run locally, exit captured before any pipe. `--ran` with recorded exits: '121 derived famil(ies) accounted for, 118 run, 3 NOT-MEASURED (3 DERIVED from a recorded exit 3)'. Exit 0: 117. NOT MEASURED (exit 3, prerequisite: dists not built in this tree): `check:skill-examples` (client-react dist), `check:dual-build-cjs-loads` (80 package dists), `check:lean-entry-closure` (objectql dist/core). RED exit 1, not this diff: `check:platform-checklist`, 'platform-core.seed-mode-matrix: VARIANTS STALE, SeedMode in packages/spec/src/data/seed.zod.ts now has 0 members', and this diff touches neither seed.zod.ts nor docs/qa. `pnpm --filter @objectstack/spec check:generated`: 3 of 14 stale (api-surface, export-origins, docs), `--fix` regenerated those 3 (VERDICT command-exit 0); re-check green as part of the 121. `node scripts/check-nul-bytes.mjs` exit 0. `node scripts/pm/overlap-check.mjs` before the push: the first run exited 3 (PREREQUISITE NOT MET, HTTP 502 reading the files of #33916); the rerun exited 0 ('VERDICT clean': origin/main 35c63310 merges cleanly, PR #35362 merges cleanly). PR check-runs at report time on 76fb831b: 4 skipped by their selectors (Borrowed queue verdict, Queue verdict, Schedule gate, two opt-in jobs); every required family, including the Lint and Type Check lanes, Check Changeset, Governed Surface Queue Guard and Spec property liveness, was in_progress or queued. That is an honest in_progress, and CI convergence is the PM's to read.", "dogfood_battery": "n/a: no `!` in the planned title and no (narrowing) arm (claim line is `Clause-②: yes`)", "mcp_calls": "0", "api_writes": "3 — POST /repos/objectstack-ai/objectstack/issues/35045/comments (report 7002876436, blocked); POST /repos/objectstack-ai/objectstack/pulls plus POST /repos/objectstack-ai/objectstack/issues/35387/assignees (one pr_create action through the relay, assignee os-bill, read back identical); POST /repos/objectstack-ai/objectstack/issues/35045/comments (this report). Also two `git push` of the card branch (the empty probe, then 76fb831b), which are not REST writes.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: seat · noted, not filed: `skills/objectstack-data/evals/objects-fields-relationships.json` eval 20's expected_output ends '`dynamic` is admitted only on a roll-up of a home amount (defineStack / os validate refuses it over any other child field)', which is now narrower than the platform. Its assertions do not read that sentence, and `skills/**` is a governed Tier H surface outside this card.", "carrier: seat (renderer lane) · noted, not filed: comments in ui/packages/fields/src/currency.ts:58, index.tsx:2881 and widgets/SummaryField.tsx:64 still describe the `dynamic` summary as 'a roll-up of a stored home amount'. Behaviour is right (`summaryDeclaresCurrency` answers true for any `dynamic` summary); the comment is narrow, and renderers are fenced out.", "carrier: none · noted: `check:platform-checklist` is red on base 24cc61fa (platform-core.seed-mode-matrix VARIANTS STALE vs SeedMode 0 members). It comes from another lane's change to seed.zod.ts, not from this diff." ], "line_budget": "453 changed lines (309 added, 144 deleted) over 18 files incl. 4 regenerated, under the ~500 stop line; not a skills/** diff, so no ratchet ledger applies", "deviations": [ "The first 3 commit attempts were refused by the auto-mode classifier (see report 7002876436). The coordinator's single retry, a plain `git commit -F msgfile`, passed. No other spelling was tried, and no model-named trailer was used.", "I did not merge origin/main before opening the PR (AGENTS.md multi-agent section 10). Main moved 10 commits in packages/spec and packages/objectql, in files this diff does not touch (approval-service contract, aggregate-field-type door). overlap-check reads a clean merge, and PR CI runs on the merge ref. I avoided a second commit, the merge commit, to stay within the one authorised retry.", "No ablation in the prescribed form (the fix was uncommitted while it was measured). I ran reverse verification in a separate base worktree instead; the readings are in `tests`.", "Maintainer brief written in the four-line form from seat-practice.md section 1, which the dispatch names, not os-dev.md's six-line form. The dispatch and os-dev.md conflict here; I followed the maintainer's newer practice note.", "The extra file surface is accepted by claim amendment 7002901285." ], "files_changed": [ "packages/spec/src/data/record-currency-path.ts", "packages/spec/src/stack.zod.ts", "packages/spec/src/data/object.zod.ts", "packages/spec/src/data/field.zod.ts", "packages/objectql/src/record-currency-aggregate-door.ts", "packages/spec/src/data/currency-summary-home-rollup.test.ts", "packages/spec/src/data/currency-config-record-mode.test.ts", "packages/objectql/src/record-currency-guards.test.ts", "packages/objectql/src/protocol-batch-object-registration.test.ts", "packages/spec/liveness/field.json", "packages/spec/api-surface/data.json", "packages/spec/export-origins/data.json", "content/docs/references/data/field.mdx", "content/docs/references/data/object.mdx", "content/docs/references/system/migration.mdx", "content/docs/data-modeling/currency.mdx", "content/docs/data-modeling/field-types.mdx", ".changeset/35045-dynamic-summary-tenant-child.md" ], "head": "76fb831b21a0a33437622b3828730967f54a50fc", "A1": "Holds. (d) is decided in two sites that read a predicate: spec `collectRecordCurrencyPathErrors` case (d) in stack.zod.ts (it was `storedHomeAmountSourceOf(child, ops.field) === undefined`) and the objectql door at both orders (~:620 at the parent, ~:672 at the child). A grep of `storedHomeAmountSourceOf` / `recordCurrencyDynamicRollupNotHomeError` / 'is not a stored home amount' finds no third deciding site. The object door (`refuseUnadmittedSummaryCurrency`, object.zod.ts) already passes a `dynamic` summary that names a child field and no `defaultCurrency`; only its message text named the old set. All three now read or state `isTenantCurrencyAmount`, so one predicate decides both deciding sites.", "A2": "Plain dynamic child = `type: 'currency'` with `currencyConfig` absent, or `currencyMode` absent or 'dynamic'; `readonly`, `expression` and `defaultCurrency` are not read. This is a superset of the stored home amount (isStoredHomeField is currency + dynamic + readonly + no expression). Summary-of-summary: kept REFUSED and pinned (a child `summary` declaring `dynamic` is refused with \"is a 'summary' field, not a `currency` field in `dynamic` mode\"). Reasons: the ruling names a plain dynamic child amount; a summary is not a `currency` field; and contract review N3 left the nested total as a follow-up 'if a consumer needs' it. Admitting it would be one more arm in isTenantCurrencyAmount (type summary with a dynamic currencyConfig) and needs the seat's word.", "A3": "Holds. Legs that pinned today's refusal of a plain dynamic child were flipped: spec plain `note_amount`, the plain readonly field of a home-less record amount, and the N7 forged-homeAmount legs over plain amounts (writable, computed, double-claimed); objectql the writable-home-field re-save (now admitted; the de-currency re-save leg was moved to a `number`, so the R7 refusal leg still bites). The 'is not a stored home amount' strings were reworded where the leg is still a refusal (number, formula). Record-mode and fixed refusals were kept unchanged as controls in spec, objectql registry and metadata-API publish.", "report_supersedes": "https://github.com/objectstack-ai/objectstack/issues/35045#issuecomment-7002876436" }objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CajiB6BSQKWowy6YLB
Closed-out · area data-2 · 2026-11-19T09:37Z
b7d24749(Fixes #35045; this card closed completed)Clause-②: yes (widening),Metadata-protocol: added, spec minor); L1-a ACCEPT 7003755311Delivered (ruling A, 7000258793): a
sum/min/max/avgsummary may declaredynamiccurrency over any plaincurrencychild field indynamicmode (isTenantCurrencyAmount), at both doors (defineStackand the engine registry, either registration order).record/fixedchildren,number,formulaandsummarychildren stay refused.Follow-ups: #35409 (p3, L2 nits N2–N4); the skills text (eval 20 +
rules/field-types.md) is seat 5's. #35046 (the derived-measure half) is next in data-2.State:
pm:dispatchedremoved; card closed.