Skip to content

docs(skills): lookupAutofill copies a currency amount only between fields in the same currency - #37044

Merged
objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-36349-lookupautofill-currency
Nov 24, 2026
Merged

objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-36349-lookupautofill-currency

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Fixes #36349
Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:用户无感;读「数据建模」技能的 AI 助手现在知道,选取关联记录时金额只在两边币种相同的情况下才会自动带出,不同币种时目标字段保持原值并说明原因,平台不做换算。
  • 为什么做:这是「选产品不跨币种抄价格」那项改动欠下的技能文字,替按技能写应用的 AI 助手补上,免得它继续承诺一定会带出价格。
  • 出错会怎样:只是技能里的两句说明、一处指引和几处表格用词,不影响任何运行行为;可以直接撤回这一个合并。
  • 要你做什么:无。

What changes

skills/objectstack-data/rules/field-types.md, the lookupAutofill paragraph. It ended at the sentence about the grid's same-named autofill copy and stated no currency condition. Two sentences are appended there, covering the declared pair and the same-named copy together:

Either copy moves a currency amount only between fields in the same currency (fixed or per-record); else the target is left as it was and the form says why. Nothing is converted.

This is what the merged code does (crossCurrencyRefusal and judgePickWrites in ui/packages/fields/src/widgets/lookupAutofill.ts, used by the record form and by the grid's planLookupAutofill; the spec describe of FieldSchema.lookupAutofill states the same rule for both copies).

skills/objectstack-data/rules/relationships.md, the "Catalog auto-fill" bullet (the grid's same-named copy), now ends "picking a record fills those cells (a currency amount only in the same currency: field-types.md → lookupAutofill)": a pointer to the sentence above instead of a second statement of the rule. It fits that file's headroom (4180 to 4202 of 4203 tokens); nothing was deleted there.

field-types.md sat at its token ceiling (3541 of 3541), so its sentences are paid for in the same file, by deletion and with no ceiling moved:

  • the paragraph's own example is shortened from the full pair literal to "unit_price from a product's list_price" (the heading already spells the pair shape), and "(single-value lookup / master_detail)" becomes "(single-value only)" (the table rows directly above name the two types);
  • fourteen "When to Use" cells that only restated the type name lose the restating words: date, time, datetime, number, file, markdown, html, richtext, boolean, signature, location, avatar, tags, slider keep a shorter cell with the same meaning (for example "Date only (no time component)" is now "Date only").

Published-skill size, measured at b01d8f97e9 (before) and a141c91fb2 (after): rules/field-types.md lines 267 / 270; rules/field-types.md tokens 3541 / 3540 (ceiling 3541); rules/relationships.md tokens 4180 / 4202 (ceiling 4203); whole skills/ tree lines 22996 / 23000; whole bundle tokens 294236 / 294257.

A patch changeset for @objectstack/skills is included: the skill text ships in that package.

Read first: the appended sentence (the risk is a promise the runtime does not keep); then the trimmed table cells (the risk is a lost hint).

Tests

No code or test changes. No case under skills/objectstack-data/evals/ mentions lookupAutofill or the grid autofill copy, so no eval asserts the old promise and none was edited. The evals are model-graded fixtures and were not run live here: NOT MEASURED, reason: no local runner.

Local gates at a141c91

The gate list was derived with node scripts/pm/dispatch-gates.mjs --commands (48 families). 43 ran and exited 0, among them:

  • node scripts/check-skills-token-ratchet.mjs: exit 0, "60 authored bundle file(s) within their ceilings"; the rows read field-types.md 3540 / 3541 (-1) and relationships.md 4202 / 4203 (-1)
  • pnpm --filter @objectstack/spec run check:skill-served-sections, pnpm check:skill-links, pnpm check:skill-identifier-liveness, pnpm check:skill-compatibility, pnpm check:skill-frame-sync, pnpm check:doc-authoring, pnpm check:nul-bytes, pnpm check:pm-skill-id-lint, pnpm check:role-word: exit 0
  • node scripts/check-empty-changeset.mjs --base origin/main, node scripts/check-changeset-no-major.mjs --base origin/main, node scripts/check-adr-0087-registration.mjs --base origin/main, pnpm check:published-files: exit 0

Five exited 3 (PREREQUISITE NOT MET, they read built output and nothing was built for a text-only diff) and are NOT MEASURED locally, left to CI: check:doc-formula-expressions, check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content.

node scripts/pm/overlap-check.mjs at a141c91: "VERDICT clean exit 0" against origin/main and against the other open pull that edits both files.

Acceptance notes

  • The card's wording is "the target stays empty". The merged code leaves the target as it was: empty on a fresh line, and holding its earlier value on a re-pick or an overwrite: true pair. The sentence says "left as it was" so that it promises only what the runtime does.
  • "The same currency" also covers two amounts that both sit in the home currency (neither declares one), which copy as before.
  • The rule also has finer cases the sentence does not spell out (a target whose record holds no code yet, a parent code that could not be read): each is the same outcome, target left as it was with a stated reason.
  • The grid's catalog auto-fill bullet points at the field-types sentence rather than restating it. The grid leaves a refused cell as it was and shows a note under the line (planLookupAutofill's withheld list, drawn by GridFieldWidget).

Verification

node scripts/check-skills-token-ratchet.mjs prints field-types.md 3540 / 3541 (-1) and relationships.md 4202 / 4203 (-1) and ends with a line starting with a check mark.


Generated by Claude Code

… currency

The objectstack-data field-types rule states the cross-currency rule the
platform ships: a declared lookupAutofill pair and the grid's same-named
autofill copy move a currency amount only between fields in the same
currency; otherwise the target is left as it was, the form says why, and
nothing is converted. Paid for in the same file by trimming restated
type-name cells.

Claude-Session: https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 24, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review brief — PR #37044 @ a141c91fb23ee32acda15b2ca0a7e687e189ed20 (card #36349)

You review at CONTRACT_REVIEW_TIER. Render ONE ## Contract review record on this head — its shape is
node scripts/pm/record-recognisers.mjs --template — with a PASS or FAIL verdict, and post it as ONE comment
on the PR or its card.

Inputs — these and nothing else:
· card #36349: its body and EVERY comment (rulings and earlier records included)
· PR #37044: its body, its file list, and the net diff against main at a141c91fb23ee32acda15b2ca0a7e687e189ed20
· the check-runs on a141c91fb23ee32acda15b2ca0a7e687e189ed20: their conclusions ARE the gate verdicts
⛔ Not the dispatch order, ⛔ not the dispatching seat's own conclusions — this brief is adversarial by design.

Scope — the paths reviewFace returns as hits on this PR's file list: skills/objectstack-data/rules/field-types.md, skills/objectstack-data/rules/relationships.md;
plus every file IN THIS DIFF that directly implements or enforces them — the gate that enforces a rule, the code
a jsdoc or schema line describes, the validator a skill teaches — reviewed for agreement with the contract.
Widen it freely, ⛔ never below hits; the record's Scope: line names the implementing files apart from hits.
The rest of the diff (tests, unrelated modules, lockfiles, generated output, changesets) is the lane seat's
ACCEPT at TIER_DEFAULT, exactly as a standalone PR of those files.
④ judges the hits files and those implementing files ONLY:
lockfiles, generated output, changesets and prose elsewhere in the PR are not reviewed;
code outside the diff is READ to judge them, never reviewed.

Security — if a hits path is under skills/** or ui/skills/** and the change teaches security, auth or permission
behaviour the path name doesn't show, the record says so and the seat adopting the record adds the security label.
The record says so on its Security-touching: line, and the arm lands on no alone: write no ONLY when no changed
hunk teaches permission, sharing, credential, token, authentication or other security behaviour, else yes.

Rule change — if a hits path is under .claude/**: the PR body declares Rule-change: and you verify it against the diff.
Write Rule-change-verified: none ONLY when no changed hunk alters what an agent may do without the maintainer
(merge, bypass a check, change repository settings), what gets done and in what order (grading, dispatch, scope), or
what must go to him (decisions, maintainer actions); process steps, scripts, wording, slimming and file moves are not rule
changes. Write ruled ONLY when every such hunk copies the ruling the PR body quotes on its Ruling-ref: line — check the
copy against the quoted words, do not re-rule it. Otherwise yes: the pull request then waits for the maintainer.

⛔ READ-ONLY. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs
on the head already answered every derived gate family, and a local run costs more than it returns.
If ONE probe is unavoidable, the record's Local-runs: line says probe — REASON; otherwise none.
Scratch space is /tmp/claude-0/-home-user-objectstack/177ababb-cccd-573a-a846-cda17d8e5bbd/scratchpad/pr-37044/ alone; nothing there you did not write this round is read.

Judge, in the record's own sections:
① Derived judgments — every accept-set and public-surface change the diff implies, each named right or wrong.
② Semver level — the changeset (or skip-changeset) matches what the diff publishes, and the Clause-②: line.
③ Boundary flags — every dev flag and every open_questions entry answered, or escalated.
On every face, SQL push-down: a new id materialisation or in-app join where SQL could push down is a
finding unless a reason is given (AGENTS.md, Prime Directive 5: SQL first).
④ Design judgment — for EVERY hits file: does the change hold against the code it cites and the
scenario it is accepted against? A skill file against the card's eval prompt and the spec it teaches
on main; a schema file against the ruling or ADR it implements and its first consumer; an ADR
against its first consumer and its execution plan. For EVERY implementing file in the diff: does the
code agree with the contract, sentence by sentence? Read the cited code in the live tree, and try to
break the design.
Grade each finding must-fix, should-fix or nit — a nit has no effect on correctness or the contract.
A must-fix is a FAIL; a must-fix or should-fix earns a delta review of its fix; nits alone end the round.
Spell a must-fix or should-fix with its id and grade, S1 (should-fix) — …, and a clean round as
No must-fix, no should-fix.: the queue guard reads a graded finding as OPEN on this head and
refuses the record; the delta record names those it closes by id alone, S1: closed.
A nit is fixed only on the prose faces, or left as an accepted deviation or a follow-up card: a fix
anywhere else moves the head, and this record no longer covers it.
⛔ Judge the tree, never the PR body's account of it.
Sign Implemented-by: with the dev's branch and Reviewed-by: with your session id — the value is the FIRST
thing after each colon.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: a141c91fb23ee32acda15b2ca0a7e687e189ed20
Local-runs: none
Scope: skills/objectstack-data/rules/field-types.md, skills/objectstack-data/rules/relationships.md + none
Security-touching: no
Rule-change-verified: none

Inputs: card #36349 (body and all five comments: triage 7076106190, unlock 7107462804, claim 7138250698, dev reports 7138910104 and 7139209343; the card holds no ruling and no earlier contract record), PR #37044 (body, three-file list, net diff), and the check-runs on the head. Read to judge, not reviewed, on main at b01d8f9: ui/packages/fields/src/widgets/lookupAutofill.ts, GridField.ts, grid-field/GridFieldWidget.tsx, LookupField.tsx, ui/packages/plugin-form/src/recordFormStamp.ts, packages/spec/src/data/field.zod.ts (the lookupAutofill describe and its superRefine), packages/spec/src/stack.zod.ts (lookupAutofillTypeMismatch), and the skill's evals/objects-fields-relationships.json. No file in the diff implements or enforces the two hits paths, so the scope adds none; the changeset is the lane seat's.

① Derived judgments

  • Accept-set: unchanged. The diff holds no schema, validator or gate; what a metadata author can write is the same before and after. Right.
  • Public surface: the shipped text of @objectstack/skills, two rule files. The change takes back a promise the skill made (an unconditional copy) and states what the runtime has done since Showcase EUR invoice: a picked product copies its home-currency price into the line as euros; the edit form's subtotal shows no currency symbol #36249; it adds no key, value or type. Right.
  • Token ceilings: scripts/check-skills-token-ratchet.mjs is not in the diff, so no ceiling moved; the additions are paid inside field-types.md and fit relationships.md's existing headroom. Right, and the gate's own verdict is the check-run below.
  • Gate verdicts on the head, as concluded when read: every lint.yml lane success (Lint · docs & code guards, Lint · repo & tooling gates, Lint · CI, release & engine gates, Lint · PM dispatch-gates, Lint · ESLint, the three scoped lanes, the aggregate Lint & Repo Gates); the four type-check lanes and TypeScript Type Check success; Check Changeset success (both runs); PR-body guards success (both runs); Governed Surface Queue Guard success; Check PR Size, Build Core, Test UI, Live E2E UI, Dogfood Regression Gate success. Not concluded when read: Test Core (1/10) and Test Core (2/10), in progress. The diff holds no code and every gate family a skills text diff derives sits in lint.yml, so they do not bear on this judgment; landing still waits on them.

② Semver level

  • .changeset/36349-skills-lookupautofill-currency.md declares '@objectstack/skills': patch. The diff publishes skill text only and changes nothing an author can write (Metadata-protocol: none), which takes patch under AGENTS.md Post-Task step 3. Right; Check Changeset concluded success.
  • Clause-②: no is right, with no arm: nothing in the diff widens an accept-set or enlarges a public surface, and nothing narrows one. The PR body and the changeset body carry the same two declaration lines.

③ Boundary flags

Dev flags, from reports 7138910104 and 7139209343:

  • Zero token headroom in field-types.md, paid by same-file deletion, fourteen table cells outside the lookupAutofill paragraph included. Answered: the cells are inside the claimed file, no ceiling moved, and each cell is judged under ④; none loses a hint.
  • "left as it was" where the card says "stays empty". Answered, and the dev is right: judgePickWrites leaves a refused write out of the patch, WithheldAutofill.held carries the value a re-pick left in place and the lookup.autofillKept note says the field kept it; the spec describe on main says "left as it is". The card's wording would have promised an emptying the runtime does not do.
  • A changeset outside the claim's named file surface. Answered: owed by AGENTS.md for a published package; correct level.
  • relationships.md edited in rework round 1, beyond the claim's file surface. Answered: it is the dev's own round-0 out-of-scope finding (same family, same package), it is a hits path and is judged under ④, and the single-writer path guard is green on the head. The widening of the claim is the seat's dispatch act.
  • Live eval run NOT MEASURED, against the card's "the skill's evals still pass". Answered: none of the 27 cases in objects-fields-relationships.json has a prompt or an assertion on lookupAutofill, the grid autofill copy or catalog auto-fill. One case reads a trimmed row (case 10 expects type: 'boolean'), and that row still says the boolean is the checkbox. No assertion keys on changed text; accepted as not measured.
  • PR body stale until the seat applies pr_body_changes. Answered: the body read for this record names head a141c91 and carries the relationships.md paragraph.
  • git fetch --deepen on the shared object store, the commit-trailer form, test:repo left to CI, the overlap-check timing against PR docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158. Process flags with no trace in the diff; nothing for the contract. The overlap with docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158 on both files is the seat's to re-check at landing.

open_questions: empty in both reports. Nothing escalated.

SQL push-down: the diff holds no code, so no id materialisation and no in-app join.

④ Design judgment

No must-fix, no should-fix.

skills/objectstack-data/rules/field-types.md, the appended sentences. "Either copy moves a currency amount only between fields in the same currency (fixed or per-record); else the target is left as it was and the form says why. Nothing is converted." Held against the code it describes, clause by clause:

  • "Either copy": the declared pair (planDeclaredLookupAutofill, record form) and the grid's same-named copy plus its declared pairs (planLookupAutofill) both end in judgePickWrites, which applies crossCurrencyRefusal to every candidate write. One rule, both copies.
  • "the same currency (fixed or per-record)": amountCurrencyOf reads the code through resolveFieldCurrency, a fixed code or the code the record (or the followed parent) holds; crossCurrencyRefusal lets a value through only when both sides name the same code, the home currency counting as its configured code.
  • "left as it was": a refused write is absent from plan.patch; nothing clears the target.
  • "the form says why": LookupField draws the lookup-autofill-withheld note under the field, the grid draws a line-items-autofill-withheld-N row under the line, both through withheldAutofillMessage, naming the amount and the currencies. recordFormStamp.ts stamps the target definitions on every record-form layout (ObjectForm, TabbedForm, WizardForm, ModalForm, DrawerForm, MasterDetailForm, EmbeddableForm), so the rule is live wherever the spec says the key is read.
  • "Nothing is converted": no rate is read anywhere on the path; crossCurrencyRefusal refuses an implied rate of 1.
  • Against the spec it teaches: the lookupAutofill describe on main states the same CURRENCY RULE for both copies. The skill is a faithful short form of it.
  • Against the card's scenario (a home-currency product price picked into a foreign-currency invoice line): source home, target a known code, so differs (or noSourceCurrency when the organization configures no home currency); nothing is written and the note names both. The reader now knows the line takes its price by hand. The card's Done-when is met in two sentences, as it asked.

Tried to break it: two amounts that both declare no currency are "in the same currency" under the sentence and copy in the code (home into home); a fixed code equal to the configured home code copies; a column with autofill: false has no same-named copy to judge; the unset, unread and unknown cases all end in the stated outcome (target untouched, reason shown), except an unknown-currency number into a home-currency target, which copies as before and which the sentence does not contradict. None of these breaks the sentence.

field-types.md, the paragraph's two trims. The example literal became "unit_price from a product's list_price": the bold lead still spells the pair shape and the direction (target from source) is kept. "(single-value lookup / master_detail)" became "(single-value only)": see N2.

field-types.md, the fourteen "When to Use" cells. Each judged for a hint an author needs to pick the type:

  • date "Date only", time "Time only", datetime "Date + time": the dropped parentheticals restated "only"; the three rows still tell each other apart.
  • number "Numeric value", file "File attachments": "Generic" marked the fallback; the sibling rows (currency, percent; image, video, audio) still say what they are for, so the fallback reading stands.
  • markdown "Markdown content", html "Raw HTML", richtext "WYSIWYG editor": same meaning.
  • boolean "Checkbox": the toggle row below still reads "distinct UI from checkbox", so the pair is still told apart.
  • location "Coordinates (lat/lng)": the lat/lng shape, the part an author needs, is kept.
  • avatar "Profile picture", signature "Signature pad", tags "Free-form tags": same meaning.
  • slider "Slider": the closest call, since "Numeric" said what the field stores; the Config cell on the same row (min, max, step) still says it.

No cell loses a hint. No eval case reads these rows beyond case 10, covered under ③.

skills/objectstack-data/rules/relationships.md, the Catalog auto-fill bullet. "(a currency amount only in the same currency: field-types.md → lookupAutofill)" holds: the same-named copy is the loop in planLookupAutofill whose writes go through judgePickWrites with the grid's own currency context (gridAutofillCurrency). The file's own example (unit_price: Field.currency() beside a product lookup) keeps filling, both sides being home-currency amounts; an author who follows the "line in its parent's currency" pattern from field-types.md is now told the fill is conditional and where the rule is stated. The pointer follows the cross-file form both files already use, and its target, the bold lookupAutofill lead, exists at the head. A pointer rather than a second statement is the right call for one rule with one home.

The security line. No changed line teaches permission, sharing, credential, token or authentication behaviour. Two near misses were checked: the first hunk shows the password and secret rows as context only, neither is touched; and the paragraph's hunk rewraps the clause "a declared, non-internal field of reference" word for word (internal is a read-protection flag in the spec), so the change teaches nothing about it that main does not already say.

Nits, left as accepted deviations (the file has one token of headroom, and neither moves the contract):

  • N1 (nit) — the sentence does not say that a number side carries no currency and copies as before (crossCurrencyRefusal returns early when either side is no amount of money; the spec describe says so in words). A reader may take a currency to number pair to be withheld when it fills. The card scoped the sentence to currency-to-currency and the sentence is right there.
  • N2 (nit) — "(single-value only)" no longer names lookup / master_detail in the paragraph, while the table above it also holds tree and user. The Key Config column lists lookupAutofill on the lookup and master_detail rows alone, and the parse refuses the key elsewhere with a message naming both types, so the restriction is still taught one line up and enforced loudly.

Implemented-by: claude/issue-36349-lookupautofill-currency
Reviewed-by: session_01QSeKYo86w1wqy2z2fMrryr

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 63a76475cca8ddf7bae31c24d4f8a5d9e3f2a880
Local-runs: none
Scope: skills/objectstack-data/rules/field-types.md, skills/objectstack-data/rules/relationships.md + none
Security-touching: no
Rule-change-verified: none

This is a DELTA record over contract review 7139449788 (PASS at a141c91fb23ee32acda15b2ca0a7e687e189ed20). The only change since is one merge of main into the branch: commit 63a7647, first parent a141c91 (the reviewed head), second parent a68b475 (main's tip at the merge), committed by GitHub with a valid signature. Inputs: PR #37044 (body, three-file list, net diff at the new head, both comments), the merge commit and its two parents, main's delta b01d8f9..a68b475, and the check-runs on the new head with the log of the lane that runs the token ratchet. Nothing was built, run or re-run locally.

① Derived judgments

  • The net diff is the reviewed diff, byte for byte. git diff a68b475bbc 63a76475cc and git diff b01d8f97e9 a141c91fb2 name the same three files with the same counts (37 insertions, 23 deletions) and have the same stable patch-id (5ba909d8da3e). At the blob level: field-types.md is 252cb4e702 at both heads and 66000636a3 at both bases; relationships.md is 43fff87fbf at both heads and cc3304e918 at both bases. The PR's file list on GitHub shows the same three patches. Right.
  • The merge carries no hand-written content. The tree of 63a7647 (8cb1611ea5) equals the tree git merge-tree writes for a141c91 and a68b475, and the combined diff is empty: no conflict was resolved, so nothing in the merge is the dev's or the platform's own text.
  • Main's delta (5 commits, 82 files) changes scripts/check-skills-token-ratchet.mjs in one place only: the skills/objectstack-data/rules/security.md ceiling moves 4068 to 4292 with its comment block (docs(skills): the data skill teaches the three permission axes, viewAllFields and the sensitivity tiers #37019, card skills: teach the three permission axes — viewAllFields for "sees every field", field rows for role-dependent fields, requiredPermissions for high-sensitivity fields (step 2 of #34365) #36053). The rows for the two scope files are untouched: field-types.md 3541 and relationships.md 4203 at both heads. Main's delta touches neither scope file, and none of the code the earlier record read to judge them (lookupAutofill.ts, GridField.ts, GridFieldWidget.tsx, LookupField.tsx, recordFormStamp.ts, packages/spec/src/data/field.zod.ts, stack.zod.ts, evals/objects-fields-relationships.json). Under skills/ it brings rules/security.md and one eval file, both outside this PR's diff.
  • Both files stay within their ceilings on the merged tree: field-types.md 14160 bytes, 3540 tokens of 3541; relationships.md 16805 bytes, 4202 of 4203. The ratchet's own run on the new head prints the same rows (3540 / 3541 (-1), 4202 / 4203 (-1), and main's security.md 4292 / 4292 (+0)) and ends "60 authored bundle file(s) within their ceilings". One correction to the hand-off: in the tree the ratchet step sits in the Type Check · source gates lane of lint.yml, rolled up by TypeScript Type Check, not under Lint & Repo Gates. That lane's verdict lists the ratchet step ok; the lane, TypeScript Type Check and Lint & Repo Gates are all success on the new head.
  • Check-runs on 63a7647: 44, every one completed and every one on this head; 28 success, 16 skipped, none failed, cancelled, neutral or pending. Success: Lint & Repo Gates and its eight lint lanes, TypeScript Type Check and its four type-check lanes, Check Changeset, Check PR Size, Auto Label, PR-body guards, Governed Surface Queue Guard, filter, Build Core, Plan Test Core shards, Test Core (1/10), Test Core (2/10), Test Core, Test UI, Live E2E UI, Dogfood Regression Gate. The two Test Core shards the earlier record read as in progress are now concluded, both success, on the new head. The 16 skips are expected: nine UI, docs and database lanes the path filter turns off for a skills-text diff (Build & E2E UI, Plan Test UI shards, Type Check UI, Lint UI, the Test UI matrix row, Build UI Deps, UI Published Artifacts, Build Docs, Temporal Conformance), the Dogfood Regression Gate matrix row and Dogfood Verify CLI, the two opt-in harnesses (18.x upgrade harness, Packed-tarball smoke), the two merge-queue-only verdicts (Queue verdict, Borrowed queue verdict) and the schedule gate. The same 16 were skipped on the reviewed head.

② Semver level

Unchanged. The changeset .changeset/36349-skills-lookupautofill-currency.md is in the net diff with the same content ('@objectstack/skills': patch, Clause-②: no, Metadata-protocol: none); Check Changeset is success on the new head. The five changesets the merge brings in are main's own and are not in this PR's net diff.

③ Boundary flags

  • Every dev flag and both empty open_questions lists were answered in 7139449788. The merge adds no dev report and no new flag; the PR body's account of the diff (measured at b01d8f9 and a141c91) still matches the net diff.
  • SQL push-down: the net diff holds no code, so no id materialisation and no in-app join.
  • For the seat, not a finding: main has moved three commits past the merged tip (to 938a48f). None touches the three files of this diff or scripts/check-skills-token-ratchet.mjs; this record covers 63a7647 and nothing later.

④ Design judgment

No must-fix, no should-fix.

  • skills/objectstack-data/rules/field-types.md and skills/objectstack-data/rules/relationships.md: identical blobs to the ones judged in 7139449788, and main's delta changes neither the spec text nor the widget code they were held against, so every clause-by-clause finding of that record stands at this head without re-judging.
  • The two nits of 7139449788, N1 (the sentence does not say a number side carries no currency and copies as before) and N2 ("(single-value only)" no longer names lookup / master_detail in the paragraph), stay accepted deviations. Neither was touched; field-types.md still has one token of headroom and neither moves the contract.
  • Security line, judged again: no. The PR's net diff is the reviewed one, and no changed hunk in it teaches permission, sharing, credential, token or authentication behaviour (the password / secret rows are context only; the "non-internal" clause is rewrapped word for word). The merge brought main's rules/security.md rewrite (docs(skills): the data skill teaches the three permission axes, viewAllFields and the sensitivity tiers #37019) onto the branch, but that file is main's landed content, identical on both sides of the net diff, and not a hunk of this PR.
  • Rule change: no path under .claude/** is in the net diff; none.

Implemented-by: claude/issue-36349-lookupautofill-currency
Reviewed-by: session_01QSeKYo86w1wqy2z2fMrryr

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

席位核对 — ACCEPT · L1 · head 63a76475cca8ddf7bae31c24d4f8a5d9e3f2a880 · 2026-11-24T18:07Z

Zone a4-A, card #36349. Read from the PR's diff and check-runs, not from the dev report.

  1. Shape. 3 files, +37 / −23: skills/objectstack-data/rules/field-types.md (two sentences on the currency rule appended to the lookupAutofill paragraph, paid by same-file restatement cuts: the paragraph's example literal and type restatement, fourteen "When to Use" cells), skills/objectstack-data/rules/relationships.md (the "Catalog auto-fill" bullet points at that sentence), one @objectstack/skills patch changeset. No ceiling moved. Net +4 lines under skills/** against a budget of +5 (after one REWORK round that added the relationships.md bullet the card's done-when names).
  2. Premise, measured. At b01d8f97 the paragraph promised an unconditional copy; Showcase EUR invoice: a picked product copies its home-currency price into the line as euros; the edit form's subtotal shows no currency symbol #36249 is closed. The appended sentence was read against crossCurrencyRefusal / judgePickWrites (ui/packages/fields/src/widgets/lookupAutofill.ts) by the contract review 7139449788; "left as it was" (not the card's "stays empty") is what the code does.
  3. Gates. Head 63a76475cc is a platform merge of main (landing-k's shared-budget leg asked for it); net diff identical to the reviewed head (same stable patch-id 5ba909d8, same blobs). Check-runs: 44, 28 success, 16 expected skips, none failed or pending. The token ratchet (in Type Check · source gates) reads field-types.md 3540 / 3541, relationships.md 4202 / 4203.
  4. Contract review. Full PASS 7139449788 at a141c91fb2; delta PASS 7140176771 at this head. Security-touching: no; nits N1/N2 accepted as deviations (the file has one token of headroom; neither moves the contract).
  5. Accepted deviations. The changeset is outside the claim's named surface (owed for the published package); the fourteen trimmed cells are inside the claimed file and were judged cell by cell (no hint lost).
  6. Landing. check-governed-merges --pr 37044 reads Tier S on the low-risk skills arm with the record at this head; the zone lands it.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

Landing · head 63a76475cca8ddf7bae31c24d4f8a5d9e3f2a880 · 2026-11-24T18:08Z

Reading Result
check-governed-merges.mjs --pr 37044 Tier S — low-risk skills arm; contract review PASS on this head (7140176771, Security-touching: no)
landing-k.mjs --pr 37044 OK — K = 4 < 15 (origin/main 0e3187e), no locale pack, no shared budget book moved since the merge of main

State: L1 ACCEPT 7140195538 on this head; every check-run green or expected skip. Ready and auto-merge in this stroke. On MERGED, Fixes #36349 closes the card.

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

Labels

documentation Improvements or additions to documentation size/s tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

skills/objectstack-data: lookupAutofill copies a currency amount only when both sides share the currency (after #36249)

2 participants