Datos por módulo (generado)
Generada automáticamente desde el código de Zprium: cada módulo declara qué datos guarda, para qué, durante cuánto tiempo y cómo se borran.
| Módulo | Por defecto | Almacén | Datos personales | Finalidad | Base legal | Retención | Borrado | IA local |
|---|---|---|---|---|---|---|---|---|
core |
siempre | pg:guilds |
— (guild id, name, locale and departure time; no member data) | know which guilds use Zprium and in which language to answer | service | until the guild is purged (30 days after the bot leaves) | guild-purge | no |
core |
siempre | pg:guild_module_configs |
updated_by | which modules a guild enabled and how they are configured | service | until the guild is purged (30 days after the bot leaves) | guild-purge | no |
core |
siempre | pg:entitlement_grants |
granted_by, revoked_by (labels naming the operator, never a Discord id) | which guilds have premium, since when and until when, granted by hand by the owner | service | until the guild is purged (30 days after the bot leaves) | guild-purge | no |
core |
siempre | pg:scheduled_jobs |
payload: ids of the members a job acts on, when it acts on one | work that must run later or periodically and survive restarts (retention, reminders, timed actions) | service | 30 days | retention-job, guild-purge | no |
core |
siempre | pg:delivery_attempts |
— (owner_id is the proposal or job that tried it, never a member; message_id is a bot message) | one row per bot post that must not be lost or posted twice (scrim reminders, digests): its state, nonce and the id of the message Discord confirmed | service | 168 h (expires) | retention-job, guild-purge | no |
core |
siempre | pg:members |
user_id, nickname, risk_score, reputation_points, currency_balance, xp_points, steam_id, riot_id, verified_at | per-member state used by moderation and engagement features | legitimate-interest | 30 days | retention-job, guild-purge | no |
core |
siempre | pg:event_journal |
actor ids in event payloads | durable event log for recovery, correlation and security analysis | legitimate-interest | 30 days | retention-job, guild-purge | no |
core |
siempre | pg:event_outbox |
actor ids in event payloads | guarantees events staged by a committed change reach the event bus | service | 7 days | retention-job, guild-purge | no |
core |
siempre | redis:zprium:web:session:* |
Discord user id, username, guild list | web console sessions | service | 8 h (expires) | ttl, user-request | no |
aegis |
activado | pg:forensic_audit_logs |
actor_id, target_id, action details, role ids a quarantine removed (to restore them) | tamper-evident record of security decisions and administrative actions | legitimate-interest | not enforced yet (8.0.6: pseudonyms on write and erasure by key destruction; 12-month archival later (diseno-auditoria-forense-seudonimizacion.md)) | — | no |
aegis |
activado | pg:audit_subject_keys |
subject_id (Discord user id), secret (per-person pseudonym key) | the only link from a forensic audit pseudonym back to the person, so erasure can cut it | legitimate-interest | not enforced yet (8.0.6 erases a key on request; the rest go with the 12-month forensic archival) | user-request | no |
aegis |
activado | pg:audit_erasures |
subject_hmac (HMAC-SHA256 of an erased person's Discord id, keyed outside the database), executed_by (a label, never an id) | re-apply every erasure after any backup restore, and show that each erasure request was handled | legal-obligation | kept while the service exists (owner decision 2026-09-28, stated in the privacy policy) | — | no |
zflow |
desactivado | pg:workflows |
created_by, updated_by | automation definitions a guild created | service | until the guild is purged (30 days after the bot leaves) | guild-purge | no |
zflow |
desactivado | pg:workflow_versions |
published_by | published snapshots of automation definitions | service | until the guild is purged (30 days after the bot leaves) | guild-purge | no |
zflow |
desactivado | pg:workflow_executions |
event metadata (ids, message length; never message text) | run history and traces for troubleshooting | legitimate-interest | 90 days | retention-job, guild-purge | no |
zflow |
desactivado | pg:workflow_dead_letters |
event metadata (ids, message length; never message text) | failed runs kept for an operator to inspect and replay | legitimate-interest | 30 days | retention-job, guild-purge | no |
zflow |
desactivado | pg:workflow_activation_requests |
requested_by, approvals | dual-custody activation requests for high-risk workflows | legitimate-interest | 90 days | retention-job, guild-purge | no |
zflow |
desactivado | pg:workflow_schedules |
— (cron expressions and next run times only) | when scheduled workflows run | service | until the guild is purged (30 days after the bot leaves) | guild-purge | no |
zflow |
desactivado | memory:workflow-cache |
— (active workflow definitions in process memory) | fast dispatch of events to active workflows | service | until the guild is purged (30 days after the bot leaves) | guild-purge, process-restart | no |
clanops |
desactivado | pg:autonomous_digest_schedules |
— (digest type, target channel and schedule) | periodic clan operations digests | service | until the guild is purged (30 days after the bot leaves) | guild-purge | no |
esports |
desactivado | pg:competitive_teams |
captain_user_id | teams the guild manages | service | until the guild is purged (30 days after the bot leaves) | guild-purge | no |
esports |
desactivado | pg:scrim_matches |
notes, debrief | scheduled and played scrims with their results | service | until the guild is purged (30 days after the bot leaves) | guild-purge | no |
esports |
desactivado | pg:scrim_rosters |
user_id, role, status | who plays each scrim | service | until the guild is purged (30 days after the bot leaves) | guild-purge | no |
ai |
desactivado | pg:knowledge_documents |
content (text staff chose to ingest; may name members), embedding, source_channel_id | the knowledge base /ai answered from before 8.4.5 (384-dimension vectors); no longer read, and retired by the owner on 2026-10-17: its rows are QA fixtures, to be deleted by the owner after a verified backup | legitimate-interest | until the guild is purged (30 days after the bot leaves) | guild-purge | sí |
ai |
desactivado | pg:autonomous_proposals |
params, approvals, rejection | AI-proposed actions awaiting human approval | legitimate-interest | 90 days | retention-job, guild-purge | sí |
ai |
desactivado | pg:autonomous_notifications |
title, summary | notifications produced by the autonomous engines | legitimate-interest | 90 days | retention-job, guild-purge | no |
ai |
desactivado | pg:autonomous_ai_jobs |
sequence_data | queued local-AI jobs and their results | legitimate-interest | 90 days | retention-job, guild-purge | sí |
ai |
desactivado | pg:knowledge_units |
title and body (text staff or the owner chose to ingest; redacted of contacts, ids and secrets before it is stored), embedding | the verified knowledge base /ai ask, /ask and /kb answer from, with provenance, epistemic label and validity (8.4.5) | legitimate-interest | until the guild is purged (30 days after the bot leaves) | guild-purge | sí |
ai |
desactivado | pg:knowledge_gaps |
— (never who asked: the question is redacted of contacts, ids and secrets, and a question about health, beliefs, hardship or other sensitive data keeps only a marker of its category; by last_seen) | questions the knowledge base did not answer, counted, to know what to add | legitimate-interest | 180 days | retention-job, guild-purge | no |
ai |
desactivado | pg:ai_memory_consents |
user_id, granted_at, revoked_at, policy_version | a member's opt-in to persistent AI memory, and the record that they withdrew it | consent | 30 days | user-request, retention-job, guild-purge | no |
ai |
desactivado | pg:ai_member_memories |
user_id, what the member chose to save (goals, preferences, context), each with its version and expiry | remember what the member asked to be remembered, and use it only to answer that member | consent | 365 days | user-request, retention-job, guild-purge | sí |
ai |
desactivado | pg:ai_guild_notes |
saved_by (the staff member who saved the note), content (staff notes; contacts and secrets redacted) | staff notes of /ai memory: context of the server for its AI answers | legitimate-interest | until the guild is purged (30 days after the bot leaves) | user-request, guild-purge | sí |
ai |
desactivado | redis:zprium:ai:conv:* |
the member's last /ai ask questions and the answers, at most 20 messages | keep the thread of a short /ai ask conversation, per member and server | service | 30 min (expires) | ttl, user-request | sí |
ai |
desactivado | redis:zprium:ai_response:* |
generated answers to member prompts | paginate long AI answers | service | 30 min (expires) | ttl | no |
feedback |
desactivado | redis:zprium:survey:* |
respondent pseudonym (HMAC under a per-survey secret), chosen options | community surveys whose results are only shown as totals | consent | 720 h (expires) | ttl | no |
moderation |
desactivado | pg:mod_cases |
target_ref and moderator_ref (8.0.6 audit pseudonyms, never Discord ids), reason (free text by a moderator; person mentions stored as pseudonyms; a fixed text for AutoMod and Aegis cases) | numbered moderation cases (warnings, notes, timeouts, kicks, bans, and the quarantines and kicks Aegis makes) and their history per member | legitimate-interest | 730 days | retention-job, guild-purge, user-request | no |
moderation |
desactivado | pg:mod_appeals |
appellant_ref and decided_by_ref (8.0.6 audit pseudonyms, never Discord ids), decision_note (the staff's optional reply to the member; person mentions stored as pseudonyms) | appeals against moderation cases: their state, dates and the staff decision | legitimate-interest | 730 days | retention-job, guild-purge, user-request | no |
logs |
desactivado | memory:guild-log-queue |
ids of the members, authors, moderators and channels of events waiting to be posted (never the text of a message), moderation case reasons, while a case event waits to be posted | group bursts of log events and pace the posts to the log channels each guild picked | legitimate-interest | 15 min (expires) | ttl, process-restart | no |
automod |
desactivado | pg:mod_automod_strikes |
subject_ref (8.0.6 audit pseudonym, never a Discord id), audit_log_id (a Discord strike's audit-log entry, which names the member in Discord: erasure deletes the strike, AM37) | AutoMod strikes per member, to time out who breaks the rules repeatedly | legitimate-interest | 30 days | retention-job, guild-purge, user-request | no |
automod |
desactivado | memory:automod-counters |
ids of members and the times of their recent messages, for the flood rule (never the text) | count messages per member over a few seconds, to strike a flood | legitimate-interest | 1 min (expires) | ttl, process-restart | no |
verification |
desactivado | redis:zprium:verify:* |
guild and member ids, hashes of the answers a pending challenge accepts (never what the member typed), how many attempts failed | a pending verification challenge, taken once, and the failed attempts that make a member wait | legitimate-interest | 24 h (expires) | ttl | no |
verification |
desactivado | redis:zprium:raid:* |
— (the guild's id only, no member; it lives the guild's raid window (raid.restoreAfterMinutes, 24 hours at most)) | remember that Aegis saw a raid in a guild, so the verification stays harder until the raid window ends | legitimate-interest | 24 h (expires) | ttl | no |
economy |
desactivado | pg:economy_wallets |
guild_id, user_id, balance, last_daily_at, updated_at | a member's non-negative virtual coin balance and daily reward timestamp in a guild | service | until the guild is purged (30 days after the bot leaves) | user-request, guild-purge | no |
economy |
desactivado | pg:economy_transactions |
guild_id, user_id, counterparty_user_id, kind, amount, balance_after, counterparty_balance_after, item_id, idempotency_key, created_at | append-only ledger of coin credits, transfers, and shop purchases with idempotency keys per guild | service | until the guild is purged (30 days after the bot leaves) | user-request, guild-purge | no |
economy |
desactivado | pg:economy_shop_items |
guild_id, item_id, name, description, price, kind, role_id | per-guild shop catalog of virtual items (consumables, badges, cosmetic roles) | service | until the guild is purged (30 days after the bot leaves) | guild-purge | no |
economy |
desactivado | pg:economy_inventories |
guild_id, user_id, item_id, quantity, used_count, active, acquired_at, last_used_at | a member's owned virtual items, consumables, and activated badges/roles in a guild | service | until the guild is purged (30 days after the bot leaves) | user-request, guild-purge | no |
music |
desactivado | memory:music-sessions |
guildId, voiceChannelId, textChannelId, requestedBy | in-memory per-guild interactive music playback session and queue for verified-rights tracks | service | until the guild is purged (30 days after the bot leaves) | guild-purge | no |
autoroles |
desactivado | memory:autoroles-member-queue |
guild and member ids of a grant in progress | run one member's automatic-role grants one at a time, so two signals never race | legitimate-interest | 10 min (expires) | ttl, process-restart | no |
welcome |
desactivado | memory:welcome-arrivals |
guild and member ids and the join time of an arrival already welcomed | send one welcome per arrival, however many readiness signals the same join produces | legitimate-interest | 24 h (expires) | ttl, process-restart | no |
welcome |
desactivado | memory:welcome-pace |
— (guild ids and send times of the last minute only, no member) | the 5-a-minute pace per guild for welcomes and goodbyes, and the one-a-minute test | legitimate-interest | 1 min (expires) | ttl, process-restart | no |
welcome |
desactivado | memory:welcome-counters |
— (guild ids and numbers only, no member; they restart with the process (O3) and /welcome says since when) | the counts /welcome shows: sent, skipped during a raid or over the pace, failed DMs, goodbyes without data | legitimate-interest | until the guild is purged (30 days after the bot leaves) | process-restart | no |
welcome |
desactivado | memory:welcome-card-request |
profile picture (the 128 px avatar PNG from Discord's CDN), display name, server name and its member count | draw the welcome card the server chose (off by default) and attach it to the welcome | legitimate-interest | 0 min (expires) | ttl | no |
levels |
desactivado | pg:member_levels |
guild_id, user_id, xp, level, awarded_messages, last_award_at, day_key, day_xp, last_award_xp, updated_at | a member's XP and level in a guild, from how many of their messages earned XP (never what they said) | service | until the guild is purged (30 days after the bot leaves) | user-request, guild-purge | no |
giveaways |
desactivado | pg:giveaways |
guild_id, host_id, winner_ids, participants_count, participants_hash, created_at, closed_at | a giveaway of a guild: who started it, its prize text, when it ends, its seed commitment and, once drawn, its winners and the hash of its participants | service | until the guild is purged (30 days after the bot leaves) | user-request, guild-purge | no |
giveaways |
desactivado | pg:giveaway_entries |
giveaway_id, user_id, entered_at | who entered a giveaway and when, one entry per member | service | until the guild is purged (30 days after the bot leaves) | user-request, guild-purge | no |
tickets |
desactivado | pg:tickets |
guild_id, opener_id, claimed_by, closed_by, thread_id, category, status, created_at, claimed_at, closed_at | a support ticket's metadata: its number, its private thread, who opened it, its topic, its state and who handled it (never its subject, description or messages) | service | until the guild is purged (30 days after the bot leaves) | user-request, guild-purge | no |