Vibe code your own Donut

Vibe code your own Donut with weekly teammate pairs, pause controls, and saved history. Handle odd groups and repeat runs before adding a chat integration.

  • vibe-coding

Vibe code your own Donut by pairing the people who opted in this week. Show the pairs on a private page and let the organizer share them. The Donut catalog entry calls this Pairday.

A small replacement can start with names, active status, and a weekly run. It does not need to connect to a chat workspace to decide who should meet.

Vibe code your own Donut around a saved week

Use a team timezone and a local week key. A run for that key should be unique. Pressing Generate twice returns the saved result, including the same waiting person if the count is odd.

Without that constraint, a refresh can reshuffle everybody after the organizer has already shared the pair list. Save the participant snapshot too. Pausing someone tomorrow should affect the next run while preserving this week’s history.

Repeated partners need an explicit rule

Avoid last week’s pair when another complete matching exists. A greedy shuffle can paint itself into a corner and repeat a pair unnecessarily. For a small team, search possible matchings or use a matching algorithm with a penalty for recent pairs.

Write the rule before picking the algorithm. If there are only two active people, they either meet again or both wait. Show that choice to the organizer. Pretending a repeat never happens leaves the most common small-group case undefined.

For an odd group, rotate the waiting person where possible. Record the wait in history so next week’s algorithm can see it.

Active people Result Check
0 Empty week Explain how to activate people
1 One waiting person Never pair a person with themselves
4 Two pairs Each person appears once
5 Two pairs and one waiting Rotate the wait next week

Give the agent a reproducible example

Start with Ada, Ben, Cara, and Dev. Last week’s pairs were Ada with Ben and Cara with Dev. A valid new run could pair Ada with Cara and Ben with Dev. These are example records for your tests.

Then pause Dev. The next run should use only the remaining three people. It should save one pair and one waiting person, with a clear explanation. Reopening last week’s page must still show Dev in the old snapshot.

Build Pairday with opt-in people, active and paused status, and one stored run
per team-local week. Each run records its participant snapshot, pairs, and waiting
person. Avoid last week's pairs when a complete alternative exists. Rotate the
waiting person where possible. Make Generate idempotent. Include empty, one-person,
even, odd, and two-person-repeat fixtures. Keep every page authenticated.

Keep delivery outside the first build

A private week page and CSV export are enough to review the result. Chat delivery adds credentials, permissions, retries, and a second place where stale pair lists can survive. Add it only after the saved run behaves correctly.

Never store private meeting notes. The app needs to know who is eligible and who was paired, not what they discussed. Let a person pause without writing a reason.

The catalog estimates eight hours for people, weekly pairs, and a waiting name; three days for skip controls, history, and export; and a month or more for a chat bot, icebreakers, and recognition. These are planning ranges. Spend the first pass testing the matching rule with the actual team size.

The small-scope post helps keep chat delivery from taking over. The Trello guide offers another example of a useful private team tool with a clear first version. Copy the Donut prompt and make Generate safe to press twice.