/purge feature spec#6
Open
its-everdred wants to merge 4 commits into
Open
Conversation
Owner
its-everdred
commented
Feb 10, 2026
- Comprehensive spec for automated message cleanup feature
- Progressive 3-phase rollout: notify → manual → auto-delete
- Per-channel retention policies (configurable days)
- Scheduled checks with mod notifications
- Commands: /mod purge view/set/execute/disable
- Safety features: confirmation prompts, audit log, rate limiting
- Database schema for config and history
- Discord API considerations (bulk delete, rate limits)
- Testing plan and future enhancements
- Comprehensive spec for automated message cleanup feature - Progressive 3-phase rollout: notify → manual → auto-delete - Per-channel retention policies (configurable days) - Scheduled checks with mod notifications - Commands: /mod purge view/set/execute/disable - Safety features: confirmation prompts, audit log, rate limiting - Database schema for config and history - Discord API considerations (bulk delete, rate limits) - Testing plan and future enhancements
- Removed PURGE_PHASE environment variable - Phases are now a recommended build order, not deployment gates - Updated implementation notes to focus on incremental development - Clarified Phase 2/3 features available when implementation complete - Updated Quick Start and configuration examples
- Added Privacy & Security section to spec - Clarified READ_MESSAGE_HISTORY grants access to content, but implementation must not use it - Bot only accesses message ID and timestamp (metadata) - Message content, author, attachments never read or stored - Updated deletion logic and message fetching with privacy notes - Added implementation pattern examples (correct vs incorrect) - Audit log only stores counts and timestamp ranges, never message data - Updated summary with privacy section for quick reference
- Reduced PurgeFeatureSpec.md from ~10KB to ~6KB - Reduced PurgeFeatureSummary.md from ~4.4KB to ~2.9KB - Removed redundant examples and verbose explanations - Kept all essential info: commands, schema, privacy, implementation - Merged related sections for clarity - More direct, concise writing style
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.