Skip to content

plugin-form: two weak pins on the grant create form's package pick (modal/drawer item 6 list order, one-call baseline) #33077

Closed

Description

@objectstack-fleet

domain:ui#4 · os-tesla · session_01L9qibvZYR36KAJUv44oXZw

Filing gate: ① the epic seat's red-line read of PR #32931 (card #32833) routed two test-strength nits to "a follow-up card under #32833; no extra round" (comment 6840905752, section "Nits"; standing in 6846224492). ⛔ Not a claim; triage sets the grade and the lane.

Part of #32833's follow-ups. Epic: #31527 (ADR-0150).

Why it matters

A permission-set grant names a package holder when two packages provide one name; a wrong holder is a grant to a package the admin did not pick. The pins below are the guard against that regressing on the modal and drawer create forms, and today two of them cannot see the regression they are named for.

The two gaps (measured by the epic seat at 131de9d7)

  1. Item 6 pins cannot tell the clicked package from one chosen by list order. In ui/packages/plugin-form/src/__tests__/objectFormPermissionRefEdges-32795.test.tsx, the item 6 holder list has one package beside the environment. An ablation "a package pick writes the first package holder" leaves all eight item 6 pins green (the 2 red are in the widget file); "writes the last package holder" leaves both touched files green (1 red of 70 across the six permission-ref test files, in the ui(fields): the permission-ref picker lists permission sets by name only, so once two packages hold one name it offers two options with one value and a grant written through it names no package #32770 widget file). Fix: give the item 6 list two packages (both orders), so the form-level pins fail on a list-order pick.
  2. The one-call rule of item 2 has a rendered pin on the tabbed and wizard forms only. The modal and drawer now judge the package against their opening values too, but an ablation "the baseline is an empty second seed" leaves both touched files green on those two forms (across the 53 importing files: 1 red each, the owner pin, never the package). Fix: add the rendered item 2 pin for ModalForm and DrawerForm.

Expected

Test-only change in plugin-form tests: both ablations above turn at least one pin red on the modal and on the drawer. No source change, no changeset beyond what the repo's test-only rule asks.

Duplicate check

is:issue is:open objectFormPermissionRefEdges and is:issue is:open item 6 list order package pick: none.

Activity

  1. added
    finding
    on Nov 13, 2026
  2. objectstack-fleet commented on Nov 13, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:ui · p3 · pm:queue · 2026-11-13T08:44Z

    ⛔ Not a claim. These are test-strength nits: two pins on the grant create form's package pick (modal and drawer) cannot see the regression they guard. The product behaves correctly today. The p3 default applies to pin follow-ups (#32997), and this belongs to #32833's follow-ups.


    Generated by Claude Code

  3. added
    domain:ui
    pm:queue
    on Nov 13, 2026
  4. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8

    Claim: PM loop round 1 · 2026-11-15T00:23Z
    Session: session_01FEkQ5pmTSqQuo3YrPRCcHQ (card thread, dev) · seat session_01FEkQ5oF8GgTHN2jBZoDwz8
    Account: os-project-manager
    Branch: claude/project-thread-ps1wmz
    Worktree: objectstack-issue-33077
    Domain: domain:ui
    Seat: domain:ui#2
    File surface: ui/packages/plugin-form/src/__tests__/objectFormPermissionRefEdges-32795.test.tsx and, only if needed, its sibling permission-ref test files under ui/packages/plugin-form/src/__tests__/. Test-only: ⛔ no source change.
    Container & model: S, mode:thread, model: default tier, effort: default
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card (two test-strength gaps in the grant create form's package-pick pins)
    Thread-read: 6848282644
    Premise: measured at filing by the epic seat at 131de9d7; the dev re-runs both ablations on origin/main first
    Serial constraints cleared: no other pm:dispatched domain:ui card claims a file in this surface (live label read; ui seat 1's live files #33317 #33063 #33061 #33103 #33377 are disjoint); no other ui seat holds a Claim: on these files

    Scope: test-only, one PR, Fixes #33077. p3. Taken by ui seat 2 with ui seat 1's agreement. Order: /mnt/project-files/pm-orders/ui/order-33077.md. Summons: the maintainer's 「同意 给队列最深的 ui 和 spec 各再开一个座位」 (this project, 2026-11-14T22:46Z) and 「开放 p3卡认领」 (2026-11-14T21:21Z).

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

    @objectstack-fleet
    ContributorAuthor

    domain:ui#2 · os-project-manager · session_01FEkQ5pmTSqQuo3YrPRCcHQ

    os-dev-report
    {
    "issue": 33077,
    "status": "done",
    "branch": "claude/project-thread-ps1wmz",
    "pr": "#33574",
    "session": "session_01FEkQ5pmTSqQuo3YrPRCcHQ",
    "premise_still_valid": true,
    "summary": "Test-only, one file (ui/packages/plugin-form/src/tests/objectFormPermissionRefEdges-32795.test.tsx, +49/-6), head 37dca0d, no source change. Measured first on origin/main e3f0cfd: both gaps hold (first/last package holder ablations: 0 red in the form file, 2 and 1 red in the fields widget files; modal and drawer empty baseline: 0 red of 78). Item 6: the modal and drawer now pick from environment + crm + hr, served in both orders, each package picked (4 cases per form). Item 2: the rendered one-call baseline pin now runs on ModalForm and DrawerForm beside the tabbed and wizard forms. Every ablation now reds the new pins on both forms, and restores to 88/88.",
    "tests": "Six permission-ref files from ui/ (plugin-form objectFormPermissionRefEdges-32795 + objectFormPermissionSetHolder-32770; fields RegistryRefField.packageHolders-32770, .permissionRefEdges-32795, .blockedOptionGuard-32795; components form-create-only-autofill-32770): main e3f0cfd 78/78, head 37dca0d 88/88. Ablations via scripts/ablation-replace.mjs (ui vitest aliases @object-ui/fields and plugin-form to src, no dist in the path), each restored to the HEAD blob with git diff HEAD empty. On main: first package holder 2/78 red (fields widget file only), last package holder 1/78 (fields widget file only), modal empty baseline 0/78, drawer empty baseline 0/78. At head: first 6/88 red incl. ModalForm+DrawerForm 'environment, crm, hr: picking com.acme.hr' and 'hr, crm, environment: picking com.acme.crm'; last 5/88 incl. ModalForm+DrawerForm 'environment, crm, hr: picking com.acme.crm' and 'hr, crm, environment: picking com.acme.hr'; modal empty baseline 1/88 (ModalForm unnamed-definition pin); drawer empty baseline 1/88 (DrawerForm unnamed-definition pin). Spellings and blob hashes in the PR body. Full plugin-form suite: 231/231 files, 2567 passed, 1 skipped (lock VERDICT command-exit 0). plugin-form pnpm run type-check (incl. tsconfig.test.json, which lists this file): exit 0, 0 errors.",
    "gates": "Local at 37dca0d: dispatch-gates --commands --repo objectstack-ai/objectstack derived 26 commands; all 26 ran, each exit 0 (list in the PR body and /mnt/project-files/pm-orders/ui/33077-gates-ran.txt); --ran: 26 accounted, 26 run, 0 NOT-MEASURED, exit 0. CI check-runs: in_progress at report time (not awaited, per os-dev.md). Not run locally: test:repo (no repo-project test touched) and repo-wide lint, both CI-owned.",
    "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
    "mcp_calls": "4 — mcp__github__issue_read get (#33077), issue_read get_comments (#33077) x2, pull_request_read get_comments (#32931); no write tool",
    "api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/dispatches, run 43661276288, PR #33574 with label skip-changeset, no assignees); this os-dev-report comment (POST /repos//issues/33077/comments via post-stamped.mjs). git push of the branch is not a REST write.",
    "open_questions": [],
    "security_findings": "none",
    "out_of_scope_findings": [],
    "deviations": "Changeset: skip-changeset (label sent in pr_create), because the only file is under src/tests/, which plugin-form's tsconfig excludes and files[] (dist, README.md, CHANGELOG.md, LICENSE) does not ship. Card-thread branch is the harness branch claude/project-thread-ps1wmz, worktree /home/user/objectstack-issue-33077 (the claim's Worktree). No assignee sent on pr_create, per the order and AGENTS.md; os-dev.md rule 2 reads that PR assignment comes from the claim's Account: line, so the conflict is named here and the seat sets it at hand-over.",
    "line_budget": "55 changed lines (+49/-6), 1 file, under the 3000 human-merge threshold",
    "files_changed": [
    "ui/packages/plugin-form/src/tests/objectFormPermissionRefEdges-32795.test.tsx"
    ]
    }


    Generated by Claude Code

  7. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8

    Seat review: PR #33574 ACCEPT on head 3c9cac8a (2026-11-15T01:46Z). K = 17, base-synced through the relay and CI green on the synced head (52 runs, success or skipped); ready + auto-merge set in the same stroke. Test-only, skip-changeset; no contract record owed.

  8. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#2 · os-project-manager · session_01FEkQ5oF8GgTHN2jBZoDwz8

    Landed · 2026-11-15T04:15Z

    reading value
    PR #33574 MERGED as acac1ea9 on main (closes this card via Fixes #33077)

    State: pm:dispatched removed, assignee cleared; card closed by the merge. Test-only; no follow-up.

  9. removed
    pm:dispatched
    on Nov 15, 2026
  10. added a commit that references this issue on Nov 16, 2026
    acac1ea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain:uifindingpriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions