Skip to content

fix(devvit): scrub deleted content, 30-day default retention, GPL-3.0-only - #94

Merged
bakerboy448 merged 1 commit into
mainfrom
fix/devvit-deletion-privacy
Nov 4, 2026
Merged

bakerboy448 merged 1 commit into
mainfrom
fix/devvit-deletion-privacy

Conversation

@bakerboy448

Copy link
Copy Markdown
Collaborator

TLDR

  • Declares onPostDelete and onCommentDelete. A USER or ADMIN deletion blanks targetAuthor, permalink, and reason on matching stored rows, blanks the prior-removal reason, and forces a wiki rebuild. MODERATOR deletions keep their rows.
  • onAccountDelete is not in the devvit.json schema, so default days kept and shown drop from 90 to 30.
  • devvit/package.json and the lockfile root license change from BSD-3-Clause to GPL-3.0-only, matching LICENSE.
  • README (changelog, Deleted content) and PRIVACY updated. PRIVACY says wiki revision history can keep older text.

Limits: an unknown deletion source is scrubbed (only MODERATOR is kept). Pre-existing wiki revisions are outside the app's control.

Tests: npx tsc --build clean, npx vitest run 50 passed.

🤖 Generated with Claude Code

…-only license

Declare onPostDelete and onCommentDelete. A USER or ADMIN deletion blanks
targetAuthor, permalink, and reason on matching rows and the prior-removal
reason, then forces a wiki rebuild. MODERATOR deletions are kept.
onAccountDelete is not in the config schema, so default retention and
display fall to 30 days. PRIVACY notes wiki revision history.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@bakerboy448
bakerboy448 merged commit b0788c8 into main Nov 4, 2026
4 checks passed
@bakerboy448
bakerboy448 deleted the fix/devvit-deletion-privacy branch November 4, 2026 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant