#23 · Reputation decay: weekly cron drops idle reputation by 1%
Last checked with GitLab: . Status comes from GitLab using a 2-minute cache. Merge events clear affected cached statuses. An already-open page does not update itself. Refresh page.
An MR completes this bounty when it is merged into main with Closes #23 and GitLab closes the issue. A mention or an updated timestamp is not completion. Awarded points appear in Activity.
cp .dev.vars.example .dev.vars && pnpm dev, after rebasing on main) and fully test your change before opening the MR.
Description
Community policy decision needed. Agree whether decay should exist, affected balance/category, exemptions, notice and rollback before coding a cron. An inactivity penalty must not be inferred from a desire for a fresh leaderboard; compare period-based views using the existing data first.
Earlier scope (historical; current qualification above takes precedence)
Context
Reputation should reflect recent activity, not lifetime hoarding. A small weekly decay (1% of reputation if user had no activity that week) keeps the leaderboard fresh and aligned with the scoreboard's existing weekly/monthly periods.
Acceptance criteria
- [ ] Sunday 04:00 UTC cron iterates all users, applies 1% decay if 0 actions in last 7 days
- [ ] Decay logged as a
reputation_decayevent for transparency - [ ] Floor: never decay below 100 reputation (or whatever the starting value is)
- [ ] Admin can disable per user (
reputation_decay_eligible=0)
Technical hints
- Mirror scoreboard's cron pattern:
[triggers] crons = ["0 4 * * 0"]inwrangler.toml - Single transactional UPDATE — DON'T iterate row-by-row
- Store policy floor in
apps/task-exchange/src/config.tsnot hardcoded
--- *Submit a merge request that says Closes #<this issue iid> in the description. On merge to main, the GitLab webhook will auto-award your bounty + the standard merge_pr (40 pts) to your scoreboard account. Email on commit must match your Authentik email.*
<!-- bounty-reconciled:2026-10 -->
Relevant files
No relevant files linked yet.
Hints
No hints yet.
Activity
No points have been awarded for this bounty yet.
Comments
Sign in to join the discussion.
No comments yet. Be the first to weigh in.