πŸͺͺ Identity Profile β€” {{ reg.username }}

{% if applied is defined %} {% if applied %}
βœ… Profile updated β€” UPDATE IF version = {{ (profile.version - 1) if profile else 0 }} applied. Current version: v{{ profile.version if profile else 1 }}
{% elif conflict_existing %}
⚑ Version conflict! IF version = ... rejected β€” stale read.
Another agent updated the profile first. Current state from DB:
{% for k, v in conflict_existing.items() %}
{{ k }}
{{ v }}
{% endfor %}
{% endif %} {% endif %}
Display Name
{{ reg.display_name }}
Dimension
πŸŒ€ {{ reg.dimension }}
Email
{{ reg.email }}
Registered At
{{ reg.registered_at.strftime('%Y-%m-%d %H:%M') if reg.registered_at else 'β€”' }}
user_id: {{ reg.user_id }}

βš™οΈ Profile {% if profile %} v{{ profile.version }} {% endif %}

{% if profile %}
Status
{{ profile.status }}
Bio
{{ profile.bio or 'β€”' }}
{% endif %}