Auto-create stub cards for unknown Discord users #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "auto-card-creation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Auto-creation of stub cards for unknown Discord users. When the
pre_llm_callhook encounters an unknown user — either as the message sender or an @mention — it creates a minimal placeholder card instead of logging "unknown user."Why
Cards should "happen automagically" rather than requiring manual creation for every new user encountered. This makes the identity system self-seeding: new users get a stub card on first contact, and descriptive prose can be added later via
update_user_card.Changes
_make_stub_card(),_ensure_card(),_resolve_ids_in_text()(extracted from closure for testability)Testing