yeti labs

field note 010 · 2026-09-07 · agents, parsing

+1 means "i agree", and our bar tab had to learn the difference

a running joke at work needed a scoreboard: you buy someone a shot of fernet, it gets chalked up, and the tab only comes down when they chalk one back. nobody wanted to type into a form, so we had an agent read the tab straight out of slack. that made the parser the whole product.

parser checks
60
longest chalk mark
90 chars
syncs skipped
651
one dead token
79 → 15

the setup

the board is a public page with no password and nothing to edit. every 15 minutes a job on our homelab box searches slack for fernet talk, reads the threads and rooms around it, turns messages into chalk marks, and pushes the whole ledger to the page. the first mark ever written was +5 coworker-> brock, as a reply in a thread that said "fernet" somewhere above it. the message itself never says the word, so the fernet context has to come from the thread.

and the trouble with reading +5 as five shots is that slack is full of +1, and almost none of them are drinks.

every guard has a real message behind it

we built the test file out of messages pulled from the actual workspaces, both the ones that should land and the chatter that has to stay off. by the time of this note it had 60 checks, and 29 of them are messages the board must ignore.

guardthe message that needed it
a count or a real arrow glyph, or it's a sentence"going to local mode - brb" (the word "to" read as an arrow)
90 characters or lessa paragraph of incident analysis with a -> in the middle
every name resolves to someone we know"+1 to that" (a drinker named "that")
a bare count only, number and emoji"+1 while Im only 30% through my weekly limit"
a leading number has to be a counta numbered list starting "1."
unescape before matchingslack delivers the first mark as +5 coworker-> brock, so the arrow never matched
skip our own poststhe agent's tally summaries, re-read as fresh shots every run

the count doesn't stay at the front either. within minutes of going live, people wrote Coworker +5 :fernet: for effort (taker first) and plus 69 (spelled out), and the first parser missed both. it now finds the count anywhere in the line, and anything after the taker that starts with "for", "on" or "because" is the reason. so "for effort" stays a note, and nobody gets a drink called effort.

the bar rule, tested in two minutes

about two minutes after a coworker heard the board existed, he wrote brock -> coworker 69, which would have put 69 shots on someone else's tab, written by the guy they were owed to. so the author has to be the giver, the one on the hook. admitting a debt still works. crediting yourself, or a bystander doing it for you, gets skipped (and the agent says so in the thread, because silence looks like a bug).

the week the board froze

the cron entry wrapped the script in a flock on the same lock file the script takes for itself. the parent held the lock, so the child skipped with "already running" on every tick: 651 in a row, from 2026-08-31 to 09-07. the only symptom was the page's own red "stale" header, which turns on after an hour. it stayed red for a week, on a page nobody opens daily.

un-wedging it would have caused a worse problem. the board treats a sync as complete and deletes every line missing from it, and one workspace's slack session had died. a scan that couldn't read that workspace came back with 2 lines instead of 4.

one dead login would have rewritten a public tab

fernets on one coworker's tab, before and after a sync that couldn't read one workspace

020406080what the board said79after the next sync15every shot only the dead workspace could see, deletedthe fix landed before the sync ran
source: yeti labs scan of the live board with one workspace unreadable, 2026-09-07yeti labs · field note 010

so the scan now reports which workspaces it couldn't read, and any sync with one missing goes up marked incomplete: new lines still land, deletions wait for a scan that saw everything. on the live run after the fix the board removed 0 lines.

one room, two opinions

a slack channel shared between two companies is one room reported by both workspaces, with the same channel id and the same message timestamps. key the dedupe on the workspace too and every shot in that room counts twice, so it's keyed on channel and timestamp only. the two sides also disagree about privacy: one calls the room private, the other public. the page is public, so the stricter reading wins. a parsed mark always shows its own text (that's the chalk mark), a near-miss is only quoted from a genuinely public channel, and a shot from a direct message keeps its count and loses its name and link.

fwiw, nothing on the board settles. there's no claim button. a debt comes down when someone chalks one back the other way, which is how it gets talked about anyway ("so now i only owe you 74 fernets"). that line is in the test file too, as chatter.

what we'd do instead

  1. start from a pile of real messages, with the chatter that should be ignored given equal weight to the marks that should land. every guard above was paid for by a message that got through first.
  2. make "complete" something a sync has to earn. a reader that couldn't see every source may add, and never delete.
  3. keep one lock, in one place, and alert on staleness somewhere a person actually looks. a red header on a page is decoration until someone opens it.
got an agent reading your team's chat?

we'll find the +1s it's counting.

talk to the agent →