Short records of the decisions that shaped this project, and the evidence behind them. Each is one page: context, decision, consequences, and what would change our mind.
Most of these rest on research that would otherwise be lost — measured throughput figures, NAT prevalence data, source-level findings in nwaku. Where a number appears, its source is named.
| # | Decision | Status |
|---|---|---|
| 001 | WireGuard for the data plane, not libp2p streams | accepted |
| 002 | Userspace WireGuard, not the kernel module | accepted |
| 003 | Waku as rendezvous, not a live control plane | accepted |
| 004 | The public logos.dev fleet, not our own cluster | accepted |
| 005 | Overlay addresses derived from keys, no IPAM | accepted |
| 006 | Rotating rendezvous topics on a stable shard | accepted |
| 007 | Separate device and WireGuard keys | accepted |
| 008 | A bearer network key for v1 | accepted, temporary |
| 009 | Probe candidates before setting a WireGuard endpoint | accepted |
| 010 | Ship a container image, not a binary | accepted |
| 011 | No mixnet in the data path | accepted |
| 012 | Who runs the relay (you may not need a VPS) | accepted |
| 013 | Name resolution: hosts file now, DNS server next | accepted |
| 014 | Relay discovery: a flag on the announce, not a separate message | accepted |
| 015 | Multiple meshes in one daemon | accepted |
| 016 | Android reuses the Go core | accepted |
| 017 | Invite tokens | accepted, built |
| 018 | Credentials instead of a shared key | accepted, mostly built |
| 019 | An address per service | proposed; the name router is built |
| 020 | Membership is a seam | accepted |
| 021 | A synthetic IPv4 address per peer | accepted; translator built |
| 022 | A Keycard for the admin key | accepted; built and proven against a physical card |
| 023 | Announcing services | accepted; built |
| 024 | Ask the router for a way in | accepted; built and proven |
| 025 | Control from a desktop app | accepted; settings, mesh on/off, joining and leaving built |
| 026 | Announce what is bound to the mesh address | accepted; built, off by default |
| 027 | Punch through the relay we already have | proposed; reviewed 2026-11-08 — conditions recorded; probe bounds, the two-way roam rule and NAT diagnostics built ahead of the decision, which waits on measuring |
| 028 | When the fleet turns on RLN | proposed; nothing to build yet, two questions to ask |
| 029 | Disco proves the device, not just the mesh | accepted; the first half of Phase 4 |
| 030 | Tailscale-shaped, not Tor-shaped | accepted; scopes four design notes |
| 031 | Bootstrap from the mesh itself | proposed; after five of six fleet entry nodes refused |
| 032 | A suffix that cannot be taken away | accepted; .mesh was never reserved and ICANN's 2026 round has closed; the CLI's hosts file and status follow the daemon's suffix (amended 2026-10-13) |
| 033 | The card is the admin, not the uid | accepted, built; tiers by what protects an operation |
| 034 | The admin names the blind relays | accepted; built |
| 035 | An Edge node's port is nobody's contract | accepted; built — a tethering phone stranded the old one |
| 036 | Agents grow out of the mesh | accepted; built — Shrooms Agents, a separate app over the mesh; voice by ADR-053, harnesses by ADR-054 |
| 037 | Agents in cages, and off the machine | accepted; cages on the agent's machine built 2026-10-08 (rootless podman, a container per session); krun, Akash and spawning not yet |
| 038 | Usage is counted by the mesh address | accepted; built — who asked, where it ran, which model |
| 039 | On a phone, the app tells the core what it cannot see | accepted; built — its addresses, and when its node is deaf |
| 040 | Read-aloud uses the system's voice, set up rather than bundled | accepted; built |
| 041 | Agents talk A2A, and the mesh is the authentication | accepted; built — every session an A2A agent, its tools in every session; "a task is a turn" amended by 042 |
| 042 | A task is open until the worker finishes it | accepted; built — supervised by a watchdog, queued, acknowledged |
| 043 | Peers are probed on evidence, not only on announces | accepted; built — remembered, answering, after a move, or probing us; roaming without the bus |
| 044 | Cages reach agents only through their own, which says so | accepted; built — agent port closed in cages, a socket to their own agent, receivers choose (accept_caged); no shrooms control socket in a cage (amended 2026-10-09) |
| 045 | Sealed cages, for code nobody vouches for | accepted; built — internet only (nothing local, DNS included: amended 2026-10-13), its own token, asks nothing, results in an outbox; the boundary a test that can fail (amended 2026-10-13) |
| 046 | Metrics on the mesh addresses | accepted; built — tunnels, delivery and interfaces per node; Prometheus + Grafana via deploy/metrics; amended 2026-10-25: each mesh's listener shows only that mesh, the machine's own scraper sees all, first keeps machine series once |
| 047 | The tasks board lives in the agents' own view, read from the agents | accepted; built 2026-10-10 — links carry their tasks, cards carry their load, a panel grouped as a person needs it, ACK to the worker's agent |
| 048 | Files between agents | accepted; built — push into per-sender folders, allow list empty by default, sealed cages receive only |
| 049 | Sessions per mesh | accepted; built — a session limited to some of its machine's meshes is absent from the others; an unnamed caller is no one |
| 050 | Basecamp at parity with the phone | accepted; built — services per mesh, joins off the view's thread, a first join by invite open to the socket group, blind relays with the token never read back; Keycard invites through keycard-basecamp (a real-card run still owed) |
| 051 | A card lets the socket group renew and revoke | accepted; built — drafts the card signs, finished and verified by the daemon; card-only meshes only; members carry sealing keys |
| 052 | Backups on our own Logos Storage nodes, encrypted to a Keycard | superseded by 077 (--block-ttl 0 expires at once) — VPS, proteus and scribe on the office mesh, twice a day, age to a key the card derives; public storage with dispersal when it exists |
| 053 | Voice notes by Parakeet, a long one in pieces at its pauses | accepted; built — Parakeet v3 at 6-8× real time, no language to pick; over 90 s cut at pauses into minute pieces run at once (406 s in 40 s, not 99 s) |
| 054 | Harnesses are pluggable, and speak Claude Code's events | accepted; built — pi the second, by its RPC mode and its own mcp.json; pinned at 1.1.0 in cages |
| 055 | Releases go through the publisher, and public ones wait for the owner | accepted; in use — LAN repos first, public ones on a code from the owner's phone, the publisher never signs, Basecamp packages amd64 + arm64 |
| 056 | Agents without a mesh, and Shrooms as the upgrade | accepted; built — the agent always on a socket of its user's, alone on it with no daemon; meshes taken up when they appear, no restart; Basecamp finds it at local; the installer no longer needs shrooms |
| 057 | A folder caged sessions share | accepted; built — a cage option: a podman volume at /shared, read-write, one per set of meshes, never in a sealed cage; a volume defined as a bind is refused |
| 058 | The core tells the Agents view what changed | accepted; built — agentChanged events from shrooms_core 0.26, a 3 s safety-net poll, a stream grows its row only, no infinite animations; ~0.8 core calls/s with a session open, from ~8 |
| 059 | Cages reach their models through the agent, and hold no keys | accepted; built — the agent forwards /llm/<upstream>/ on the cage's socket and adds the credentials; an in-cage forwarder with no secret; harnesses plug in by environment and files (Claude Code in sealed cages, pi in caged ones) |
| 060 | Caged is your agent, kept in its folder | accepted; built — a cage's harness home is private, with the owner's settings read-only and only its own conversations read-write; one sentence each for not caged, caged and sealed |
| 061 | OpenCode is a harness, over its ACP server | accepted; built — opencode acp, streamed turns, the mesh's tools over MCP; no auto-approve (it never asks — measured), no takeover yet; the codec may write while decoding, which is what ACP needs |
| 062 | A harness comes with everything a session has, cages included | accepted; built — Cageable is the interface, Claude Code and pi moved behind it unchanged, and OpenCode implements it, CageEnv and Gatewayed; a caged OpenCode session gets a data directory of its own, since its conversations are one database for every project |
| 063 | What each agent is for: skills and responsibilities, set by the owner | accepted; step 1 being built — A2A skills and a responsibilities extension on each session's card, set per session by the owner, shown by list_agents; step 2 (replies continue tasks, results close once read, evidence it ran) not built |
| 064 | An agent's schedule is its own Scala calendar, co-owned with the owner | accepted; being built — Scala on each machine syncs over the mesh (a shrooms_mesh bearer for Loam, no delivery node), the VPS bridges to the Logos network; a calendar per session, the owner and that session its only editors; routines in custom fields, checks run without the model and wake it only on a change; runs written back; the agent signs for the session and refuses any other calendar; a change notifies the owner |
| 065 | The mesh's delivery node is infrastructure: applications run their own | accepted — the daemon's node serves the mesh alone; an application runs its own (Edge where it can) or reaches one elsewhere over the mesh; no publish or subscribe offered to local programs |
| 066 | A device name is held by the key that claimed it first | accepted; built — online or not, until forgotten or revoked; a later claimant answers to name-xxxx; on a mesh with an admin the name is the credential's; without one, names stay first come, first served (audit F-18) |
| 067 | A Core node relays its own mesh's shard, not the whole network | accepted; being built — shards set to the mesh's shard for Core, relay_all_shards to relay them all; the pinned library patched (upstream #4513) until the pin moves |
| 068 | A member can speak for a named LAN host, never for a LAN | accepted; built — one LAN device at a time behind a gateway trusted for its LAN, <host>.lan.<gateway>.<mesh>, a derived address (the LAN address on no wire), a separate admin-signed grant members verify (shrooms admin lan), a per-port TCP proxy in a userspace stack; sealed cages can't reach hosts, normal cages can (ADR-060); services now forward to this machine only; amended after the implementation audit: every node's kernel takes only packets addressed to it, a withdrawal closes open connections, a stale serial is refused, and a member may alias a LAN address to a host (lan_aliases); after the re-check, private host addresses only, --name needs a signed name, a gateway stops with its own credential |
| 069 | The task list takes history=0/since/limit, and a bad one is a 400 | proposed — measured 589,776 B per poll cycle on the hub; history=0 is 55.3% less on the real reviewer payload |
| 070 | The owner allows tasks from each cage, not from all of them or none | accepted; being built — accept_caged_from per session (MACHINE/SESSION or MACHINE/*); a task from any other caged agent is held in A2A auth-required as a request, allowed (standing rule, releases its tasks) or declined (rejected, asker told); amends ADR-044 |
| 071 | Delivery moves to v0.40 one node at a time, behind a build tag | accepted; being built — v0.40.0 (release branch 1a3b6c7d until tagged); internal/waku builds the July binding by default and v0.40's with -tags ld040, one API; QUIC off and kernel-picked ports unless set; payloads read in every encoding; metrics keep their names; one Android library shared with Loam; July and v0.40 tested against each other both ways before any node moves |
| 072 | A session can start fresh: by its owner always, by other agents only where allowed | accepted; built — "new conversation" in the apps and POST /v1/sessions/{name}/new; another agent asks with a task marked shrooms/fresh, honoured only with the owner's fresh_by_agents (off by default) and nothing else open; a caged session's working directory cleared into a 30-day archive, dot-entries, AGENTS.md and .keep kept, its cage untouched; an uncaged one's never touched |
| 074 | The delivery node resolves names the way the machine does | accepted; built — name_servers handed to the library as dnsAddrsNameServers; unset, what /etc/resolv.conf names; a VPN such as Mullvad is a network the machine is on, run over rather than around; settles dns-the-library-insists-on.md |
| 075 | Shrooms' listeners don't offer multipath TCP | accepted; built — godebug multipathtcp=0 in go.mod and mobile/go.mod; CVE-2026-98432's published exploit went through an MPTCP listener; Shrooms' own listeners were IPv6-only and nothing used MPTCP; the kernel is still the fix |
| 077 | Shrooms Backup lives in its own repository | accepted — github.com/vpavlin/shrooms-backup (restic over Logos Storage, mirrors per source, held deletions, a Keycard key per source); it uses only the daemon's status over the control socket, which is now a contract for applications; supersedes 052 |
| 078 | Files sent to sessions are kept two weeks | accepted; built — uploads/ (uploads and send_file drops) pruned by age at start and hourly, empty folders too; --uploads-keep (0 keeps them); 1.1 GB on five machines on 2026-11-01 |
| 079 | Sessions publish files: a link on the mesh, in a fixed set of places | accepted; built — publish_file, --files-url or the agent serves them at /files/ |
| 080 | The daemon starts on the last config that did, when an edit is refused | accepted; built — <config>.last-good after a clean start; refused at load or at startup, it runs on that copy, says so first in shrooms status, and leaves the edit alone |
| 082 | Daemons update themselves daily, and roll back | accepted; built — install.sh adds shrooms-update.timer (random time per machine): pull, restart only on a new image, roll back to a rollback-<date> tag if shrooms status does not answer within two minutes, skip a refused image |