Skip to content

Docs and spec still say ban-user / unban-user need the admin plugin (true before #33227): actions.mdx worked example and AuthFamiliesSchema.admin describe #34008

Closed

Description

@objectstack-fleet

domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf

Filing gate: ③ a nit-graded finding (N3) of the contract record 6897296837 on PR #33989 (#33759), class b (published prose teaches a behaviour the tree no longer has).
Reader: none named — the two sites sit in domain:spec (packages/spec/src/api/discovery.zod.ts) and the docs surface (content/docs/protocol/objectui/actions.mdx); triage routes.
Dedupe: is:issue is:open ban-user admin plugin docs, AuthFamiliesSchema admin describe — no open card.

维护者速读

#33227 之后,停用 / 恢复用户(ban-user / unban-user)不再需要 admin 插件;#33759 已让界面按钮去掉这个限制。但两处对外文字还写着「需要 admin 插件」:协议文档的动作示例,以及 spec 里 AuthFamiliesSchema.admin 的说明(说 admin 关闭时这些路由返回 404)。AI 和开发者读到会写错。

Facts (read on the PR #33989 head 8631da39, per the record)

Ask

Correct both texts to the current behaviour (pick a still-gated action such as impersonate_user for the docs example; drop ban-user / unban-user from the 404 list), with the spec describe change carrying its own changeset. Re-check after #33989 lands.

Blocked-by: #33759

Activity

  1. added
    finding
    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:spec · p3 · 2026-11-15T16:50Z

    ⛔ Not a claim.

    Published prose still says ban-user and unban-user need the admin plugin, which stopped being true with #33227: the actions.mdx worked example and the AuthFamiliesSchema.admin describe. Published docs teach a behaviour the tree no longer has, so p3.

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

    @objectstack-fleet
    ContributorAuthor

    domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC

    Claim: PM loop round 4 · 2026-11-15T19:08Z
    Session: session_01ADHkmQjrEpxMVxEiDUJHqC (seat); a card thread of this account's project is the dev and reports its session id
    Account: os-steve
    Branch: pending — the card thread's designated branch; a follow-up Claim: from this session names it before the dev builds
    Worktree: objectstack-issue-34008
    Domain: domain:spec
    Seat: domain:spec#2
    File surface: packages/spec/src/api/discovery.zod.ts (AuthFamiliesSchema.admin describe only), content/docs/protocol/objectui/actions.mdx (the requiresFeature worked example), other content/docs/** copies of the same stale claim, regenerated spec references, root .changeset/
    Container & model: S/M, mode:thread, model: default tier
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack: published prose says ban-user / unban-user need the admin plugin and 404 without it, untrue since #33227 | AI and developer readers of actions.mdx and the discovery schema | anyone gating ban/unban on features.admin
    Premise: holds at origin/main (seat read: discovery.zod.ts ~:290 lists ban-user in the 404 family; actions.mdx ~:413 uses ban_user + requiresFeature: admin). Blocked-by #33759 cleared (PR #33989 merged). Order: /mnt/project-files/spec-seat2/34008-delta.md (project share).
    Priority: p3, dispatched under the maintainer's 2026-11-15T17:14Z opening of p3 on this lane; the spec queue holds no claimable 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:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC

    Claim: PM loop round 4 · 2026-11-15T19:11Z (names the branch; supersedes claim 6899711978, same session)
    Session: session_01ADHkmQjrEpxMVxEiDUJHqC (seat); card thread session_01ADHkmNsjxB7oSL12vpVvW6 is the dev
    Account: os-steve
    Branch: claude/project-thread-8kt12l (the card thread's designated branch; the platform lets a thread push only that branch)
    Worktree: objectstack-issue-34008
    Domain: domain:spec
    Seat: domain:spec#2
    File surface: packages/spec/src/api/discovery.zod.ts (AuthFamiliesSchema.admin describe only), content/docs/protocol/objectui/actions.mdx (the requiresFeature worked example), other content/docs/** copies of the same stale claim, regenerated spec references, root .changeset/
    Container & model: S/M, mode:thread, model: default tier
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack: published prose says ban-user / unban-user need the admin plugin and 404 without it, untrue since #33227 | AI and developer readers of actions.mdx and the discovery schema | anyone gating ban/unban on features.admin
    Premise: holds at origin/main (seat read: discovery.zod.ts ~:290 lists ban-user in the 404 family; actions.mdx ~:413 uses ban_user + requiresFeature: admin). Blocked-by #33759 cleared (PR #33989 merged). Order: /mnt/project-files/spec-seat2/34008-delta.md (project share).
    Priority: p3, dispatched under the maintainer's 2026-11-15T17:14Z opening of p3 on this lane; the spec queue holds no claimable p1/p2.

  7. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#2 · os-steve · session_01ADHkmNsjxB7oSL12vpVvW6
    os-dev-report

    {
      "issue": 34008,
      "status": "done",
      "branch": "claude/project-thread-8kt12l",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34119",
      "session": "session_01ADHkmNsjxB7oSL12vpVvW6",
      "premise_still_valid": true,
      "summary": "Measured on origin/main 27c2f1ea: /admin/ban-user and /admin/unban-user are raw ObjectStack mounts with no admin-plugin condition (auth-plugin.ts; engine ban writer when isAdminPluginMounted() is false; pinned in pending-sso-users.test.ts); the vendor routes list-users, set-role, update-user, list-user-sessions, revoke-user-session(s), stop-impersonating and impersonate-user still exist only with the plugin. Rewrote the AuthFamiliesSchema.admin describe (example member now impersonate-user, one sentence that ban-user / unban-user are ObjectStack mounts served whatever the flag says), and fixed the same stale claim in two more packages/spec copies: the features.admin describe (auth-endpoints.zod.ts) and the plugins.admin describe + JSDoc (auth-config.zod.ts). The actions.mdx requiresFeature example now gates impersonate_user. Regenerated four reference pages; patch changeset on @objectstack/spec.",
      "tests": "pnpm --filter @objectstack/spec test at 36887238 under the lock: Test Files 843 passed (843), Tests 26966 passed | 1 todo, VERDICT command-exit 0. Targeted spec src/api + src/system/auth-config: 64 files / 2130 tests passed. No test edit forced; no ablation (prose only).",
      "gates": "dispatch-gates --commands at 36887238: 104 derived. --ran on the final record: 104 accounted, 103 run exit 0, 1 NOT MEASURED (pnpm check:dual-build-cjs-loads exit 3 PREREQUISITE NOT MET: needs every package dist; left to CI). First-run reds rerun green on the same head: check-plugin-teardown-shape --self-test exit 3 (pinned fixture commit outside the shallow clone; fetched it, rerun exit 0); spec check:generated exit 1 (check:test-typecheck tsc failed without diagnostics while the full spec suite ran beside it; rerun alone under the lock: all 14 artifacts up to date). Records: project share spec-seat2/34008-gates-ran.txt (final) and 34008-gates-ran-all.txt (both runs). CI check-runs: in_progress at report time.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "2 — mcp__github__issue_read (get_comments on the card), mcp__github__pull_request_read (get on the PR); no write tools",
      "api_writes": "2 — relay pr_create (PR 34119, assignee os-steve), this os-dev-report comment via post-stamped.mjs",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — packages/plugins/plugin-auth/src/auth-manager-plugin-list.ts:312 comment 'Platform admin: ban/unban, set-password, impersonate, set-role.' beside the admin plugin registration; loose rather than false (with the plugin on the vendor ban hook still enforces); domain:server; in PR Acceptance notes",
        "carrier: none · noted, not filed — docs/qa/platform-checklist/areas/identity-auth.json item identity-auth.admin-lifecycle-operations title lists ban/unban among admin lifecycle operations, no plugin claim; domain:devx; in PR Acceptance notes"
      ],
      "files_changed": [
        ".changeset/34008-ban-without-admin-plugin-prose.md",
        "content/docs/protocol/objectui/actions.mdx",
        "content/docs/references/api/auth-endpoints.mdx",
        "content/docs/references/api/discovery.mdx",
        "content/docs/references/api/protocol.mdx",
        "content/docs/references/system/auth-config.mdx",
        "packages/spec/src/api/auth-endpoints.zod.ts",
        "packages/spec/src/api/discovery.zod.ts",
        "packages/spec/src/system/auth-config.zod.ts"
      ],
      "line_budget": "n/a — no skills/** or ratcheted file touched; diff +37 / -19 over 9 files",
      "deviations": [
        "File surface: the claim names discovery.zod.ts and content/docs/**; the delta's grep step added two more packages/spec copies of the stale claim (auth-endpoints.zod.ts features.admin describe, auth-config.zod.ts plugins.admin describe + JSDoc).",
        "No skills follow-up: git grep of ban-user / ban_user / unban under skills/ is empty."
      ]
    }

    Stamped 2026-11-15T19:49Z.


    Generated by Claude Code

  8. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC

    Claim: PM loop round 4 · 2026-11-15T19:55Z (widens the file surface; supersedes the branch claim of this session, same branch)
    Session: session_01ADHkmQjrEpxMVxEiDUJHqC (seat); card thread session_01ADHkmNsjxB7oSL12vpVvW6 is the dev
    Account: os-steve
    Branch: claude/project-thread-8kt12l (the card thread's designated branch; the platform lets a thread push only that branch)
    Worktree: objectstack-issue-34008
    Domain: domain:spec
    Seat: domain:spec#2
    File surface: packages/spec/src/api/discovery.zod.ts (AuthFamiliesSchema.admin describe), packages/spec/src/api/auth-endpoints.zod.ts (features.admin describe), packages/spec/src/system/auth-config.zod.ts (plugins.admin describe + JSDoc), all describe/JSDoc only; content/docs/protocol/objectui/actions.mdx (the requiresFeature worked example), regenerated spec references, root .changeset/. Widened after the contract review 6900367724 accepted the same stale sentence in the two added files
    Container & model: S/M, mode:thread, model: default tier
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack: published prose says ban-user / unban-user need the admin plugin and 404 without it, untrue since #33227 | AI and developer readers of actions.mdx and the discovery schema | anyone gating ban/unban on features.admin
    Premise: holds at origin/main (seat read: discovery.zod.ts ~:290 lists ban-user in the 404 family; actions.mdx ~:413 uses ban_user + requiresFeature: admin). Blocked-by #33759 cleared (PR #33989 merged). Order: /mnt/project-files/spec-seat2/34008-delta.md (project share).
    Priority: p3, dispatched under the maintainer's 2026-11-15T17:14Z opening of p3 on this lane; the spec queue holds no claimable p1/p2.

  9. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC

    Landed · #34008 via PR #34119 · 2026-11-16T00:21Z

    probe reading
    PR #34119 MERGED, merge commit 41ff7c346ee8779153b0595e5ebe8ee1b05697d8 at 2026-11-16T00:20Z
    card #34008 closed (by Fixes #34008)

    State: pm:dispatched removed and assignee cleared; the card is done. The ui follow-up is #34130. ui seat 1's #34124 has been told it can correct its "console buttons" sentence.

  10. removed
    pm:dispatched
    on Nov 16, 2026
  11. added a commit that references this issue on Nov 16, 2026
    41ff7c3
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:specfindingpriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions