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
docs(adr): ADR-0092 Tier 1 is {name, image, locale} — amended in place per the #14787 ruling (#14951) (#15752)
* docs(adr): ADR-0092 Tier 1 is {name, image, locale} — amended in place
The 2026-09-03 maintainer ruling on #14787 widened the ADR-0092 D2
self-service whitelist to three fields, and the code has said so since:
SYS_USER_PROFILE_EDIT_FIELDS in
packages/plugins/plugin-auth/src/sys-user-writable-fields.ts holds
{name, image, locale}. ADR-0092 still recorded the two-field set as the
decision, which is the condition under which a later PR "restores" the
old behaviour in good faith.
Amend ADR-0092 in place per the vehicle ruling on this card (A: dated
revision line + D1 rewritten, no superseding ADR):
- Date line gains a 2026-09-05 amendment entry, in the file's own
revision convention.
- D1's Tier 1 list gains `locale`, with a D1 Amendment blockquote
recording the four binding points.
- TL;DR D1 and D2 bullets, and the D2 Behaviour sentence, restate the
three-field set.
- D6 gains a note stating the mirror set and Tier 1 are no longer the
same set, naming SESSION_SNAPSHOT_MIRRORED_FIELDS in
packages/plugins/plugin-auth/src/identity-write-guard.ts.
- The D5 Amendment's closing "Not amended by this" paragraph is trued
up: the table it said was unreconciled is reconciled here.
- The D3 design sketch is left verbatim and annotated, so a code-shaped
two-field literal is not read as the live value.
- ADR-0105's passing two-field spelling is corrected.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk
* docs(adr): make the ADR-0092 amendment's code citations machine-checked
The three constants the amendment cites were written as bare backticked
paths. `docs/adr/**` sets the symbol-anchor corpus's `checkBarePaths`
off (a measured corpus decision -- judging every bare path there yields
1,056 findings, almost none of them anchors), so a bare path is counted
but never resolved: the citation could rot silently.
Rewritten in the symbol-anchor form the gate does resolve, which also
satisfies the ruling's "cite it by name" more literally than prose did.
check-adr-symbol-anchors goes 186 -> 189 symbol anchors and
167 -> 170 declaration anchors, 0 hard findings.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk
---------
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/adr/0092-sys-user-profile-field-delegation.md
+100-8Lines changed: 100 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# ADR-0092: Identity-table write guard — engine-enforced `managedBy: 'better-auth'`, with sys_user profile fields as the first whitelist
2
2
3
3
-**Status:** Accepted
4
-
-**Date:** 2026-07-10 (proposed) · 2026-07-11 (revised: D2 generalized from a sys_user-only hook to a registry-driven guard over every better-auth-managed object, per review) · 2026-07-11 (accepted) · **2026-09-03 (amended: D5 — self-service edits of the whitelisted columns route through the generic data path; see the D5 Amendment)**
4
+
-**Date:** 2026-07-10 (proposed) · 2026-07-11 (revised: D2 generalized from a sys_user-only hook to a registry-driven guard over every better-auth-managed object, per review) · 2026-07-11 (accepted) · **2026-09-03 (amended: D5 — self-service edits of the whitelisted columns route through the generic data path; see the D5 Amendment)** · **2026-09-05 (amended: D1 — Tier 1 becomes `{name, image, locale}`, carrying the 2026-09-03 ruling on #14787; see the D1 Amendment)**
5
5
-**Implementation:**#2816 (generic identity write guard — D2/D3/D6) → #2817 (sys_user edit affordance + form field gating — D4, gated on #2816)
0 commit comments