busyyaks

mcp
Security Audit
Pass
Health Pass
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 17 GitHub stars
Code Pass
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Your local agent agency, run from a kanban board

README.md

You are brilliant. The people around you just don't get it yet. Good news: you can vibe-code anything now, so stop
waiting for them. Be the boss. Hire a team of agents that never quiet-quit, believe in your vision and always agree
with you. :)

busyyaks' own board: the session lanes (Needs you 2: the lead's question with its choices, the sub team's permission dialog with its keys; Working 5: thinking, a running tool, writing, waiting for subagents, working; Quiet 2: idle), the launch bar, the column counts and the label filters, and the columns with cards — screenshot covers, labels, due dates, flags and the session that owns each A busyyaks card opened: its hand-off box with the PR, the CI build, how to check it and its screenshots, its review thread (the operator, QA, author and reviewer comments with their status headers), and the Links rail with the PRs grouped by role, the CI build, branches and repo links

Merge hundreds of PRs a day!

Always-busy yaks watch your projects locally and follow your orders. You focus on building the roadmap and managing
them.

The panel watches every git repo under a directory and gives you and your agents the same view of them:

  • Today: commits, active repos and your merged PRs per day, a year-long contribution heatmap, and what is dirty or
    unpushed, so your brain gets its dopamine from the numbers!
  • A kanban board per repo, the real diamond of this repo. An agent claims a card, asks you a question on it, and
    hands it over with the PR, the CI build and screenshots into a gate column: the card waits there until you approve,
    so you personally ensure the quality of your yaks' work. Which columns are gates, and whether a gate also waits for
    green CI (off by default), is your board's workflow (Workflows).
  • Launch and supervise agents in tmux from the browser, see which session is waiting on a permission dialog, and
    answer it from the card.
  • A daily report written by a local LLM through the same MCP tools, with every number computed by the server.
  • Your GitHub network: what the people you follow starred, whom they followed, and your github.com feed, summarised.

It runs as five Docker containers plus two host-side processes (the tmux launcher and, optionally, the daily-report
timer). All state is one database: a SQLite file by default, or PostgreSQL (Database). It is built for
one operator on one Linux box: see When not to use it.

The Today page in the dark skin: commit, own-commit, repo and merged-PR tiles with 7-day sparklines, the uncommitted and unpushed repos, today's commits across busyyaks and the demo's other repos, the list of merged PRs, the latest report and a 7-day table; the agents sidebar on the right lists the running agent sessions per project (needs input, PR review, thinking, tool, each with its card); the waiting widget in the corner counts to answer, to review, external and approved

Today (dark skin): the numbers come from the scanner's git reads and from GitHub, never from a model. The right rail lists the live agent sessions per project. The screenshots are busyyaks' own board, dumped from the author's dashboard (every other project renamed acme-N, emails and hosts removed, each picture read by OCR, a gate refusing any private word) and loaded into a throwaway stage beside synthetic acme/* repos — scripts/readme-images/dump, then demo-stack up --from and build (docs/TESTING.md § README images).

The project

busyyaks is two repos that move together:

  • busyyaks (this repo) —
    the panel: one dashboard and MCP server over every project on a box, its agents and their boards.

The kanban module is built for and with busyyaks, its reference host; it lives in its own repo only so other projects
can ingest it too. See Two layers.

Two organisations: a human one (leadership, product, design, other engineers, and me as the lead of my agent agency) and the agent agency I lead inside it. I talk directly to one team-lead agent per project; each team lead has agents, junior level, spawned per ticket, each with its own subagents. Three projects are drawn; six more boards run the same way

How it is used: one operator, one team-lead agent per project, a worker agent per card — from the article.


Requirements

For You need
the dashboard, scanner, MCP, boards Linux, Docker Engine 25+ with the compose plugin (2.20+), git, a POSIX shell, a directory of git repos — no host Ruby: bin/setup is sh, everything else runs in the image
signing in nothing on localhost (auth: { provider: none, allow_unauthenticated: true }); anything reachable from elsewhere needs an auth provider
GitHub pages, merged PRs, PR + CI state on cards (optional) a read-only GitHub token, pasted on Settings → Git hosts (gh auth token with the gh CLI, or a fine-grained token with no repository access); not connected = every page says so
connecting Claude Code (bin/env reads .env), the launcher (bin/launcher, on the host: Launch, claim, dialog answers, new repos), yaks Ruby 3.2+ on the host (stdlib only, no gems); the launcher also git, tmux, the claude CLI and a systemd user manager (systemctl --user; on a server without a login session: loginctl enable-linger)
the agents sidebar, typing comments into sessions (optional) an agent-session collector: busyyaks ships one, bin/collector (Ruby 3.2+, tmux, a systemd user manager; below)
the daily report (optional) the runner's CLI (e.g. hermes), Ruby 3.2+ (bin/env reads .env), jq, curl, flock, timeout on the host, a systemd user manager, and an OpenAI-compatible LLM gateway

Agent sessions

An agent-session collector is a host program that walks /proc and tmux, writes a JSON snapshot of every pane running
a coding agent, and answers screen / send requests on a unix socket; bin/launcher reads both. busyyaks ships one,
bin/collector (stdlib Ruby, a systemd --user unit from deploy/install-collector.sh): every 5 s it reads this
user's tmux servers only, finds each pane's agent by its process (Claude Code: claude; Hermes: hermes with its
bootstrap), writes the snapshot atomically and serves the socket owner-only. You state which collector you run in
config/busyyaks.yml agents (required, no default):

agents:
{ collector: { snapshot: <file>, read_socket: <socket>, tmux_timeout_seconds: <1..60>, answer_timeout_seconds: <n> } } (the shipped example: 5 and 30) everything; host paths read by bin/launcher, which refuses to start while either is missing. Both deadlines are required: bin/collector kills a tmux call still running at tmux_timeout_seconds and answers that request with the error; bin/launcher and yaks doctor refuse a collector whose whole answer has not arrived by answer_timeout_seconds (above 4 × the tmux one: a send is 4 tmux calls), naming it. bin/collector writes exactly these two, in ONE dir it creates 0700 outside PROJECTS_ROOT, the checkout and LAUNCHER_RUN_DIR (the socket types into sessions: no container may reach it). Another collector speaking the same snapshot + socket may write them instead
{ collector: none } works: dashboard, scanner, MCP, boards, Launch, kanban_claim, the watchdog, reports, GitHub; a dialog is turned into a question on its card (and answered from there) only when a comment to that session is pending. Off, each saying agent-session collector off (config/busyyaks.yml agents.collector: none) where it shows: the agents sidebar, session states and links on cards, Clear idle, the subagent list, typing card comments and answers into a session (the ping is marked failed with that reason), spotting a session stuck on a dialog before anyone comments

What bin/collector reads, per engine (anything it cannot read is null in the snapshot, with the reason in the
pane's unknown):

Claude Code Hermes
listed in the sidebar, its project from the pane's dir yes yes
state (working · blocked · idle) its own record CLAUDE_SESSIONS_DIR/<pid>.json (idle · busy · waiting, title, when) + its screen its screen (bin/launcher's Hermes rules: an approval or a question = blocked)
a dialog answered from the card / sidebar yes no (shown as blocked)
card comments typed into the session yes (one bracketed paste + Enter, only while the same agent process runs and no dialog is on screen; a send whose outcome is unknown — tmux failed after the paste began, or no answer — is never sent again) no
live phase line (thinking · tool · writing) yes no
subagents, workflows, background tasks not read (the sidebar says so) not read
Clear idle stops a quiet session only when its record says idle (subagents unread: a session in any other state is kept) keeps it (state unread)
several agent panes in one session each listed; screen and card comments go to the first (lowest window.pane) same

Install it before the launcher (yaks doctor checks it: a fresh snapshot, the socket, the unit):

deploy/install-collector.sh      # bin/collector --check, then the unit; waits for its first snapshot
deploy/install-launcher.sh       # the launcher reads the collector's paths at its start

Quickstart

Host Ruby is not needed for these steps (Requirements). Each one stops with the reason and the fix
when something is missing; run the next only once the previous succeeded.

git clone https://github.com/robertziel/busyyaks && cd busyyaks

# copies .env.example → .env, config/busyyaks.example.yml → config/busyyaks.yml and config/kanban.example.yml →
# config/kanban.yml (an existing file is kept), writes the secrets that are empty (SESSION_SECRET, MCP_TOKEN,
# MCP_REPORT_TOKEN) and HOST_UID / HOST_GID, then lists the values left to fill
bin/setup

# fill what bin/setup listed — PROJECTS_ROOT, GIT_EXCLUDES_FILE (your global git excludes; none → touch an empty
# file), LAUNCHER_RUN_DIR, TEAM_TERMINAL_URL, SSH_ATTACH_TEMPLATE — each explained above its line (GitHub is optional:
# Settings → Git hosts, after the start); groups 4-6 of .env work as shipped (SQLite, ports 8080 / 8081)
$EDITOR .env

# every value compose requires set, HOST_UID = you, PROJECTS_ROOT a real directory; creates ./data and
# LAUNCHER_RUN_DIR (0700) as you, then compose's own check of .env — each problem named with its fix
bin/setup check

# builds the image (a few minutes the first time) and returns once every service runs and web answers /up;
# "container … is unhealthy" / "dependency failed to start": docker compose logs web says why
docker compose up -d --build --wait web mcp scanner github notifier writer

config/busyyaks.yml as copied: every repo under PROJECTS_ROOT, no sign-in (auth: none, localhost only), the
agent-session collector bin/collector at agents.collector's paths (bin/setup writes them under your $HOME
when it copies the file, and bin/setup check names one it cannot use; collector: none for no agents sidebar); config/kanban.yml: the board's caps, theme and gates (the launchers and agent types are
edited on Settings → Agents & launchers, in the database; a fresh one starts with config/agents.template.yml: plain
claude).

Open http://127.0.0.1:8080 (WEB_HOST_PORT) — with provider: none there is no sign-in; the first page is the
hello screen (/hello), which checks the database, the scanner, the launcher and GitHub and says what each needs, and
looks for the agent CLIs on the host (Claude Code, Hermes, Codex — config/harnesses.yml): found with its version, or
an install link, and the launch.commands line to add for one installed but not allowed. Reopened from the settings
cog (Setup), it lands on a summary of the current settings, each step editable.
The scanner reads every repo under PROJECTS_ROOT (mounted read-only) within scan_interval_seconds (Settings → Runtime).

Nothing goes into your Claude Code or Hermes settings. busyyaks hands each session it launches its own skill
(--plugin-dir) and its own board MCP (--mcp-config, bearer MCP_BOARD_TOKEN), both in that session's private stage
under LAUNCHER_STATE_DIR. A session you start yourself from a terminal gets none of it: no busyyaks skill, no board
tool, no busyyaks text. Per-project agent rules live in that project's .busyyaks/ directory (docs/DEPLOY.md
§ Skills).

Install the agent-session collector, then the host launcher (both systemd --user; host Ruby 3.2+, tmux, claude).
Fill .env group 3 (LAUNCHER_STATE_DIR, CLAUDE_SESSIONS_DIR) first. Agents' board tools check the agent's tmux
session through the launcher, the launch bar starts sessions with it, and the agents sidebar reads the collector
through it:

deploy/install-collector.sh   # bin/collector at config/busyyaks.yml agents.collector (set `collector: none` to skip it)
deploy/install-launcher.sh

An agent then starts with whats_new and works its project's board with the kanban_* tools. Without the launcher,
the dashboard, the scanner and MCP's read tools work, but agents cannot register, claim, create or ask on cards. The
agents sidebar and typing comments into sessions also need the agent-session collector.

Optional: the daily report timer, deploy/install-daily-timer.sh.

The yaks command

bin/yaks runs the checkout it lives in, from any directory. It needs host Ruby 3.2 or newer (stdlib only: no
gems, no bundle install). The stack's commands (server, panel, env, doctor) need Linux; yaks desktop
also runs on the BSDs and macOS (Desktop app).

Install — one symlink from a directory on your PATH (the example uses ~/.local/bin; any PATH directory works):

ruby -v                                    # 3.2 or newer
mkdir -p ~/.local/bin
ln -s "$PWD/bin/yaks" ~/.local/bin/yaks    # run from the checkout; the link must point at the real bin/yaks
command -v yaks                            # ~/.local/bin/yaks; nothing → add ~/.local/bin to PATH in your shell profile
yaks doctor                                # every row ok (miss = optional)
yaks server status                         # every row ok once the stack is up
update yaks update (below) — the link follows the checkout, so whatever moves the checkout updates yaks too. Moved or renamed the checkout → the link breaks: ln -sf <new checkout>/bin/yaks ~/.local/bin/yaks
uninstall rm ~/.local/bin/yaks
several checkouts one link per checkout, under different names (ln -s <checkout>/bin/yaks ~/.local/bin/yaks-test)
exit codes 0 ok · 1 a check failed or a refusal (the reason on stderr) · 2 a usage error (usage printed)
no .env at <checkout>/.env the link points at a checkout that is not set up: finish the Quickstart there, or link the right checkout
Ruby X is older than 3.2 · busyyaks runs on Linux only refused before anything runs (the stack's commands; yaks desktop and help run on Linux, the BSDs and macOS)
yaks panel: no graphical session here run it from a desktop session; over ssh / tmux use yaks panel --print

Commands:

Command Does
yaks server status each service running, /up, MCP tools/list, the launcher unit and its socket; exit 1 if any is down
yaks server logs [SERVICE] [-f] docker compose logs of the stack or one service
yaks panel [--print] opens the dashboard with xdg-open from a desktop session (https://PUBLIC_HOST, or http://127.0.0.1:WEB_HOST_PORT); over ssh / tmux it is refused — --print prints the URL
yaks desktop install --browser NAME · yaks desktop open · yaks desktop uninstall the desktop app (Linux, the BSDs: a .desktop entry; macOS: ~/Applications/busyyaks.app): the server chooser in its own window, then each server in a window of its own (NAME --app=<URL>); uninstall removes only this checkout's entry
yaks env KEY... export KEY='value' lines from .env (as bin/env)
yaks env --ports this server's host name and its loopback web / MCP ports as JSON — what yaks remote connect asks over ssh; no secret
yaks remote add|list|remove|connect|attach · yaks remote --stdio a busyyaks server on another machine, over your own ssh: Remote
yaks update [--main] · yaks update --check this checkout onto its newest release tag (--main: the head of updates.branch), then the stack on it: Updating
yaks doctor every host tool the stack needs, per feature, and the first start's checks; exit 1 if one fails

How it works from the terminal. yaks finds its checkout from the symlink's real path, reads that checkout's
.env, and runs everything there — so it works from any directory. server status, server logs and doctor only
read: they run docker compose ps / logs in the checkout, ask GET /up on 127.0.0.1:WEB_HOST_PORT and MCP tools/list on
MCP_HOST:MCP_HOST_PORT (bearer MCP_TOKEN), systemctl --user is-active busyyaks-launcher.service and look for
LAUNCHER_RUN_DIR/launcher.sock; they start, stop or write nothing (logs -f follows until Ctrl-C). panel starts
xdg-open with the dashboard URL. A session:

$ yaks help
usage: yaks <command>

  yaks server status                   every service, /up, MCP tools/list, the launcher unit and its socket; exit 1 if any is down
  yaks server logs [SERVICE] [-f]      docker compose logs of the stack (or of one service); -f follows
  yaks panel [--print]                 open the dashboard in the browser (xdg-open); --print prints its URL instead
  yaks desktop install --browser NAME  busyyaks in the app menu: the server chooser in its own window (Linux, BSD, macOS)
  yaks desktop open --browser NAME     the chooser now: Local (the default) and the saved servers, each in its own window
  yaks desktop uninstall               remove that entry
  yaks env KEY...                      `export KEY='value'` lines from .env, for eval (bin/env)
  yaks env --ports                     this server's host name and ports as JSON (what `yaks remote connect` asks over ssh)
  yaks remote add|remove TARGET        save / forget a busyyaks server reached over ssh (a Host alias or user@host)
  yaks remote list                     the saved servers (connects to nothing)
  yaks remote connect TARGET [--mcp]   forward its dashboard (and MCP) to this machine over ssh, until ssh ends
  yaks remote attach TARGET SESSION    an agent's terminal on that server, here, over ssh
  yaks remote --stdio                  server side of attach: ssh's stdin/stdout ↔ the launcher socket
  yaks update [--main]                 this checkout onto its newest release tag (--main: updates.branch's head), then the stack on it
  yaks update --check                  what is newer on config/busyyaks.yml updates.remote; changes nothing
  yaks doctor                          every host tool the stack needs, per feature, and the first start's checks; exit 1 if one fails
  yaks help                            this list

$ yaks server status
ok    web                        running
ok    mcp                        running
ok    scanner                    running
ok    github                     running
ok    notifier                   running
ok    web /up                    HTTP 200
ok    mcp tools/list             46 tools
ok    busyyaks-launcher.service  active
ok    launcher socket            /home/you/.local/state/busyyaks/run/launcher.sock

$ yaks doctor
ok    docker               /usr/bin/docker                        the stack (yaks server)
ok    git                  /usr/bin/git                           the launcher
ok    tmux                 /usr/bin/tmux                          the launcher
ok    claude               /home/you/.local/bin/claude            the launcher
ok    systemctl            /usr/bin/systemctl                     the launcher, the daily report (systemd --user)
ok    xdg-open             /usr/bin/xdg-open                      yaks panel
ok    docker compose       2.32.4                                 the stack (yaks server)
ok    systemd --user       running                                the launcher, the daily report
miss  graphical session    none (ssh / tmux): yaks panel --print  yaks panel
ok    config/busyyaks.yml  daily_report_runners set               every service
ok    jq                   /usr/bin/jq                            the daily report
ok    curl                 /usr/bin/curl                          the daily report
ok    flock                /usr/bin/flock                         the daily report
ok    timeout              /usr/bin/timeout                       the daily report
ok    ruby                 3.2.3 (>= 3.2)                         yaks, the launcher, bin/env
ok    .env                 the 38 keys compose requires set       the first start (bin/setup check)
ok    config/kanban.yml    present                                the first start (bin/setup check)
ok    HOST_UID:HOST_GID    1000:1000 (you)                        the first start (bin/setup check)
ok    PROJECTS_ROOT        /home/you/projects                     the first start (bin/setup check)
ok    ./data               /home/you/busyyaks/data                the first start (bin/setup check)
ok    LAUNCHER_RUN_DIR     /home/you/.local/state/busyyaks/run    the first start (bin/setup check)

$ yaks server logs scanner -f        # Ctrl-C stops following
scanner-1  | scan ok repos=121 seconds=21.3

$ yaks panel --print
https://busyyaks.example.com

$ eval "$(yaks env WEB_HOST_PORT)" && echo "$WEB_HOST_PORT"
3000

ok = found / up · miss = optional and absent (only yaks panel's needs; never fails doctor) · FAIL = missing,
exit 1. The jq · curl · flock · timeout rows appear only when config/busyyaks.yml has daily_report_runners. The
first-start rows read what bin/setup check makes (doctor writes nothing): no .env → one FAIL row.


What you get

Page Shows
Today / per-day commits · yours · active repos · your merged PRs over window_days; the year heatmap; tracked / uncommitted / unpushed counts; the last scan
Projects /projects every repo: branch, last commit, window commits, dirty, unpushed, cards per column; launch agents; create or clone a repo
Project /projects/<slug> Board (below) and Overview: the branch, commits and notes. A Backlog.md backlog/ folder shows its tasks on the board, read-only
Reports /reports the daily reports and anything an agent posted with post_report; /reports/components is the block library
GitHub /github the people you follow: their stars and new follows over 24h · 7d · 30d; your github.com feed summarised
Agents sidebar every tmux session running a coding agent, by project, worst first: blocked (a dialog or a question) · review · working · finished · idle; links to its terminal and its Claude Code Remote Control session; Open terminal shows its live screen in the page, read-only until Take control (Terminals)

Two skins (dark by default, light, or follow the system), seven languages (English, Polski, 日本語, Deutsch, Español,
Français, 한국어 — your browser's by default, changed in the settings menu or the setup wizard), Trello-style keyboard shortcuts on the board (?),
and a search over projects, cards, commits and reports (⌘K).

Desktop app: the dashboard runs as an app in a window of its own — see Desktop app.

busyyaks' own board: the session lanes on top (Needs you 2: the lead's question with its choices and the sub team's permission dialog with its keys; Working 5, one per phase: thinking, a running tool, writing, waiting for its subagents, working; Quiet 2: idle) and the launch bar with Launch, Worker, Sub team and Plain; the column counts (waiting for you, approved, blocked externally, Local and Public review loops, Done) and the label filters; below them the board's columns with cards: screenshot covers, labels, due dates (one overdue), priorities, the needs-you and dialog flags and the session that owns each

Board: the session lanes say who needs you (answer a dialog or a question in place), who works and on what; the launch bar starts the lead first, then workers, a sub team or a plain session in tmux; each card shows the session that owns it and whether anyone is listening.

A busyyaks card (its subject: the waiting widget's kind counters) opened in Done: its hand-off box with the public PR, the CI build, how to check it and its screenshots, then its activity — the comment box and the review thread (the operator's comment, the QA agent's PASS table, the author's FIXED and the reviewer's OPEN with their status headers); the Links rail with the local and public PRs grouped by role and their state, the CI build, branches and repo links, and the owner session panel with its session, links and last ping The Today page on a phone in the dark skin: the stat tiles two per row, the uncommitted and unpushed repos, today's commits and the waiting widget
Card: the hand-off (PR, CI, how to check it), its PRs and their state, and the session comments are typed into. Phone.

Desktop app

The dashboard is the same web app in a window of its own: no tabs, no address bar, an entry in the applications menu.
Two ways, both on the machine you work at:

How Gives
yaks (Linux · FreeBSD · OpenBSD · NetBSD · DragonFly · macOS) yaks desktop install --browser google-chrome an app busyyaks that opens the server chooser, then each dashboard with the browser's --app=<URL>. Linux and the BSDs: a menu entry ~/.local/share/applications/busyyaks.desktop (the browser found on PATH). macOS: ~/Applications/busyyaks.app (Launchpad, Spotlight), starting the browser app from /Applications or ~/Applications. The window belongs to the browser, so the Dock / taskbar shows it under the browser's icon. Remove it with yaks desktop uninstall
From the browser (Linux · macOS · Windows) open the dashboard in Chrome or Edge → the install icon at the right of the address bar (or ⋮ menu → Cast, save, and share → Install busyyaks…) the installed app: its own window and its own Dock / taskbar icon, with a badge counting the cards waiting for you (a dot when the count could not be read)

--browser is required, a Chromium-family browser (only those open a window of its own): google-chrome,
chromium, microsoft-edge, brave-browser, vivaldi; on Linux / BSD also their package names
google-chrome-stable, chromium-browser, microsoft-edge-stable. Install and uninstall touch only the entry this
checkout wrote.

The URL is the dashboard's, from the checkout's .env: https://PUBLIC_HOST, or http://127.0.0.1:WEB_HOST_PORT
while PUBLIC_HOST is empty (yaks panel --print prints it). An installed app needs a secure origin, which both are.

On a machine that only opens the dashboard (e.g. a Mac reaching the server over PUBLIC_HOST) — no stack, no
Docker, only a clone and Ruby 3.2 or newer (macOS ships an older one: brew install ruby, then put Homebrew's ruby
first on PATH):

git clone https://github.com/robertziel/busyyaks && cd busyyaks
ruby -v                                              # 3.2 or newer
echo 'PUBLIC_HOST=busyyaks.example.com' > .env       # the server's PUBLIC_HOST: the only key it reads
ruby bin/yaks desktop install --browser google-chrome
open ~/Applications/busyyaks.app                     # macOS; Linux / BSD: the applications menu, busyyaks

The rest of yaks (the stack's commands) runs on Linux only. A new app can take a moment to show in Launchpad or
Spotlight; open ~/Applications/busyyaks.app starts it at once. Firefox on the desktop does not install web apps.
Changed public/static/icon.svg? Re-render the app icons with scripts/icons/render-png (Docker).

Remote

A busyyaks server on another machine, from the one you work at, over your own ssh: keys, ssh-agent,
~/.ssh/config aliases and bastions are ssh's. busyyaks opens no TCP listener and has no TLS of its own for this; the
server keeps its sessions, and closing the window or the tunnel ends nothing there.

yaks remote add myserver                  # a ~/.ssh/config Host alias or user@host; saved, nothing connected
yaks remote list                         # the saved servers; connects to nothing
yaks remote connect myserver              # forwards the dashboard until Ctrl-C; prints its URL
yaks remote connect myserver --mcp        # + the MCP port, and the `claude mcp add` line for this machine
yaks remote attach myserver <tmux session>                  # an agent's terminal here (read-only first)
yaks remote remove myserver
Saved servers $XDG_CONFIG_HOME/busyyaks/remotes.yml (else ~/.config/…), mode 0600, per user — never in a checkout. Only yaks remote add writes one
connect asks the server ssh TARGET yaks env --ports, then ssh -N -o ExitOnForwardFailure=yes -L 127.0.0.1:P:127.0.0.1:P TARGET. P is the server's own WEB_HOST_PORT: the server answers only Host: 127.0.0.1:WEB_HOST_PORT (DNS-rebinding guard), so the local end is that same port and the server needs no change. That port already taken here (a local busyyaks on it, another connect) → refused, nothing forwarded; a forward ssh cannot open → ssh's own reason, exit non-zero
--mcp also forwards MCP_HOST:MCP_HOST_PORT and prints claude mcp add … --header "Authorization: Bearer $MCP_TOKEN". The bearer stays on the server: copy it from there yourself — yaks never reads, prints or sends it
Page state the header shows the server's host name, accented, on a forwarded window, and the connection: reconnecting… after one failed /up (every 3 s), down after two — the page dims under "Connection down — this page is not live"
attach ssh TARGET yaks remote --stdio carries the agent terminal stream: the screen first, then live; read-only until Ctrl-] t (the server confirms control), Ctrl-] q detaches
--stdio (server side) what ssh runs: one request line, only the attach op, bridged to the launcher socket — refused unless that socket is the ssh user's own
Needs the server: yaks on the PATH ssh commands get (non-interactive: ~/.profile may not run — a symlink in /usr/local/bin does); this machine: Ruby 3.2+, a clone, ssh

Refusals: an unknown name (not a saved server), a target that is not one (-o…, spaces), a server without
busyyaks (has no busyyaks: yaks is not on its PATH), the forward port taken, an op other than attach over --stdio.

Server chooser

The desktop app (yaks desktop install) opens a chooser first: Local (this checkout's dashboard, the default:
selected, Enter opens it) and every saved server, each with its state. The dashboard itself is unchanged.

Open Local → a window on this checkout's dashboard. A server → its forward (as connect, ssh with BatchMode=yes: a key from ssh-agent or without a passphrase), held by the chooser; once its /up answers 200 through it, a window on it (with its host name in the header). Open again → another window, no second forward
States Local: running · not answering · no local busyyaks (why: no .env, …). A server: not connected · connecting… · connected (host, port) · failed with ssh's or the server's own words (port taken here, no busyyaks there, /up not 200 within 15 s)
Add · Remove · Disconnect the saved servers file, the same as yaks remote add / remove; Remove asks once more and disconnects first
Several servers each its own window at once, while their ports differ (each forward uses its server's own port)
Lifetime one chooser per user: opening the app again opens another chooser window on it. Closing the last chooser window disconnects every server (10 s later); the server windows show down
Guards its own page on 127.0.0.1:<free port>: only Host: 127.0.0.1:<port>; a one-time launch code (60 s) → an HttpOnly, SameSite=Strict cookie; every change also needs its own Origin. State in $XDG_STATE_HOME/busyyaks (else ~/.local/state/…), 0700

How it works

How busyyaks works: the browser reaches the web container with a session cookie and the Claude Code sessions reach the mcp container with a bearer token; web, scanner, github, mcp and notifier run in docker compose over one database (SQLite or PostgreSQL); a unix socket connects them to bin/launcher on the host, which starts the tmux sessions and captures their dialogs

Process What it does
web Serves the SPA shell for every signed-in GET and the /api/* JSON API. Markdown (reports, notes, cards) is rendered on the server with raw HTML dropped.
mcp The MCP endpoint, local only. Refuses any request that carries an Origin header.
scanner Every scan_interval_seconds: log, status and upstream of each repo under the configured roots. A repo is a dir with .git; group dirs are searched search_depth levels down. Every read is one short-lived child (bin/git-read, libgit2: it runs no program a repo's config names) with hard limits (GIT_READ_*); a repo it cannot read is an error on that repo, never the git CLI instead.
github Every github_interval_seconds: the network, the feed, your merged PRs and PR states for the board. The only container that holds the GitHub token (Settings → Git hosts; nothing read while none is connected); conditional requests (ETag) everywhere.
notifier Delivers the operator's comments, moves and answers to the owning session; turns a session stuck on a dialog into a question on its card; releases cards whose session is gone.
bin/launcher Runs on the host, because the containers cannot reach the host's tmux. Starts sessions, lists them, captures and answers dialogs, clones repos.
bin/daily-report Runs on the host from a systemd timer. See the daily report.

Which sessions are busyyaks's

flowchart LR
  subgraph web["Dashboard (web)"]
    launch["Launch / lead's kanban_spawn"]
    settings["Project → Settings<br/>rules per agent type"]
  end
  subgraph host["Host"]
    launcher["bin/launcher"]
    stage["Stage per session<br/>LAUNCHER_STATE_DIR/skills/by_…<br/>skill · mcp.json (MCP_BOARD_TOKEN) · launched.json"]
    collector["bin/collector<br/>reads by_… panes only"]
  end
  subgraph repo["Each project"]
    dotby[".busyyaks/<br/>skills/agents/&lt;type&gt;.md · workflow.yml"]
  end
  mcp["mcp<br/>MCP_BOARD_TOKEN: every tool<br/>MCP_TOKEN: no kanban_*"]
  bysess["by_&lt;slug&gt;_teamlead / _worker / _team<br/>Claude Code · Hermes"]
  hand["A session you start yourself<br/>(any directory, any harness)"]

  launch --> launcher
  settings -- writer service --> dotby
  dotby -- read at launch --> stage
  launcher -- writes --> stage
  launcher -- "tmux new-session by_…" --> bysess
  stage -- "--plugin-dir · --mcp-config · overlay" --> bysess
  bysess -- board tools --> mcp
  collector -. state .-> launcher
  hand -. "nothing: no skill, no board MCP,<br/>never listed, typed into or stopped" .- launcher
a session busyyaks starts a session you start yourself
name by_… (agent settings session_name) anything
busyyaks skill + this project's .busyyaks/ rules yes, from its own stage none
board MCP (kanban_*) yes, MCP_BOARD_TOKEN in its own stage none (nothing busyyaks is registered user-wide)
listed, pinged, answered, attached, stopped by busyyaks yes, once its launch record proves it never
can become a board's lead only through your Launch never (kanban_register refuses a lead)

Stack

Hanami 2.3 · Puma · Sequel on SQLite or PostgreSQL · ruby:3.4.13-slim · minitest · React 18 + TypeScript + Vite (built in the image's
node stage) · vitest.

Two layers: the panel and the kanban module

Layer Repo Role
Panel this repo One dashboard and MCP server over every project on the box: scanner, Today, agents sidebar, launches, daily report, GitHub network, one board per project.
Kanban module busyyaks_agents_kanban_module The board itself: store, workflow, gates, session registry, notifier, kanban_* MCP tools, React board. busyyaks is its reference host.

busyyaks keeps no kanban code of its own: it vendors a pinned module sha (vendor/agents_kanban,
frontend/src/vendor/agents_kanban, refreshed only by scripts/vendor-kanban-engine.sh) and supplies the host side:
its config (config/kanban.yml + the agent settings in the database), the launcher and the repo links. The two move together: a board change is a module
PR plus a busyyaks PR that re-vendors it, merged as one change. The module has its own repo so that other projects
can vendor it too.


The board: agents and the operator

Every repo gets a board. The default columns are Backlog → To do → In progress → QA → Human Check → Ready to merge →
Merged
. Columns, their types and the named transitions between them are the board's workflow
(Workflows); the operator edits them in a graph editor (the board's Workflow button).

Who Can
Agent (MCP) create and claim cards, comment, attach files, move cards between the working columns; after approval, merge the PR and move the card from Ready to merge to Merged
Agent asks the operator only through kanban_ask(id, question, author, options?): the card keeps its column and is flagged as waiting for you; the options become buttons on the card
Agent → Human Check only through kanban_handoff with the QA steps, the PR URL and the CI URL; a UI change is refused without screenshots
Operator (web) everything, and is the only one who moves a card out of Human Check into Ready to merge (the board refuses an agent's move). Merging only after that is the agents' rule (Skills): the board does not run or block git / gh.

Sessions are tied to cards. A session started from the launch bar is registered before tmux starts it. A lead
adopts the cards that wait for the operator. A worker is spawned for an ownerless card in a working column. A
sub team runs alongside the lead. Comments and answers are typed into the owner's tmux session; when nobody is
listening the card says so. Caps on concurrent sessions are config (config/kanban.yml, and per agent type on Settings → Agents & launchers): by default none, except one
lead per board.

The full contract is vendor/agents_kanban/SPEC.md; the HTTP API is
docs/API-kanban.md.


Workflows

A board's workflow is data: its columns, each of one type, in board order, and the named transitions
between them, kept in the repo's .busyyaks/workflow.yml (git-ignored) with a validated copy in the database. Every
board has one; a new project gets a copy of the template. Gates are configured here too: which columns are gates
(none is allowed), and per gate whether it waits for green CI.

Column type Rules
parked nobody listens; agents may create cards here
queued listened; one per board; the lead's ownerless work, each card started with kanban_spawn; a card released from the first working column returns here
working listened; several per board; the first one is watched (owner gone → card back to queued); a card released in any other working column stays put
review listened; review rounds counted per loop column (review_loop.max_rounds)
gate waits for the operator; agents enter only with kanban_handoff; its one forward operator exit is an approval step
done exactly one per board; agents enter only from a gate, once approved (a board without a gate: anyone may finish a card), and never leave
cancelled at most one; only the operator moves a card in or out
Transition {name, from, to, by}
by: agent · any agents move only along these, by name (kanban_move(transition: …)); no edge → refused, the edges listed
by: operator the operator's (web); busyyaks' boards add a catch-all Move (* → *, board config), so the operator drags a card to any column
flags needs_operator (kanban_ask) and blocked_external (kanban_block) keep the card's column and refuse agent moves
Gates and approvals
enter only kanban_handoff (QA steps, PR URL, CI URL; screenshots for a UI change)
green CI first off by default; a gate column with requires_green_ci: true (Workflow editor: Requires green CI, or the repo's .busyyaks/workflow.yml) refuses a handoff into it and every explicit approval (the Approve button, the step's named transition) until the step's PR checks are read and green; the operator's drag is never refused by it — docs/DEPLOY.md § A gate that waits for green CI
approve the gate's Approve button (card dialog) records who approved and pings the owner, who then takes the next named transition
Edit · read
operator the board's Workflow button → graph editor: add / rename / retype / delete columns (refused while cards sit in one), connect transitions, reorder, Save · Discard · Reset to template; the layout is automatic (top to bottom)
agents kanban_workflow (read-only: no tool writes a workflow); each card's JSON lists its transitions
API GET / POST / DELETE /api/projects/<slug>/workflow (docs/API-kanban.md)

The Workflow graph editor on busyyaks' own 15-column board, top to bottom: Backlog (parked) → To do (queued) → In progress (working) → Agent review ↔ Author response loops, Local and Public Human review, Deploy check and Awaiting merge gates marked waits for you, Done and Cancelled; each arrow is a named transition such as Start work, Hand over, Approve, Merge (Rework, from every review and gate, is a note on In progress); the column list with each column's type is on the right

Workflow: busyyaks' own board, the engine's local-repo shape (15 columns, two review loops, four gates), in the graph editor; dashed arrows go back up the board order.


Skills

The workflow busyyaks's agents follow (asking on a card, handing off on green CI, review loops, never merging before
your approval) is a set of skills — instructions to the agents, not code the board runs. What the board itself refuses
and what only the skills ask:

Rule Who holds it
agents move a card only along the workflow's named agent / any transitions the board refuses any other move
a gate is entered only with kanban_handoff, left by an agent only after your approval the board
a flagged card (kanban_ask, kanban_block) is not moved by agents the board
a handoff into a gate, and its Approve, wait for green CI the board, only on a gate with requires_green_ci: true (off by default); your drag and the Force approval are never refused by it
hand off only on green CI (into any gate), run the review loop, QA, a reviewer the skills
never merge (gh pr merge, a push to the default branch) before your approval the skills: the board does not see git / gh; outside busyyaks, only a protected branch that requires a PR review on your git host stops a merge

The skills live in skills/busyyaks/, handed to each session busyyaks starts — per launch only (Claude Code
--plugin-dir, hermes through one env-gated external_dirs line); your own claude / hermes sessions are not
touched. core/ (how to work the board through the MCP) goes to every session, agents/<type>.md to sessions of
that agent type; the subagent briefs a session dispatches (reviewer, qa, critic) are on-demand skills. A
project adds its own in .busyyaks/skills/agents/<type>.md — or replaces the global one with mode: replace — and
overrides an on-demand skill with one of the same name, committed in that repo, loaded when the repo is trusted
(core stays busyyaks's: it carries the board's rules). Read at every launch: nothing to install, before or after an update.
Edit every one of them in the web — Settings → Agent rules (busyyaks's own, for all projects) and a project's
page → Settings (that project's) — then commit them like code. How a launch finds, stages, hands over and checks
them: docs/DEPLOY.md § Skills → Agent rules: edit, commit, no install.


MCP tools

Tool Does
whats_new(date?) that day's reports, commits per repo since midnight, dirty and unpushed repos, the last scan
list_projects(own?, active_days?) · project(slug, limit?) repos with branch, last commit, window counts; one repo with commits and notes
daily_facts(hours, series) the daily report's numbers, computed: commits vs the previous window, active repos, pending work, cards waiting for the operator
github_network(hours) stars, follows and the feed in a window, plus a ready-made report block
report_components() · check_report(body) · post_report(...) the report block library; a dry-run check of a draft; publish
list_reports · get_report · add_note · list_notes · scan_now reports, notes, an immediate rescan
daily_report_config() how the daily report runs here (Settings → Daily report's current revision, validated; configured: false + why when none runs)
kanban_* (29 tools) the board: kanban_board, kanban_card, kanban_create, kanban_claim, kanban_comment, kanban_ask, kanban_handoff, kanban_move, labels, checklists, due dates, attachments, kanban_workflow

The server's instructions carry no board workflow: they reach every session that has the MCP, a terminal one too.
How an agent works the board (claim before working, ask on the card instead of in chat, hand off with kanban_handoff,
never poll) comes only with the busyyaks skill, which busyyaks hands to the sessions it launches (skills/busyyaks/).


The daily report

Optional, configured on Settings → Daily report (stored in the database; the runners it may pick are config/busyyaks.yml daily_report_runners). Not configured → one visible NOT CONFIGURED report a day. bin/daily-report runs on the host from a systemd
user timer (deploy/install-daily-timer.sh): it probes your OpenAI-compatible gateway and starts a runner (today:
Hermes) whose only tools are the busyyaks MCP server and read-only
git log / git status. The model writes the prose; every figure comes from daily_facts, and check_report
rejects a draft that names repos, people or events the server does not know. A gateway that is down means no report
(or one NOT RUN report after the cutoff), never a stand-in model.
Details: docs/DAILY-REPORT.md.


Configuration

A deployment is configuration, never code. One place per value; an unknown or missing key is an error.

File Holds
.env (from .env.example) wiring and secrets: ports, PROJECTS_ROOT, the host user the containers run as (HOST_UID/HOST_GID), timezone, session secret, MCP_TOKEN, GitHub login and token, attachment limits (the services' timing is Settings → Runtime, in the database). Compose uses ${VAR:?}, so a missing value stops it.
config/busyyaks.yml (from config/busyyaks.example.yml) repo roots and search depth, your remotes and author emails, the history window, reap_protect (sessions "Clear idle" never stops), auth (Sign-in), agents (Agent sessions), optional engines: and daily_report_runners (the runners Settings → Daily report may pick; a bad one stops the scanner and github services at boot and fails the daily_report_config tool).
config/engines.yml (committed) the coding-agent engine names a collector reports → sidebar label + behaviour family (claude · hermes); engines: in config/busyyaks.yml adds or relabels.
config/kanban.yml (from config/kanban.example.yml; the file KANBAN_CONFIG names) the kanban module's host settings: concurrency caps, theme, the handoff / approval gates, the review loop. Not the launchers and agent types: they are rows in the database, edited on Settings → Agents & launchers (the header's cog).
Settings → Agents & launchers (/settings; repo default config/agents.template.yml) the launchers (the commands that start an agent session: kind claude_code or hermes, command, args, via shell) and the agent types (their launchers, model per launcher, prompt, caps). Every save is a new revision (history kept). A launcher is one of the invocations on config/busyyaks.yml launch.commands, the host allowlist (each a whole {kind, command, args, via_shell}): the page offers only those, and anything else is refused when saved and again by bin/launcher when it starts — no dashboard user can add an argument the host did not list. The fresh database runs plain claude in Claude Code's default permission mode (a permission prompt becomes a question on the card).

Database

.env DATABASE_ADAPTER picks it; there is no default, the shipped .env.example says sqlite.

DATABASE_ADAPTER Keys (.env) What runs
sqlite SQLITE_BUSY_TIMEOUT_MS data/busyyaks.sqlite3, nothing else. WAL, every transaction BEGIN IMMEDIATE (docs/DEPLOY.md)
postgresql POSTGRES_HOST · POSTGRES_PORT · POSTGRES_DB · POSTGRES_USER · POSTGRES_PASSWORD (the password only in .env) · POSTGRES_LOCK_TIMEOUT_MS your server, or the compose postgres service: COMPOSE_PROFILES=postgres, POSTGRES_HOST=/data/postgres-run, POSTGRES_PORT=5432 (runs as HOST_UID, cluster in data/postgres, a Unix socket, no network)

Every key stays in .env; the chosen adapter's must be filled (a missing, empty or unknown value stops every service
at boot). Switching starts on an empty database, unless you copy it: bin/db-copy-sqlite-to-postgres moves a SQLite
file into an empty PostgreSQL database and verifies every table (runbook).
CI runs the full test suite on both (ruby = SQLite, the public default; ruby-pg = PostgreSQL).

Some .env values point at tools outside busyyaks; every one is required:

Key What to put there
TEAM_TERMINAL_URL a web terminal that opens a tmux session ({session}, {socket}); behind the board's Terminal links. Required, no example value: without such a tool, the dashboard's own URL (each session's live screen is its Open terminal button)
SSH_ATTACH_TEMPLATE the command the iTerm button copies, e.g. ssh -t your-host tmux attach -t {session}
CLAUDE_SESSIONS_DIR · CLAUDE_SESSION_URL where Claude Code keeps its live session records, and the Remote Control URL ({id}) behind the Claude links

Comments and answers are typed only into panes whose engine is in the claude family; for any other pane the
launcher answers cannot type into <engine> (family hermes) or (not configured) and nothing is typed.


Sign-in

Sign-in is a pluggable auth provider, chosen in config/busyyaks.yml auth. There is no default: a missing
auth key, an unknown provider or settings the provider refuses stop the boot.

auth: What it does
{ provider: none, allow_unauthenticated: true } (the shipped example) no sign-in: every request is the operator (shown as operator); no sign-out. The opt-in key is required (provider: none alone stops the boot) and every boot logs *** AUTH DISABLED … ***. Keep the dashboard on localhost or behind your own SSH tunnel; never behind a public proxy (docs/DEPLOY.md)
{ provider: <dir>, <settings…> } a custom provider: <dir> (e.g. auth/myidp) holds provider.rb, a Busyyaks::Auth::Provider subclass; the block's other keys are its settings. How to write one: docs/AUTH.md

The MCP endpoint does not use sign-in: it takes a bearer token (MCP_TOKEN), listens on 127.0.0.1 only, and should
never be exposed. The daily report has its own bearer, MCP_REPORT_TOKEN, which reaches only the report's tools (reads,
check_report, post_report): its model reads untrusted text, so it never gets a tool that writes a card.


Updating

config/busyyaks.yml updates (required) says where updates come from: {remote, branch, tags, channel, check_minutes} — the git remote of this checkout, the branch --main follows, the release tags' glob (v*), which of
the two the dashboard's notice counts, how often it asks.

$ yaks update --check
checkout       1f0c2ab on main (v0.3.1)
newest tag     v0.4.0 9e41d07 · available, 12 commits
origin/main    main 4b77a10 · available, 19 commits
update available (channel tags)
$ yaks update            # → v0.4.0          yaks update --main → origin/main's head
step what
check git fetch of the branch + the release tags; refused unless a fast-forward of a clean tracked tree (local commits or changed tracked files are never reset, stashed or merged), on updates.branch or detached
checkout the branch fast-forwarded (detached: the commit checked out)
build docker build -t busyyaks:update-<sha> — fails → the checkout goes back, nothing restarted
backup the database, right before the switch: SQLite VACUUM INTO, PostgreSQL pg_dump → data/backups/busyyaks-update-<UTC>.* — fails → the checkout goes back
up docker tag it busyyaks:local, docker compose up -d --wait --no-build the stack's services, CLI::SERVICES (web migrates)
launcher deploy/install-launcher.sh (KillMode=process: the update and your tmux sessions keep running)
status yaks server status

A failure after up is not undone (the database may be migrated): the record names the backup and the previous
commit. Every step is written to LAUNCHER_STATE_DIR/update.json; one update at a time; one that died (no update
holds the lock) is shown as interrupted. An update runs the remote's code: trust whoever can push to updates.remote
(docs/DEPLOY.md § Updates).

Settings → Updates (/settings/updates): the same check (the launcher's, re-asked past check_minutes), the
newest tag and the branch head with an Update to … button each (off, with the reason, when not allowed), and the
running / last update step by step — the page keeps polling while the web restarts. The settings cog carries a dot
and the Updates link the notice ("v0.4.0 available", "main +3") while the channel's target is a fast-forward away.

Running in production

  • All ports bind to 127.0.0.1. Localhost only is the default and needs nothing more. To reach the dashboard
    from elsewhere, use same-host nginx + TLS or an frp tunnel to a public proxy host: docs/DEPLOY.md.
    deploy/ has templates only; bin/render-deploy fills them from .env into deploy/rendered/ (gitignored).
  • The host processes are systemd --user units: deploy/install-collector.sh, deploy/install-launcher.sh and
    deploy/install-daily-timer.sh.
    The launcher unit uses KillMode=process, so restarting it leaves your tmux sessions running.
  • Back up data/ (card attachments, and the SQLite file: VACUUM INTO while it runs, docs/DEPLOY.md) — on PostgreSQL, the server too (pg_dump). Migrations run when web starts.
  • The containers run as HOST_UID:HOST_GID, the launcher's user. Every service (bin/entrypoint) refuses to start
    while anything under data/ belongs to another user or cannot be read (a data/ Docker created as root, files from
    a version whose containers ran as root, a directory without read permission) and prints the one-time fix:
    docker compose run --rm --no-deps --user root web sh -c 'chown -R <uid>:<gid> /data && chmod -R u+rwX /data'.
  • Repos are mounted read-only. busyyaks never changes an existing repo (agents do, in their own tmux sessions); the
    launcher can create or clone a new one when you ask it to from the Projects page.
  • Remote URLs are stored without credentials, so a token inside an https remote never reaches the database.

Tests and CI

# lint · ruby (SQLite) · ruby-pg (PostgreSQL) · frontend · flake · audit · secrets · host, all in Docker
# (the env and the CPUs it needs: CONTRIBUTING.md § Tests)
CI_BASE_REF=origin/main CI_GITHUB_READ_TOKEN=$(gh auth token) CI_GITHUB_CACHE_DIR=~/.cache/busyyaks-ci scripts/ci/test.sh all
# RuboCop only (Cookpad's style guide); -a autocorrects
scripts/lint/rubocop [-a] [paths]
# pre-commit: overcommit in Docker — RuboCop, ESLint, Prettier, gitleaks, ShellCheck on the staged files
git config core.hooksPath .githooks
# once per worktree, and after a change to .overcommit.yml (signed config)
scripts/hooks/run sign

The suite runs in its own image, never touching a running deployment, on every CPU, with a coverage floor. The badges
at the top show the last green build of the default branch. Stages, parallelism, coverage and badges:
docs/TESTING.md; lint rules and hooks: docs/LINT.md.
Two runners run the same script: GitHub Actions (.github/workflows/ci.yml: every
pull request, forks included, and every push to main, on ubuntu-latest; check gates (workflow ci)) and Jenkins, the
maintainer's runner (the Jenkinsfile, status jenkins/ci, which also refreshes the badges). Any other CI that can
run Docker can run it too. The Actions job runs on public repositories only; a private copy (a private local repo, a private fork)
skips it — no minutes spent — unless its repository variable CI_ON_PRIVATE is true. While a repository is
private the check shows as skipped, and a skipped check satisfies a required one: there, require gates only with
CI_ON_PRIVATE set.

Install and update, for real (Jenkins stage Install on every build after the gates; update · update-pg run by name with scripts/ci/test.sh, their Jenkins stage follows once this code is the base they install): what a reader runs,
with no stub, on a disposable Linux machine made for each check (scripts/ci/machine-run: systemd, a user manager and
a Docker daemon of its own, in a privileged container of the agent's rootless Docker) —

stage what it does
install · install-pg the Quickstart block as written → the image built, the stack up, /up + MCP → the collector, launcher and daily-timer installers against the real systemctl --user → yaks doctor, yaks server status → the desktop entry validated and the chooser opened in Chrome under Xvfb (scripts/ci/install-test install)
update · update-pg the change's base installed, a note and a report written → yaks update refused on a dirty checkout and on a release that does not build (checkout back, the stack untouched) → that code's own yaks update to HEAD: the data kept, a backup taken (scripts/ci/install-test update)
distros (Ubuntu 24.04 · Debian 13 · Fedora 42 · Alpine 3.22) the host-side tests on each distro's packaged Ruby and /bin/sh, with no locale set (scripts/ci/host-distros; a gate, in all)

Each machine stage archives its screenshots (the dashboard, the chooser window) and, when it fails, the stack's logs
with the build. scripts/ci/machine-run refuses a rootful Docker daemon (privileged there is host root);
install-test itself refuses to run outside a machine unless BUSYYAKS_DISPOSABLE_HOST=1.

macOS: yaks desktop is covered only by cli_test with Darwin faked on Linux, never on a real Mac (no macOS CI node).

Docker access = root. scripts/ci/test.sh starts containers on the Docker daemon, and the Ruby stage mounts the
daemon's socket (/var/run/docker.sock) into a container (compose) that builds and runs the checkout's code as root.
Whoever controls that code controls the host: run it on a disposable machine (a GitHub-hosted runner) or on a CI host
that builds trusted branches only.


Design rules

  • No fallbacks. A missing env or config key stops boot; so does a missing auth provider (no auth is a choice you
    write down). A failed scan or GitHub read is recorded and shown next to the last good one. Nothing substitutes a
    default, a cached value or a guess.
  • Unknown is not zero. A branch with no upstream has unpushed = unknown (shown —), and a day the PR search
    did not cover shows —, never 0.
  • Numbers come from the server. Reports and pages show computed figures; a model never counts.
  • Agents never approve their own work. Only the operator moves a card past Human Check.

When not to use it

  • A team. One operator: everyone the auth provider lets in sees and does the same; there are no roles beyond
    operator and agent.
  • Not Linux, no tmux, no Claude Code. The launcher drives tmux, confirms sessions through /proc, and types only
    into Claude Code panes.
  • Public, with no identity provider. none is for localhost; a public deployment needs a provider you write
    (Sign-in).
  • Repos spread over many machines. The scanner reads one directory tree on the box it runs on.
  • A public endpoint for agents. The MCP server is for local sessions only; never tunnel it.

Hand it to a coding agent

The repo is built to be worked on by agents. A prompt to start from:

Set up busyyaks (this repo) on this machine and get its tests green.
1. Read README.md, AGENTS.md (the repo's conventions) and .env.example.
2. Run bin/setup (copies .env.example and the two config examples, writes the secrets and HOST_UID/HOST_GID, lists
   what is left), then fill .env and the configs for this box (launch.commands: the invocations an agent launcher may
   be, as in the example; the launchers themselves are set on Settings → Agents & launchers):
   PROJECTS_ROOT = <dir holding my repos>,
   TEAM_TERMINAL_URL + SSH_ATTACH_TEMPLATE (ask me: they point at my own tools / host name);
   keep `auth: { provider: none, allow_unauthenticated: true }` (localhost) and `agents: { collector: none }` unless I name a collector.
   LAUNCHER_RUN_DIR = ~/.local/state/busyyaks/run written out (persistent; outside this checkout and PROJECTS_ROOT).
   Ask me for anything you cannot fill.
3. Run scripts/ci/test.sh all (Docker only; install nothing on the host) and report pass/fail counts.
4. bin/setup check && docker compose up -d --build --wait web mcp scanner github notifier writer;
   check http://127.0.0.1:$WEB_HOST_PORT/up is 200.
Do not edit vendor/agents_kanban or frontend/src/vendor: they are vendored copies.

Tools for agents working on busyyaks itself: bin/qa-cookie prints a signed-in session cookie for headless browser
QA, and bin/rename-project moves a project's slug in the database after a repo rename.


Documentation

Doc
AGENTS.md conventions for coding agents: contracts, layout, commands, testing quirks, invariants
docs/DEPLOY.md localhost (default), same-host nginx + TLS, or an frp tunnel
docs/AUTH.md writing an auth provider
docs/DAILY-REPORT.md how the daily report runs, tick by tick
docs/TESTING.md · docs/LINT.md test stages, parallelism, coverage · lint rules and git hooks
docs/API-kanban.md the board's HTTP API
vendor/agents_kanban/SPEC.md the kanban module's contract
.env.example · config/busyyaks.example.yml · config/kanban.example.yml every setting

Contributing

Issues and pull requests are welcome: CONTRIBUTING.md has the setup (hooks included), the checks a
pull request must pass (scripts/ci/test.sh all green; it needs only Docker, and access to its socket is root on that
machine — see Tests and CI; the same gates run on your PR in GitHub Actions), the vendoring rule
(kanban module changes go to busyyaks_agents_kanban_module
first) and the commit style. Everyone taking part follows the Code of Conduct. Changes:
CHANGELOG.md.

Security

Report a vulnerability privately, never in a public issue: SECURITY.md has how, what is supported and
what is in scope. Keep the MCP endpoint local and provider: none on localhost.


License

Apache License 2.0. Inter and Fragment Mono (public/static/fonts/) are under the SIL Open Font License
1.1. The vendored kanban module (vendor/agents_kanban, frontend/src/vendor/agents_kanban) is Apache-2.0 too; each
copy carries its LICENSE. The RuboCop rules in config/rubocop/cookpad.yml are Cookpad's style guide, CC BY 3.0;
lib/busyyaks/agent_screen.rb is a port of herdr's screen detection, Apache-2.0. Sources and paths: NOTICE;
dependency licenses: docs/DEPENDENCY-LICENSES.md.

Reviews (0)

No results found