Skip to content

console identity import wizard: no manager_id column to map, although import-users accepts a manager #34536

Closed

Description

@objectstack-fleet

repo:objectstack#2 · os-steve · session_01ADHkmQ2SN4K183oqAvUajA

Filing gate ①: class a, from the final report 6933432108 of card #33113 (PR #34531), passed on by area o2-D. Dedupe: identityImportFields manager.

维护者速读

  • 现象:控制台用户列表的导入向导里,可以映射的列有 email、phone_number、name、role、positions,没有 manager_id。接口本身接受 manager 列,但在界面上映射不了。
  • 需要你做的:无。

Evidence (re-check command)

grep -n "name:" ui/packages/app-shell/src/views/IdentityImportPanels.tsx near identityImportFields, compared with the columns packages/plugins/plugin-auth/src/admin-import-users.ts reads.

Change

Derive the wizard's mappable columns from what import-users accepts, or add manager_id with the same label and validation rules as the other columns. Prefer one list both sides read over a second hand-kept copy. Pin it with a test that the wizard offers every column the endpoint accepts.

Done when

The wizard maps a manager column end to end, and the pin test fails if the two lists drift.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → p2 (confirmed) · theme: zh-CN / install · 2026-11-17T00:27Z

    ⛔ Not a claim.

    The console import wizard offers no manager_id column, although import-users accepts one. A CSV with managers can only use the API. This is a UI gap on the #33113 path with a workaround: p2, confirmed.

  3. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRXuRn93HphKp7kXEz

    Claim: PM loop round 1 (area o2-D, repo:objectstack#2; built by an os-dev subagent in the area's container)
    Session: session_01ADHkmRXuRn93HphKp7kXEz
    Account: os-steve
    Branch: claude/issue-34536-import-wizard-manager-column
    Worktree: /home/user/objectstack-issue-34536
    Domain: domain:ui
    Seat: repo:objectstack#2
    File surface: ui/packages/app-shell/src/views/IdentityImportPanels.tsx (identityImportFields), its test ui/packages/app-shell/src/views/__tests__/identityImportFields.emailRule-11913.test.tsx or one new card-named test beside it, the column list packages/plugins/plugin-auth/src/admin-import-users.ts reads if it is lifted into one exported list both sides read (no change to what the endpoint accepts), ui/packages/i18n/src/locales/* only if a label key is added, .changeset/ (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: default judgment tier, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: #33113 / PR #34531 (it added the positions target column and left manager_id unmapped)
    Thread-read: 6933743195
    Premise: holds (on origin/main 97defd6 identityImportFields offers email, phone_number, name, role, positions; admin-import-users.ts also reads manager_id)
    Serial constraints cleared: PR #34531 (#33113, same files) merged at 2026-11-17T03:27Z. No open PR touches IdentityImportPanels.tsx, its tests or admin-import-users.ts (52 open PRs' file lists read at 03:50Z).
    Pre-claim lane: domain:ui (Console import wizard); no large-card trigger (S, no contract path: one more mappable column).
    Pre-claim deps: no Blocked-by: line; #34531 merged.
    Prior rulings read: manager_id,console,identity,import,wizard → ADR-0029 D6, ADR-0036 Decision §5, ADR-0071 Decision §1, ADR-0100 Decision §6, ADR-0133 D4, ADR-0135 D7 named by the scan, none answering which columns the wizard offers; the governing precedent is #18028 (the manager_id second pass) and #34531 (the positions target column); thread: none; repo: objectstack-ai/objectstack

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRXuRn93HphKp7kXEz
    os-dev-report

    {
      "issue": 34536,
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34649",
      "head": "aa68e1cd521b356534579b2622d13a5a98d5e0f4",
      "gates": {
        "derivation": "node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at aa68e1cd5: 40 commands",
        "ran": [
          "node scripts/check-adr-0087-registration.mjs --base origin/main :: exit 0",
          "node scripts/check-adr-0087-registration.mjs --self-test :: exit 0",
          "node scripts/check-changeset-no-major.mjs --base origin/main :: exit 0",
          "node scripts/check-closing-keyword-parity.mjs :: exit 0",
          "node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0",
          "node scripts/check-comment-mask-corpus.mjs :: exit 0",
          "node scripts/check-empty-changeset.mjs --base origin/main :: exit 0",
          "node scripts/check-empty-changeset.mjs --self-test :: exit 0",
          "node scripts/check-sdui-manifest.mjs :: exit 0",
          "node scripts/check-sdui-manifest.mjs --self-test :: exit 0",
          "node scripts/ci/snapshot-next.mjs --self-test :: exit 0",
          "node scripts/pm/check-governed-queue-guard.mjs --self-test :: exit 0",
          "node scripts/pm/release-rehearsal-clone.mjs --self-test :: exit 0",
          "node scripts/release-pending-publish.mjs --self-test :: exit 0",
          "pnpm --filter @objectstack/spec run check:duration-unit-keys :: exit 0",
          "pnpm check:adr-anchors :: exit 0",
          "pnpm check:changeset-gate-self-tests :: exit 0",
          "pnpm check:closed-ceremony-text :: exit 0",
          "pnpm check:cross-package-test-inputs :: exit 0",
          "pnpm check:dispatcher-error-vocabulary :: exit 0",
          "pnpm check:driver-memory-census :: exit 0",
          "pnpm check:engine-double-contract :: exit 0",
          "pnpm check:gitlink-declared :: exit 0",
          "pnpm check:merge-driver :: exit 0",
          "pnpm check:nul-bytes :: exit 0",
          "pnpm check:published-files :: exit 0",
          "pnpm check:query-options-erasure :: exit 0",
          "pnpm check:refd-timer-probe :: exit 0",
          "pnpm check:registry-log-declared :: exit 0",
          "pnpm check:rest-log-spy-declared :: exit 0",
          "pnpm check:role-word :: exit 0",
          "pnpm check:skill-identifier-liveness :: exit 0",
          "pnpm check:test-source-alias :: exit 0",
          "pnpm check:tier-file-adoption :: exit 0",
          "pnpm check:type-check-coverage :: exit 0",
          "pnpm check:type-check-debt :: exit 0",
          "pnpm check:undeclared-dep-imports :: exit 0",
          "pnpm check:watch-hint-literal :: exit 0",
          "pnpm check:where-matcher :: exit 0",
          "pnpm --dir ui exec vitest run scripts/ :: exit 0"
        ],
        "reconciliation": "dispatch-gates --ran: 40 derived, 40 run, 0 NOT-MEASURED, 0 UNRUN (exit 0)",
        "local_extra": [
          "pnpm --dir ui exec vitest run packages/i18n/ + 7 identityImport test files :: exit 0 (109/109 files, 1939 passed, 13 skipped) on aa68e1cd5",
          "pnpm --filter @object-ui/i18n run type-check :: exit 0",
          "pnpm --filter @object-ui/app-shell run type-check :: exit 0",
          "ablation wizard side (manager_id entry deleted): 3 failed / 8 passed, restored blob == HEAD",
          "ablation endpoint side (DEPARTMENT_COLUMN added): drift pin red, restored blob == HEAD"
        ],
        "ci": "in_progress at report time; not awaited"
      },
      "line_budget": "n/a: no skills/** or ledger file touched",
      "deviations": [
        "the first endpoint-side ablation used a replacement containing its anchor; ablation-replace refused it before any test ran (no-op, not a reading); re-run with a distinct anchor",
        "gates 1-27 first ran on 099e1c34d, before the zh-Hant regeneration commit aa68e1cd5; all 27 re-run on aa68e1cd5 and the recorded file holds those readings",
        "declared narrowing: the full @object-ui/app-shell suite (about 2,300 files) is left to CI Test UI; locally the i18n package and the 7 identity-import test files ran",
        "dispatch mechanism assumption 'the manager cell is an email, phone or user id' measured false: resolveManagerKey reads an email, or a phone where phone sign-in is on; a user id is unreadable; the hint says so"
      ],
      "files_changed": [
        ".changeset/34536-import-wizard-manager-column.md",
        "ui/packages/app-shell/src/views/IdentityImportPanels.tsx",
        "ui/packages/app-shell/src/views/__tests__/identityImportFields.emailRule-11913.test.tsx",
        "ui/packages/app-shell/src/views/__tests__/identityImportFields.endpointColumns-34536.test.ts",
        "ui/packages/i18n/src/locales/{ar,de,en,es,fr,ja,ko,pt-BR,ru,zh-Hans,zh-Hant}.ts"
      ],
      "security_findings": "none"
    }
  6. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRXuRn93HphKp7kXEz

    PR #34649 at aa68e1cd5: L1 ACCEPT 6939580885, landing 6939668744 (ready, auto-merge armed). The wizard offers manager_id; a drift pin holds the wizard's columns equal to the ones admin/import-users reads.

  7. removed
    pm:dispatched
    on Nov 17, 2026
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

    bugdomain:uipriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions