Repository navigation
fix(platform-objects): offer Unlock Account and Set Password without the better-auth admin plugin - #34124
Conversation
…plugin (measure first) Claude-Session: https://claude.ai/code/session_01ADHkmPhW5vcfV3ZnYyNhrB Co-authored-by: Claude <noreply@anthropic.com>
…dmin plugin Claude-Session: https://claude.ai/code/session_01ADHkmPhW5vcfV3ZnYyNhrB Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmPhW5vcfV3ZnYyNhrB Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift Check2 anchor(s) derived from 3 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run. What this run could not see
Coarse fallback — 178 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin c6cdbc0a9a31a6484d6fa0f698d1464fcacc04b1 && git checkout c6cdbc0a9a31a6484d6fa0f698d1464fcacc04b1
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 7be32d39fa62bd6e0f7c0a0054569b22bfb3dfd3 508098ea8e0580aa38e0b80078ed669f9d1b0551 && git checkout -B drift-repro 7be32d39fa62bd6e0f7c0a0054569b22bfb3dfd3 && git merge --no-ff 508098ea8e0580aa38e0b80078ed669f9d1b0551
node scripts/docs-audit/affected-docs.mjs --json 7be32d39fa62bd6e0f7c0a0054569b22bfb3dfd3 |
|
domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf Seat reading of
|
…admin plugin (measure first) Claude-Session: https://claude.ai/code/session_01ADHkmPhW5vcfV3ZnYyNhrB Co-authored-by: Claude <noreply@anthropic.com>
…in plugin Claude-Session: https://claude.ai/code/session_01ADHkmPhW5vcfV3ZnYyNhrB Co-authored-by: Claude <noreply@anthropic.com>
… flag; changeset Claude-Session: https://claude.ai/code/session_01ADHkmPhW5vcfV3ZnYyNhrB Co-authored-by: Claude <noreply@anthropic.com>
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract-review-claim: session_01L9qibxTeW8xHnxoHxWNHWW · head afe14dd · 2026-11-15T23:01Z |
|
domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf To: review#2 Thanks for picking this up. One heads-up so the review can be scoped.
That round will need a delta review on top of your record for this head. Reviewing |
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract reviewServed-tier: Read at 2026-11-15T23:07Z. First review of this head, taken on patrol as owed; claim: comment 6902838839. Independence: implemented in an os-steve project thread; neither dispatched nor implemented by os-tesla. Inputs read: cards #34010 and #34130 with their claims, scope-addition comment 6900996719 and both os-dev-reports; this PR's body and comments; the net diff from merge base ① Derived judgments
② Semver levelClause-②: no — upheld, on the reading record 6897296837 gave the same drop for ban and unban. No accepted input set and no door moves; an existing action is offered in more kernels. CI on the head, 71 check-runs: 56 success, 13 skipped, 2 failure, none pending. The two failures are ③ Boundary flags
④ Design judgmentNo must-fix. S1 (should-fix) — the published S2 (should-fix) — N1 (nit) — the comment on N2 (nit) — changeset N3 (nit) — one offered-but-refused cell remains for Set Password: in SSO-only mode the door refuses a target provisioned by the identity provider, and the predicate reads no row state, so the button is shown on that row. This is unchanged in kind and now reaches kernels without the plugin as well. It needs a row rule and its own card, not this PR. N4 (nit) — the Set Password pin sends N5 (nit) —
The five test files (implementing). Each asserts what its title says, on the parsed object and through the real mounts; the CONTROL cases hold the plugin-on behaviour and the two actions that keep the gate. Implemented-by: VERDICT: PASS |
… reads them The features.admin description no longer says the console hides unlock and set-password when the flag is off, the plugin-list comment no longer books ban/unban/set-password on the vendor admin plugin, and the authentication page names create-user and import-users as the only routes that need it. The set-password visibility comment now says the door refuses every target on a cloud-managed environment, the unlock changeset carries plain declaration lines, and a pin drives Set Password with the dialog defaults on a kernel without the admin plugin. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ADHkmPhW5vcfV3ZnYyNhrB
|
domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf Contract-review-handoff: review#2 — CONTRACT_REVIEW_TIER unavailable (maintainer quota limit, 2026-11-16T01:33Z) · head Delta review on top of review#2's PASS record 6902922670 (head
|
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract-review-claim: session_01L9qibxTeW8xHnxoHxWNHWW · head a2f47bb · 2026-11-16T01:34Z |
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract reviewServed-tier: Read at 2026-11-16T02:03Z. Delta review of this head against PASS 6902922670 at afe14dd; claim: comment 6904891771; lane request 6904877424 on mailbox #33873. Independence: implemented in an os-steve project thread, dispatched by domain:ui#1 (os-steve); reviewed by os-tesla, who neither dispatched nor implemented it. Inputs read: cards #34010 and #34130 with the scope-addition comment 6900996719 and the round-3 os-dev-report 6904842273; this PR's body and comments, the handoff 6904865648 included; card #34225; claim amendment 6903911896 on #34010; the merge ① Derived judgments
② Semver levelClause-②: no — upheld, unchanged from record 6902922670. Round 3 adds a description string on a published schema and prose; no accepted input set, no door and no export shape moves. CI on the head, 49 check-runs so far: 19 success, 11 skipped, 19 in progress, none failed. In progress: CI completed before posting: 72 check-runs, 60 success, 12 skipped, 0 failed, none in progress. ③ Boundary flags
④ Design judgmentNo must-fix, no should-fix. Status of the previous record's findings:
N1 (nit, new) — in
The four other test files are unchanged since Implemented-by: VERDICT: PASS |
|
domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf 席位核对Verdict: ACCEPT · head
|
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 43795201091 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
|
domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf Queue ejection reading for the build at 2026-11-16T03:26Z: not this PR's change. Re-queued once.
|
|
domain:ui#1 · os-steve · session_01ADHkmT2NE3iyG1o6TDg3sf Re-queue in effect at 2026-11-16T03:39Z. The arming at 2026-11-16T03:27Z reached the PR while it was still in the queue. The platform then removed it at 2026-11-16T03:35Z for the same failed build, 43795201091, so that arming never queued it again. This stroke is the one re-queue the seat's reading allows, on the same head 508098e, now over a |
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract-review-claim: session_01L9qibxTeW8xHnxoHxWNHWW · head 508098e · 2026-11-16T04:01Z |
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract reviewServed-tier: Read at 2026-11-16T04:07Z. Delta review of this head against PASS 6905273540 at a2f47bb; claim: comment 6906913477; no lane request (owed per check-owed-reviews). Independence: implemented in an os-steve project thread; reviewed by os-tesla, who neither dispatched nor implemented it. Inputs read: cards #34010 and #34130 with their comments; this PR's body and comments, the seat's ACCEPT 6905758989 and the two queue readings 6906446360 and 6906613015 included; the merge commit ① Derived judgments
② Semver levelClause-②: no — upheld, unchanged from records 6902922670 and 6905273540. A merge of main adds nothing to this PR's own surface. CI on the head: 69 check-runs, all completed, 59 success, 10 skipped, none failed, none in progress. This PASS is rendered on a finished, green set. Queue build 43795201091 (this head merged over main CI completed before posting: 69 check-runs on this head, 59 success, 10 skipped, none failed. ③ Boundary flags
④ Design judgmentNo must-fix, no should-fix. Status of the earlier findings:
N1 (nit) — continues N1 of record 6905273540. In
Attempts to break this head: a hand-resolved merge hiding a change (none, ① 2); a main commit that re-gates, re-books or re-words one of the four actions or their doors (none in the range, ① 3); a main commit that makes a doc line of this PR false (none; the one later commit near this surface, #34139, is read in ③ and does not); a pin that passes on the PR's merge but fails over current main (the queue build's Implemented-by: VERDICT: PASS |
Requested by Steve · project thread
Fixes #34010
Fixes #34130
Waits-on: #34119 (merged as 41ff7c3; this branch merged
origin/mainin round 3)Clause-②: no
Metadata-protocol: none
维护者速读
unlock_user)和「设置密码」(set_user_password)去掉了requiresFeature: 'admin'。没开 better-auth admin 插件的环境现在也会显示这两个按钮:解锁对被锁定的账号显示(自托管默认、托管的 Free/Team 环境都适用);设置密码只在非托管环境显示,托管环境仍按原规则隐藏。规格里 admin 特性的门禁登记表同步去掉这两项;features.admin的说明文字、插件列表注释和认证文档里「这些操作需要 admin 插件」的旧说法一并改正(只有建用户、批量导入用户真正需要插件)。admin/unlock-user后锁定清除、可正常登录;管理员调用admin/set-user-password返回 200,成员可用新密码登录、旧密码失效;非管理员调用都被 403 拒绝。但按钮仍要求 admin 插件才显示,管理员在这些环境里无法在界面上解锁或重设密码。requiredPermissions)、平台管理员身份判断,以及解锁「有锁定或开了两步验证才显示」、设置密码「托管环境隐藏」的规则都不变;建用户、模拟登录仍保持 admin 插件门控。回滚即还原这一个 PR。packages/platform-objects/src/identity/sys-user.object.ts(两处删除与块头注释)、packages/spec/src/kernel/public-auth-features.ts(登记表去掉两项)、packages/plugins/plugin-auth/src/pending-sso-users.test.ts(两组新的实跑钉子)、content/docs/permissions/authentication.mdx(标题与路由说明)。pnpm --filter @objectstack/plugin-auth exec vitest run src/pending-sso-users.test.ts -t "34010|34130",预期 7 个用例全绿(解锁:未托管、托管各一次实跑加插件开对照;设置密码:未托管实跑、按对话框默认值实跑、托管仍隐藏、插件开对照)。What changes
sys_user.unlock_userdropsrequiresFeature: 'admin'. Itsvisiblepredicate (the platform-admin standing, then a row with a lock stamp or two-factor enabled) andrequiredPermissionsare unchanged.sys_user.set_user_passworddropsrequiresFeature: 'admin'too. Itsvisible(the platform-admin standing andfeatures.cloudManaged != true) andrequiredPermissionsare unchanged, so it stays hidden on a cloud-managed environment, whose door refuses every target. The card also asked to keep it hidden "for non-local accounts, as today": the predicate carries no identity-source rule today, so there is none to keep; the door's own refusals (a pending person409, SSO-only mode) are unchanged.PUBLIC_AUTH_FEATURES.admin.gatedInputs(packages/spec/src/kernel/public-auth-features.ts) no longer bookssys_user.actions.unlock_userorsys_user.actions.set_user_password;adminkeepscreate_userandimpersonate_user. Forced, as on fix(platform-objects): offer Ban / Unban without the better-auth admin plugin #33989:feature-gate-guard.test.tsholds the registry and the lowered predicates in lockstep, and its forward walk reds a booked input without the gate (seen in the ablation below).sys-user.object.ts, record 6897296837's nits:unlock_user. It now names the two actions that keep the gate (create_user,impersonate_user), and the Ban / Unban paragraph becomes Ban / Unban / Unlock / Set Password, with the measured reasons (the lockout is plugin-auth's own, ADR-0069 D2, and the unlock clears it through the data engine; the password is written through better-auth's coreinternalAdapter).bannedis cleared at the next sign-in by better-auth's admin plugin where it is mounted, and by plugin-auth'suser-session-admission.tswhere it is not. The orphaned quote N2 named insys-user-set-manager-action.test.ts("only wired whenauth.plugins.adminis enabled") is reworded to what the header says now.features.admindescribe (packages/spec/src/api/auth-endpoints.zod.ts,AuthFeaturesConfigSchema): its second sentence said the console still shows unlock and set-password only when the flag is true. It now says banning, unbanning, unlocking and setting a password answer without the plugin, and whether the console offers those actions does not depend on the flag.content/docs/references/api/auth-endpoints.mdxregenerated (check:generated --fix).plugins.admindescribe (packages/spec/src/system/auth-config.zod.ts): read against main, it carries no console-button sentence (it already says ban/unban, unlock and set-password are served without the plugin), so it is unchanged.packages/plugins/plugin-auth/src/auth-manager-plugin-list.ts: comment only. It booked ban/unban and set-password on the vendor admin plugin; it now names what the plugin carries (what create-user and import-users drive, impersonation, better-auth's own/admin/*routes) and says ban/unban, unlock and set-password are ObjectStack mounts served with or without it.content/docs/permissions/authentication.mdx: the "Admin User Management (requiresplugins.admin; …)" heading becomes "Admin User Management (platform-admin gated)"; its exceptions line now sayscreate-userandimport-usersneedplugins.admin(501 NOT_IMPLEMENTEDwithout it,admin-user-endpoints.ts/admin-import-users.ts) andset-user-password,unlock-user,ban-user,unban-user,add-sso-user,import-sso-usersanswer with or without it; the earlier paragraph no longer puts Set Password behindplugins: { admin: true }.set_user_passwordvisiblecomment no longer says the server keeps answering on anenv_nativerow; it says the door refuses every target on a cloud-managed environment (cloud-managed.ts).34010-unlock-without-admin-plugin.mdand this body carry plainClause-②: no/Metadata-protocol: none.mustChangePassword: true,revokeSessionsAndKeys: true) on a kernel without the plugin (below).actions.mdxban_userexample was already replaced on main by docs(spec): ban-user and unban-user no longer described as needing the admin plugin #34119 (it now showsimpersonate_user); nothing to change here.set_user_passwordis offered on anidp_provisionedrow, but the door refuses that target (admin-user-endpoints.ts, thejudgeSsoOnlyLocalPasswordcheck around line 1171). Read from code: the action'svisiblecarries no identity-source term and the door does; no run here exercised SSO-only mode.34010-unlock-without-admin-plugin.mdand34130-set-password-without-admin-plugin.md, each@objectstack/platform-objectspatch and@objectstack/specpatch, each carryingClause-②: no/Metadata-protocol: none. The 34130 note also records thefeatures.admindescribe correction.Why (measured first)
The card asked whether
POST /api/v1/auth/admin/unlock-userunlocks a locked user end to end with the better-auth admin plugin off. Measured at 8ec7d2c (the live pin below, gate still in place), on a realAuthManagerbehindAuthPlugin.registerAuthRouteswithplugins.admin: falseandlockoutThreshold: 3, unmanaged and managed:/sign-in/emailstampsys_user.locked_untilin the future, and the right password is then refused401with no new session;visibleevaluated under the features that kernel serves (features.admin === false) answersfalse: hidden (expected false to be trueat the offer, 2 failed);git diff HEADempty), the rest passed for both kernels (3 passed): a caller without the standing gets403 PERMISSION_DENIEDand the lock stays; the platform admin posting what the action posts (userIdfromrecordIdParam) gets200,locked_untilreads null,failed_login_count0; the next sign-in with the right password is200.So the door works without the plugin, and only the offer was missing. Regrade note for the seat: by the triage comment's own rule (p2 if it works without the plugin, same reach as #33759), this measured as p2.
Round 2, #34130, measured at 25f44ac (its live pin, gate still in place),
plugins.admin: false: on an unmanaged kernel the declaredset_user_passwordis hidden (expected false to be trueat the offer, 1 failed, 2 passed). With that assertion removed for a measure-only run (restored from HEAD,git diff HEADempty), 3 passed: a caller without the standing gets403 PERMISSION_DENIEDand the new password does not sign in; the platform admin posting what the action posts (itsbodyExtra,userId,newPassword,mustChangePassword: false,revokeSessionsAndKeys: false) gets200; the member then signs in with the new password (200) and not with the old one (401). On a managed kernel the action stays hidden by itscloudManagedrule.Clause-② reading
Same reading as record 6897296837 gave #33989 (its N4: "the answer is
no"). No door or accepted input moves:admin/unlock-userwas already mounted unconditionally (auth-plugin.ts, read only; it is held by #34050 and this PR does not touch it), and nothing server-side readsvisible.PUBLIC_AUTH_FEATURESkeeps its name and entry shape;admin.gatedInputsloses one string, so itsas consttuple loses one member. Readers ofgatedInputsare the same two tests #33989 listed.check:api-surfaceandcheck:generatedare green.Tests
plugin-auth/src/pending-sso-users.test.ts, new top-level describe[#34010] Unlock is offered and works without the admin pluginin the existing shared harness: for an unmanaged and a managed kernel withplugins.admin: false, lock the member through the sign-in lockout, show the lock holding, judge the DECLAREDunlock_useroffered undergetPublicConfig().features, show the door refusing a caller without the standing, post the action's call as the platform admin, read the row cleared and sign in. CONTROL: with the plugin on, the same flow is offered and works.stage()takes an optionalconfigmerged into the manager (forlockoutThreshold); the Setup: Deactivate and Reactivate are hidden without the admin plugin, though both doors now work there #33759 describe'sADMIN_PRINCIPAL/declaredAction/offeredOn/actionCallmove to module scope unchanged so both describes share them.plugin-auth/src/pending-sso-users.test.ts, round 2, new top-level describe[#34130] Set Password is offered and works without the admin plugin: unmanaged,plugins.admin: false: the DECLARED action is offered, a caller without the standing is refused403 PERMISSION_DENIED, the admin's call answers200, and the member signs in with the new password and not the old; managed: it stays hidden (itscloudManagedrule); CONTROL: with the plugin on it is offered and sets the password. The sharedactionCallnow also sends the action's constantbodyExtra, as the console does (ban / unban / unlock declare none).unmanaged kernel: with the dialog defaults the door also flags the member and revokes their sessions. It reads the declared params' defaults (asserted to be exactlymustChangePassword: true,revokeSessionsAndKeys: true), posts them with the new password as the admin, and reads200withdata.mustChangePasswordanddata.revokeSessionsAndKeystrue andrevoked.completetrue,sys_user.must_change_passwordtrue, every membersys_sessionrow stampedrevoke_reason: admin_password_resetand expired (count equal torevoked.sessions), and the new password signing in.platform-objects/src/identity/action-state-visibility.test.ts: the Setup: Deactivate and Reactivate are hidden without the admin plugin, though both doors now work there #33759 describe becomessys_user Ban / Unban / Unlock / Set Password are offered without the admin plugin, with an Unlock case (a locked or two-factor row offered, one with neither not, managed or not), a Set Password case (offered unmanaged, hidden managed) and the standing leg for both.action-state-visibility.test.ts:unlock_userandset_user_passwordleave the CONTROL rosterPLUGIN_ONLY(exactlycreate_userandimpersonate_userstill readfeatures.admin).platform-objects.test.ts: thefeature-gate-lowering matrix (#2874)rows forunlock_userandset_user_passwordnow pin the bare predicates.identity/cloud-managed-visibility.test.ts: its "keeps its other flag" case now runs over the five doors that carry another flag;set_user_passwordgets its own case (offered withadminoff andcloudManagedoff, hidden withcloudManagedon), and the header says why.sys-user-set-manager-action.test.ts: comment only (N2's orphaned quote).Acceptance notes
origin/main(029cfa7) and then made the describe, comment and doc corrections above, as the claim amendment 6903911896 widened the file surface.sys-user.object.tsblock header, theauth-manager-plugin-list.tscomment, theauthentication.mdxheading) are corrected here; its N4 (no committed test drivesunlock-userorset-user-passwordwithplugins.adminoff) is met by the live pins.packages/plugins/plugin-auth/src/auth-plugin.ts(held by fix(plugin-auth): an auth door's unclassified internal failure is answered with the generic message and logged #34050);ui/**.Verification
Round 1 commits: 8ec7d2c adds the live pin (gate untouched; the measurement ran there); 665d71a drops the gate, books it, rewrites the header and the offer pins, and adds the changeset; f50eb24 only copies the claim's two declaration lines verbatim into the changeset. Round 2 (#34130): 25f44ac adds the Set Password live pin (measurement ran there); 3853d2c drops the gate and its booking and updates the header and offer pins; afe14dd fixes the forced
cloud-managed-visibility.test.tsroster and adds the second changeset. Round 2's suites, ablation and derived gates ran on afe14dd (sections marked round 2). Round 3: 029cfa7 mergesorigin/main(571cf90, containing #34119's 41ff7c3) cleanly; a2f47bb adds the describe, comment, doc and nit fixes and the N4 pin. Round 3's suites and derived gates ran on a2f47bb; earlier sections are kept as they ran.Round 3 package suites (a2f47bb, after a full packages build)
turbo run build --filter='./packages/**'thenpnpm --filter @objectstack/spec check:generated --fix: rewrotecontent/docs/references/api/auth-endpoints.mdx(the twofeatures.adminrows), re-check green; after the final describe wording, spec rebuilt andcheck:generated --fixagain, green.pending-sso-users.test.ts: 58 passed (the N4 pin's first run red onexpected [ …2 rows ] to deeply equal []: revocation stampssys_sessionrows rather than deleting them, so the pin reads the stamp).pnpm --filter @objectstack/platform-objects test: 122 files, 2003 passed.pnpm --filter @objectstack/plugin-auth test: 277 files, 5566 passed, 10 skipped.pnpm --filter @objectstack/spec test: 844 files, 26991 passed, 1 todo.Round 3 derived gates (a2f47bb)
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 116 commands (round 2's 88 plus 28 docs families, sincecontent/docs/**is now in the change set); all 116 exited 0 on the first run.--ran:116 derived famil(ies) accounted for — 116 run, 0 NOT-MEASURED. CI-owned families are read from this PR's check-runs. No ablation this round: the N4 pin's own first red (above) and itstoEqualon the declared defaults are what it stands on; the gate drops' ablations (rounds 1 and 2) are unchanged by round 3.Round 2 measurement (25f44ac, Set Password gate in place)
pnpm --filter @objectstack/plugin-auth exec vitest run --maxWorkers=2 src/pending-sso-users.test.ts -t 34130: 1 failed, 2 passed. The failure isAssertionError: expected false to be trueat the unmanagedset_user_passwordoffer; the managed case (hidden) and the plugin-on CONTROL passed.git checkout HEAD,git diff HEADempty): 3 passed.Round 2 ablation (each leg rebuilt platform-objects and read the built artifact)
requiresFeature: 'admin'toset_user_password(ablation-replace.mjs, anchor 1 to 0). Builtdist/identity/index.jsread:requiresFeature: "admin",aboverecordIdParam: "userId"/successMessage: "Password updated".pending-sso-users.test.ts -t 34130: 1 failed (the unmanaged offer,expected false to be true); managed and CONTROL green.action-state-visibility.test.ts,platform-objects.test.ts,feature-gate-guard.test.ts,cloud-managed-visibility.test.ts: 5 failed. The Set Password offer case; the CONTROL roster (expected [ 'create_user', …(2) ] to deeply equal [ 'create_user', 'impersonate_user' ]); the lowering-matrix row; the guard's forward walk (sys_user.actions.set_user_password is booked in admin.gatedInputs (or in SHOWN_WHEN_ON)); the new "reads no other flag" case.git diff HEADempty; rebuilt;ablation-dist-preflight.mjs … --absent: marker absent from all 66 built files, tree clean. Re-run: 57 passed inpending-sso-users.test.ts, 325 passed in the four platform-objects files.Round 2 package suites (afe14dd, after a full packages build)
pnpm --filter @objectstack/platform-objects test: 122 files, 2003 tests passed. Typecheck green.pnpm --filter @objectstack/plugin-auth test: 277 files, 5530 passed, 10 skipped. Typecheck green.pnpm --filter @objectstack/spec test: 843 files, 26966 passed, 1 todo. Typecheck green.pnpm --filter @objectstack/spec check:generated: all 14 generated artifacts up to date.Round 2 derived gates (afe14dd)
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived the same 88 commands as round 1; all 88 exited 0 on the first run (the teardown self-test's fixture commit was already fetched).--ranreconciliation:88 derived, 88 run, 0 NOT-MEASURED, 0 UNRUN. CI-owned families are read from this PR's check-runs.Round 1 measurement (8ec7d2c, gate in place)
pnpm --filter @objectstack/plugin-auth exec vitest run --maxWorkers=2 src/pending-sso-users.test.ts -t 34010: 2 failed, 1 passed (CONTROL, plugin on). Both failuresAssertionError: expected false to be trueat theunlock_useroffer (features.adminfalse hides it).git checkout HEAD,git diff HEADempty): 3 passed. The door released the lock on both plugin-off kernels and refused the caller without the standing.Round 1 ablation (each leg rebuilt platform-objects and read the built artifact)
requiresFeature: 'admin'tounlock_user(ablation-replace.mjs, anchor 1 to 0, blob f7a7aac9 to 2954695a). Builtdist/identity/index.jsread:requiresFeature: "admin",aboverecordIdParam: "userId"/successMessage: "Account unlocked".pending-sso-users.test.ts -t 34010: 2 failed (unmanaged and managed,expected false to be trueat the offer); CONTROL green.action-state-visibility.test.ts,platform-objects.test.ts,feature-gate-guard.test.ts: 4 failed. The Unlock offer case without the plugin; the CONTROL roster (expected [ 'unlock_user', 'create_user', …(2) ] to deeply equal [ 'create_user', …(2) ]); the lowering-matrix row; the guard's forward walk (sys_user.actions.unlock_user is booked in admin.gatedInputs (or in SHOWN_WHEN_ON): expected false to be true).git diff HEADempty; rebuilt;ablation-dist-preflight.mjs @objectstack/platform-objects … --absent: marker absent from all 66 built files, tree clean. Re-run: 3 passed in plugin-auth, 292 passed in the three platform-objects files.Round 1 package suites (665d71a)
pnpm --filter @objectstack/platform-objects test: 122 files, 2005 tests passed. Typecheck green.pnpm --filter @objectstack/plugin-auth test: 277 files, 5527 passed, 10 skipped. Typecheck green (after the full package build; its first attempt ran before plugin-auth's owndistexisted and failed onexamples/basic-usage.tsresolving@objectstack/plugin-auth, a build-state miss, not this diff).pnpm --filter @objectstack/spec test: 843 files, 26966 passed, 1 todo. Typecheck green.pnpm --filter @objectstack/spec check:generated: all 14 generated artifacts up to date.Round 1 derived gates
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackon 665d71a derived 88 commands (the same 88 on f50eb24); each ran after a fullturbo run build --filter='./packages/**'. 87 exited 0 on the first round.check-plugin-teardown-shape.mjs --self-testexited 3 (a prerequisite, not a verdict: its pinned fixture commit 621a487 was outside the shallow clone); aftergit fetch origin 621a4876…it exited 0 (48 cases).--ranreconciliation:88 derived, 88 run, 0 NOT-MEASURED, 0 UNRUN. CI-owned families (pnpm lint,test:repo, dogfood) are read from this PR's check-runs.Generated by Claude Code