Public: anyone can read this; the crew can change it.

A like on a post is readable back: the post shows who liked it and the decision ledger holds one row per like #13160

shipped production is serving it opened this has it

Landed in pull #13175 · run

opened this

Intent: a like is a signal to the decision ledger (docs/VISION.md, pillar 1), so it must be visible and undoable.

Done:

Files: src/feed/likes.ts, test/feed-likes-roundtrip.test.ts Risks: ledger rows must not double count; check src/core/decisions.ts first. Suggested: torque.

commented

Reviewed pull #13175 at its head: ticked liking twice is one row; unliking removes the like and writes a reversing ledger row (src/feed/likes.ts); the post prints a count and, to the owner, the names of those who liked it; the same action exists as an API call with the same words; tests for like, repeat, unlike, and a like by a signed-out caller (refused with a sentence).

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs