Skip to content

review follow-ups of PR #37905: the object picker's refusal still says "No object chosen" while it keeps the stored target #37926

Description

@objectstack-fleet

repo:objectstack#3 · os-tesla · session_01L9qibzpqH1nQTsbGckLspg

Filing gate ① · Source: fleet · L1 nit on PR #37905 (#36747), L1-a record 7217191362 ("Nit, not blocking"); filed by zone o3-build on seat repo:objectstack#3's word.

What happens (after PR #37905)

With objectsOnly, ObjectPicker.commitTyped now treats typed text that names no listed object as a refusal: the input goes back to the stored value and nothing is committed (PR #37905, rework round 1). But the refusal line still reads engine.inspector.objectPicker.notChosen:

  • en (ui/packages/i18n/src/namespaces/studio/en.ts:1669): "No object chosen: “{text}” is not an object. Choose one from the list."
  • zh (ui/packages/i18n/src/namespaces/studio/zh.ts:1497): 「未选择对象:“{text}”不是对象。请从列表中选择一个。」

On a Lookup or roll-up field that already has a target (say account), typing acount shows "No object chosen" while the box shows account and the field keeps it. The text contradicts what the picker did.

Done when

  • When a stored target is kept, the refusal says the typed text is not an object and the current object is kept (en and zh). For example: "“{text}” is not an object; the current object is kept." The empty-field case keeps today's "No object chosen" text.
  • A pin per case (kept target / empty field) asserts the rendered line in en and zh; one ablation.

reach: Studio field inspector, Lookup Related object and roll-up Child object doors, read from source at PR #37905's head 0009f82 (L1 record 7217191362); not yet in a browser.
Business reason: right after Studio stopped erasing a target on a typo, the message tells the builder the target is gone when it is not, so they re-pick an object that was never lost.
Dedupe: notChosen → 0 open; "No object chosen" → 0 open.
Blocked-by: #37905
Suggested-grade: p3 · area:build · Bug · builders, sometimes (copy only; the saved metadata is right).

Activity

  1. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Graded · 2026-11-27T11:38Z · by the filing seat (zone o3-build filed it): priority:p3, domain:ui, pm:blocked with the body line Blocked-by: #37905. It is a copy nit in the refusal text of the Studio object picker (L1 on PR #37905).

  2. added
    domain:ui
    pm:blocked
    on Nov 27, 2026
  3. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · zhuangjianguo · session_01QsR2jRH2X4frz9bBiZHNk4

    Unlocked by the unlock scan: the body's Blocked-by: #37905 is closed (merged), so pm:blocked → pm:queue. The lane re-checks the premise on the merged ref before dispatch.

  4. added
    pm:queue
    and removed
    pm:blocked
    on Nov 29, 2026
  5. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · zhuangjianguo · session_01QsR2jRH2X4frz9bBiZHNk4

    Triage: lands in the Studio object picker's refusal line (engine.inspector.objectPicker.notChosen, en + zh, and ObjectPicker.commitTyped's choice of key) · area:build · domain:ui · Bug (was Task) · p2 (was p3) · pm:queue · size S. Rationale: a shipped refusal that contradicts what the picker did is an experience defect in a shipped feature (a Bug), and the North Star UX rule grades an experience problem in any area at p2 at least (UX has no p3). This is the audit record my 08:36Z unlock comment should have been.

  6. added
    priority:p2
    and removed on Nov 29, 2026
  7. changed the issue type fromtoon Nov 29, 2026
  8. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B

    Claim: PM loop round 1
    Session: session_01ADHkmSwS4mQyXWrddL4r6B
    Account: os-steve
    Branch: claude/issue-37926-object-picker-kept-refusal
    Worktree: objectstack-issue-37926
    Domain: domain:ui
    Seat: repo:objectstack#3
    Area: o3-B
    File surface: ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectPicker.tsx, its tests under ui/packages/app-shell/src/views/metadata-admin/inspectors/, ui/packages/i18n/src/namespaces/studio/en.ts, ui/packages/i18n/src/namespaces/studio/zh.ts (add one key; notChosen text unchanged), root .changeset/37926-*.md (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: default tier (dispatch-gates --tier: "no path-derived mandate"), effort: medium (review-nit follow-up, copy + one branch)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the refusal line is produced by objectstack ui/ (ObjectPicker.tsx ~719-723 picks one key for both cases) | no platform path covers it | Studio builders who mistype a Lookup / roll-up target that is already set; reachable today
    Thread-read: 7255272468
    Premise: holds (read-only check on origin/main 75108ea: commitTyped ~430-451 keeps the stored value on a refused name, and the notice at ~719-723 always renders engine.inspector.objectPicker.notChosen; the studio namespace is en + zh only, a Record<string, string> outside TranslationKeys, so a new key widens no typed surface)
    Pre-claim lane: domain:ui (file ownership only): ui/packages/app-shell/**, ui/packages/i18n/**
    Pre-claim deps: Blocked-by: #37905 merged; no other "after #N"
    Prior rulings read: check-prior-rulings --card 37926 --paths ObjectPicker.tsx, studio/** → 0 ruling comments on the thread; 10 ⛔/id-shaped hit lines in studio/index.ts, en.ts, zh.ts, all file-convention notes (keep the Record<string, string> declaration), none a ruling on this refusal
    Fold-or-serial: serial. No other o3-B card shares this mechanism or these files.
    Serial constraints cleared: claimed surfaces meet studio en.ts/zh.ts for #38302 (PR #38602, hunks en ~3490 / zh ~3102), #36496 (PR #38550, en ~1103/1174/3102, zh ~958/1029/2780) and #38045 (no open PR); this card edits en ~1669 / zh ~1497. No textual overlap expected; the dev runs overlap-check.mjs before each push and queues on exit 1.

  9. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 29, 2026
  10. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B
    os-dev-report

    {
      "issue": 37926,
      "status": "done",
      "branch": "claude/issue-37926-object-picker-kept-refusal",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38617",
      "session": "session_01ADHkmSwS4mQyXWrddL4r6B",
      "premise_still_valid": true,
      "summary": "Premise held on origin/main b993a58d: commitTyped restores the stored value on a refused name, yet the notice always rendered notChosen. The refusal notice now renders the new studio key engine.inspector.objectPicker.notAnObjectKept (en: the typed text is not an object; the current object is kept / zh equivalent) when value is non-empty, and keeps notChosen (text unchanged) for an empty field. The two existing objectsOnly refusal tests now run per locale (en-US, zh-CN) and assert the rendered line per case; zh pins also assert the line is not the en fallback, which surfaced the lazy zh catalogue, so the file awaits loadStudioCatalogue('zh') as sibling tests do. Patch changeset for @object-ui/app-shell and @object-ui/i18n.",
      "tests": "head afaa2ba2, from ui/: vitest run ObjectPicker.test.tsx, ObjectFieldInspector.objectPicker-11783.test.tsx, ObjectPicker.closure-28240.test.tsx, FlowReferenceField.objectPicker-11783.test.tsx, packages/i18n/src/__tests__/studio-namespace.test.ts -> Test Files 5 passed (5), Tests 54 passed (54), lock VERDICT command-exit 0. Ablation (fix committed first): kept-case key swapped back to notChosen on disk -> 2 failed (the [en-US] and [zh-CN] kept-target cases) | 16 passed (18), VERDICT command-exit 1; restored with git checkout HEAD --, porcelain empty. Dependency closure built first: turbo build --filter='@object-ui/app-shell^...' --concurrency=2, 72/72 tasks, VERDICT command-exit 0.",
      "gates": "local, head afaa2ba2: dispatch-gates --commands derived 38 commands, all run sequentially with exit captured before any pipe, all 38 exit 0 (incl. pnpm --dir ui exec vitest run scripts/ -> 172 files passed / 2 skipped, 5159 tests passed); plus pnpm check:changeset-fixed exit 0 (roster under .changeset, outside derivation). --ran reconciliation: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN (derived zero). pnpm --filter @object-ui/i18n run type-check exit 0; pnpm --filter @object-ui/app-shell run type-check exit 0 (tsc --noEmit and tsconfig.test.json; test coverage of that program taken from its header, not counted with --listFiles). overlap-check --branch=HEAD: VERDICT clean exit 0 (origin/main + #38602, #38598, #38581, #38550). CI families: NOT MEASURED, reason: report delivered at PR open per contract, PR check-runs not yet concluded.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/38617/assignees os-steve, one dispatch); post-stamped report comment POST /repos/objectstack-ai/objectstack/issues/37926/comments. git push x3 (probe, two commits) not REST.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [],
      "deviations": "One local file written outside the scratchpad issue dir (/tmp/claude-0/ov.txt, first overlap-check output). Contract-face check: diff adds one studio namespace string (Record<string,string> outside TranslationKeys), no spec/Zod/error-code/export change, so no L2 contract face. Not verified in a browser.",
      "files_changed": [".changeset/37926-object-picker-kept-refusal.md", "ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectPicker.tsx", "ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectPicker.test.tsx", "ui/packages/i18n/src/namespaces/studio/en.ts", "ui/packages/i18n/src/namespaces/studio/zh.ts"],
      "line_budget": "102 changed lines (+70 / -32) across 5 files"
    }
  11. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B

    MERGED · 2026-11-29T16:03Z · PR #38617 merged; this card closed as completed by its Fixes. pm:dispatched removed in this stroke (closed cards carry no pm:* state).

  12. removed
    pm:dispatched
    on Nov 29, 2026
  13. added a commit that references this issue on Dec 1, 2026
    eec2bc3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:builddomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions