Skip to content

Add CLI, stream, console, spam defence, invite-only, cost cuts#583

Merged
asim merged 1 commit intomainfrom
claude/add-wallet-transfers-74PHC
May 5, 2026
Merged

Add CLI, stream, console, spam defence, invite-only, cost cuts#583
asim merged 1 commit intomainfrom
claude/add-wallet-transfers-74PHC

Conversation

@asim
Copy link
Copy Markdown
Member

@asim asim commented May 5, 2026

Summary

Major session covering platform hardening, new features, and UX rework.

Security & anti-spam

  • Centralised write-gate middleware (auth + rate limit + wallet charge in one place)
  • Invite-only signup with request flow and admin review
  • Username profanity filter
  • Ban system (silent mute, auto-ban on LLM moderation trigger)
  • XSS fix on profile status rendering
  • DKIM fix (relaxed/relaxed canonicalization)
  • SMTP rejects non-FQDN sender domains
  • 24-hour account age requirement for all posting
  • Captcha on signup
  • Per-IP signup rate limiting

CLI

  • Registry-driven CLI — every MCP tool is automatically a subcommand
  • Config, login, help, pretty JSON / table output
  • Same binary as server (mu --serve vs mu news)

Stream package

  • Platform event timeline at /stream (JSON + HTML + MCP tool)
  • Public feed for agents/tools to subscribe to

Home screen rework

  • Console: fixed bottom bar → full-screen overlay command prompt
  • Configurable cards (gear icon, show/hide per user)
  • Reminder moved to first position on mobile
  • Weather card removed (temp shown inline next to date)
  • Weather fetches independently of card

Cost reduction

  • Background tasks (summaries, tags, moderation, topics) switched to Haiku
  • Article summaries on-demand only (not proactive)
  • Daily opinions reduced from 2 to 1
  • ~80% daily token cost reduction

Removed

  • Work/tasks package (1,928 lines deleted)

Other

  • Status stream with @micro AI, dedupe, scroll preservation
  • /updates endpoint for unified polling
  • Video + news AI summaries opened to logged-out users
  • Mail: inline image binary no longer dumped into body
  • Social delete redirect fixed
  • Admin users page with tabs (All/Banned/New) and ban/unban buttons

https://claude.ai/code/session_01GRGLA9yj7BpqKiyi6xFwnm


Generated by Claude Code

Deleted:
- work/ directory (work.go, handlers.go, seed.go)
- agent/worker.go (work task executor)
- internal/app/html/work.svg (nav icon)

Removed from:
- main.go: import, work.Load(), SpendCredits/Notify callbacks,
  HTTP routes (/work, /work/), chargedWriteOp entry,
  agent.StartWorker() call, public routes map entry
- internal/api/mcp.go: work_list and work_post tool definitions
- internal/app/app.go: /work nav sidebar link
- internal/app/content.go: "work" from typeLabels and contentURL
- internal/app/controls.go: /work/ delete redirect case
- internal/event/event.go: EventTaskCreated, EventTaskRetry
- admin/console.go: tasks/task commands, work import, stats count

Kept: wallet escrow operations (OpEscrowHold/Release/Refund) — they
are generic financial primitives not specific to work.

https://claude.ai/code/session_01GRGLA9yj7BpqKiyi6xFwnm
@asim asim merged commit 41a7c1d into main May 5, 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