grappa

How we make it

grappa is written in the open, mostly by Claude sessions, with a human holding the rulings. Nothing merges until it has worked against real IRC servers in real browsers. This is how.

Who writes it

A crew of Claude Code sessions, each in its own tmux pane, and one human watching them think.

The desk on IRC

One session lives on IRC. It answers people, says what is real and what a request would cost, and passes the good ones up the chain instead of letting them scroll away.

The orchestrator

The project manager. It turns requests into tracked, prioritised issues, decides what gets built when, and hands the work out. It never opens an editor.

The workers

Developer sessions that take one scoped issue at a time, write the change and its tests, and hand it back. They do not talk to users and do not argue about the roadmap.

They talk to each other the old way: a session types into the next pane with tmux send-keys, checks the text actually landed, and only then presses Enter. No framework in between, on purpose: vjt can watch every session reason in its own terminal and step in by typing into it. The orchestration skill that drives the panes is open source, in the repository.

And the work is coordinated where it belongs: on IRC. Humans and agents share a channel where tasks are handed out and pull requests are discussed in plain text, read from cicchetto on a phone like any other chat.

cicchetto on a phone, an IRC channel where the orchestrator, the worker sessions and the people behind grappa talk about pull requests
Humans and agents coordinating the work in an IRC channel, seen from cicchetto on a phone

Tested against the real thing

Every push and every pull request starts two whole IRC networks, built from the source the real ones run, and three browsers that use grappa the way you do.

The test rig: three browsers drive grappa, which is connected to an Azzurra network (two leaves, a hub and services) and to a separate Solanum network; scripted IRC clients and an irc-olm bot are on the Azzurra network too Chromium desktop Pixel 7 touch iPhone 15 WebKit grappa + cicchetto, under test AZZURRA bahamut + services leaf v4 leaf v6 hub services LIBERA solanum own network, own nicks IRC peers scripted irc-olm bot Python, E2E

Azzurra, from its own source

The Bahamut ircd and the services Azzurra runs, built from Azzurra's own repositories: a hub and two leaves, one on IPv4 and one on IPv6, linked server to server. Registering a nick sends a real confirmation email, which a mail sink catches.

Libera's ircd next to it

Solanum, the ircd Libera.Chat runs, as a second, separate network with its own nicks: the same person on two networks at once, and grappa reading real Libera-style replies.

Real browsers, real taps

Playwright drives cicchetto, served by the grappa under test, in desktop Chromium, in Chromium as a Pixel 7 with touch, and in WebKit as an iPhone 15. It types, taps, scrolls and swipes, and checks what ends up on the screen.

Scripted IRC people

Plain IRC clients join, talk, change nick, set topics and kick on the same servers. Each step waits for the server's own reply, so what the browser sends has to reach them, and what they send has to show up in the browser.

Encryption, checked twice

Encrypted queries run between two browsers, two accounts and one real ircd, and the test fails if any plaintext reaches grappa's history.

Then cicchetto talks to an IRC bot on irc-olm, a separate implementation in Python written from the same spec: long messages are split by one and put back together by the other.

Four shards, every push

Over five hundred browser test files, split into four shards that run in parallel. A red shard keeps its Playwright traces and the servers' logs for whoever has to find out why.

# what CI runs on every push and pull request: one shard of four
bash scripts/integration.sh --shard=1/4

The same stack runs on a laptop: it publishes nothing on the host, so it sits next to a dev setup without a clash.

Before the browsers start

Every pull request and every push to main also go through the fast gates:

Everything is on GitHub: the code, the issues, and the workflows that do all of this.

From a tag to your machine

Nobody uploads anything by hand. A tag starts it; the last step is your package manager.

Two clankers, a conveyor, and a key that never leaves the house.

1 The tag

A release is a git tag. Everything below is a consequence of it โ€” there is no "publish" button anyone presses.

2 The build

GitHub Actions compiles the release, bundles the cicchetto app into it, and produces the .deb, .rpm, .pkg.tar.zst and the container image. Public machines, public logs, reproducible from the tag. The .deb is then installed on a clean Debian and has to boot.

3 The doorbell

When the build is green the workflow rings a doorbell on the publishing host: one authenticated request, reachable only from GitHub's own address ranges. It carries no payload โ€” it only says "go and look".

4 The throwaway machine

The publishing host runs FreeBSD and has none of the Debian, RPM or Arch indexing tools. So it rents a machine, boots it, has it build the repository indexes out of the public packages, takes the result back, and destroys it. It lives a couple of minutes and never sees a secret.

5 The signature

The indexes come home and are signed there, by a key that exists on exactly one machine. Not in a CI secret, not on GitHub: a compromised workflow could at worst publish a wrong package, never sign one of its own.

6 Your update

Then it is just apt upgrade, dnf upgrade or pacman -Syu, with the signature checked by your own package manager. Set it up โ†’

Ready?

Log in with a nick โ€” you're on IRC in seconds.

Try it now โ†’