Skip to content
quarry Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 46154e6e3f0704cf46bc35aadca9059a2d662bca1648838b0d6b367cae0bded5
Ticket: 92b674187eb1c991c36ef8723eab39bab27d55e5
Forum votes: up/down per post, OLTP-authoritative
User & Date: tmp-ops on 2026-08-21 18:39:57
Changes

  1. Untracked field cmimetype: "text/x-markdown"
  2. comment changed to:
    Up/down votes on forum posts. Authoritative in OLTP: vote(repo, account, post_hash, dir ±1, at), one row per account×post, changeable and retractable. Forge-local by design — votes are social state like GitHub stars, not repo content; they do not sync via fossil and never touch the artifact DAG.
    
    Surface: vote arrows on each post for logged-in users; net score shown per post and aggregated per thread on the forum list. Score aggregation is derived (query-time or index cache keyed on immutable post hashes) and must survive wipe+reingest unchanged.
    
    Votes feed two consumers: hot ranking (next ticket) and moderation signals (heavily-downvoted posts surface in the mod queue). No karma economy, no vote weighting — a vote is a vote.
    
    Acceptance: vote, change, retract round-trips; scores render on thread + list pages; anonymous users see scores but no arrows; reindex leaves scores identical.
    
    
  3. status changed to: "Open"
  4. title changed to: "Forum votes: up/down per post, OLTP-authoritative"