Back to projects

Run with a 17-person team (13 registered) · Oct – Nov 2026

BerryTicket

A system where AI picks up the team's work from Discord conversations and records it as tasks, viewable from a Discord bot and a Mac app called Betty.

A task system run with Blueberry Team, a 17-person team (13 registered). AI reads Discord conversations, creates tasks, and records progress and completion. I built the server, the Discord bot, and the Mac app Betty on my own and ran it from October 2026.

ResultAbout 94% of 1,469 task-change records written automatically in the first 10 days · task lookups from about 30 s to 1.2–2.7 s (a few measurements after the change)

Period
2026.10 - 2026.11
Format
Solo build, run with a team
Team
Solo build · run with a 17-person team (13 registered)
Role
Design and build of the server, Discord bot, and Mac app · running it with the team
Tech stack
Node.js, SQLite, Discord API, Go, Wails v3, Svelte 5, Docker Compose

Work decided in conversation leaves no record

Blueberry Team is an extracurricular development team of engineers, designers, and marketers. Requests and progress both come up in Discord conversations, which scroll away quickly, so it became hard to see who was working on what.

Before building anything, I settled one premise: asking members to type into a separate tool would not last. So the system had to pick up work from where people were already talking.

Three parts: a server, a bot, and a Mac app

The BerryTicket server is written in Node.js and runs with Docker Compose on my home server. Data lives in SQLite, shared by the web app, the Discord bot, and the AI processing. The AI work runs on Codex through a ChatGPT subscription rather than an API key. The team agreed to having its conversations read by AI before the system went in.

Discord messages are saved as they arrive. Once a conversation settles, the AI reads it as a batch, creates new tasks, and records progress or completion on existing ones. Only uncertain cases are left in a "please check" list.

GitHub issues and pull requests are synced read-only every five minutes, and allowed Figma files are fetched every ten minutes and compared with the previous snapshot. Both are matched against existing tasks. Channels named for secrets, security, or archives are excluded before anything in them is read.

The team sees its work in the Discord bot and in the Mac app Betty, built with Go, Wails v3, and Svelte 5, with sign-in through Discord.

ExternalExternalread-only5 min10 minDiscordGitHubFigmaServer (web)Node.js, DockerSQLiteshared databaseDiscord botqueriesBettyMac appCodexAI processing
How BerryTicket fits together. The web app, the Discord bot, and the AI processing share one SQLite database; GitHub and Figma are only read (illustrates the section above).

Set an owner only when the evidence points to one person

Once conversations could become tasks, ownership became the problem. A task in progress with no owner just stalls, because nobody picks it up.

But if AI guesses, people end up assigned work they never agreed to.

So I defined when not to assign before defining when to assign. When automation moves an unowned task to in progress or done, it assigns the author of the supporting messages only if exactly one registered member wrote them; on GitHub it uses the pull request author or the single assignee of an issue. With several authors, an unknown account, or an existing owner, the task stays unassigned. Undoing the automation also undoes the assignment.

On October 24, 2026, when this rule went in, 45 of 70 tasks in progress had no owner. The rule was not applied retroactively to older tasks.

Implementation details
  • AI creates tasks from Discord conversations.
  • Progress and completion messages update existing tasks.
  • An owner is assigned only when the evidence points to one person.
  • Undoing an automatic change also undoes its assignment.
Candidates the AI found in Discord conversations: add the right ones, skip the rest (demo data, Korean UI)

If the answer is already in the data, don't call the model

Every time someone asked the bot for their tasks, it called the AI model, and the reply took about 30 seconds.

The task list was already in the database; the answer only needed sorting and formatting. With a 30-second wait, opening the board yourself is faster.

Task lookups stopped calling the model and now return tasks from the database through a template. The reply has buttons, so a task can be completed right there.

Before the change, 72 hours of logs from October 21–24, 2026 showed a median of 8.0 s of preparation plus 23.2 s of generation (p90 generation 50.5 s) across 16–17 model-answered conversations. After the change, the time from the bot receiving a message to sending its reply was 1.2–1.4 s in a few runs on October 24, and 1.96 s and 2.66 s for the two fixed-question replies that later appeared in the logs. Other conversations are still answered by the model and take around 30 s.

Implementation details
  • Removed model calls from task lookups.
  • Return the person's tasks through a template.
  • Change status with buttons on the reply.
The reply to “tell me my tasks,” returned from data without calling a model, with buttons to change status. This is a real screen, so member names and task titles are hidden (Korean UI)

When and what you send decides cost and wait

Calling the AI on every conversation makes both the number of calls and the amount sent grow with conversation volume.

