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
ui: the lookup picker resolves { $record } from the form record, sends orEmpty, and re-queries on the referenced fields #34197
domain:uiDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Follow-up from PR #34078 (card #34009, merged as aab8b318). That PR declared the lookupFilters value shape { $record: '<path>' } (a reference to the record being edited), and the orEmpty flag, which pairs only with the six equality and ordering operators. Both are marked [PLANNED — not enforced] until their readers land (seat ruling 6900252552 §3).
Ask (ui lane).
In ui/packages/fields/src/widgets/LookupField.tsx and RecordPickerDialog.tsx (lookupFiltersToRecord), resolve { $record: path } from the form record, hop included.
While the referenced value is empty, drop the entry (ruling §1, the same rule as an unset dependsOn).
Send orEmpty: true as $or with a null match.
Re-query when a referenced field changes.
Then drop the PLANNED marker in field.zod.ts for the picker half.
Carried notes from review records 6901257122 / 6903625797:
N6: the dependsOn describe's "filter panel" example names a surface with no measured lookupFilters reader. Correct it, or make the surface real.
N8: orEmpty: false under in, notIn or contains is refused with the same sentence as true (by design: pairs only with the six).
The Skills-docs follow-up moves with this change; it is filed separately on the skills lane.
Triage: first touch → domain:ui · p2 · 2026-11-16T00:51Z
⛔ Not a claim.
The console half of #34009's lookupFilters{ $record } value (contract landed in PR #34078): the picker resolves $record from the form record, sends orEmpty, and re-queries when the referenced field changes. This is the customer requirement from #34009 (downstream CRM price-book picker, acceptance ruled by the maintainer), so p2, its parent's grade.
Claim: PM loop round 12 · 2026-11-16T01:10Z
Session: a card thread opened under seat session_01ADHkmT2NE3iyG1o6TDg3sf. Its dev session is stamped on the PR.
Account: os-steve
Branch: the card thread's claude/project-thread-* branch, named on the PR
Domain: domain:ui
Seat: domain:ui#1
File surface: ui/packages/fields/src/widgets/LookupField.tsx, ui/packages/fields/src/widgets/RecordPickerDialog.tsx (and the module that hands the form record to them, only if they cannot reach it today); packages/spec/src/data/field.zod.ts (describes only: drop the picker-half PLANNED markers, N6) and its generated outputs; their tests; root .changeset/. Other packages/** read-only.
Container & model: M, mode:thread, model: default tier, effort: high
Clause-②: no — the picker reads a surface #34078 already declared; the spec describe change makes this CONTRACT_REVIEW_TIER, reviewed by review#2
Metadata-protocol: none
Responsibility: a lookupFilters value { $record } and orEmpty are declared but no picker reads them | contract landed in PR #34078 (aab8b318), marked PLANNED | the downstream CRM price-book picker (#34009, acceptance ruled by the maintainer)
Thread-read: none
Premise: measured first on main; literal lookupFilters and dependsOn entries query unchanged
Serial constraints cleared: no other pm:dispatcheddomain:ui card and no open PR touches these files (PR heads read 2026-11-16T01:10Z)
Scope: the card's ask plus review note N6. A server-side refusal of an unresolved { $record }, if missing, is reported, not built. Fixes #34197. Order: /mnt/project-files/ui-seat1/standard-order.md + 34197-delta.md. Priority p2 (triage first touch, 00:51Z).
Claim 6904548643 is withdrawn before any thread opened. No code was written and no branch was pushed. The card goes to ui seat 2 (domain:ui#2) to balance the lane: new ui p1/p2 cards go to seat 2 first until it holds five. A ready dispatch order is at /mnt/project-files/ui-seat1/34197-delta.md for seat 2 to reuse or rewrite.
State change: pm:dispatched → pm:queue and the assignee cleared in this stroke.
Claim: PM loop round 3 · 2026-11-16T01:14Z
Session: session_01ADHkmTKRu1t68jcJGgRYi3 (card thread, dev) · seat session_01ADHkmSzhXR4yUAgwq1bQRi
Account: os-steve (the seat's linked user as GET /user answers it; the card's assignee)
Branch: claude/project-thread-jk6i6y
Worktree: objectstack-issue-34197
Domain: domain:ui
Seat: domain:ui#2
File surface: ui/packages/fields/src/widgets/LookupField.tsx, ui/packages/fields/src/widgets/RecordPickerDialog.tsx, the module that hands the form record to them only if they cannot reach it today (named in the report); packages/spec/src/data/field.zod.ts (describes only: the picker-half PLANNED markers and the N6 dependsOn sentence) and its generated outputs; their tests; root .changeset/; other packages/** read-only (stop on breach; explain in the report)
Container & model: cloud seat container, mode:thread, model: default judgement tier (dispatch-gates --tier: "no path-derived mandate: the surface hits none of the 4 declared glob(s)"), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: dev implements, pins and ablates; the field.zod.ts describe change narrows nothing and widens no accept set (Clause-② no) but owes one contract-review-tier review before the queue: seat 2 routes it to review#2 (no fable subagent, maintainer 2026-11-15T21:53Z); seat records and lands
Thread-read: 6904563406
Premise: holds
Serial constraints cleared: seat 1 released its claim (6904563406), no branch pushed; no open PR on this surface (checked 01:15Z)
{
"issue": 34197,
"status": "done",
"branch": "claude/project-thread-jk6i6y",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34253",
"head_sha": "34d869b8d858f34c9ed0bfc0beaa276be429e16a",
"session": "session_01ADHkmTKRu1t68jcJGgRYi3",
"premise_still_valid": true,
"summary": "The lookup picker now resolves `{ $record: path }` lookupFilters values from the record being edited (a field, or one lookup hop read once per id with only the hop fields, or off an expanded row with no request), leaves an entry out while its value is empty or when no record is passed, re-queries once when a referenced value changes (keyed on the resolved JSON, not dependsOn), and sends `orEmpty: true` as `$and[{ $or: [cond, { col: { $null: true } }] }]`. An unresolved reference is dropped in `lookupFiltersToRecord`, so it never reaches the wire. ObjectForm and authored sections stamp `recordHopObjects` so a bare-id hop can be read. field.zod.ts describes lose the picker-half PLANNED markers and carry N6 (filter panel -> bulk action over selected rows); reference docs regenerated.",
"tests": "New: fields LookupField.recordReference-34197.test.tsx (10) + plugin-form lookupRecordHop-34197.test.tsx (2), all green. Ablations A1-A9 via scripts/ablation-replace.mjs, each red then restored to the HEAD blob: A1 resolver keeps reference (7 red), A2 hop row ignored (1), A3 empty test narrowed (1), A4 memo keyed off resolved values (2), A5 orEmpty inverted (2), A6 pending gate removed (1), A7 unresolved drop deleted (1), A8 ObjectForm stamp removed (1), A9 sectionFields stamp removed (1). CONTROL (literal + dependsOn) green under every ablation. Full suites fields + plugin-form: Test Files 540 passed | 1 skipped, Tests 7209 passed | 8 skipped. type-check fields + plugin-form pass.",
"gates": "dispatch-gates --commands on 34d869b8: 115 derived; --ran reconciliation: 115 run, 0 NOT-MEASURED, 0 UNRUN. First pass 112 exit 0 + 3 exit 3 (prerequisites: teardown fixture commit 621a4876 absent in the shallow clone; client-react and other dists absent). Cleared (fetch --no-tags --depth=1; turbo build ./packages/** under os-verify-lock) and re-run on the same head: check-plugin-teardown-shape --self-test 0, spec check:skill-examples 0, check:dual-build-cjs-loads 0. CI families: read from PR #34253 check-runs, not re-run locally.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"files_changed": 15,
"line_budget": "+807 / -63 (incl. 7/7 regenerated reference docs, 357 lines of tests)",
"deviations": [
"File surface wider than the claim's LookupField.tsx + RecordPickerDialog.tsx + field.zod.ts: new ui/packages/fields/src/widgets/lookupRecordReference.ts (the resolver); PeoplePicker.tsx (prop type only); fields/src/index.tsx (export withRecordHopObjects); plugin-form ObjectForm.tsx + sectionFields.ts (hop-object stamp, needed for a bare-id hop on record forms); packages/spec/liveness/field.json (the lookupFilters note cites the readers); regenerated content/docs/references/**.",
"The first A7-A9 ablation attempt was refused by ablation-replace (replacement text already in the file) and measured nothing; re-run with --delete and a distinct replacement, those are the reported runs."
],
"mcp_calls": "3 — mcp__github__issue_read (get, get_comments, get_comments); no write tool",
"api_writes": "2 — relay pr_create (POST /pulls draft + POST /issues/34253/assignees os-steve, run 43792978287); this comment (POST /issues/34197/comments via post-stamped)",
"open_questions": [
{
"question": "BulkActionDialog hands a lookup param the dialog's own param values as dependentValues, so a { $record } path naming a sibling param resolves against that param instead of being left out as ruling 6900252552 §1 reads.",
"options": ["A: a host signal in plugin-grid BulkActionDialog.tsx (held by ui seat 1, #34213) so its lookups pass no record", "B: reword the describe to say a bulk dialog resolves against its params"],
"recommendation": "A, because the ruling says no-record hosts drop every { $record } entry, and the fix is one prop on the host; it belongs to the seat holding that file."
},
{
"question": "Non-form hosts (detail inline edit, header highlight, related-list inline edit, single-record action dialog) do not stamp recordHopObjects; a bare-id hop there is left out with a dev warning.",
"options": ["A: follow-up card to stamp withRecordHopObjects on those hosts", "B: leave as is (detail records usually arrive $expand-ed)"],
"recommendation": "A, low cost, same helper; not blocking this card."
},
{
"question": "Server refusal of an unresolved $record by name (ruling §3) is not built here; today it reaches the generic unknown-operator refusal (client FilterOperatorError, server INVALID_FILTER), NOT MEASURED live.",
"options": ["A: the seat's carrier card owns it"],
"recommendation": "A."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: Skills-docs follow-up named on the card · content/docs/data-modeling/fields.mdx and relationships.mdx do not yet teach { $record } / orEmpty · noted, not filed"
]
}
File surface amendment · 2026-11-16T02:38Z
The dev report (6905722445) names files beyond the claim, and the seat accepts them. No open PR touches any of them (checked at the stamp time):
ui/packages/fields/src/widgets/lookupRecordReference.ts (new, the { $record } resolver) and the ui/packages/fields/src/index.tsx export;
the ui/packages/fields/src/widgets/PeoplePicker.tsx type;
ui/packages/plugin-form/src/ObjectForm.tsx and ui/packages/plugin-form/src/sectionFields.ts (the recordHopObjects stamp that hands the form record's hop objects to the picker);
packages/spec/liveness/field.json (note);
the regenerated references content/docs/references/data/{field,object}.mdx and content/docs/references/system/migration.mdx;
{
"issue": 34197,
"status": "done",
"branch": "claude/project-thread-jk6i6y",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34253",
"head_sha": "0b8ad7e7dc7f8fb2d89e9db70f508796fc1213e3",
"session": "session_01ADHkmTKRu1t68jcJGgRYi3",
"premise_still_valid": true,
"summary": "Rework r1. { $record } resolution is now opt-in by the host. A record form (ObjectForm, and buildSectionFields for Modal/Drawer/Tabbed/Wizard) stamps `recordBeingEdited: { hopObjects }` through `withRecordBeingEdited`, which replaces `withRecordHopObjects`. LookupField resolves against its dependentValues only on that stamp. Every other host leaves every { $record } entry out, whatever values it passes, so BulkActionDialog is covered with no change to plugin-grid. CI fix: the field-channel census ledgers `recordBeingEdited` as RUNTIME-ONLY, the Test UI 13/16 red on 34d869b8. Merged main 43dd5656, which includes #34231.",
"signal": "Field-definition stamp `recordBeingEdited` (RECORD_BEING_EDITED_KEY), written by withRecordBeingEdited and exported from @object-ui/fields. Alternative: a LookupField prop `recordBeingEdited` passed by the form renderer. Not taken because a record form hands the widget a field definition, not props, and the existing hand-offs (followedParentObject, formObject) ride the definition.",
"census": "LEDGERED, not declared. recordBeingEdited is stamped by ObjectForm and buildSectionFields and never authored; declaring it on FormFieldSchema would let a document claim a record is being edited. One row in form-field-channel-census-12130.test.tsx with a RUNTIME-ONLY reason. Census: 35 passed.",
"tests": "New pins: (1) a host without the stamp leaves every { $record } entry out even when its values hold one of that name, with no hop read (the BulkActionDialog shape); (2) CONTROL: the same field and values on a stamped host resolve, and the stamp names the hop object. Existing record-resolving pins now use a stamped field. Pins 14/14. Ablations on the reworked head, each red and restored to the HEAD blob: A10 LookupField ignores the stamp (1 red); A11 withRecordBeingEdited stamps nothing (9 red); A8r ObjectForm stamp removed (1); A9r sectionFields stamp removed (1); A12 census ledger row renamed (2 red, unexpected recordBeingEdited). Full fields + plugin-form: 540 files passed / 1 skipped; 7211 tests passed / 8 skipped. Type-check of fields and plugin-form passes. After the merge: pins + census 49/49.",
"gates": "dispatch-gates on the merged tree b9fdba59 (= head 0b8ad7e7): 115 derived, 115 run, 0 NOT-MEASURED. First pass: 112 exit 0; check:dts-closure 1, check:dual-build-cjs-loads 1 and check:type-check-debt 3, all from @objectstack/scenarios failing to build because main's new @objectstack/lint dependency was not linked. After pnpm install --frozen-lockfile --offline and a packages build (81/81), all three re-ran at 0. CI families are read from PR check-runs.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"deviations": [
"The pre-push check:commit-card-trailers refused the first push: the 3 rework commits had a model name in their co-author trailer. They were unpublished and were re-made with the model-free pair, with an identical tree (b9fdba59). No force-push.",
"File surface +1 since the amendment: ui/examples/schema-catalog/test/form-field-channel-census-12130.test.tsx (one ledger row, the CI fix the seat asked for)."
],
"mcp_calls": "3 total, unchanged this round — mcp__github__issue_read; no write tool",
"api_writes": "this round 2 — relay issue_patch on #34253 (PR body); this comment. Total 4 with round 0 (pr_create, report comment).",
"open_questions": [
{
"question": "Single-record hosts that are not record forms (detail inline edit, header highlight, related-list inline edit, single-record action dialog) now leave every { $record } entry out.",
"options": ["A: follow-up card to opt each in with one withRecordBeingEdited call", "B: leave as is"],
"recommendation": "A, when a real author needs it there; not blocking."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: Skills-docs follow-up · fields.mdx / relationships.mdx teaching of { $record } / orEmpty · noted, not filed"
]
}
File surface amendment (r1) · 2026-11-16T04:28Z
The r1 report (6907315938) adds one file beyond the claim, and the seat accepts it: ui/examples/schema-catalog/test/form-field-channel-census-12130.test.tsx, which ledgers the new runtime-only key recordBeingEdited (not declared on FormFieldSchema). The recordHopObjects stamp named in the first amendment is replaced by recordBeingEdited in the same two plugin-form files.
{
"issue": 34197,
"status": "done",
"branch": "claude/project-thread-jk6i6y",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34253",
"head_sha": "0179f341b6126024405f8b5b9bdbaf52f9d9e9bf",
"session": "session_01ADHkmTKRu1t68jcJGgRYi3",
"premise_still_valid": true,
"summary": "Rework r2 against review#2 FAIL 6907473536, applying the seat's rulings. M1 (remedy a, describes only): the lookupFilters and value describes and the LookupFilterRecordReferenceSchema docblock now say { $record } resolves only in record forms (auto layout, modal, drawer, tabbed, wizard). They also say every other picker host leaves the entry out: inline edit on a record page, the header or related list, an action's parameter dialog, and a bulk action. No host was opted in. S1: the empty-value sentence adds 'or cannot be read' (hop row or field missing, no object named for the hop, no single-row reader). No production warning was added. S2: one pin through the real BulkActionDialog and one through the real ActionParamDialog, each in a new file. S3: the liveness note says the server refusal is unmeasured and cites #34199. N1: verifiedAt is 2026-11-16. N2: NO_EDITED_RECORD now sits below the imports. Reference pages regenerated. Main merged (8898b4e3).",
"tests": "New files: ui/packages/plugin-grid/src/__tests__/bulkActionDialogRecordReference-34197.test.tsx and ui/packages/app-shell/src/views/ActionParamDialog.recordReference-34197.test.tsx. Each has a lookup param with filters [literal is_active, { $record: 'quote_date' } orEmpty] and a sibling quote_date param typed to 2026-11-01. Each asserts every candidate query is { is_active: true }, which is the control that the literal entry is forwarded, and that no hop read happens. Ablation A13 (LookupField ignores the stamp, so it resolves dependentValues) turned 2 red, restored to the HEAD blob. Suites: fields + plugin-form + the two new files + census, 543 files passed / 1 skipped, 7248 tests passed / 8 skipped. Type-check of fields and plugin-form passes.",
"gates": "dispatch-gates on 0179f341: 115 derived, 115 run, 0 NOT-MEASURED, all exit 0 on the first pass (after pnpm install --offline, a packages build, the spec rebuild and check:generated --fix). CI families are read from PR check-runs.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"files_added_this_round": [
"ui/packages/plugin-grid/src/__tests__/bulkActionDialogRecordReference-34197.test.tsx",
"ui/packages/app-shell/src/views/ActionParamDialog.recordReference-34197.test.tsx"
],
"deviations": [
"BulkActionDialog.tsx and objectBulkActionDispatch.test.tsx were not touched, as ruled."
],
"mcp_calls": "3 total, unchanged — mcp__github__issue_read; no write tool. The review comment was read with `gh api` (GET only).",
"api_writes": "this round 2 — relay issue_patch on #34253 (PR body); this comment. Total 6 (pr_create, two PR body patches, three report comments).",
"open_questions": [],
"security_findings": "withheld",
"out_of_scope_findings": [
"class: b · reach: a bulk param that writes `recordBeingEdited` opts itself in. bulkParamToField spreads unenumerated param keys onto the widget field (`...extra`), and objectui's ObjectGridBulkActionParamSchema is a looseObject. A probe test (not committed) put the sibling's value into the query. The spec's BulkActionParamSchema is a strictObject and refuses the key at authoring, so a published spec document cannot reach it; only an objectui-side grid schema can. Evidence: ui/packages/plugin-grid/src/components/bulkParamToField.ts `...extra`; ui/packages/types/src/zod/objectql.zod.ts ObjectGridBulkActionParamSchema = z.looseObject · carrier: seat (the file is in #34215's surface) · noted, not filed",
"carrier: Skills-docs follow-up · fields.mdx / relationships.mdx teaching of { $record } / orEmpty · noted, not filed"
]
}
File surface amendment (r2/r3) · 2026-11-16T05:46Z
The seat accepts, from the r2 report (6908455182) and the r3 ask:
two new pins that go through the real dialogs (review#2 S2): ui/packages/plugin-grid/src/__tests__/bulkActionDialogRecordReference-34197.test.tsx and ui/packages/app-shell/src/views/ActionParamDialog.recordReference-34197.test.tsx;
ui/packages/plugin-grid/src/components/bulkParamToField.ts and, only if it spreads a param's extra keys the same way, ui/packages/app-shell/src/utils/paramToField.ts: a bulk param could carry the runtime-only recordBeingEdited key through ...extra (the grid's bulk param schema is loose; the spec's is strict, so a published document cannot), which would opt its own picker in. The key is introduced by this PR, so it is closed here. BulkActionDialog.tsx and objectBulkActionDispatch.test.tsx stay out (seat 2's console: a single-record action's error toast and a per-record bulk row show the platform message, not the handler's userMessage #34215).
{
"issue": 34197,
"status": "done",
"branch": "claude/project-thread-jk6i6y",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34253",
"head_sha": "503e0152acdc94e4abe3a6696de508f45845323f",
"session": "session_01ADHkmTKRu1t68jcJGgRYi3",
"premise_still_valid": true,
"summary": "Rework r3. `bulkParamToField` (plugin-grid) no longer carries `recordBeingEdited` from a bulk param onto its widget field. It is destructured out through RECORD_BEING_EDITED_KEY ahead of `...extra`. Its twin, `paramToField` in app-shell, builds the field from enumerated keys only and never carried the key, so it is unchanged. Both dialog pin files gained a case: a param that writes `recordBeingEdited` itself still leaves the { $record } entry out and sends no sibling value. The review#2 delta items after the r2 PASS are applied. S1: the forms are named 'in a record form, whatever its layout' in the docblock and both describes. N1: in the lookupFilters describe the other-hosts half follows the record-form half directly. N2: the changeset's empty-value bullet adds 'or cannot be read'. The reference pages are regenerated, and `@object-ui/plugin-grid: patch` is added to the changeset.",
"tests": "A14 deletes the drop in bulkParamToField: 1 red, the bulk self-stamp case. A15 makes paramToField forward the key: 1 red, the param-dialog self-stamp case. Both were restored to the HEAD blob. The two pin files read 4/4. Suites over fields, plugin-form, plugin-grid, the ActionParamDialog pin file and the census: 826 files passed, 1 skipped; 9700 tests passed, 8 skipped. Type-check of fields, plugin-form and plugin-grid passes once the plugin-grid and plugin-form dependency builds are in place.",
"gates": "dispatch-gates on 503e0152: 115 derived, 115 run, 0 NOT-MEASURED, all exit 0 on the first pass. CI families are read from PR check-runs.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"files_changed_this_round": [
"ui/packages/plugin-grid/src/components/bulkParamToField.ts",
"ui/packages/plugin-grid/src/__tests__/bulkActionDialogRecordReference-34197.test.tsx",
"ui/packages/app-shell/src/views/ActionParamDialog.recordReference-34197.test.tsx",
"packages/spec/src/data/field.zod.ts",
"packages/spec/liveness/field.json",
"content/docs/references/data/field.mdx, object.mdx, system/migration.mdx (regenerated)",
".changeset/34197-lookup-record-reference.md"
],
"deviations": [
"app-shell `utils/paramToField.ts` is not changed. It has no spread, so there was nothing to drop. Ablation A15 shows the pin catches a forwarded key there."
],
"mcp_calls": "3 total, unchanged — mcp__github__issue_read; no write tool",
"api_writes": "this round 2 — relay issue_patch on #34253 (PR body); this comment. Total 8.",
"open_questions": [],
"security_findings": "withheld",
"out_of_scope_findings": [
"carrier: Skills-docs follow-up · fields.mdx / relationships.mdx teaching of { $record } / orEmpty · noted, not filed"
]
}
{
"issue": 34197,
"status": "done",
"branch": "claude/project-thread-jk6i6y",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34253",
"head_sha": "866523ae733c6337d578bb4847516261affd821b",
"session": "session_01ADHkmTKRu1t68jcJGgRYi3",
"premise_still_valid": true,
"summary": "Rework r4 against review#1 FAIL 6911356996, applying the seat's rulings. M1, remedy (a): withRecordBeingEdited now names a hop's object through `referenceTargetOf` from '@objectstack/spec/data', the arbiter the #34200 linter asks. A hop through a `user` field, whose target the type fixes as sys_user, now resolves. No dependency change was needed: @object-ui/fields already depends on @objectstack/spec and already imports runtime values from '@objectstack/spec/data'. S1: the census ledger row for recordBeingEdited says the runtime-only invariant is held by the two builders and the closed spec shapes, and that objectui's loose FormFieldSchema is tracked by #34344. N1: 'a filter panel' is gone from the lookupRecordReference.ts header. N2: the index.tsx export comment now says the stamp goes on any lookup whose filters read { $record }, and the stray blank line in LookupField.tsx's imports is removed. The changeset says a user hop resolves. Main merged (35c9a305).",
"tests": "plugin-form lookupRecordHop-34197.test.tsx gains two pins through a real ObjectForm. (1) A user-typed hop held as an id: the form names sys_user, the picker reads findOne('sys_user','u1',{ $select: ['id','region'] }), and the query is { region: 'emea' }. (2) Held as an expanded row: the query is { region: 'apac' } with no request. A16 (hop object read off `reference` alone) turned (1) red; it was restored to the HEAD blob. (2) resolves off the held row by design, so it has no ablation of its own. Suites over fields, plugin-form, plugin-grid, the ActionParamDialog pin file and the census: 826 files passed, 1 skipped; 9721 tests passed, 8 skipped. Type-check of fields, plugin-form and plugin-grid passes.",
"gates": "dispatch-gates on 866523ae: 115 derived, 115 run, 0 NOT-MEASURED, all exit 0 on the first pass. CI families are read from PR check-runs.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"files_changed_this_round": [
"ui/packages/fields/src/widgets/lookupRecordReference.ts",
"ui/packages/fields/src/widgets/LookupField.tsx",
"ui/packages/fields/src/index.tsx",
"ui/packages/plugin-form/src/__tests__/lookupRecordHop-34197.test.tsx",
"ui/examples/schema-catalog/test/form-field-channel-census-12130.test.tsx",
".changeset/34197-lookup-record-reference.md"
],
"deviations": [
"referenceTargetOf throws on an unreadable `reference` carrier, which is a non-string. It is called as is, with no local fallback, per its own docblock; the spec's FieldSchema already refuses such a carrier at parse."
],
"mcp_calls": "3 total, unchanged — mcp__github__issue_read; no write tool. The review comment was read with `gh api` (GET only).",
"api_writes": "this round 2 — relay issue_patch on #34253 (PR body); this comment. Total 10.",
"open_questions": [],
"security_findings": "withheld",
"out_of_scope_findings": [
"carrier: #34344 · inline form field members not stamped; the loose FormFieldSchema can author the stamp · cited in the census ledger row",
"carrier: Skills-docs follow-up · fields.mdx / relationships.mdx teaching of { $record } / orEmpty · noted, not filed"
]
}
domain:uiDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 16, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:ui· p2 · 2026-11-16T00:51Z⛔ Not a claim.
The console half of #34009's
lookupFilters{ $record }value (contract landed in PR #34078): the picker resolves$recordfrom the form record, sendsorEmpty, and re-queries when the referenced field changes. This is the customer requirement from #34009 (downstream CRM price-book picker, acceptance ruled by the maintainer), so p2, its parent's grade.objectstack-fleet commentedon Nov 16, 2026
domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf
Claim: PM loop round 12 · 2026-11-16T01:10Z
Session: a card thread opened under seat
session_01ADHkmT2NE3iyG1o6TDg3sf. Its dev session is stamped on the PR.Account:
os-steveBranch: the card thread's
claude/project-thread-*branch, named on the PRDomain:
domain:uiSeat:
domain:ui#1File surface:
ui/packages/fields/src/widgets/LookupField.tsx,ui/packages/fields/src/widgets/RecordPickerDialog.tsx(and the module that hands the form record to them, only if they cannot reach it today);packages/spec/src/data/field.zod.ts(describes only: drop the picker-half PLANNED markers, N6) and its generated outputs; their tests; root.changeset/. Otherpackages/**read-only.Container & model: M,
mode:thread,model: default tier,effort: highClause-②: no — the picker reads a surface #34078 already declared; the spec describe change makes this CONTRACT_REVIEW_TIER, reviewed by review#2
Metadata-protocol: none
Responsibility: a
lookupFiltersvalue{ $record }andorEmptyare declared but no picker reads them | contract landed in PR #34078 (aab8b318), marked PLANNED | the downstream CRM price-book picker (#34009, acceptance ruled by the maintainer)Thread-read: none
Premise: measured first on main; literal
lookupFiltersanddependsOnentries query unchangedSerial constraints cleared: no other
pm:dispatcheddomain:uicard and no open PR touches these files (PR heads read 2026-11-16T01:10Z)Scope: the card's ask plus review note N6. A server-side refusal of an unresolved
{ $record }, if missing, is reported, not built.Fixes #34197. Order:/mnt/project-files/ui-seat1/standard-order.md+34197-delta.md. Priority p2 (triage first touch, 00:51Z).objectstack-fleet commentedon Nov 16, 2026
domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf
Claim released · 2026-11-16T01:11Z
Claim 6904548643 is withdrawn before any thread opened. No code was written and no branch was pushed. The card goes to ui seat 2 (
domain:ui#2) to balance the lane: new ui p1/p2 cards go to seat 2 first until it holds five. A ready dispatch order is at/mnt/project-files/ui-seat1/34197-delta.mdfor seat 2 to reuse or rewrite.State change:
pm:dispatched→pm:queueand the assignee cleared in this stroke.objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
Claim: PM loop round 3 · 2026-11-16T01:14Z
Session:
session_01ADHkmTKRu1t68jcJGgRYi3(card thread, dev) · seatsession_01ADHkmSzhXR4yUAgwq1bQRiAccount:
os-steve(the seat's linked user asGET /useranswers it; the card's assignee)Branch:
claude/project-thread-jk6i6yWorktree:
objectstack-issue-34197Domain:
domain:uiSeat:
domain:ui#2File surface:
ui/packages/fields/src/widgets/LookupField.tsx,ui/packages/fields/src/widgets/RecordPickerDialog.tsx, the module that hands the form record to them only if they cannot reach it today (named in the report);packages/spec/src/data/field.zod.ts(describes only: the picker-half PLANNED markers and the N6dependsOnsentence) and its generated outputs; their tests; root.changeset/; otherpackages/**read-only (stop on breach; explain in the report)Container & model:
cloud seat container,mode:thread,model: default judgement tier (dispatch-gates --tier: "no path-derived mandate: the surface hits none of the 4 declared glob(s)"),effort: highClause-②: no
Metadata-protocol: none
Responsibility: dev implements, pins and ablates; the field.zod.ts describe change narrows nothing and widens no accept set (Clause-② no) but owes one contract-review-tier review before the queue: seat 2 routes it to review#2 (no fable subagent, maintainer 2026-11-15T21:53Z); seat records and lands
Thread-read: 6904563406
Premise: holds
Serial constraints cleared: seat 1 released its claim (6904563406), no branch pushed; no open PR on this surface (checked 01:15Z)
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmTKRu1t68jcJGgRYi3
os-dev-report
{ "issue": 34197, "status": "done", "branch": "claude/project-thread-jk6i6y", "pr": "https://github.com/objectstack-ai/objectstack/pull/34253", "head_sha": "34d869b8d858f34c9ed0bfc0beaa276be429e16a", "session": "session_01ADHkmTKRu1t68jcJGgRYi3", "premise_still_valid": true, "summary": "The lookup picker now resolves `{ $record: path }` lookupFilters values from the record being edited (a field, or one lookup hop read once per id with only the hop fields, or off an expanded row with no request), leaves an entry out while its value is empty or when no record is passed, re-queries once when a referenced value changes (keyed on the resolved JSON, not dependsOn), and sends `orEmpty: true` as `$and[{ $or: [cond, { col: { $null: true } }] }]`. An unresolved reference is dropped in `lookupFiltersToRecord`, so it never reaches the wire. ObjectForm and authored sections stamp `recordHopObjects` so a bare-id hop can be read. field.zod.ts describes lose the picker-half PLANNED markers and carry N6 (filter panel -> bulk action over selected rows); reference docs regenerated.", "tests": "New: fields LookupField.recordReference-34197.test.tsx (10) + plugin-form lookupRecordHop-34197.test.tsx (2), all green. Ablations A1-A9 via scripts/ablation-replace.mjs, each red then restored to the HEAD blob: A1 resolver keeps reference (7 red), A2 hop row ignored (1), A3 empty test narrowed (1), A4 memo keyed off resolved values (2), A5 orEmpty inverted (2), A6 pending gate removed (1), A7 unresolved drop deleted (1), A8 ObjectForm stamp removed (1), A9 sectionFields stamp removed (1). CONTROL (literal + dependsOn) green under every ablation. Full suites fields + plugin-form: Test Files 540 passed | 1 skipped, Tests 7209 passed | 8 skipped. type-check fields + plugin-form pass.", "gates": "dispatch-gates --commands on 34d869b8: 115 derived; --ran reconciliation: 115 run, 0 NOT-MEASURED, 0 UNRUN. First pass 112 exit 0 + 3 exit 3 (prerequisites: teardown fixture commit 621a4876 absent in the shallow clone; client-react and other dists absent). Cleared (fetch --no-tags --depth=1; turbo build ./packages/** under os-verify-lock) and re-run on the same head: check-plugin-teardown-shape --self-test 0, spec check:skill-examples 0, check:dual-build-cjs-loads 0. CI families: read from PR #34253 check-runs, not re-run locally.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "files_changed": 15, "line_budget": "+807 / -63 (incl. 7/7 regenerated reference docs, 357 lines of tests)", "deviations": [ "File surface wider than the claim's LookupField.tsx + RecordPickerDialog.tsx + field.zod.ts: new ui/packages/fields/src/widgets/lookupRecordReference.ts (the resolver); PeoplePicker.tsx (prop type only); fields/src/index.tsx (export withRecordHopObjects); plugin-form ObjectForm.tsx + sectionFields.ts (hop-object stamp, needed for a bare-id hop on record forms); packages/spec/liveness/field.json (the lookupFilters note cites the readers); regenerated content/docs/references/**.", "The first A7-A9 ablation attempt was refused by ablation-replace (replacement text already in the file) and measured nothing; re-run with --delete and a distinct replacement, those are the reported runs." ], "mcp_calls": "3 — mcp__github__issue_read (get, get_comments, get_comments); no write tool", "api_writes": "2 — relay pr_create (POST /pulls draft + POST /issues/34253/assignees os-steve, run 43792978287); this comment (POST /issues/34197/comments via post-stamped)", "open_questions": [ { "question": "BulkActionDialog hands a lookup param the dialog's own param values as dependentValues, so a { $record } path naming a sibling param resolves against that param instead of being left out as ruling 6900252552 §1 reads.", "options": ["A: a host signal in plugin-grid BulkActionDialog.tsx (held by ui seat 1, #34213) so its lookups pass no record", "B: reword the describe to say a bulk dialog resolves against its params"], "recommendation": "A, because the ruling says no-record hosts drop every { $record } entry, and the fix is one prop on the host; it belongs to the seat holding that file." }, { "question": "Non-form hosts (detail inline edit, header highlight, related-list inline edit, single-record action dialog) do not stamp recordHopObjects; a bare-id hop there is left out with a dev warning.", "options": ["A: follow-up card to stamp withRecordHopObjects on those hosts", "B: leave as is (detail records usually arrive $expand-ed)"], "recommendation": "A, low cost, same helper; not blocking this card." }, { "question": "Server refusal of an unresolved $record by name (ruling §3) is not built here; today it reaches the generic unknown-operator refusal (client FilterOperatorError, server INVALID_FILTER), NOT MEASURED live.", "options": ["A: the seat's carrier card owns it"], "recommendation": "A." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: Skills-docs follow-up named on the card · content/docs/data-modeling/fields.mdx and relationships.mdx do not yet teach { $record } / orEmpty · noted, not filed" ] }Stamped 2026-11-16T02:35Z.
Generated by Claude Code
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
File surface amendment · 2026-11-16T02:38Z
The dev report (6905722445) names files beyond the claim, and the seat accepts them. No open PR touches any of them (checked at the stamp time):
ui/packages/fields/src/widgets/lookupRecordReference.ts(new, the{ $record }resolver) and theui/packages/fields/src/index.tsxexport;ui/packages/fields/src/widgets/PeoplePicker.tsxtype;ui/packages/plugin-form/src/ObjectForm.tsxandui/packages/plugin-form/src/sectionFields.ts(therecordHopObjectsstamp that hands the form record's hop objects to the picker);packages/spec/liveness/field.json(note);content/docs/references/data/{field,object}.mdxandcontent/docs/references/system/migration.mdx;objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmTKRu1t68jcJGgRYi3
os-dev-report (rework r1)
{ "issue": 34197, "status": "done", "branch": "claude/project-thread-jk6i6y", "pr": "https://github.com/objectstack-ai/objectstack/pull/34253", "head_sha": "0b8ad7e7dc7f8fb2d89e9db70f508796fc1213e3", "session": "session_01ADHkmTKRu1t68jcJGgRYi3", "premise_still_valid": true, "summary": "Rework r1. { $record } resolution is now opt-in by the host. A record form (ObjectForm, and buildSectionFields for Modal/Drawer/Tabbed/Wizard) stamps `recordBeingEdited: { hopObjects }` through `withRecordBeingEdited`, which replaces `withRecordHopObjects`. LookupField resolves against its dependentValues only on that stamp. Every other host leaves every { $record } entry out, whatever values it passes, so BulkActionDialog is covered with no change to plugin-grid. CI fix: the field-channel census ledgers `recordBeingEdited` as RUNTIME-ONLY, the Test UI 13/16 red on 34d869b8. Merged main 43dd5656, which includes #34231.", "signal": "Field-definition stamp `recordBeingEdited` (RECORD_BEING_EDITED_KEY), written by withRecordBeingEdited and exported from @object-ui/fields. Alternative: a LookupField prop `recordBeingEdited` passed by the form renderer. Not taken because a record form hands the widget a field definition, not props, and the existing hand-offs (followedParentObject, formObject) ride the definition.", "census": "LEDGERED, not declared. recordBeingEdited is stamped by ObjectForm and buildSectionFields and never authored; declaring it on FormFieldSchema would let a document claim a record is being edited. One row in form-field-channel-census-12130.test.tsx with a RUNTIME-ONLY reason. Census: 35 passed.", "tests": "New pins: (1) a host without the stamp leaves every { $record } entry out even when its values hold one of that name, with no hop read (the BulkActionDialog shape); (2) CONTROL: the same field and values on a stamped host resolve, and the stamp names the hop object. Existing record-resolving pins now use a stamped field. Pins 14/14. Ablations on the reworked head, each red and restored to the HEAD blob: A10 LookupField ignores the stamp (1 red); A11 withRecordBeingEdited stamps nothing (9 red); A8r ObjectForm stamp removed (1); A9r sectionFields stamp removed (1); A12 census ledger row renamed (2 red, unexpected recordBeingEdited). Full fields + plugin-form: 540 files passed / 1 skipped; 7211 tests passed / 8 skipped. Type-check of fields and plugin-form passes. After the merge: pins + census 49/49.", "gates": "dispatch-gates on the merged tree b9fdba59 (= head 0b8ad7e7): 115 derived, 115 run, 0 NOT-MEASURED. First pass: 112 exit 0; check:dts-closure 1, check:dual-build-cjs-loads 1 and check:type-check-debt 3, all from @objectstack/scenarios failing to build because main's new @objectstack/lint dependency was not linked. After pnpm install --frozen-lockfile --offline and a packages build (81/81), all three re-ran at 0. CI families are read from PR check-runs.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "deviations": [ "The pre-push check:commit-card-trailers refused the first push: the 3 rework commits had a model name in their co-author trailer. They were unpublished and were re-made with the model-free pair, with an identical tree (b9fdba59). No force-push.", "File surface +1 since the amendment: ui/examples/schema-catalog/test/form-field-channel-census-12130.test.tsx (one ledger row, the CI fix the seat asked for)." ], "mcp_calls": "3 total, unchanged this round — mcp__github__issue_read; no write tool", "api_writes": "this round 2 — relay issue_patch on #34253 (PR body); this comment. Total 4 with round 0 (pr_create, report comment).", "open_questions": [ { "question": "Single-record hosts that are not record forms (detail inline edit, header highlight, related-list inline edit, single-record action dialog) now leave every { $record } entry out.", "options": ["A: follow-up card to opt each in with one withRecordBeingEdited call", "B: leave as is"], "recommendation": "A, when a real author needs it there; not blocking." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: Skills-docs follow-up · fields.mdx / relationships.mdx teaching of { $record } / orEmpty · noted, not filed" ] }Stamped 2026-11-16T04:26Z.
Generated by Claude Code
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
File surface amendment (r1) · 2026-11-16T04:28Z
The r1 report (6907315938) adds one file beyond the claim, and the seat accepts it:
ui/examples/schema-catalog/test/form-field-channel-census-12130.test.tsx, which ledgers the new runtime-only keyrecordBeingEdited(not declared onFormFieldSchema). TherecordHopObjectsstamp named in the first amendment is replaced byrecordBeingEditedin the same twoplugin-formfiles.objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmTKRu1t68jcJGgRYi3
os-dev-report (rework r2)
{ "issue": 34197, "status": "done", "branch": "claude/project-thread-jk6i6y", "pr": "https://github.com/objectstack-ai/objectstack/pull/34253", "head_sha": "0179f341b6126024405f8b5b9bdbaf52f9d9e9bf", "session": "session_01ADHkmTKRu1t68jcJGgRYi3", "premise_still_valid": true, "summary": "Rework r2 against review#2 FAIL 6907473536, applying the seat's rulings. M1 (remedy a, describes only): the lookupFilters and value describes and the LookupFilterRecordReferenceSchema docblock now say { $record } resolves only in record forms (auto layout, modal, drawer, tabbed, wizard). They also say every other picker host leaves the entry out: inline edit on a record page, the header or related list, an action's parameter dialog, and a bulk action. No host was opted in. S1: the empty-value sentence adds 'or cannot be read' (hop row or field missing, no object named for the hop, no single-row reader). No production warning was added. S2: one pin through the real BulkActionDialog and one through the real ActionParamDialog, each in a new file. S3: the liveness note says the server refusal is unmeasured and cites #34199. N1: verifiedAt is 2026-11-16. N2: NO_EDITED_RECORD now sits below the imports. Reference pages regenerated. Main merged (8898b4e3).", "tests": "New files: ui/packages/plugin-grid/src/__tests__/bulkActionDialogRecordReference-34197.test.tsx and ui/packages/app-shell/src/views/ActionParamDialog.recordReference-34197.test.tsx. Each has a lookup param with filters [literal is_active, { $record: 'quote_date' } orEmpty] and a sibling quote_date param typed to 2026-11-01. Each asserts every candidate query is { is_active: true }, which is the control that the literal entry is forwarded, and that no hop read happens. Ablation A13 (LookupField ignores the stamp, so it resolves dependentValues) turned 2 red, restored to the HEAD blob. Suites: fields + plugin-form + the two new files + census, 543 files passed / 1 skipped, 7248 tests passed / 8 skipped. Type-check of fields and plugin-form passes.", "gates": "dispatch-gates on 0179f341: 115 derived, 115 run, 0 NOT-MEASURED, all exit 0 on the first pass (after pnpm install --offline, a packages build, the spec rebuild and check:generated --fix). CI families are read from PR check-runs.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "files_added_this_round": [ "ui/packages/plugin-grid/src/__tests__/bulkActionDialogRecordReference-34197.test.tsx", "ui/packages/app-shell/src/views/ActionParamDialog.recordReference-34197.test.tsx" ], "deviations": [ "BulkActionDialog.tsx and objectBulkActionDispatch.test.tsx were not touched, as ruled." ], "mcp_calls": "3 total, unchanged — mcp__github__issue_read; no write tool. The review comment was read with `gh api` (GET only).", "api_writes": "this round 2 — relay issue_patch on #34253 (PR body); this comment. Total 6 (pr_create, two PR body patches, three report comments).", "open_questions": [], "security_findings": "withheld", "out_of_scope_findings": [ "class: b · reach: a bulk param that writes `recordBeingEdited` opts itself in. bulkParamToField spreads unenumerated param keys onto the widget field (`...extra`), and objectui's ObjectGridBulkActionParamSchema is a looseObject. A probe test (not committed) put the sibling's value into the query. The spec's BulkActionParamSchema is a strictObject and refuses the key at authoring, so a published spec document cannot reach it; only an objectui-side grid schema can. Evidence: ui/packages/plugin-grid/src/components/bulkParamToField.ts `...extra`; ui/packages/types/src/zod/objectql.zod.ts ObjectGridBulkActionParamSchema = z.looseObject · carrier: seat (the file is in #34215's surface) · noted, not filed", "carrier: Skills-docs follow-up · fields.mdx / relationships.mdx teaching of { $record } / orEmpty · noted, not filed" ] }Stamped 2026-11-16T05:45Z.
Generated by Claude Code
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
File surface amendment (r2/r3) · 2026-11-16T05:46Z
The seat accepts, from the r2 report (6908455182) and the r3 ask:
ui/packages/plugin-grid/src/__tests__/bulkActionDialogRecordReference-34197.test.tsxandui/packages/app-shell/src/views/ActionParamDialog.recordReference-34197.test.tsx;ui/packages/plugin-grid/src/components/bulkParamToField.tsand, only if it spreads a param's extra keys the same way,ui/packages/app-shell/src/utils/paramToField.ts: a bulk param could carry the runtime-onlyrecordBeingEditedkey through...extra(the grid's bulk param schema is loose; the spec's is strict, so a published document cannot), which would opt its own picker in. The key is introduced by this PR, so it is closed here.BulkActionDialog.tsxandobjectBulkActionDispatch.test.tsxstay out (seat 2's console: a single-record action's error toast and a per-record bulk row show the platform message, not the handler's userMessage #34215).objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmTKRu1t68jcJGgRYi3
os-dev-report (rework r3)
{ "issue": 34197, "status": "done", "branch": "claude/project-thread-jk6i6y", "pr": "https://github.com/objectstack-ai/objectstack/pull/34253", "head_sha": "503e0152acdc94e4abe3a6696de508f45845323f", "session": "session_01ADHkmTKRu1t68jcJGgRYi3", "premise_still_valid": true, "summary": "Rework r3. `bulkParamToField` (plugin-grid) no longer carries `recordBeingEdited` from a bulk param onto its widget field. It is destructured out through RECORD_BEING_EDITED_KEY ahead of `...extra`. Its twin, `paramToField` in app-shell, builds the field from enumerated keys only and never carried the key, so it is unchanged. Both dialog pin files gained a case: a param that writes `recordBeingEdited` itself still leaves the { $record } entry out and sends no sibling value. The review#2 delta items after the r2 PASS are applied. S1: the forms are named 'in a record form, whatever its layout' in the docblock and both describes. N1: in the lookupFilters describe the other-hosts half follows the record-form half directly. N2: the changeset's empty-value bullet adds 'or cannot be read'. The reference pages are regenerated, and `@object-ui/plugin-grid: patch` is added to the changeset.", "tests": "A14 deletes the drop in bulkParamToField: 1 red, the bulk self-stamp case. A15 makes paramToField forward the key: 1 red, the param-dialog self-stamp case. Both were restored to the HEAD blob. The two pin files read 4/4. Suites over fields, plugin-form, plugin-grid, the ActionParamDialog pin file and the census: 826 files passed, 1 skipped; 9700 tests passed, 8 skipped. Type-check of fields, plugin-form and plugin-grid passes once the plugin-grid and plugin-form dependency builds are in place.", "gates": "dispatch-gates on 503e0152: 115 derived, 115 run, 0 NOT-MEASURED, all exit 0 on the first pass. CI families are read from PR check-runs.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "files_changed_this_round": [ "ui/packages/plugin-grid/src/components/bulkParamToField.ts", "ui/packages/plugin-grid/src/__tests__/bulkActionDialogRecordReference-34197.test.tsx", "ui/packages/app-shell/src/views/ActionParamDialog.recordReference-34197.test.tsx", "packages/spec/src/data/field.zod.ts", "packages/spec/liveness/field.json", "content/docs/references/data/field.mdx, object.mdx, system/migration.mdx (regenerated)", ".changeset/34197-lookup-record-reference.md" ], "deviations": [ "app-shell `utils/paramToField.ts` is not changed. It has no spread, so there was nothing to drop. Ablation A15 shows the pin catches a forwarded key there." ], "mcp_calls": "3 total, unchanged — mcp__github__issue_read; no write tool", "api_writes": "this round 2 — relay issue_patch on #34253 (PR body); this comment. Total 8.", "open_questions": [], "security_findings": "withheld", "out_of_scope_findings": [ "carrier: Skills-docs follow-up · fields.mdx / relationships.mdx teaching of { $record } / orEmpty · noted, not filed" ] }Stamped 2026-11-16T07:41Z.
Generated by Claude Code
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmTKRu1t68jcJGgRYi3
os-dev-report (rework r4)
{ "issue": 34197, "status": "done", "branch": "claude/project-thread-jk6i6y", "pr": "https://github.com/objectstack-ai/objectstack/pull/34253", "head_sha": "866523ae733c6337d578bb4847516261affd821b", "session": "session_01ADHkmTKRu1t68jcJGgRYi3", "premise_still_valid": true, "summary": "Rework r4 against review#1 FAIL 6911356996, applying the seat's rulings. M1, remedy (a): withRecordBeingEdited now names a hop's object through `referenceTargetOf` from '@objectstack/spec/data', the arbiter the #34200 linter asks. A hop through a `user` field, whose target the type fixes as sys_user, now resolves. No dependency change was needed: @object-ui/fields already depends on @objectstack/spec and already imports runtime values from '@objectstack/spec/data'. S1: the census ledger row for recordBeingEdited says the runtime-only invariant is held by the two builders and the closed spec shapes, and that objectui's loose FormFieldSchema is tracked by #34344. N1: 'a filter panel' is gone from the lookupRecordReference.ts header. N2: the index.tsx export comment now says the stamp goes on any lookup whose filters read { $record }, and the stray blank line in LookupField.tsx's imports is removed. The changeset says a user hop resolves. Main merged (35c9a305).", "tests": "plugin-form lookupRecordHop-34197.test.tsx gains two pins through a real ObjectForm. (1) A user-typed hop held as an id: the form names sys_user, the picker reads findOne('sys_user','u1',{ $select: ['id','region'] }), and the query is { region: 'emea' }. (2) Held as an expanded row: the query is { region: 'apac' } with no request. A16 (hop object read off `reference` alone) turned (1) red; it was restored to the HEAD blob. (2) resolves off the held row by design, so it has no ablation of its own. Suites over fields, plugin-form, plugin-grid, the ActionParamDialog pin file and the census: 826 files passed, 1 skipped; 9721 tests passed, 8 skipped. Type-check of fields, plugin-form and plugin-grid passes.", "gates": "dispatch-gates on 866523ae: 115 derived, 115 run, 0 NOT-MEASURED, all exit 0 on the first pass. CI families are read from PR check-runs.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "files_changed_this_round": [ "ui/packages/fields/src/widgets/lookupRecordReference.ts", "ui/packages/fields/src/widgets/LookupField.tsx", "ui/packages/fields/src/index.tsx", "ui/packages/plugin-form/src/__tests__/lookupRecordHop-34197.test.tsx", "ui/examples/schema-catalog/test/form-field-channel-census-12130.test.tsx", ".changeset/34197-lookup-record-reference.md" ], "deviations": [ "referenceTargetOf throws on an unreadable `reference` carrier, which is a non-string. It is called as is, with no local fallback, per its own docblock; the spec's FieldSchema already refuses such a carrier at parse." ], "mcp_calls": "3 total, unchanged — mcp__github__issue_read; no write tool. The review comment was read with `gh api` (GET only).", "api_writes": "this round 2 — relay issue_patch on #34253 (PR body); this comment. Total 10.", "open_questions": [], "security_findings": "withheld", "out_of_scope_findings": [ "carrier: #34344 · inline form field members not stamped; the loose FormFieldSchema can author the stamp · cited in the census ledger row", "carrier: Skills-docs follow-up · fields.mdx / relationships.mdx teaching of { $record } / orEmpty · noted, not filed" ] }Stamped 2026-11-16T09:58Z.
Generated by Claude Code
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
席位核对 ACCEPT 已发在 PR #34253(head 866523a),已转 ready 并开启自动合并 · 2026-11-16T10:45Z
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
Landed · 2026-11-16T11:51Z
2c296cf2onmain(Fixes #34197)State:
pm:dispatchedremoved, assignee cleared.