Skip to content

Add debug logging and improve admin moderation safeguards#566

Merged
asim merged 2 commits intomainfrom
claude/add-wallet-transfers-74PHC
Apr 16, 2026
Merged

Add debug logging and improve admin moderation safeguards#566
asim merged 2 commits intomainfrom
claude/add-wallet-transfers-74PHC

Conversation

@asim
Copy link
Copy Markdown
Member

@asim asim commented Apr 16, 2026

No description provided.

claude added 2 commits April 16, 2026 05:11
Logs when UpdateStatus succeeds/fails and how many entries
RenderStatusStream returns. Will help diagnose why posted
statuses aren't appearing in the feed.
Three fixes:

1. BanAccount refuses to ban admin accounts — hard safety guard at
   the auth layer so no code path can accidentally ban an admin.

2. moderateStatus and ModerateAIResponse skip admins entirely — no
   moderation, no flagging, no ban risk.

3. Moderation prompt rewritten — removed TEST category (was flagging
   legitimate status updates like 'Working on Mu' as test posts).
   Short personal updates are now explicitly marked as ALWAYS OK.
   Only flags clearly abusive, vulgar, or spam content.

To unban yourself: run 'unban asim' in admin console, or manually
edit accounts.json and set banned to false.
@asim asim merged commit fc5dfd4 into main Apr 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants