Skip to content

Setup: Resend Invitation is offered on a cloud-managed environment, where its door refuses with 409 #33758

Closed

Description

@objectstack-fleet

domain:ui#1 · os-project-manager · session_01FEkQ5nWoa1Ze1QzjRTSYXD

Filing gate: ③ an out-of-scope finding of the #33186 dev (os-dev report 6892329704 on PR #33755, measurement table in the PR body), class a.
Reader: domain:ui (packages/platform-objects/src/identity/sys-invitation.object.ts, resend_invitation). Grade p2, self-graded by the seat: it sits on the managed onboarding path (cloud#4465, whose children #33186 / #33187 are p1). Under the maintainer's 「后续只处理 p1 p2」 it is dispatchable.
Dedupe: is:issue is:open resend_invitation cloudManaged finds nothing.

维护者速读

托管环境里「邀请」都改走云端,邀请接口在托管环境一律返回 409。但「重新发送邀请」按钮没有跟着隐藏,管理员点了只会看到冲突错误。应当和其他邀请按钮一样,在托管环境隐藏。

Facts

Ask

Hide resend_invitation on a cloud-managed environment with the same gate its siblings carry, booked in PUBLIC_AUTH_FEATURES.cloudManaged.gatedInputs as the feature-gate guard requires. Pin it in identity/cloud-managed-visibility.test.ts (managed hidden, unmanaged offered as today) and ablate the term red.

Activity

  1. added
    enhancement
    priority:p2
    pm:queue
    domain:ui
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

    Claim: PM loop round 1 · 2026-11-15T14:19Z
    Session: session_01ADHkmSvqbEXcD82ahq7W2C (card thread, dev) · seat session_01ADHkmT2NE3iyG1o6TDg3sf
    Account: os-steve
    Branch: claude/project-thread-ba2tq8
    Worktree: objectstack-issue-33758
    Domain: domain:ui
    Seat: domain:ui#1
    File surface: packages/platform-objects/src/identity/sys-invitation.object.ts, identity/cloud-managed-visibility.test.ts, feature-gate-guard.test.ts and the PUBLIC_AUTH_FEATURES.cloudManaged.gatedInputs booking it reads, root .changeset/. ⛔ Not sys-user.object.ts (#33187 holds it).
    Container & model: S, mode:thread, model: default tier, effort: medium
    Clause-②: no — it narrows where one action is offered; no acceptance set or public export widens
    Metadata-protocol: none
    Responsibility: an owner / admin on a cloud-managed environment is offered Resend Invitation on a pending row and gets 409 RESOURCE_CONFLICT | the sibling gate features.cloudManaged != true already hides copy_invitation_link and the invite_user mirrors | owners, admins and delegated admins of every cloud-managed environment
    Thread-read: none
    Premise: holds — on origin/main 895783a1 resend_invitation (sys-invitation.object.ts ~L144) has no features.cloudManaged term; copy_invitation_link (~L192) carries it
    Serial constraints cleared: no domain:ui card carried pm:dispatched before this round; parallel with #33187 (different object file); a translation-pack regeneration on both sides is re-run by the later PR after a main merge
    Scope: Hide resend_invitation on a cloud-managed environment with the siblings' gate, booked in gatedInputs; pin managed hidden / unmanaged offered; ablate red. Fixes #33758. Order: /mnt/project-files/ui-seat1/standard-order.md + 33758-delta.md. Summons: the maintainer's 「开 skills spec ui devx 座位,任务多的可以考虑开多个座位。」 (this project, 2026-11-15T14:04Z).

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

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmSvqbEXcD82ahq7W2C
    os-dev-report

    {
      "issue": 33758,
      "status": "done",
      "branch": "claude/project-thread-ba2tq8",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/33956",
      "session": "session_01ADHkmSvqbEXcD82ahq7W2C",
      "premise_still_valid": true,
      "summary": "sys_invitation.resend_invitation now carries visible: features.cloudManaged != true, the authored term its four invite_user mirrors carry, so its served predicate lowers to ((MANAGED) && INVITE) && ORG; booked in PUBLIC_AUTH_FEATURES.cloudManaged.gatedInputs (packages/spec). Premise held on 895783a1: the action had no cloudManaged term and plugin-auth's before-hook refuses every /organization/invite-member call on a managed environment (path-only match, resends included). Pinned in identity/cloud-managed-visibility.test.ts (hidden managed on an unexpired and an expired pending row, offered unmanaged on both, organization-off still hides). Changeset patch on platform-objects and spec.",
      "tests": "At head 8883bc6e. pnpm --filter @objectstack/platform-objects build && test && typecheck: Test Files 122 passed (122), Tests 1999 passed (1999), VERDICT command-exit 0 (first run before building platform-objects itself reds 2 files on Cannot find package @objectstack/platform-objects/system from plugin-audit: missing self dist, cleared by the build). pnpm --filter @objectstack/spec typecheck + vitest src/kernel: 65/65 files, 1487 tests, VERDICT 0; pnpm --filter @objectstack/spec test: Test Files 842 passed (842), Tests 26956 passed | 1 todo, VERDICT 0. Ablation (scripts/ablation-replace.mjs on sys-invitation.object.ts, the resend visible line removed: anchor x1 to x0, marker ABLATED-33758 x0 to x1, blob 81560437a0c7 to 72d6a4077144; no build needed, suites import src by relative path): Tests 4 failed | 310 passed: feature-gate-guard forward row, platform-objects.test lowering row, both new managed-hidden pins; restored blob == HEAD, git diff HEAD empty. Two earlier ablation attempts were refused by the tool before running (ANCHOR MISS; replacement substring of anchor), nothing measured on either. Forced test edit: platform-objects.test.ts resend_invitation lowering row.",
      "gates": "node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack: 87 commands, run at 8883bc6e, each exit captured before any pipe; --ran: 87 derived, 85 run, 2 NOT-MEASURED, 0 UNRUN. 85 exit 0, 0 red. check:i18n and check:lean-entry-closure first exit 3 (prerequisite), re-run exit 0 after the closure build they name (check-i18n-bundles: OK, 10 packages in sync). NOT MEASURED: node scripts/check-plugin-teardown-shape.mjs --self-test (positive control pinned to a commit outside the shallow clone; checker-health only) and pnpm check:dual-build-cjs-loads (needs every package built). CI check-runs: in_progress at report time, not waited on.",
      "dogfood_battery": "n/a — no ! in the PR title and Clause-② carries no (narrowing) arm",
      "mcp_calls": "1 — mcp__github__issue_read (get_comments on #33758, Claim check); no write tool",
      "api_writes": "2 relay strokes — fleet-write pr_create (POST /repos/objectstack-ai/objectstack/dispatches; relay legs POST pulls + POST issues/33956/assignees os-steve; read-back identical 6434 bytes) and this os-dev-report comment (post-stamped.mjs --comment=33758). git push is not counted.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted in PR Acceptance notes, not filed: resend_invitation carries no status term of its own; the rows it appears on are decided by the list views that project it"
      ]
    }
  5. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

    Landed

    PR #33956 MERGED at 2026-11-15T17:22Z as db3bbd3b68 through the merge queue; Fixes #33758 closed this card. Delivered: Setup hides Resend Invitation on cloud-managed environments (visible: 'features.cloudManaged != true' on sys_invitation.resend_invitation, booked in PUBLIC_AUTH_FEATURES gatedInputs; contract review 6896513034, carried by 6897497844). Nothing remains on this card.

    State change: pm:dispatched removed and the assignee cleared in this stroke.

  6. removed
    pm:dispatched
    on Nov 15, 2026
  7. added a commit that references this issue on Nov 16, 2026
    db3bbd3
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:uienhancementpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions