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
Profile page password card draws the server's English refusal for set-password and change-password #37973
The profile page's password card calls setInitialPassword and changePassword and draws err.message raw, so a cloud-managed runtime's 409 RESOURCE_CONFLICT refusal still shows the server's English sentence there, while the login / forgot / reset / set-password pages now show the localized one (passwordDoorRefusalMessages in app-shell signInRefusalMessages.ts).
Four client methods in ui/packages/auth/src/createAuthClient.ts still throw without toAuthError (sendVerificationEmail, signOut, updateUser, social sign-in), so an ADR-0112 envelope's code is dropped on those paths.
Expected
The profile password card maps RESOURCE_CONFLICT through the same password-door map; the four methods throw through toAuthError (updateUser only after #37433 settles that hunk).
Triage: lands in area:cloud · domain:ui · Bug · p2 · pm:queue · size XS; rationale: the profile page's password card shows the server's raw English refusal (409 RESOURCE_CONFLICT on a cloud-managed runtime) for set-password and change-password. That is wrong user-facing text, the profile-page twin of the login-page fix #34171 (p2). Recorded 2026-11-27T14:13Z.
Picked by card-pick.mjs --order area:cloud --seat repo:objectstack#6 at 16:10Z: rank 6, order 1, the direct follow-up of #34171 (landed by #37965). The maintainer in this seat's project, verbatim: 「继续处理 area:cloud p1 p2」.
Claim: PM loop round 8
Session: session_01Q4EjjQkY5yXZrN9BEA3rEK
Account: hotlong
Branch: claude/issue-37973-profile-password-refusal
Worktree: objectstack-issue-37973
Domain: domain:ui
Seat: repo:objectstack#6
File surface: the profile page's password card (app-shell / console, wherever it lives) and its tests; ui/packages/auth/src/createAuthClient.ts call sites of sendVerificationEmail, signOut and social sign-in; one changeset. updateUser and types.ts stay out (open draft PR #37433).
Container & model: S, mode:subagent, model: default, effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: n/a — profile page copy and client error mapping
Thread-read: none
Premise: holds — read by contract review 7219466980 (N2) at #37965's head; the dev re-reads on main
Serial constraints cleared: #37433 fenced as above; #34174 (this seat, plugin-auth server side) shares no file.
Scope this dispatch: the whole card except updateUser. Fixes #37973 only if updateUser is not needed for the profile card; otherwise Part of #37973.
{
"issue": 37973,
"status": "done",
"branch": "claude/issue-37973-profile-password-refusal",
"pr": "https://github.com/objectstack-ai/objectstack/pull/38025",
"session": "session_01Q4EjjQkY5yXZrN9BEA3rEK",
"premise_still_valid": true,
"summary": "The premise held on origin/main 4af32b99. The profile page PasswordCard set err.message raw on both set-password and change-password. sendVerificationEmail, signOut and signInWithProvider threw a bare new Error and dropped the code. The PasswordCard catch now maps the refusal code through the existing passwordDoorRefusalMessages map (own-key lookup; no third map), and any other code or none keeps the server message. The three client methods now throw through toAuthError, with the message unchanged. updateUser and types.ts were not touched (fenced by #37433). The profile card does not call updateUser, so the PR says Fixes #37973. Clause-2: no and Metadata-protocol: none were copied from the claim: no prop or export was added.",
"tests": "At head 2d52a41c, from ui/: (1) vitest run packages/auth/ apps/console/src/pages/system/__tests__/ apps/console/src/pages/auth/__tests__/passwordDoorRefusal-34171.test.tsx gave Test Files 65 passed (65), Tests 655 passed (655), lock VERDICT command-exit 0. (2) New ProfilePage.passwordRefusal-37973.test.tsx: 4/4 (set-password and change-password RESOURCE_CONFLICT draw the localized sentence and read pack key auth.login.errors.managedPasswordReset; CONTROL INVALID_PASSWORD and a code-less rejection keep the server message). (3) managedRefusalEnvelope-34171.test.ts: 14/14, with 6 new (envelope plus flat CONTROL for each of the three methods). (4) @object-ui/auth type-check exit 0; @object-ui/console type-check exit 0, after the console dependency closure build. (5) Reverse check: fix committed first, both source files restored from base 4af32b99 with git restore --source, test files kept: Tests 8 failed | 10 passed (18). The 8 failures were exactly the 6 new client cases and the 2 profile RESOURCE_CONFLICT cases; the profile CONTROLs passed on base as expected. Restored with git checkout HEAD; git diff HEAD and git status --porcelain were both empty. The tests import src directly, so no dist leg was needed.",
"gates": "Local derived set (dispatch-gates.mjs --commands, at 2d52a41c, repo assertion held): 37 of 39 families exit 0, each exit captured before any pipe, including pnpm --dir ui exec vitest run scripts/ (Tests 5138 passed | 2 skipped). NOT MEASURED: check:query-options-erasure and check:type-check-debt, reason: killed by a 300s local timeout on a shared box (exit 124); a rerun without the timeout had not finished at report time. --ran reconciliation: 39 derived, 37 run, 2 UNRUN (those two). CI families at report time (PR check-runs on 2d52a41c): Check Changeset, Governed Surface Queue Guard, Lint (ESLint, PM dispatch-gates, docs and code guards, repo and tooling gates, scoped query-options erasure), Type Check (workspace, debt ledger, source gates, consumer gates), PR-body guards: all in_progress; opt-in and queue-only runs skipped. CI convergence is the PM's.",
"dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2: (1) pr_create through the fleet-write relay (POST /repos/objectstack-ai/objectstack/pulls draft, plus POST issues/38025/assignees [hotlong]); read-back identical, 5079 bytes. (2) This os-dev-report comment through post-stamped.mjs (POST issues/37973/comments). git push is not counted.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none. Noted in the PR Acceptance notes, not filed: the reused password-door sentence ends with 'Sign in with the identity provider's button on the sign-in page', which a signed-in profile-page reader may find slightly off. A card-specific sentence would need a new pack key in every locale.",
"carrier: none. Noted, not filed: on main the cloud-managed refusal leaves /change-password open (cloud#4471), so the change-password mapping covers any producer of that code and pins card behaviour only."
]
}
Activity
objectstack-fleet commentedon Nov 27, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:cloud · domain:ui · Bug · p2 · pm:queue · size XS; rationale: the profile page's password card shows the server's raw English refusal (409
RESOURCE_CONFLICTon a cloud-managed runtime) for set-password and change-password. That is wrong user-facing text, the profile-page twin of the login-page fix #34171 (p2). Recorded 2026-11-27T14:13Z.objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#6 · hotlong · session_01Q4EjjQkY5yXZrN9BEA3rEK
Picked by
card-pick.mjs --order area:cloud --seat repo:objectstack#6at 16:10Z: rank 6, order 1, the direct follow-up of #34171 (landed by #37965). The maintainer in this seat's project, verbatim: 「继续处理 area:cloud p1 p2」.Claim: PM loop round 8
Session:
session_01Q4EjjQkY5yXZrN9BEA3rEKAccount:
hotlongBranch:
claude/issue-37973-profile-password-refusalWorktree:
objectstack-issue-37973Domain:
domain:uiSeat:
repo:objectstack#6File surface: the profile page's password card (app-shell / console, wherever it lives) and its tests;
ui/packages/auth/src/createAuthClient.tscall sites ofsendVerificationEmail,signOutand social sign-in; one changeset.updateUserandtypes.tsstay out (open draft PR #37433).Container & model:
S,mode:subagent,model: default,effort: highClause-②: no
Metadata-protocol: none
Responsibility:
n/a — profile page copy and client error mappingThread-read: none
Premise: holds — read by contract review 7219466980 (N2) at #37965's head; the dev re-reads on main
Serial constraints cleared: #37433 fenced as above; #34174 (this seat,
plugin-authserver side) shares no file.Scope this dispatch: the whole card except
updateUser.Fixes #37973only ifupdateUseris not needed for the profile card; otherwisePart of #37973.objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#6 · hotlong · session_01Q4EjjQkY5yXZrN9BEA3rEK
os-dev-report
{ "issue": 37973, "status": "done", "branch": "claude/issue-37973-profile-password-refusal", "pr": "https://github.com/objectstack-ai/objectstack/pull/38025", "session": "session_01Q4EjjQkY5yXZrN9BEA3rEK", "premise_still_valid": true, "summary": "The premise held on origin/main 4af32b99. The profile page PasswordCard set err.message raw on both set-password and change-password. sendVerificationEmail, signOut and signInWithProvider threw a bare new Error and dropped the code. The PasswordCard catch now maps the refusal code through the existing passwordDoorRefusalMessages map (own-key lookup; no third map), and any other code or none keeps the server message. The three client methods now throw through toAuthError, with the message unchanged. updateUser and types.ts were not touched (fenced by #37433). The profile card does not call updateUser, so the PR says Fixes #37973. Clause-2: no and Metadata-protocol: none were copied from the claim: no prop or export was added.", "tests": "At head 2d52a41c, from ui/: (1) vitest run packages/auth/ apps/console/src/pages/system/__tests__/ apps/console/src/pages/auth/__tests__/passwordDoorRefusal-34171.test.tsx gave Test Files 65 passed (65), Tests 655 passed (655), lock VERDICT command-exit 0. (2) New ProfilePage.passwordRefusal-37973.test.tsx: 4/4 (set-password and change-password RESOURCE_CONFLICT draw the localized sentence and read pack key auth.login.errors.managedPasswordReset; CONTROL INVALID_PASSWORD and a code-less rejection keep the server message). (3) managedRefusalEnvelope-34171.test.ts: 14/14, with 6 new (envelope plus flat CONTROL for each of the three methods). (4) @object-ui/auth type-check exit 0; @object-ui/console type-check exit 0, after the console dependency closure build. (5) Reverse check: fix committed first, both source files restored from base 4af32b99 with git restore --source, test files kept: Tests 8 failed | 10 passed (18). The 8 failures were exactly the 6 new client cases and the 2 profile RESOURCE_CONFLICT cases; the profile CONTROLs passed on base as expected. Restored with git checkout HEAD; git diff HEAD and git status --porcelain were both empty. The tests import src directly, so no dist leg was needed.", "gates": "Local derived set (dispatch-gates.mjs --commands, at 2d52a41c, repo assertion held): 37 of 39 families exit 0, each exit captured before any pipe, including pnpm --dir ui exec vitest run scripts/ (Tests 5138 passed | 2 skipped). NOT MEASURED: check:query-options-erasure and check:type-check-debt, reason: killed by a 300s local timeout on a shared box (exit 124); a rerun without the timeout had not finished at report time. --ran reconciliation: 39 derived, 37 run, 2 UNRUN (those two). CI families at report time (PR check-runs on 2d52a41c): Check Changeset, Governed Surface Queue Guard, Lint (ESLint, PM dispatch-gates, docs and code guards, repo and tooling gates, scoped query-options erasure), Type Check (workspace, debt ledger, source gates, consumer gates), PR-body guards: all in_progress; opt-in and queue-only runs skipped. CI convergence is the PM's.", "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2: (1) pr_create through the fleet-write relay (POST /repos/objectstack-ai/objectstack/pulls draft, plus POST issues/38025/assignees [hotlong]); read-back identical, 5079 bytes. (2) This os-dev-report comment through post-stamped.mjs (POST issues/37973/comments). git push is not counted.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none. Noted in the PR Acceptance notes, not filed: the reused password-door sentence ends with 'Sign in with the identity provider's button on the sign-in page', which a signed-in profile-page reader may find slightly off. A card-specific sentence would need a new pack key in every locale.", "carrier: none. Noted, not filed: on main the cloud-managed refusal leaves /change-password open (cloud#4471), so the change-password mapping covers any producer of that code and pins card behaviour only." ] }objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#6 · hotlong · session_01Q4EjjQkY5yXZrN9BEA3rEK
Landed by #38025.