The AI ran on a ChatGPT subscription, so its usage limit was the system's operating limit. Cut too far, though, and tasks start getting missed.

I kept the model and changed what it received. When matching against existing tasks, it gets only the fields it uses to decide, and results are checked against the full data separately. Real-time extraction used to fire every time a conversation paused for 30 seconds; now it batches after a two-minute pause (ten minutes at most). Messages that are only laughter or emoji never trigger it.

With the change on October 22, 2026, input tokens per hourly Discord matching run fell from an average of 202,472 to 104,074, about 49% (average of four runs before and four after). For real-time extraction, a replay of the previous 24 hours' 1,854 real messages under the new rules estimated calls falling from 229 to 103, 55% fewer. The cost is an average wait of about 4.9 minutes before extraction.

Implementation details
  • Matching sends only the fields the model reads; checks use the full data.
  • Extraction batches after a two-minute pause (ten minutes at most).
  • Laughter- or emoji-only messages never trigger a call.

Design work was the one thing I could not mark done automatically

Tasks were tied to GitHub issues and pull requests and to Figma changes, but each lived somewhere else. GitHub has clear moments, such as a merged pull request or a closed issue. Design work in Figma has no such signal.

If checking means opening a board in the browser, it never becomes a daily habit.

GitHub items are linked first by task numbers in the body, Discord links, and closes references; for the rest, AI compares scope and either links them or asks for confirmation. A merged pull request alone never completes a task, and a task a person un-completed is never completed again on the same evidence. Figma snapshot diffs are matched against existing tasks, starting with frames untouched for 20 minutes. For seeing tasks, I built the Mac app Betty.

every 15 s, revisionrevisionnoyeswrite + updated timeno409BettyMac appServerAPIChanged?DoneReload whole boardChanged first?Saved
How Betty syncs. It does not reread everything each time, and the server decides conflicts (illustrates Betty's implementation above).

For design work, the only clue was that editing had stopped, and I never found a way to judge completion automatically. Matching a paused frame to an existing task is automatic; deciding it is done stays with a person. A check against the team's real data on October 23 found 182 of 256 tasks piled in a single to-do column and 189 with no owner. In response I added checklists for subtasks and a trash in place of deletion; trashed tasks are never recreated from the same conversation.

Implementation details
  • Betty polls only the board revision every 15 seconds and reloads the board only when it changes.
  • Writes carry the last-updated time; if someone changed the task first, the app gets a 409 and reloads.
  • Sign-in is Discord OAuth over a loopback redirect with PKCE, and the token is kept only in the Keychain.
  • HTML drag and drop was unreliable in the macOS webview, so board dragging was rebuilt on pointer events.
  • The menu bar icon was hidden behind the notch, so Betty became a regular Dock app.
Project board by status, with a filter for tasks nobody owns (demo data, Korean UI)
Task detail where status, owner, due date, and checklist can be edited in place (demo data, Korean UI)

How much was recorded automatically in the first 10 days

In the first 10 days of operation (October 16–25, 2026), there were 1,469 task-change records. About 94% of them, 1,386, were written automatically from conversations and GitHub and Figma matching; people changed tasks by hand 83 times. These are rows in the change log, and one change can leave more than one row.

Excluding the first-day cleanup of past conversations, 160 of the 175 tasks that came up in day-to-day work (91%) were created automatically from conversation. Of 723 automatic links and progress or completion updates, people undid none. Undo was always available from the automation log, but fewer people looked at it once use dropped off, so read this number with that in mind. 9 of the 13 registered members talked to the Discord bot.

Figures come from the database and logs of the operating period. The repository is private. Mac app screenshots use demo data; the Discord screenshot is a real screen with member names and task titles hidden.

And still, it stopped being used

The automation worked as the numbers above show. Even so, after about three to four weeks members had mostly stopped using it.

The team set no deadlines: whoever noticed an issue took it and finished it the same day, or within a week at most. Work did not pile up, so there was little to manage in the first place, and a team of engineers, designers, and marketers had no one whose job was to manage it.

Marking work done stayed with people to the end. A button was faster than typing "mark it done", so I let people complete their own tasks right away in the web app and Betty, and detected completion of development tasks from GitHub pull requests. Design work, though, had no signal for when it was finished, and I never managed to judge it automatically.

I think keeping the board accurate cost more than having it organized was worth. If I rebuilt it, I would drop the idea of owners and start by simply collecting which issues are open, because this was a team where whoever noticed first fixed it.

What I should have checked before building was whether the team really had this problem, and who would keep the board accurate, at what cost.