Fix repo Face identity description bounds

This commit is contained in:
Meta Vens 2026-05-18 17:04:36 +01:00
commit aff9ddd04d
3 changed files with 34 additions and 4 deletions

View file

@ -22,6 +22,7 @@ import {
} from "./void-self-state-domain";
import {
createEmptyVoidSelfState,
normalizeVoidSelfStateIdentityDefaults,
type VoidSelfStateIdentityDefaults,
type VoidSelfStateTypedProjection,
} from "./void-self-state-projection";
@ -131,6 +132,7 @@ function repairSelfProfileIdentity(
state: VoidSelfStateTypedProjection,
identity: VoidSelfStateIdentityDefaults,
): void {
identity = normalizeVoidSelfStateIdentityDefaults(identity);
let changed = false;
if (state.selfProfile.agentId !== identity.agentId) {