Skip to content

Marketplace package page: the suggested-binding prompt and toasts name the permission set by its machine name (same class as #33864 item 1) #34094

Closed

Description

@objectstack-fleet

domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

Filing gate: ③ an out-of-scope finding of the #33864 dev (os-dev report 6899087689 on PR #34088), class a.
Reader: domain:ui (ui/packages/app-shell/src/console/marketplace/MarketplacePackagePage.tsx, the SuggestedBindingsPanel mount). Grade suggestion: p3 (the same ux-conventions.labels-over-machine-names defect #33864 is p3 for).
Dedupe: is:issue is:open suggested binding marketplace label — only #33864, whose Studio Access half is fixed by PR #34088.

维护者速读

应用市场的包详情页安装后,同样会出现「建议把权限集授权给所有人」的横幅和提示,但这里仍然用权限集的机器名(如 qa_note_readers)而不是标签(如「QA Note Readers」)。#33864 在 Studio → 访问 里修好了同一个横幅,这一处是同一个组件的另一个挂载点,没改到。

Facts (read on the PR #34088 head)

Ask

Name the set by its label (machine name at most secondary text) on the Marketplace package page mount. If that page holds no permission-set labels, say where the label is read from; if the suggestion payload itself should carry the label, stop and report rather than editing packages/**. Consider one shared label helper with the Studio mount instead of a second copy. Pins: the label is shown in the prompt and in the Grant/Dismiss/Revoke toasts; ablate red.

Blocked-by: #33864

Activity

  1. added
    bug
    finding
    domain:ui
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:ui · p3 · 2026-11-15T18:50Z

    ⛔ Not a claim.

    The Marketplace package page's suggested-binding prompt and toasts name the permission set by its machine name, the same labels-over-machine-names defect as #33864. p3.

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

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

    Claim: PM loop round 8 · 2026-11-15T22:43Z
    Session: session_01ADHkmR5r2gKPY7ssPrQxQD (card thread, dev) · seat session_01ADHkmT2NE3iyG1o6TDg3sf
    Account: os-steve
    Branch: claude/project-thread-by48ho
    Worktree: objectstack-issue-34094
    Domain: domain:ui
    Seat: domain:ui#1
    File surface: ui/packages/app-shell/src/console/marketplace/MarketplacePackagePage.tsx; SuggestedBindingsPanel.tsx only if a shared helper needs it; studio-design/StudioDesignSurface.tsx only to switch it to the shared helper; a new helper module under ui/packages/app-shell/src/; their tests; root .changeset/. packages/** read-only.
    Container & model: S–M, mode:thread, model: default tier, effort: high
    Clause-②: no (labels shown instead of machine names; no surface added)
    Metadata-protocol: none
    Responsibility: the Marketplace package page's suggested-binding prompt and toasts name the permission set by machine name | found by the #33864 dev (os-dev report 6899087689 on PR #34088) | every admin who installs a package that suggests a default binding
    Thread-read: none
    Premise: the blocker #33864 is closed; PR #34088 (merged as e08aad7cae) fixed the Studio Access mount of the same banner with suggestedSetLabel
    Serial constraints cleared: #33865 also touches this banner (the Revoke toast) and is not dispatched until this card lands; no other open PR touches MarketplacePackagePage.tsx or SuggestedBindingsPanel.tsx (live read 2026-11-15T22:43Z)
    Scope: the Marketplace mount names the set by its label in the prompt and the toasts, machine name secondary at most; one shared label helper preferred; pins + CONTROL + ablation. Fixes #34094. Order: /mnt/project-files/ui-seat1/standard-order.md + 34094-delta.md. Summons: the maintainer's 「skills ui 车道开放 p3 卡」 (2026-11-15T17:13Z); the lane has no dispatchable p1/p2.

  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#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

    Claim released · 2026-11-15T22:51Z

    The maintainer paused p3 dispatch at 2026-11-15T22:50Z (「后续暂停 p3 卡的派发,还是只处理 p1 p2」). This claim was posted minutes earlier and no code was pushed under it, so the seat releases it: the card thread is told to stop, pm:dispatched → pm:queue, assignee cleared. The card's facts and the seat's order file stay valid for whoever picks it up when p3 reopens.

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

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

    Correction to the release above: the dev had already pushed work under the claim before it stopped. No PR was opened and no report was filed.

    Resume-from: claude/project-thread-by48ho@951e0c13. That head holds the implementation and pin tests: 41/41 green locally, both ablation legs red and then restored. It has no changeset and the derived gates have not been run. Whoever picks this card up when p3 reopens should start from that head under a new claim.

  9. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbabAdcWyApSTGBYJNY

    Ruling-ref: maintainer 14:43Z 「立一张专题卡,开始执行」 and 15:56Z 「domain 和优先级 不是已经定了吗?为什么现在不能改卡」 · regrade v3 under epic #35205

    Grade: p2 (was p3) · area:ux · Bug · UX × not every user every time · 「Marketplace package page: the suggested-binding prompt and toasts name the permission set by its machine na…」; UX has no p3 (15:07Z 「和 cloud 对齐」)

  10. added
    priority:p2
    and removed on Nov 18, 2026
  11. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY

    Claim: area ux-1 round 1 · 2026-11-19T00:13Z
    Session: session_01Utp6CbSphdunq2aJq7ktuY
    Account: os-bill
    Branch: claude/issue-34094-marketplace-set-label
    Worktree: objectstack-issue-34094
    Domain: domain:ui
    Seat: repo:objectstack#5 · area ux-1 (lease:ux-1)
    File surface: ui/packages/app-shell/src/console/marketplace/MarketplacePackagePage.tsx, ui/packages/app-shell/src/components/suggestedSetLabel.ts (new shared helper), ui/packages/app-shell/src/components/SuggestedBindingsPanel.tsx only if the helper needs it, ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx only to switch to the shared helper, their tests, root .changeset/. packages/** read-only.
    Container & model: S–M, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the Marketplace package page mount of SuggestedBindingsPanel passes permission_set_name into its prompt and toasts | suggestedSetLabel from PR #34088 covers the Studio Access mount only | every admin who installs a package that suggests a default binding
    Thread-read: 6984871832
    Premise: holds (blocker #33864 closed; PR #34088 merged e08aad7cae; the Marketplace mount still passes the machine name on origin/main cdb327fd)
    Pre-claim lane: ui/packages/app-shell/** → domain:ui, area ux-1 (lease table).
    Pre-claim deps: Blocked-by: #33864 closed completed; PR #34088 merged.
    Prior rulings read: check-prior-rulings → ADR hits are generic term matches (ADR-0066 D1, ADR-0131 D4, ADR-0146 D6 …), none rules on the label shown; governing rule ux-conventions.labels-over-machine-names; thread: os-steve claim 6902606809 released 6902711531, resume note 6902727272; no conflict.
    Serial constraints cleared: overlap-check on the resume head: clean against origin/main and 0 open PR heads (exit 0). #33865 item 1 (Revoke toast on the same banner) waits for this PR to land.
    Resume-from: claude/project-thread-by48ho@951e0c13 (copied to the claim branch above)
    Scope: as the card's Ask; add the changeset, run the derived gates, ablate red. Fixes #34094.

  12. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 19, 2026
  13. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

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

    {
      "issue": 34094,
      "status": "done",
      "branch": "claude/issue-34094-marketplace-set-label",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35273",
      "session": "session_01Utp6CbSphdunq2aJq7ktuY",
      "premise_still_valid": true,
      "summary": "Resumed from 951e0c13 (the released claude/project-thread-by48ho head), merged origin/main cdb327fdf0 once (clean), added the patch changeset for @object-ui/app-shell, ran the derived gates, re-ran both ablation legs and opened draft PR #35273 (Fixes #34094, assignee os-bill). The Marketplace package page's three SuggestedBindingsPanel mounts go through a new PackageSuggestedBindings component that names the set by its label via the shared suggestedSetLabel helper (components/suggestedSetLabel.ts), reading the package's own sets with list('permission', { packageId }), the Studio Access rail's read; no label or a refused read falls back to the machine name with no error; the Studio Access mount delegates to the same helper. The payload is unchanged and packages/** is untouched. Revoke toast (next card #33865 item 1): it is drawn in SuggestedBindingsPanel.tsx act(), dismiss/revoke branch, toast.success(action === 'revoke' ? strings.revokedToast(s) : strings.dismissedToast(s)); on this head both mounts supply revokedToast and this PR's Marketplace pin sees it fire after Grant then Revoke, so that card's premise should be re-verified on main before work starts. Diff: 5 files, +232 / -39 = 271 lines; head 0cef8f75a6.",
      "tests": "Head 0cef8f75a6. Closure build: turbo run build --filter='@object-ui/app-shell^...' --concurrency=2 under the lock gave VERDICT command-exit 0 (68/68 tasks). Targeted run under the lock (marketplace __tests__/, SuggestedBindingsPanel.test.tsx, Studio accessSuggestionsReadOnly-33158, accessWording-34795, accessGuard): Test Files 66 passed (66), Tests 647 passed (647), VERDICT command-exit 0. Pin file verbose: Tests 10 passed (10), including the 5 objectstack#34094 cases. pnpm --filter @object-ui/app-shell run type-check: both tsc passes exited 0 (first half of an && chain whose vitest half then started). Ablation A via scripts/ablation-replace.mjs (suggestedSetLabel returns the machine name; anchor 1->0, blob d286df1b->d6744dfb): 7 failed / 24 passed (3 Marketplace + 4 Studio label pins red, CONTROLs green); restored blob d286df1b == HEAD, git diff HEAD empty. Ablation B (Marketplace set = s.permission_set_name; blob cf3e4e55->8d97b1d0): 3 failed / 7 passed; restored blob == HEAD. Source imports by relative path, so no dist and no rebuild was involved. Declared narrowing: the whole @object-ui/app-shell suite (2331 files) was stopped by me after ~40 min holding the shared lock and is NOT MEASURED locally; it is declared to the CI Test UI job.",
      "gates": "dispatch-gates --commands (head 0cef8f75a6, merge base cdb327fdf) derived 38 families. 37 exited 0. pnpm check:type-check-debt first exited 3 (PREREQUISITE NOT MET, a lock queue timeout behind my own app-shell suite run); re-run under the lock it gave VERDICT command-exit 0, 're-measure: OK — 0 raw tsc error(s) total'. The --ran reconciliation with both exits recorded shows 38 derived, 37 run, 1 NOT-MEASURED (it reads the double record conservatively as 3). check-nul-bytes exit 0. overlap-check VERDICT clean exit 0 (origin/main, 0 PR heads) before both pushes. PR check-runs at report time: Check Changeset, Check PR Size, Governed Surface Queue Guard, Lint (ESLint, PM dispatch-gates, CI/release/engine, docs & code guards, repo & tooling, scoped x3), PR-body guards, Type Check (consumer, debt ledger, source, workspace) are all in_progress; opt-in, queue and schedule jobs are skipped. The UI jobs had not reported yet.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls; POST /repos/objectstack-ai/objectstack/issues/35273/assignees), relay post-stamped os-dev-report (POST /repos/objectstack-ai/objectstack/issues/34094/comments); plus git push x2 to the branch",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  14. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY

    Close-out · 2026-11-19T01:56Z: PR #35273 merged as 0c047d0c08 (ACCEPT 6996970529, landing 6997004425); the card closed on merge. pm:dispatched removed.

  15. removed
    pm:dispatched
    on Nov 19, 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:uifindingpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions