You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Managed environments: re-show the add-people actions in Setup → Users (reverse #25295 / #25309's visible predicates for adding) #33186
Filing gate: ④ a child of the topic card objectstack-ai/cloud#4465 (the maintainer's rulings 1-10 of 2026-11-13/14 are recorded there; read it first).
维护者速读
恢复「设置 → 用户」里加人、导入的按钮显示。这些按钮之前因为「托管只走云端邀请」被隐藏了。
Work (objectstack-ai/cloud#4465 child 1b)
Reverse the visible predicates that hide adding people on a managed environment (#25295 / #25309). Point them at the new pending-user door (card F2). Password and local-credential actions stay hidden.
priority:p1 on the maintainer's word, verbatim (seat session session_01Q4EjjPP1zuWBNq3nBXVei9, 2026-11-14): 「都是p1,车道自己认领就可以」. Triage routes it to its lane; the lane claims it.
Grade p1 on the maintainer's word, verbatim: 「都是p1,车道自己认领就可以」 (seat session session_01Q4EjjPP1zuWBNq3nBXVei9). This is a child of objectstack-ai/cloud#4465, which records rulings 1–10: people are added in the environment, and credentials stay in the cloud.
Claim: PM loop round 1 · 2026-11-15T08:11Z
Session: session_01FEkQ5o1t4Dbyp8n9chrc65 (card thread, dev) · seat session_01FEkQ5nWoa1Ze1QzjRTSYXD
Account: os-project-manager
Branch: claude/project-thread-m0kvuy
Worktree: objectstack-issue-33186
Domain: domain:ui
Seat: domain:ui#1
File surface: packages/platform-objects/src/identity/sys-user.object.ts (and the other identity objects only where the measurement shows an add-person action lives), packages/lint/src/validate-visibility-predicates.ts only if it must read the new predicates, their tests, root .changeset/. ⛔ No spec, server route, host-seam or better-auth patch; local-credential actions stay hidden on a managed environment.
Container & model: S, mode:thread, model: default tier, effort: default
Clause-②: yes (widening)
Metadata-protocol: none
Responsibility: a platform administrator on a cloud-managed environment cannot add a person from Setup → Users, because the add actions are hidden there since #25309 | the new actions write sys_user rows with source = idp_pending through POST /admin/add-sso-user / import-sso-users (#33227), which the door already guards | platform administrators of every cloud-managed environment
Thread-read: 6868765295
Premise: read on merged #33227 (cbb876c1, Fixes #33181) and its changeset, and on sys-user.object.ts at origin/main; the dev measures every hidden add-person action on a managed boot first
Serial constraints cleared: no other pm:dispatcheddomain:ui card claims a file in this surface (live label read); no other ui seat holds a Claim: on these files; #33187 follows on the same branch after this card's PR merges (one dev, serial)
Scope: cloud#4465 child 1b: point the add-person actions at the pending-user doors, visible only on a managed environment; one PR, Fixes #33186. p1 on the maintainer's word 「都是p1,车道自己认领就可以」 (triage 6868765295). The declaration lines start at yes (widening) / none; the dev measures them on the diff, and the seat amends this claim if they differ. Order: /mnt/project-files/pm-orders/ui/order-33186.md. Summons: the maintainer's 「开一个 ui 车道,派发 p1 p2 任务」 (this project, 2026-11-14T14:13Z) and 「后续只处理 p1 p2」 (this project, 2026-11-15T05:05Z).
{
"issue": 33186,
"status": "done",
"branch": "claude/project-thread-m0kvuy",
"pr": "#33755",
"head": "e6eb15eb",
"session": "session_01FEkQ5o1t4Dbyp8n9chrc65",
"premise_still_valid": true,
"summary": "Draft PR #33755 (Fixes #33186), 4 commits on origin/main ee627c6. Two new sys_user actions, add_sso_user (target admin/add-sso-user; params email, name, positions via position-ref, permissionSets via permission-ref, manager as an email) and import_sso_users (target admin/import-sso-users; one csv textarea), each offered by current_user.isPlatformAdmin == true && has(features.cloudManaged) && features.cloudManaged == true, requiredPermissions PLATFORM_ADMIN_USERS_GATE, no requiresFeature (the doors mount without the admin plugin). No existing predicate edited: create_user, set_user_password, the four invite_user mirrors and copy_invitation_link stay hidden on a managed environment; off it nothing changes. Measurement first (table in the PR body): the six doors of #25309 are hidden on managed and offered off it; resend_invitation is offered on managed although invite-member refuses there; add_member is offered on both and adds no person. No spec change: the feature-gate registry books one polarity per flag, so the two show-when-on inputs are listed in a test-local SHOWN_WHEN_ON ledger in feature-gate-guard.test.ts and held to the inverse conjuncts. i18n keys regenerated in every bundle and hand-translated in the ten translated locales.",
"tests": "platform-objects full suite at e6eb15e: 122 files, 1992 passed. New pins: cloud-managed-visibility.test.ts (new describe: targets, managed offered, unmanaged hidden, no-flag hidden not faulted, org owner hidden, exact offered sets per mode); pending-sso-users.test.ts (new describe, real AuthManager + Hono mount, body composed from the declared action: add_sso_user 201 with source idp_pending, position, permission set, manager; import_sso_users 200 summary 2/2; CONTROL unmanaged both 409 RESOURCE_CONFLICT, no row), 48 passed at a199be8; platform-admin-affordance-standing.test.ts evaluates both managed modes; platform-objects.test.ts byte rows; feature-gate-guard.test.ts SHOWN_WHEN_ON. Ablations via scripts/ablation-replace.mjs, all red then restored to the HEAD blob with git diff HEAD empty: A1 drop managed half 7 red; A2 drop standing 6 red; A3 drop has() 4 red; A4 add_sso_user target to create-user and A5 import_sso_users target to import-users, platform-objects dist rebuilt both legs with ablation-dist-preflight present/absent exit 0, live pins red (2 failed each), restored tree 3 passed.",
"gates": "dispatch-gates --commands at e6eb15e: 68 families; 67 exit 0, 1 NOT MEASURED (pnpm check:dual-build-cjs-loads exit 3 PREREQUISITE NOT MET, needs every dist; CI). --ran: 68 derived famil(ies) accounted for, 67 run, 1 NOT-MEASURED. typecheck platform-objects exit 0, plugin-auth exit 0 (lock VERDICT command-exit 0). check:i18n exit 0 after the hand translations. check:i18n-coverage (not derived) exit 3 prerequisite (examples closure unbuilt): NOT MEASURED, CI. CI check-runs: in_progress at hand-over. Record: /mnt/project-files/pm-orders/ui/33186-gates-ran.txt.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"line_budget": "n/a — no skills/** path",
"files_changed": [
".changeset/33186-managed-add-people-actions.md",
"packages/platform-objects/src/identity/sys-user.object.ts",
"packages/platform-objects/src/identity/cloud-managed-visibility.test.ts",
"packages/platform-objects/src/platform-admin-affordance-standing.test.ts",
"packages/platform-objects/src/platform-objects.test.ts",
"packages/platform-objects/src/feature-gate-guard.test.ts",
"packages/plugins/plugin-auth/src/pending-sso-users.test.ts",
"packages/platform-objects/src/apps/translations/*.objects.generated.ts and *.source-hashes.generated.ts (21 files, regenerated by check-i18n-bundles --write; translated values hand-written in ar, de, es-ES, fr, ja-JP, ko, pt-BR, ru, zh-CN, zh-Hant)"
],
"deviations": [
"File surface: the claim names sys-user.object.ts, their tests and the changeset. Also touched: the 21 generated translation bundles (owed by check:i18n for any new label) and, as tests, plugin-auth pending-sso-users.test.ts (the live pin; plugin-auth already depends on platform-objects), feature-gate-guard.test.ts and platform-admin-affordance-standing.test.ts (both red on the new actions otherwise). packages/lint/src/validate-visibility-predicates.ts not touched: it reads no action visible.",
"Harness attribution asks for a model-named Co-Authored-By trailer; commits carry the model-free pair the pre-push check requires."
],
"mcp_calls": "5 — reads only: issue_read x4 (33186 get + comments, 33187 get, 33181 get + comments), 0 writes",
"api_writes": "3 — git push (not REST); relay pr_create #33755 (read back 14919/14919 bytes identical, no assignees, no labels); this os-dev-report comment via post-stamped",
"open_questions": [
{
"question": "Should PUBLIC_AUTH_FEATURES (packages/spec) model inputs a hide-when-on flag SHOWS while on, instead of the test-local SHOWN_WHEN_ON ledger this PR adds in feature-gate-guard.test.ts?",
"status": "needs_decision",
"options": [
"A — keep the test-local ledger (this PR). No spec change, as the order rules. Cost: the registry stays silent about the two inputs; the guard and cloud-managed-visibility.test.ts pin them.",
"B — add an optional registry member (e.g. shownWhileOnInputs) on the cloudManaged entry and teach the guard both polarities. Cost: a spec change (published type widened, api-surface regen, contract review) whose only reader is a test."
],
"recommendation": "A. Business need: the two inputs are real (managed add-people, the core onboarding flow) and they are pinned either way. Long-term: the registry has no runtime reader (only this guard and one ADR mention), so a new spec member would be declared surface with zero runtime pull; a test-local ledger beside the walk that reads it is the narrower honest home. AI-error axis: both arms red an unbooked show-when-on gate (the reverse walk) and hold its exact conjuncts; neither is laxer. Startup focus: B widens a published spec type for one test reader, which the implementation-first rule says not to do."
},
{
"question": "#33227's hand-over names this card for dropping requiresFeature: 'admin' from sys_user.ban_user / unban_user (both doors now work without the admin plugin). The order scopes #33186 to adding people and does not name it. Leave it to its own card?",
"status": "needs_decision",
"options": [
"A — own card (domain:ui), not in #33186",
"B — amend this claim and add it to PR #33755"
],
"recommendation": "A. It changes deactivation, not adding, and widens ban/unban on every kernel without the admin plugin, managed or not; it deserves its own measurement (ban_user's row-state predicate and requiredPermissions stay) and its own Clause-② line."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"class: a · reach: on a cloud-managed environment, sys_invitation.resend_invitation is offered on a pending invitation row to owners/admins/delegated admins (predicate has no cloudManaged term, measured: managed=true) while its door POST /api/v1/auth/organization/invite-member answers 409 RESOURCE_CONFLICT there, resends included (auth-manager-before-hook.ts cloud-managed branch) · evidence: measurement table in PR #33755 body · dedupe words: resend_invitation cloudManaged hidden, invite-member 409 managed resend, copy_invitation_link sibling gate",
"carrier: #33187 · the import_sso_users result dialog shows the per-row answer as JSON; the row-by-row UI, re-send and status are #33187's"
]
}
Activity
objectstack-fleet commentedon Nov 14, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: routed →
domain:ui· p1 ·pm:blocked· 2026-11-14T00:46Z⛔ Not a claim.
session_01Q4EjjPP1zuWBNq3nBXVei9). This is a child of objectstack-ai/cloud#4465, which records rulings 1–10: people are added in the environment, and credentials stay in the cloud.Blocked-by: #33181(the pending-user door it points the add actions at). It can go to the samedomain:uisession as Setup → Users on a managed environment: add-person and CSV-import UI with per-row invitation status (reverses objectui#13330 for adding) #33187.objectstack-fleet commentedon Nov 15, 2026
domain:ui#1 · os-project-manager · session_01FEkQ5nWoa1Ze1QzjRTSYXD
Claim: PM loop round 1 · 2026-11-15T08:11Z
Session:
session_01FEkQ5o1t4Dbyp8n9chrc65(card thread, dev) · seatsession_01FEkQ5nWoa1Ze1QzjRTSYXDAccount:
os-project-managerBranch:
claude/project-thread-m0kvuyWorktree:
objectstack-issue-33186Domain:
domain:uiSeat:
domain:ui#1File surface:
packages/platform-objects/src/identity/sys-user.object.ts(and the other identity objects only where the measurement shows an add-person action lives),packages/lint/src/validate-visibility-predicates.tsonly if it must read the new predicates, their tests, root.changeset/. ⛔ No spec, server route, host-seam or better-auth patch; local-credential actions stay hidden on a managed environment.Container & model: S,
mode:thread,model: default tier,effort: defaultClause-②: yes (widening)
Metadata-protocol: none
Responsibility: a platform administrator on a cloud-managed environment cannot add a person from Setup → Users, because the add actions are hidden there since #25309 | the new actions write
sys_userrows withsource = idp_pendingthroughPOST /admin/add-sso-user/import-sso-users(#33227), which the door already guards | platform administrators of every cloud-managed environmentThread-read: 6868765295
Premise: read on merged #33227 (
cbb876c1, Fixes #33181) and its changeset, and onsys-user.object.tsatorigin/main; the dev measures every hidden add-person action on a managed boot firstSerial constraints cleared: no other
pm:dispatcheddomain:uicard claims a file in this surface (live label read); no other ui seat holds aClaim:on these files; #33187 follows on the same branch after this card's PR merges (one dev, serial)Scope: cloud#4465 child 1b: point the add-person actions at the pending-user doors, visible only on a managed environment; one PR,
Fixes #33186. p1 on the maintainer's word 「都是p1,车道自己认领就可以」 (triage 6868765295). The declaration lines start atyes (widening)/none; the dev measures them on the diff, and the seat amends this claim if they differ. Order:/mnt/project-files/pm-orders/ui/order-33186.md. Summons: the maintainer's 「开一个 ui 车道,派发 p1 p2 任务」 (this project, 2026-11-14T14:13Z) and 「后续只处理 p1 p2」 (this project, 2026-11-15T05:05Z).objectstack-fleet commentedon Nov 15, 2026
domain:ui#1 · os-project-manager · session_01FEkQ5o1t4Dbyp8n9chrc65
os-dev-report
{
"issue": 33186,
"status": "done",
"branch": "claude/project-thread-m0kvuy",
"pr": "#33755",
"head": "e6eb15eb",
"session": "session_01FEkQ5o1t4Dbyp8n9chrc65",
"premise_still_valid": true,
"summary": "Draft PR #33755 (Fixes #33186), 4 commits on origin/main ee627c6. Two new sys_user actions, add_sso_user (target admin/add-sso-user; params email, name, positions via position-ref, permissionSets via permission-ref, manager as an email) and import_sso_users (target admin/import-sso-users; one csv textarea), each offered by current_user.isPlatformAdmin == true && has(features.cloudManaged) && features.cloudManaged == true, requiredPermissions PLATFORM_ADMIN_USERS_GATE, no requiresFeature (the doors mount without the admin plugin). No existing predicate edited: create_user, set_user_password, the four invite_user mirrors and copy_invitation_link stay hidden on a managed environment; off it nothing changes. Measurement first (table in the PR body): the six doors of #25309 are hidden on managed and offered off it; resend_invitation is offered on managed although invite-member refuses there; add_member is offered on both and adds no person. No spec change: the feature-gate registry books one polarity per flag, so the two show-when-on inputs are listed in a test-local SHOWN_WHEN_ON ledger in feature-gate-guard.test.ts and held to the inverse conjuncts. i18n keys regenerated in every bundle and hand-translated in the ten translated locales.",
"tests": "platform-objects full suite at e6eb15e: 122 files, 1992 passed. New pins: cloud-managed-visibility.test.ts (new describe: targets, managed offered, unmanaged hidden, no-flag hidden not faulted, org owner hidden, exact offered sets per mode); pending-sso-users.test.ts (new describe, real AuthManager + Hono mount, body composed from the declared action: add_sso_user 201 with source idp_pending, position, permission set, manager; import_sso_users 200 summary 2/2; CONTROL unmanaged both 409 RESOURCE_CONFLICT, no row), 48 passed at a199be8; platform-admin-affordance-standing.test.ts evaluates both managed modes; platform-objects.test.ts byte rows; feature-gate-guard.test.ts SHOWN_WHEN_ON. Ablations via scripts/ablation-replace.mjs, all red then restored to the HEAD blob with git diff HEAD empty: A1 drop managed half 7 red; A2 drop standing 6 red; A3 drop has() 4 red; A4 add_sso_user target to create-user and A5 import_sso_users target to import-users, platform-objects dist rebuilt both legs with ablation-dist-preflight present/absent exit 0, live pins red (2 failed each), restored tree 3 passed.",
"gates": "dispatch-gates --commands at e6eb15e: 68 families; 67 exit 0, 1 NOT MEASURED (pnpm check:dual-build-cjs-loads exit 3 PREREQUISITE NOT MET, needs every dist; CI). --ran: 68 derived famil(ies) accounted for, 67 run, 1 NOT-MEASURED. typecheck platform-objects exit 0, plugin-auth exit 0 (lock VERDICT command-exit 0). check:i18n exit 0 after the hand translations. check:i18n-coverage (not derived) exit 3 prerequisite (examples closure unbuilt): NOT MEASURED, CI. CI check-runs: in_progress at hand-over. Record: /mnt/project-files/pm-orders/ui/33186-gates-ran.txt.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"line_budget": "n/a — no skills/** path",
"files_changed": [
".changeset/33186-managed-add-people-actions.md",
"packages/platform-objects/src/identity/sys-user.object.ts",
"packages/platform-objects/src/identity/cloud-managed-visibility.test.ts",
"packages/platform-objects/src/platform-admin-affordance-standing.test.ts",
"packages/platform-objects/src/platform-objects.test.ts",
"packages/platform-objects/src/feature-gate-guard.test.ts",
"packages/plugins/plugin-auth/src/pending-sso-users.test.ts",
"packages/platform-objects/src/apps/translations/*.objects.generated.ts and *.source-hashes.generated.ts (21 files, regenerated by check-i18n-bundles --write; translated values hand-written in ar, de, es-ES, fr, ja-JP, ko, pt-BR, ru, zh-CN, zh-Hant)"
],
"deviations": [
"File surface: the claim names sys-user.object.ts, their tests and the changeset. Also touched: the 21 generated translation bundles (owed by check:i18n for any new label) and, as tests, plugin-auth pending-sso-users.test.ts (the live pin; plugin-auth already depends on platform-objects), feature-gate-guard.test.ts and platform-admin-affordance-standing.test.ts (both red on the new actions otherwise). packages/lint/src/validate-visibility-predicates.ts not touched: it reads no action visible.",
"Harness attribution asks for a model-named Co-Authored-By trailer; commits carry the model-free pair the pre-push check requires."
],
"mcp_calls": "5 — reads only: issue_read x4 (33186 get + comments, 33187 get, 33181 get + comments), 0 writes",
"api_writes": "3 — git push (not REST); relay pr_create #33755 (read back 14919/14919 bytes identical, no assignees, no labels); this os-dev-report comment via post-stamped",
"open_questions": [
{
"question": "Should PUBLIC_AUTH_FEATURES (packages/spec) model inputs a hide-when-on flag SHOWS while on, instead of the test-local SHOWN_WHEN_ON ledger this PR adds in feature-gate-guard.test.ts?",
"status": "needs_decision",
"options": [
"A — keep the test-local ledger (this PR). No spec change, as the order rules. Cost: the registry stays silent about the two inputs; the guard and cloud-managed-visibility.test.ts pin them.",
"B — add an optional registry member (e.g. shownWhileOnInputs) on the cloudManaged entry and teach the guard both polarities. Cost: a spec change (published type widened, api-surface regen, contract review) whose only reader is a test."
],
"recommendation": "A. Business need: the two inputs are real (managed add-people, the core onboarding flow) and they are pinned either way. Long-term: the registry has no runtime reader (only this guard and one ADR mention), so a new spec member would be declared surface with zero runtime pull; a test-local ledger beside the walk that reads it is the narrower honest home. AI-error axis: both arms red an unbooked show-when-on gate (the reverse walk) and hold its exact conjuncts; neither is laxer. Startup focus: B widens a published spec type for one test reader, which the implementation-first rule says not to do."
},
{
"question": "#33227's hand-over names this card for dropping requiresFeature: 'admin' from sys_user.ban_user / unban_user (both doors now work without the admin plugin). The order scopes #33186 to adding people and does not name it. Leave it to its own card?",
"status": "needs_decision",
"options": [
"A — own card (domain:ui), not in #33186",
"B — amend this claim and add it to PR #33755"
],
"recommendation": "A. It changes deactivation, not adding, and widens ban/unban on every kernel without the admin plugin, managed or not; it deserves its own measurement (ban_user's row-state predicate and requiredPermissions stay) and its own Clause-② line."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"class: a · reach: on a cloud-managed environment, sys_invitation.resend_invitation is offered on a pending invitation row to owners/admins/delegated admins (predicate has no cloudManaged term, measured: managed=true) while its door POST /api/v1/auth/organization/invite-member answers 409 RESOURCE_CONFLICT there, resends included (auth-manager-before-hook.ts cloud-managed branch) · evidence: measurement table in PR #33755 body · dedupe words: resend_invitation cloudManaged hidden, invite-member 409 managed resend, copy_invitation_link sibling gate",
"carrier: #33187 · the import_sso_users result dialog shows the per-row answer as JSON; the row-by-row UI, re-send and status are #33187's"
]
}
objectstack-fleet commentedon Nov 15, 2026
domain:ui#1 · os-project-manager · session_01FEkQ5nWoa1Ze1QzjRTSYXD
Landed · 2026-11-15T11:50Z
2e1e3b97onmain(closes this card viaFixes #33186)5f0e9b5f), delta PASS 6893580837 by review#1 (on the synced head2469b6ce)State:
pm:dispatchedremoved, assignee cleared; card closed by the merge.Follow-ups: #33187 (released to
pm:queue, hand-over 6893421082, carries thealreadyPendingshould-fix), #33758 (Resend Invitation on managed), #33759 (ban/unbanrequiresFeature: 'admin').feat(auth)!: a managed environment adds pending, SSO-only people, and…
feat(platform-objects): Setup → Users on a managed environment offers…