Skip to content

Fill-in dialog: a host's refusal-named row carries no record, so its options read only the typed values #37270

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Found by the dev of #37250 (PR #37264) and confirmed by the seat L1 on that PR (7158746595). This is the same family as #37250, outside that card's file surface.

维护者速读

What (read at #37264's head 57e988ac224)

Each host builds refusalField rows as { name, def } with no record. All three share one fix shape: set record on the refusal row from the same merge the collector uses.

  • ui/packages/plugin-detail/src/renderers/recordPathStageChange.tsx (~L416)
  • ui/packages/plugin-detail/src/InlineEditSaveBar.tsx (~L776)
  • ui/packages/plugin-grid/src/objectGridRequiredPrompt.tsx (~L203)

Kanban passes no refusalField.

Done when

  • A refusal-named option row's visibleWhen reads the record the write would leave, also when no collected field is shown.
  • There is one pin per host, red without the fix.

Notes

Activity

  1. added
    bug
    priority:p2
    pm:blocked
    domain:ui
    on Nov 25, 2026
  2. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    First touch 2026-11-25T10:33Z. Bug, confirmed as filed: area:ux · domain:ui · p2 · S, pm:blocked on #37250 (PR #37264). It is the same family as #37250, on a rarer path (a refusal-named row), so p2 stays below #37250's p1. It goes to seat 4 zone a4-U on unlock. Line form below, so the unlock scan reads it.

    Blocked-by: #37250

  3. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: unblocked 2026-11-25T12:34Z

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Ca6EBDpTBZk8v46Jjv

    Claim: PM loop round 1 · zone o5-U (area:ux p1/p2; the maintainer, verbatim, 2026-11-25T23:27Z project thread: 「再开两个专区,接ai ux 的 p1 p2 任务」) · 2026-11-26T00:56Z
    Session: session_01Utp6Ca6EBDpTBZk8v46Jjv
    Account: os-bill
    Area: o5-U
    Branch: claude/issue-37270-refusal-row-record
    Worktree: objectstack-issue-37270
    Domain: domain:ui
    Seat: repo:objectstack#5
    File surface: ui/packages/plugin-detail/src/renderers/recordPathStageChange.tsx, ui/packages/plugin-detail/src/InlineEditSaveBar.tsx, ui/packages/plugin-grid/src/objectGridRequiredPrompt.tsx (the refusalField row builders only), one new pin test file per host named for this card, root .changeset/. Stop on breach and report.
    Container & model: S, mode:subagent, model: default — dispatch-gates --tier: "no path-derived mandate", effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the console's own fill-in dialog hosts (objectstack, ui/packages/plugin-detail, plugin-grid) | RequiredWhenPromptField.record from PR #37264 already carries the merged record for collected rows | anyone whose save the server refuses naming a field the client did not foresee; rare
    Thread-read: 7162584369
    Premise: holds — on origin/main d558de0a the three refusalField builders (recordPathStageChange.tsx:416, InlineEditSaveBar.tsx:776, objectGridRequiredPrompt.tsx:203) are still present; the dev confirms each still omits record
    Serial constraints cleared: in-flight #36882 (this zone) touches plugin-grid ObjectGrid.tsx and ui/packages/fields, not these files; no open PR touches them at claim
    Pre-claim lane: domain:ui
    Pre-claim deps: Blocked-by: #37250 closed (PR #37264 merged)
    Prior rulings read: refusalfield,requiredwhenpromptfield → 0 hits; none; thread: none; repo: objectstack-ai/objectstack

  6. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 26, 2026
  7. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Ca6EBDpTBZk8v46Jjv
    os-dev-report

    {
      "issue": 37270,
      "status": "done",
      "branch": "claude/issue-37270-refusal-row-record",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37394",
      "head": "32112a59",
      "session": "session_01Utp6Ca6EBDpTBZk8v46Jjv",
      "premise_still_valid": true,
      "summary": "Each host's refusalField builder now sets record on the row it adds, from the same merge the collector judges its rows on: stage menu { ...record, [statusField]: stage.value }, inline Save { ...data, ...ask.draft }, list cell { ...record, [columnKey]: value }. A1 holds with one nuance: the collector's own merged object is internal to ui/packages/fields (fenced), so each host spells the same merge once locally from the same inputs. Premise holds for the stage menu (the only host whose dialog can open with no collected row; reproduced: the added radio row showed its empty state). In the inline Save and list cell hosts the dialog only opens with a collected row that already carries the merged record, so the user-visible options did not differ; there the fix makes the refusal row carry the record itself and the pin is on the row shape.",
      "acceptance": [
        "done-when 1 (refusal row visibleWhen reads the record the write would leave, also with no collected field shown): PASS — RecordStageMenu.refusalRowRecord-37270 renders the added channel row with 'Negotiation option' shown, 'Lost option' hidden, no radio-empty state",
        "done-when 2 (one pin per host, red without the fix): PASS — 3 pins, 3 ablations red (below)"
      ],
      "files_changed": [
        ".changeset/37270-refusal-row-record.md",
        "ui/packages/plugin-detail/src/renderers/recordPathStageChange.tsx",
        "ui/packages/plugin-detail/src/InlineEditSaveBar.tsx",
        "ui/packages/plugin-grid/src/objectGridRequiredPrompt.tsx",
        "ui/packages/plugin-detail/src/__tests__/RecordStageMenu.refusalRowRecord-37270.test.tsx",
        "ui/packages/plugin-detail/src/__tests__/InlineEditSaveBar.refusalRowRecord-37270.test.tsx",
        "ui/packages/plugin-grid/src/__tests__/objectGridRequiredPrompt.refusalRowRecord-37270.test.tsx"
      ],
      "line_budget": "283 changed lines (+280 / -3) vs the 3000 human-merge threshold: under; source +12/-3, rest tests + changeset",
      "tests": "head 32112a59. Pins: pnpm --dir ui exec vitest run (3 pin files) — Test Files 3 passed (3), Tests 3 passed (3), lock VERDICT command-exit 0. Package run: pnpm --dir ui exec vitest run --maxWorkers=2 packages/plugin-detail/ packages/plugin-grid/ — Test Files 736 passed | 1 skipped (737), Tests 6761 passed | 18 skipped (6779), VERDICT command-exit 0 (first attempt queue-timeout exit 99, re-taken on the same slot). Type check: pnpm --filter @object-ui/plugin-detail --filter @object-ui/plugin-grid run type-check (tsc --noEmit && tsc -p tsconfig.test.json, the test config includes src/**/*.test.tsx) — both Done, VERDICT command-exit 0. Ablation via scripts/ablation-replace.mjs per host (fix committed first; tests resolve @object-ui/* to source, no dist leg): stage menu anchor 1->0, blob e370217e->e278dc1b, Tests 1 failed (expected radio-empty label to be null); inline Save anchor 1->0, blob 4f67b6a9->50c9d8b1, Tests 1 failed (expected undefined to deeply equal the drafted record); list cell anchor 1->0, blob 4b7b3b5e->588bb91a, Tests 1 failed (same). Each restore: blob == HEAD and git diff HEAD empty.",
      "gates": "local: dispatch-gates --commands derived 38 families at 32112a59; all 38 run, exit 0 each (check:type-check-debt first exited 3 under lock contention, re-run exit 0: 0 raw tsc errors, none above record); dispatch-gates --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN. overlap-check --branch=HEAD: VERDICT clean exit 0 (merges cleanly into origin/main). CI on PR head 32112a59: 55 check-runs completed, 42 success, 13 skipped, 0 failure — incl. Test UI (+ shards), Type Check UI, Lint UI, Build & E2E UI, Live E2E UI, Test Core, Dogfood Regression Gate, Check Changeset, TypeScript Type Check, Lint & Repo Gates, Lint · ESLint, Type Check · workspace/consumer gates/debt ledger, PR-body guards, Governed Surface Queue Guard, Check PR Size.",
      "dogfood_battery": "n/a — no ! in the PR title and Clause-② is no without a (narrowing) arm",
      "readings": "dist builds for test resolution: @objectstack/spec, then formula/sdui-parser/client closures, then '@object-ui/plugin-detail^...' + '@object-ui/plugin-grid^...' for type-check; all VERDICT command-exit 0",
      "mcp_calls": "0",
      "api_writes": "2 relay writes — fleet-write pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/37394/assignees os-bill; read-back 3853 bytes identical); post-stamped comment on #37270 (POST /issues/37270/comments). Plus git push x2 (not REST).",
      "deviations": [
        "PR body Verification section points to this report instead of carrying the readings: os-dev.md says a subagent writes the PR body only at pr_create and does not PATCH it; the dispatch order allows PR-body patches via the relay. os-dev.md wins on conflict; the seat may fold the readings in.",
        "PR body footer uses os-dev.md's session-URL form, not the harness's robot-emoji attribution lines.",
        "Grid and inline-edit pins are row-shape pins (the refusalField return value), not rendered-option pins, because in those hosts the dialog cannot open without a collected row carrying the record; stated in the PR."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }

    Generated by Claude Code

  8. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

    Close-out · 2026-11-26T08:11Z

    Delivered by PR #37394, merged 2026-11-26T08:11Z: the refusal row keeps the record: inline-edit save bar, record stage menu and the grid's required prompt. pm:dispatched removed.

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

Metadata

Metadata

Assignees

Labels

area:uxbugdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions