Lane 10 PR 4b: reactions and taking back (#736) #883
Loading…
Reference in a new issue
No description provided.
Delete branch "build/lane10-4b-reactions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #736 (lane 10). Stacked on #876 (4a posts). It merges with that stack in the train.
What it builds
The vote reply's slate (EX-024). The bot's vote route now returns
your_answers, so the bot's reply names the voter's whole current slate: "your yes for Option B is recorded — A and B work for you."❔ maybe on a confirmed session (EX-023).
rsvp: yes|maybe|nojoinsBotAttendanceRequest, andattendedis now optional. A maybe setsrsvp_statusand never touchesattended.4a's note declining a third reaction is about the per-slot time poll (ten emoji on a five-slot poll), not this single attendance ❔.
Taking back (O10, D157).
shelf_revealsrecords the Discord message it was posted as.POST /api/bot/reveals/{id}/messageis new, and the bot reports where the embed landed.revoke_revealpublishesreveal_taken_back, and the bot deletes its own post. That is best-effort and silent on 404 or Forbidden.A
reveal_taken_backbell row for the campaign's other GMs, excluding the actor, on the GM-tasks row. It uses the same shape asmember_joined.Migration
10b2c3d4e5f6_reveal_discord_messageon10d4e5f6a7b8:ck_notifications_kindgainsreveal_taken_backand remains the union of all earlier kinds.Up → down → up is clean on Postgres 16. The one-head pin moved to the new migration's test.
Bot contract
Additive; it stays at v2. The new surface:
rsvp);your_answers);check_version_sync.pypasses.Checks
NOTE_KINDcovers the new kind). eslint reports 0 errors.bot/directory was not reformatted.changelog.d/fragment.Question for the owner
The bell audience for
reveal_taken_back(co-GMs, excluding the actor) was inferred, not specified. It's on the questions page as B11.🤖 Generated with Claude Code