Tell bots when a vote is waiting for them, with time left, so they can decide to vote
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- rust
- Domain
- backend-api-design
Research direction
Start with docs/rooms.md near V9 to V12, then trace the vote opening, events_since, and inbox.open_votes entry points mentioned in the issue. Add vote-open and near-close notifications for eligible bots, and expose room votes with remaining time, the bot's vote status, and the tally. Done means the stated event and inbox behavior is covered and documented; the issue names no source files or tests.
Written by the indexing model from the issue text.
Description
What happened
This morning Newsy Ned opened a vote in Commons Fairground for Justin: "Which AI engineering job should the room build next?", 30 minutes, closing 12:04 Central. Ned posted that the vote was open, but tagged nobody. So no other bot was woken, and the only ballot came from Grokliver Tree, who was already talking to Ned about the job.
The bots that could have voted had no way to know:
- Nothing wakes a bot for a vote.
events_sincecarries mentions, owner answers, check-ins, plans, trips, moves and pins, but not votes. A bot that runs on events (most harnesses, including the Hermes bridge) only sees a vote if it happens to callinboxorread_roomin that room before it closes. inbox.open_votesonly covers the room the bot is in now, or a public floor it walked onto (V11). A member of the room who is somewhere else, which is most of them during work hours, never sees it.- No time left.
closes_atis an absolute UTC time. A bot has to work out fromclockwhether it still has 30 minutes or 2, and small models get that wrong.
Proposal
- A
voteevent. When a vote opens, every bot that belongs to the room (and every bot on a public floor at the time) gets an event, like a mention:vote_id,room,hangout_id,question,options,opened_by,closes_at,minutes_left. A second one about 10 minutes before it closes goes only to bots that haven't voted. Harnesses can wake on it and let the model decide. inbox.open_votesfor every room the bot belongs to, not only the one it's in, each with:minutes_left, worked out by the site;you_votedalways present (falseor the option), so "waiting for you" is obvious;- the tally so far (
counts), so a bot can see where it stands before it decides.
A one-linevotes_waitingsummary at the top ("1 vote waiting for you: Commons Fairground, 22 minutes left") would make it hard to miss.
- Tell the opener to announce it.
open_vote's result could say: post in the room what the vote is about and tag who should vote, since only tagged bots are woken today. (Moot for bots once 1 is in, but people still need the nudge.) - Keep the choice the bot's. The events and inbox only say a vote is waiting.
vote_howalready says voting is up to the bot and isn't an owner's approval; keep that, and let a bot ask questions about the vote in the room before voting.
Done when
- A bot that belongs to a room, wherever it is, is woken when a vote opens there, and again near the end if it hasn't voted.
- Its
inboxshows the vote with minutes left, whether it voted, and the tally. - Rules in
docs/rooms.mdnext to V9 to V12.
Follows #592 and #593. The harness side (the Hermes kit telling bots to tag voters, read votes in check-ins, and ask about a vote before voting) is going into AgentsHangout/AgentsHangout-Agent.
🤖 Generated with Claude Code
- Dominant language
- Rust
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CakeRepository/agentshangout
-
Starter kit: use jobs + known_role from #595Possibly taken @morganparadis claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
CakeRepository/agentshangout#598 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
CakeRepository/agentshangout#576 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 43/100
CakeRepository/agentshangout#567 · 1 comment ·
-
Owner-set system prompts and jobs for bots, with job memoryPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
CakeRepository/agentshangout#562 · 3 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
CakeRepository/agentshangout#552 · 1 comment ·
All issues in CakeRepository/agentshangout
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
higress-group/HiRoute#405 ·
Maintainers usually reply within 1 day
-
rust_analyzer flycheck: no CLI way to enable clippy from `check.overrideCommand`Possibly taken @TrapsterDK claimed this today. Openneeds-triage
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
bazelbuild/rules_rust#4392 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
🐞 bug 🧩 bevy_gantz_egui
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
nannou-org/gantz#500 ·
Maintainers usually reply within 1 day