muster

module
v0.289.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: MIT

README

muster

muster

Every coding agent on every machine, in one list on your phone.

CI Latest release Go version

What it is

muster is a self-hosted server that puts every coding agent session on every one of your machines into one list on your phone: Claude Code, Codex, opencode (any model, OpenRouter included) and anything else you run in tmux. When a Claude Code session needs you, you get a push, answer from your phone, and it carries on.

It is for people who run several coding agents at once, on one machine or many, and want to see and steer them away from the keyboard. Everything stays on your machines and your own Tailscale network: muster starts on this machine at a http://localhost address, and your phone and other machines join over your tailnet.

How it works

flowchart LR
  phone["Your phone<br/>(installable web app)"]
  subgraph server_machine["One of your machines"]
    server["muster server<br/>(Go + Postgres, Docker Compose)"]
  end
  subgraph machines["Each of your machines"]
    tmux["tmux windows<br/>Claude Code, Codex, opencode, shells"]
    mirror["muster-mirror"]
    tmux <--> mirror
  end
  phone -- "your tailnet (tailscale serve)" --> server
  mirror -- "dials out" --> server
  1. A server (one Go binary and Postgres, in Docker Compose) runs on one of your machines, reached over your tailnet through tailscale serve.
  2. On each machine, muster-mirror dials out to it and mirrors every tmux window as a mirrored session; a message from your phone is typed into that same session, so it is all there when you are back at the keyboard.
  3. Your phone opens the server as an installable web app (a PWA).

muster sees only sessions inside tmux, and the one-prompt install sets up mirrored sessions only. How to bring a session you already have into tmux, and how mirrored sessions differ from the opt-in dispatched agents that muster starts in Kubernetes pods: docs/mirroring.md. The components and what each trusts: docs/architecture.md.

Quick start

1. Install muster on this machine. Paste this one prompt into the coding agent (Claude Code, Codex, opencode, Gemini CLI, …) on the machine that should run muster:

Set up muster for me. Download its install guide with `curl -fsSL -o muster-install.md https://github.com/ZacxDev/muster/releases/latest/download/INSTALL.md`, read that whole file and follow it step by step. If that download fails, stop and tell me what it printed; never work from another copy of the guide, such as the one on the main branch, or from memory. Ask me everything you need in one go up front, then do the rest yourself. Where the guide and the machine disagree, trust `muster doctor`, each command's `--help` and the code at https://github.com/ZacxDev/muster over memory.

The agent downloads INSTALL.md, a guide written for agents to execute, from the newest release, asks its questions once, up front, installs muster and finishes with muster doctor (docs/onboarding.md). Or do it by hand, with Docker (Compose v2) and tmux: this one line starts muster with every secret generated.

curl -fsSL https://github.com/ZacxDev/muster/releases/latest/download/install.sh | sh

2. Start an agent in tmux: tmux new -A -s work claude. It shows up in muster at its http://localhost address. On each further machine, paste the same prompt and tell the agent muster already runs.

3. Add your phone over Tailscale (on iOS, then add the app to the Home Screen for push): docs/quickstart-local.md.

Features


Every session, one list
Every tmux window on every machine, Claude Code, Codex, opencode and shells alike, with the ones waiting on you first.

Agents ask instead of stopping
A Claude Code question becomes a form on your phone, pushed with its text; answer it and the session carries on. One-time setup per machine.
A Claude Code session, 'Speed up the task-list endpoint', rendered as a chat on a phone
A chat, not a terminal
A Claude Code session reads as a chat, with the message box under your thumb.
A Claude Code session's message box on a phone, the microphone recording
Talk instead of typing
Optional dictation: tap the mic and speak, and read the transcript in the box before you press Send.

Queue the next message
Queue messages while the agent works: the server sends each one once Claude Code has been idle for 30 s, even with your phone closed.

Officers and a chief
Optional: standing agents with a job, which can ask you on the Asks page, and a chief you can ask what every session is on.

Every feature, what it needs and the .env lines that turn it on: docs/features.md. The long version of this page (what you get, notifications, the core and the optional features, the comparison with Remote Control, the limits): docs/overview.md.

Ecosystem

muster grows with what you plug into it.

  • Plugins bring your other inboxes to muster: email, a chat, a forum, a support desk. Your agents read what arrives and draft the answers, and nothing is sent until you approve the exact words, unless you choose to let muster answer someone you trust automatically.
  • Officers are agents with one standing job, such as answering support, writing release notes or testing each change. Each works on its own and asks you before anything leaves.
  • Together, a plugin and an officer make an assistant for one channel: it handles the routine messages, brings you the ones that need you, and sends only the replies you approve.

Anyone can build one and share it. See what exists and how to list yours in Building on muster, build your first plugin with Build a plugin in 15 minutes, and give it an officer with Recipe: a specialised officer with its own plugin.

Install options

Every release publishes these assets on its release page, with a checksums.txt of their sha256.

option what you download for guide
Docker Compose (recommended) install.sh, or docker-compose.yml with env.example saved as .env the server on one machine; the images come from GHCR docs/quickstart-local.md
Helm chart muster-<X.Y.Z>.tgz the server on Kubernetes, and dispatched agents docs/kubernetes.md
Mirror daemon muster-mirror_<os>_<arch>.tar.gz each machine whose tmux sessions muster shows docs/mirroring.md
CLI muster_<os>_<arch>.tar.gz muster doctor, tasks and the rest from a terminal docs/cli.md
Linux packages (opt-in) muster_linux_<arch>.deb, muster-mirror_linux_<arch>.deb, muster_linux_<arch>.rpm, muster-mirror_linux_<arch>.rpm the CLI and the mirror in /usr/bin, for every user: apt/dnf install, or install.sh with MUSTER_PACKAGE=deb or rpm docs/releases.md
Homebrew muster.rb, muster-mirror.rb macOS and Linux: brew install zacxdev/muster/… once the tap is published (it needs the release's tap token); until then these formula files in a local tap docs/releases.md
Windows (CLI only) muster_windows_<arch>.zip, or Scoop with muster.json the CLI on Windows; there is no Windows mirror (it needs tmux): use WSL for that docs/releases.md
From source a clone of this repository working on muster docs/development.md

<arch> is amd64 or arm64 everywhere; the archives' <os> is linux or darwin; Windows gets the CLI only. Every download is in checksums.txt and carries a build-provenance attestation (verify). There is no server binary: the server ships as the container image the Compose file and the chart run.

Install from inside Claude Code, or as a skill

The one prompt above is the main path. In Claude Code you can instead add this repository as a plugin marketplace and install the muster plugin:

/plugin marketplace add ZacxDev/muster
/plugin install muster@muster

Then ask Claude Code to "set up muster". The plugin holds one skill, muster-setup, which downloads the same INSTALL.md from the newest release and follows it, so it never carries a copy of the steps.

Other coding agents can install the same skill with the skills CLI:

npx skills add ZacxDev/muster --skill muster-setup

This is muster by ZacxDev. Other repositories publish unrelated skills named muster, so install it by this repository's name, not by searching for the word.

Requirements

  • Docker with Compose v2 on the machine that runs the server, or a Kubernetes cluster for the Helm chart.
  • tmux on every machine whose sessions you want to see: muster sees only sessions inside tmux. What each machine needs is checked by INSTALL.md, "Preflight (every machine)".
  • Linux. macOS machines are experimental; there is no Windows support.
  • Tailscale for your phone and your other machines. On iOS, install the app to the Home Screen before it can receive push.

What it does not do, or has not proven: docs/limits.md.

Learn more

License

MIT. See LICENSE.

Directories

Path Synopsis
cmd
ccd command
Command ccd is the in-pod supervisor that makes an interactive Claude Code session a muster agent runtime.
Command ccd is the in-pod supervisor that makes an interactive Claude Code session a muster agent runtime.
ccd/livecheck command
Command livecheck sends ONE turn to a running ccd through muster's own chat client — agentgateway.Gateway, the code path muster's chat box and kickoff use — and prints the reply.
Command livecheck sends ONE turn to a running ccd through muster's own chat client — agentgateway.Gateway, the code path muster's chat box and kickoff use — and prints the reply.
muster command
Command muster is a machine client for muster's JSON API.
Command muster is a machine client for muster's JSON API.
muster-migrate command
Command muster-migrate applies muster's migrations to the database named by DATABASE_URL and exits.
Command muster-migrate applies muster's migrations to the database named by DATABASE_URL and exits.
muster-mirror command
Command muster-mirror shows this machine's tmux sessions in muster's Agents view as MIRRORED sessions — one card per tmux WINDOW.
Command muster-mirror shows this machine's tmux sessions in muster's Agents view as MIRRORED sessions — one card per tmux WINDOW.
muster-preview command
muster-preview is the preview gateway: hosts running `muster-mirror -preview` open one tunnel to it each, and it will serve their local web servers to their owners (docs/design/previews.md, "The preview gateway").
muster-preview is the preview gateway: hosts running `muster-mirror -preview` open one tunnel to it each, and it will serve their local web servers to their owners (docs/design/previews.md, "The preview gateway").
muster-server command
Command muster-server is muster's HTTP service: the task board, the agent surfaces, the connectors and the machine API, over the Postgres database internal/db migrates.
Command muster-server is muster's HTTP service: the task board, the agent surfaces, the connectors and the machine API, over the Postgres database internal/db migrates.
muster-suggest-eval command
Command muster-suggest-eval runs the suggested-replies eval set (internal/suggest/testdata/eval/fixtures.yaml) against the REAL model and reports each fixture's property pass rate, the latency of every call (p50, p95) and its cost.
Command muster-suggest-eval runs the suggested-replies eval set (internal/suggest/testdata/eval/fixtures.yaml) against the REAL model and reports each fixture's property pass rate, the latency of every call (p50, p95) and its cost.
muster-toolctx-calibrate command
Command muster-toolctx-calibrate measures how well the rendered view's tool-context ESTIMATE (cctranscript.EstimateTokens) matches the MEASURED growth, over a directory of Claude Code transcripts, and fits the calibration constant the estimate uses (cctranscript.ResultBytesPerToken).
Command muster-toolctx-calibrate measures how well the rendered view's tool-context ESTIMATE (cctranscript.EstimateTokens) matches the MEASURED growth, over a directory of Claude Code transcripts, and fits the calibration constant the estimate uses (cctranscript.ResultBytesPerToken).
e2e
askfix command
Command askfix is the ask-log browser spec's fixture (e2e/tests/asks-log.spec.ts): an owner's asks, written through the real store (internal/asklog: redaction, normalisation and row-level security as in production), so the Asks page's Log tab has a summary, a repeated question and a row whose text expired.
Command askfix is the ask-log browser spec's fixture (e2e/tests/asks-log.spec.ts): an owner's asks, written through the real store (internal/asklog: redaction, normalisation and row-level security as in production), so the Asks page's Log tab has a summary, a repeated question and a row whose text expired.
asksfeedfix command
Command asksfeedfix is the Asks card feed's browser fixture (e2e/tests/asks-feed.spec.ts): one owner's queue holding one of every kind the Open, Answered, Drafts and Nudges tabs draw, written through the real attention store where there is one (internal/attention: its Clean, its constraints, its owner default) and as plain rows where the e2e harness has no door (a task event, a reply draft, a nudge decision).
Command asksfeedfix is the Asks card feed's browser fixture (e2e/tests/asks-feed.spec.ts): one owner's queue holding one of every kind the Open, Answered, Drafts and Nudges tabs draw, written through the real attention store where there is one (internal/attention: its Clean, its constraints, its owner default) and as plain rows where the e2e harness has no door (a task event, a reply draft, a nudge decision).
asksfiltfix command
Command asksfiltfix is the Asks page's filter-chip, scroll and video fixture (e2e/tests/asks-filters.spec.ts, asks-scroll.spec.ts and draft-video.spec.ts): one owner's queue holding items from several sources — an officer's questions, its outbound draft and the step-up card a SESSION filed for that draft, an agent's questions and reply draft, a mirrored session's questions, muster's notice — enough of them that the Open feed scrolls at a phone's height, and ANOTHER owner's officer items that must never reach the first owner's page.
Command asksfiltfix is the Asks page's filter-chip, scroll and video fixture (e2e/tests/asks-filters.spec.ts, asks-scroll.spec.ts and draft-video.spec.ts): one owner's queue holding items from several sources — an officer's questions, its outbound draft and the step-up card a SESSION filed for that draft, an agent's questions and reply draft, a mirrored session's questions, muster's notice — enough of them that the Open feed scrolls at a phone's height, and ANOTHER owner's officer items that must never reach the first owner's page.
ccfix command
Command ccfix is the chief-mobile browser spec's fixture (e2e/tests/chief-mobile.spec.ts): a running claude-code agent with an account failover on record, the two rows the e2e harness cannot make through a real route — a failover needs a gateway reporting a rate limit from a real runtime, and the noop driver runs none.
Command ccfix is the chief-mobile browser spec's fixture (e2e/tests/chief-mobile.spec.ts): a running claude-code agent with an account failover on record, the two rows the e2e harness cannot make through a real route — a failover needs a gateway reporting a rate limit from a real runtime, and the noop driver runs none.
devicefix command
Command devicefix registers a paired phone's push endpoint for the browser suite (e2e/tests/push.spec.ts), as PUT /api/device/push does once its test push is accepted:
Command devicefix registers a paired phone's push endpoint for the browser suite (e2e/tests/push.spec.ts), as PUT /api/device/push does once its test push is accepted:
emptydb command
Command emptydb gives a spec a FRESH, EMPTY database beside the suite's own: the suite's database name with "_empty" inserted before the `_e2e` suffix, dropped and re-created on every run, and its DSN printed on stdout.
Command emptydb gives a spec a FRESH, EMPTY database beside the suite's own: the suite's database name with "_empty" inserted before the `_e2e` suffix, dropped and re-created on every run, and its DSN printed on stdout.
heldfix command
Command heldfix is the held-kickoff browser spec's fixture (e2e/tests/kickoff-wait.spec.ts): an agent whose first turn the kickoff deliverer is holding for its github connector grant — the row exactly as internal/agentkickoff leaves it (owed, not kicked off, kickoff_error opening with agents.KickoffAwaitingGrantReason).
Command heldfix is the held-kickoff browser spec's fixture (e2e/tests/kickoff-wait.spec.ts): an agent whose first turn the kickoff deliverer is holding for its github connector grant — the row exactly as internal/agentkickoff leaves it (owed, not kicked off, kickoff_error opening with agents.KickoffAwaitingGrantReason).
internal/e2edb
Package e2edb is the ONE guard every e2e fixture command runs before it touches a database: the database must be an e2e one, named "…_e2e".
Package e2edb is the ONE guard every e2e fixture command runs before it touches a database: the database must be an e2e one, named "…_e2e".
mkchat command
Command mkchat gives a browser spec an agent of its OWN with a persisted chat, so the spec can drive real server-rendered bubbles (chatBubble's data-md-rendered and data-msg-id) without adding rows to the seeded agents other specs count.
Command mkchat gives a browser spec an agent of its OWN with a persisted chat, so the spec can drive real server-rendered bubbles (chatBubble's data-md-rendered and data-msg-id) without adding rows to the seeded agents other specs count.
mkmember command
Command mkmember binds an existing GoTrue user to a NEW muster user row with the member role — the account a link invite (accounts PR 5) would create — so a browser spec can sign in as a member against the real GoTrue before the invite flow exists on this branch.
Command mkmember binds an existing GoTrue user to a NEW muster user row with the member role — the account a link invite (accounts PR 5) would create — so a browser spec can sign in as a member against the real GoTrue before the invite flow exists on this branch.
mkteam command
Command mkteam makes, reads and removes a TEAM the operator (user 1) manages, on the e2e database — for a browser spec on the shared password-mode server, which has no GoTrue and so no /admin/teams page to make one with.
Command mkteam makes, reads and removes a TEAM the operator (user 1) manages, on the e2e database — for a browser spec on the shared password-mode server, which has no GoTrue and so no /admin/teams page to make one with.
mkteampage command
Command mkteampage makes, reads and removes a TEAM'S PAGE (migration 0165) on the e2e database, for tests/team-pages.spec.ts: a team the operator (user 1) is a VIEWER of, a second person who is the page's CREATOR (the person who started the team agent that made it), and a two-version page the team owns.
Command mkteampage makes, reads and removes a TEAM'S PAGE (migration 0165) on the e2e database, for tests/team-pages.spec.ts: a team the operator (user 1) is a VIEWER of, a second person who is the page's CREATOR (the person who started the team agent that made it), and a two-version page the team owns.
mktoken command
Command mktoken mints a personal API token of scope agent-create for one muster user and prints it: the credential e2e/lib/seed.ts presents to POST /api/agents, the machine route that replaced the web UI's dispatch form (docs/design/chief-dispatch.md, phase 2).
Command mktoken mints a personal API token of scope agent-create for one muster user and prints it: the credential e2e/lib/seed.ts presents to POST /api/agents, the machine route that replaced the web UI's dispatch form (docs/design/chief-dispatch.md, phase 2).
morningfix command
Command morningfix is the morning report's browser spec fixture (e2e/tests/morning-report.spec.ts): one owner's report of a fixed past day, written through the real store (internal/morning, under row-level security as in production), and one open question from muster itself, so the page has every section filled.
Command morningfix is the morning report's browser spec fixture (e2e/tests/morning-report.spec.ts): one owner's report of a fixed past day, written through the real store (internal/morning, under row-level security as in production), and one open question from muster itself, so the page has every section filled.
officerfix command
Command officerfix is the officer page spec's fixture (e2e/tests/officer-needs-you.spec.ts): the rows an officer's Needs-you and What-it-did sections draw, which the e2e harness cannot make through a real route because it runs no officer instance and no plugin.
Command officerfix is the officer page spec's fixture (e2e/tests/officer-needs-you.spec.ts): the rows an officer's Needs-you and What-it-did sections draw, which the e2e harness cannot make through a real route because it runs no officer instance and no plugin.
pagesfix command
Command pagesfix is the Pages screens spec's fixture (e2e/tests/pages-declutter.spec.ts): an owner's pages, written through the real store (internal/pages: row-level security, versions, links and responses as in production), whose counts are pairwise distinct so each badge the list draws can only come from one place.
Command pagesfix is the Pages screens spec's fixture (e2e/tests/pages-declutter.spec.ts): an owner's pages, written through the real store (internal/pages: row-level security, versions, links and responses as in production), whose counts are pairwise distinct so each badge the list draws can only come from one place.
pluginfix command
Command pluginfix is the plugins browser spec's fixture (e2e/tests/plugins.spec.ts): the few rows that spec needs and the e2e harness cannot make through a real route, because the e2e harness runs no agent runtime.
Command pluginfix is the plugins browser spec's fixture (e2e/tests/plugins.spec.ts): the few rows that spec needs and the e2e harness cannot make through a real route, because the e2e harness runs no agent runtime.
previewfix command
Command previewfix is the previews browser spec's fixture (e2e/tests/previews.spec.ts): the two processes around the real gateway and the real host that the spec cannot be itself.
Command previewfix is the previews browser spec's fixture (e2e/tests/previews.spec.ts): the two processes around the real gateway and the real host that the spec cannot be itself.
pushsink command
Command pushsink is the knock push spec's push service (e2e/tests/plugin-knock-push.spec.ts): a UnifiedPush-style endpoint a paired phone registers, served over TLS under a test host name with a certificate from a test CA it mints at start.
Command pushsink is the knock push spec's push service (e2e/tests/plugin-knock-push.spec.ts): a UnifiedPush-style endpoint a paired phone registers, served over TLS under a test host name with a certificate from a test CA it mints at start.
seed command
Command seed resets an e2e database to a known board: a handful of tasks in every status and a few agents in distinct states, so the browser suite and the manifest screenshots render the same thing on every run.
Command seed resets an e2e database to a known board: a handful of tasks in every status and a few agents in distinct states, so the browser suite and the manifest screenshots render the same thing on every run.
sqfix command
Command sqfix is the send-queue browser spec's fixture (e2e/tests/send-queue.spec.ts): the two states of a queued message the spec cannot reach through a real route in a few seconds — a message queued days ago, and a message whose sender stopped mid-send.
Command sqfix is the send-queue browser spec's fixture (e2e/tests/send-queue.spec.ts): the two states of a queued message the spec cannot reach through a real route in a few seconds — a message queued days ago, and a message whose sender stopped mid-send.
stepupfix command
Command stepupfix is the step-up card page spec's fixture (e2e/tests/stepup-card-page.spec.ts): one step-up confirmation card as muster files it for a draft's approval — its parts (internal/attention StepUpCard), written through the real attention store (attention.Clean builds its question from them; row-level security as in production) — so the spec can open its page.
Command stepupfix is the step-up card page spec's fixture (e2e/tests/stepup-card-page.spec.ts): one step-up confirmation card as muster files it for a draft's approval — its parts (internal/attention StepUpCard), written through the real attention store (attention.Clean builds its question from them; row-level security as in production) — so the spec can open its page.
internal
agentgateway
Package agentgateway is the CHAT half of the agent seam: it turns an agent row plus a live provisioner into one turn against that agent's model gateway.
Package agentgateway is the CHAT half of the agent seam: it turns an agent row plus a live provisioner into one turn against that agent's model gateway.
agentkickoff
Package agentkickoff DELIVERS an agent's first turn: it hands the note a dispatch was created with (agents.Agent.PendingNote) to the agent's model gateway once the agent's instance is ready, and records what happened on the row.
Package agentkickoff DELIVERS an agent's first turn: it hands the note a dispatch was created with (agents.Agent.PendingNote) to the agent's model gateway once the agent's instance is ready, and records what happened on the row.
agentoutcome
Package agentoutcome decides how a started agent's work ENDED: done, failed or stuck — never silently "running" (docs/provisioner.md, "How an agent's work ends").
Package agentoutcome decides how a started agent's work ENDED: done, failed or stuck — never silently "running" (docs/provisioner.md, "How an agent's work ends").
agentprovision
Package agentprovision adapts a provision.Provisioner DRIVER to the LIFECYCLE interface the agent HTTP handlers depend on (api.Provisioner): seven methods over an agent's int64 database id, rather than over a provision.Ref and a provision.Spec.
Package agentprovision adapts a provision.Provisioner DRIVER to the LIFECYCLE interface the agent HTTP handlers depend on (api.Provisioner): seven methods over an agent's int64 database id, rather than over a provision.Ref and a provision.Spec.
agentprovision/scrubexec
Package scrubexec is the ONE way agentprovision reaches a provisioning driver: a wrapper whose every exec into an agent's container runs with the container's turn credentials removed from its environment.
Package scrubexec is the ONE way agentprovision reaches a provisioning driver: a wrapper whose every exec into an agent's container runs with the container's turn credentials removed from its environment.
agentprovision/worktreetest
Package worktreetest builds, for tests only, the repository a machine job's worktree is made from: an origin whose default branch carries benign agent configuration, and a commit under review that carries hostile configuration of its own — a SessionStart hook, an MCP server, instructions, a nested `.claude/` — each of which, if it reached the CLI, would leave a marker file.
Package worktreetest builds, for tests only, the repository a machine job's worktree is made from: an origin whose default branch carries benign agent configuration, and a commit under review that carries hostile configuration of its own — a SessionStart hook, an MCP server, instructions, a nested `.claude/` — each of which, if it reached the CLI, would leave a marker file.
agents
Package agents is muster's agent domain: the stored record of a managed agent, its chat threads, the model catalogue that decides what it runs on, and the pure decision table a reconciler drives it with.
Package agents is muster's agent domain: the stored record of a managed agent, its chat threads, the model catalogue that decides what it runs on, and the pure decision table a reconciler drives it with.
agentspec
Package agentspec builds a provision.Spec from an agent row.
Package agentspec builds a provision.Spec from an agent row.
agentstatus
Package agentstatus keeps an agent's STORED status following its instance: it promotes a row stored as `provisioning` to `running` once the instance behind it is live and ready.
Package agentstatus keeps an agent's STORED status following its instance: it promotes a row stored as `provisioning` to `running` once the instance behind it is live and ready.
api
This file holds the single place a route may be registered.
This file holds the single place a route may be registered.
apitokens
Package apitokens is muster's PERSONAL API TOKEN store (accounts PR 6): the `api_tokens` table from migration 0006, under the row-level security 0009 put on it (a user reads and writes only rows whose user_id is its own).
Package apitokens is muster's PERSONAL API TOKEN store (accounts PR 6): the `api_tokens` table from migration 0006, under the row-level security 0009 put on it (a user reads and writes only rows whose user_id is its own).
askattach
Package askattach is how a file an agent names reaches an attention ask (docs/attention.md "Attachments and context"): the bounds every hop shares, the types an ask may carry, and the client that sends one workspace file to muster's upload store from where the file is.
Package askattach is how a file an agent names reaches an attention ask (docs/attention.md "Attachments and context"): the bounds every hop shares, the types an ask may carry, and the client that sends one workspace file to muster's upload store from where the file is.
askattempt
Package askattempt is the answer-attempt log: one row (table ask_attempts, migration 0113) for every Submit or Dismiss of a question card — a mirrored Claude Code AskUserQuestion picker, or an opencode question or permission request — from every door that answers one, with how it ended and why (docs/mirroring.md#answer-attempts).
Package askattempt is the answer-attempt log: one row (table ask_attempts, migration 0113) for every Submit or Dismiss of a question card — a mirrored Claude Code AskUserQuestion picker, or an opencode question or permission request — from every door that answers one, with how it ended and why (docs/mirroring.md#answer-attempts).
askdrive
Package askdrive types an answer into Claude Code's own AskUserQuestion picker, the way a person would — one key at a time, READING THE PANE before and after every key — so a question asked in a mirrored session can be answered from muster while the terminal shows its picker too.
Package askdrive types an answer into Claude Code's own AskUserQuestion picker, the way a person would — one key at a time, READING THE PANE before and after every key — so a question asked in a mirrored session can be answered from muster while the terminal shows its picker too.
askdrive/fakepicker command
Command fakepicker runs askdrive.FakePicker on a terminal, for the tests that need a picker in a REAL tmux pane (internal/mirrorhost's tmuxit suite) where no Claude Code is.
Command fakepicker runs askdrive.FakePicker on a terminal, for the tests that need a picker in a REAL tmux pane (internal/mirrorhost's tmuxit suite) where no Claude Code is.
askimage
Package askimage is THE rule for what an officer's ask image may be: the types HQ accepts (sniffed from the bytes, never taken from a name or a header) and its size cap.
Package askimage is THE rule for what an officer's ask image may be: the types HQ accepts (sniffed from the bytes, never taken from a name or a header) and its size cap.
asklog
Package asklog is the ask log: one row (table asks, migration 0089) for every question an agent put to its owner, whatever kind it was, with the answer the owner gave, who gave it and how long it took.
Package asklog is the ask log: one row (table asks, migration 0089) for every question an agent put to its owner, whatever kind it was, with the answer the owner gave, who gave it and how long it took.
askq
Package askq is Claude Code's AskUserQuestion tool as muster shows it: the question set's shape and bounds, the answers a person may give to it in muster, and the store of the questions sessions are asking.
Package askq is Claude Code's AskUserQuestion tool as muster shows it: the question set's shape and bounds, the answers a person may give to it in muster, and the store of the questions sessions are asking.
atomicfile
Package atomicfile writes a whole file so that no reader ever sees half of it: a temp file unique to this write, in the same directory, 0600 from creation, synced, then renamed into place.
Package atomicfile writes a whole file so that no reader ever sees half of it: a temp file unique to this write, in the same directory, 0600 from creation, synced, then renamed into place.
attemptcode
Package attemptcode is a team host's ATTEMPT CODE (team sharing 2b.2 follow-up; internal/mirror's teamhold.go): drawn by muster-mirror, checked by the hub, shown by `muster doctor`.
Package attemptcode is a team host's ATTEMPT CODE (team sharing 2b.2 follow-up; internal/mirror's teamhold.go): drawn by muster-mirror, checked by the hub, shown by `muster doctor`.
attention
Package attention is the ATTENTION QUEUE's explicit asks (migration 0025): a question an agent — a dispatched agent or a mirrored Claude Code session — puts to its owner, and the owner's answer.
Package attention is the ATTENTION QUEUE's explicit asks (migration 0025): a question an agent — a dispatched agent or a mirrored Claude Code session — puts to its owner, and the owner's answer.
auth
Package auth provides the cryptographic primitives that lock down this service's two distinct surfaces:
Package auth provides the cryptographic primitives that lock down this service's two distinct surfaces:
authz
Package authz carries WHO a request (or a background loop) is acting as.
Package authz carries WHO a request (or a background loop) is acting as.
branding
Package branding is the instance's logo and display name: what an admin uploads on the Account page (docs/branding.md), the images muster serves from /brand/, and the row that keeps them (migration 0105, instance_branding).
Package branding is the instance's logo and display name: what an admin uploads on the Account page (docs/branding.md), the images muster serves from /brand/, and the row that keeps them (migration 0105, instance_branding).
ccdialog
Package ccdialog reads a Claude Code pane's screen for a dialog that keys typed into the pane would ANSWER rather than reach the model: a permission prompt, the AskUserQuestion picker, any numbered select menu.
Package ccdialog reads a Claude Code pane's screen for a dialog that keys typed into the pane would ANSWER rather than reach the model: a permission prompt, the AskUserQuestion picker, any numbered select menu.
ccfailover
Package ccfailover is per-agent Claude ACCOUNT FAILOVER: when a turn on a claude-code agent fails on its account's usage limit or `auth_failed`, the agent is REBOUND to another of its owner's Claude accounts that is usable, instead of staying on the exhausted one until its limit resets.
Package ccfailover is per-agent Claude ACCOUNT FAILOVER: when a turn on a claude-code agent fails on its account's usage limit or `auth_failed`, the agent is REBOUND to another of its owner's Claude accounts that is usable, instead of staying on the exhausted one until its limit resets.
ccpool
Package ccpool is the per-account Claude Code `setup-token` pool: which operator account a new claude-code agent runs on, and what each account's sessions have reported back.
Package ccpool is the per-account Claude Code `setup-token` pool: which operator account a new claude-code agent runs on, and what each account's sessions have reported back.
ccsubagents
Package ccsubagents is the ONE reading of a Claude Code session's subagents: which Agent calls a parent transcript made, what each subagent's own files say, the status rule that decides running / done / failed (State), and the work ledger that counts how many run now (Ledger).
Package ccsubagents is the ONE reading of a Claude Code session's subagents: which Agent calls a parent transcript made, what each subagent's own files say, the status rule that decides running / done / failed (State), and the work ledger that counts how many run now (Ledger).
cctasks
Package cctasks counts what a Claude Code CLI has running beside its turn: its background shells, from the CLI's own process tree, and — with a subagent count its caller reads from the transcript — the work rule that turns both, and the CLI's own session status, into what an agent card may claim (docs/design/agent-cards.md (a), "The work rule").
Package cctasks counts what a Claude Code CLI has running beside its turn: its background shells, from the CLI's own process tree, and — with a subagent count its caller reads from the transcript — the work rule that turns both, and the CLI's own session status, into what an agent card may claim (docs/design/agent-cards.md (a), "The work rule").
cctranscript
Package cctranscript reads Claude Code's session transcript: the JSONL file the CLI appends one record to per message block, under ~/.claude/projects/<cwd-slug>/<session-id>.jsonl.
Package cctranscript reads Claude Code's session transcript: the JSONL file the CLI appends one record to per message block, under ~/.claude/projects/<cwd-slug>/<session-id>.jsonl.
ccusage
Package ccusage reads each pooled Claude account's SUBSCRIPTION UTILIZATION — the numbers Claude Code's `/usage` screen shows (the 5-hour session window, the 7-day window, and the per-model windows when the account has them) — and keeps the latest reading per (owner, account), numbers only.
Package ccusage reads each pooled Claude account's SUBSCRIPTION UTILIZATION — the numbers Claude Code's `/usage` screen shows (the 5-hour session window, the 7-day window, and the per-model windows when the account has them) — and keeps the latest reading per (owner, account), numbers only.
chiefnudge
Package chiefnudge is the chief's stall nudges (docs/chief-nudges.md): the rules that decide which of an owner's sessions has stalled, what the chief may answer about one, and which of its answers muster accepts — plus the decisions table (migration 0064, chief_nudges).
Package chiefnudge is the chief's stall nudges (docs/chief-nudges.md): the rules that decide which of an owner's sessions has stalled, what the chief may answer about one, and which of its answers muster accepts — plus the decisions table (migration 0064, chief_nudges).
chiefpref
Package chiefpref stores each user's choice to turn their chief on or off (migration 0060, chief_preferences).
Package chiefpref stores each user's choice to turn their chief on or off (migration 0060, chief_preferences).
chiefusage
Package chiefusage is muster's record of what the owner's CHIEF costs and what it is spared (migration 0107; docs/usage.md):
Package chiefusage is muster's record of what the owner's CHIEF costs and what it is spared (migration 0107; docs/usage.md):
cichecks
Package cichecks is THE ONE reading of a commit's CI: its commit statuses and its check runs, judged by name.
Package cichecks is THE ONE reading of a commit's CI: its commit statuses and its check runs, judged by name.
clientaddr
Package clientaddr is the ONE reading of "which address is this request from".
Package clientaddr is the ONE reading of "which address is this request from".
connectors
Package connectors is muster's secure connector store: named credentials for external platforms that agents USE without ever HOLDING.
Package connectors is muster's secure connector store: named credentials for external platforms that agents USE without ever HOLDING.
consumerusage
Package consumerusage pushes the Claude usage of a NON-officer muster's agent instances — a muster running PR-review lanes, say — to HQ, per (session, UTC hour, pool account), labelled with the muster's CONSUMER, so HQ can split each pooled account's spend into officers, the consumers that push here, and everything else (docs/officers.md, "Consumer usage to HQ").
Package consumerusage pushes the Claude usage of a NON-officer muster's agent instances — a muster running PR-review lanes, say — to HQ, per (session, UTC hour, pool account), labelled with the muster's CONSUMER, so HQ can split each pooled account's spend into officers, the consumers that push here, and everything else (docs/officers.md, "Consumer usage to HQ").
credentials
Package credentials is the per-owner model-provider credential store: the Claude Code `setup-token`s and the OpenRouter API key a MEMBER brings to muster, and the one place that decides whose credentials an owner's agents run on (Plane).
Package credentials is the per-owner model-provider credential store: the Claude Code `setup-token`s and the OpenRouter API key a MEMBER brings to muster, and the one place that decides whose credentials an owner's agents run on (Plane).
cronspec
Package cronspec is muster's ONE cron grammar: the five-field UTC expression a builtin officer's schedule (internal/officers/builtin) and a scheduled host job (internal/hostjobs, docs/host-jobs.md) both take, so the two cannot disagree about what an expression means.
Package cronspec is muster's ONE cron grammar: the five-field UTC expression a builtin officer's schedule (internal/officers/builtin) and a scheduled host job (internal/hostjobs, docs/host-jobs.md) both take, so the two cannot disagree about what an expression means.
db
Package db opens muster's Postgres pool and applies its migrations.
Package db opens muster's Postgres pool and applies its migrations.
dbtest
Package dbtest gives every Postgres-backed test PACKAGE its own database, and decides — in ONE place — whether a missing database is a skip or a failure.
Package dbtest gives every Postgres-backed test PACKAGE its own database, and decides — in ONE place — whether a missing database is a skip or a failure.
devices
Package devices is muster's paired-phone store: the native Android app's DEVICE CREDENTIAL (`mdv_…`) and the one-time PAIRING CODE that mints it (migration 0039; docs/design/android.md, "The device credential").
Package devices is muster's paired-phone store: the native Android app's DEVICE CREDENTIAL (`mdv_…`) and the one-time PAIRING CODE that mints it (migration 0039; docs/design/android.md, "The device credential").
features
Package features is muster's feature registry: every optional (and core) feature, whether this server runs it, why not, and the exact .env line(s) that turn it on — written for the documented install, the Compose stack (docs/features.md).
Package features is muster's feature registry: every optional (and core) feature, whether this server runs it, why not, and the exact .env line(s) that turn it on — written for the documented install, the Compose stack (docs/features.md).
fence
Package fence renders UNTRUSTED TEXT as a fenced block an agent is handed as a turn: a preface line written by muster, then an opening marker at column 0 carrying a fresh nonce, the content lines, and a closing marker — with EVERY line between the markers behind ContentPrefix.
Package fence renders UNTRUSTED TEXT as a fenced block an agent is handed as a turn: a preface line written by muster, then an opening marker at column 0 carrying a fresh nonce, the content lines, and a closing marker — with EVERY line between the markers behind ContentPrefix.
fleet
Package fleet is the chief's view of its owner's whole fleet: each session's fleet state, the digest's groups (docs/chief.md "Fleet digest"), and the digest's marks (migration 0147, store.go).
Package fleet is the chief's view of its owner's whole fleet: each session's fleet state, the digest's groups (docs/chief.md "Fleet digest"), and the digest's marks (migration 0147, store.go).
flows
Package flows is muster's BROWSER-FLOW queue: a closed catalogue of named flows, an owner-scoped job table (migration 0012), and the per-(owner, host) runner tokens a host-side runner drains it with.
Package flows is muster's BROWSER-FLOW queue: a closed catalogue of named flows, an owner-scoped job table (migration 0012), and the per-(owner, host) runner tokens a host-side runner drains it with.
focus
Package focus is SESSION FOCUS (migration 0020): for each of a user's sessions — a dispatched agent or a mirrored Claude Code window — a short title and a one-to-three-sentence description of what it is working on now.
Package focus is SESSION FOCUS (migration 0020): for each of a user's sessions — a dispatched agent or a mirrored Claude Code window — a short title and a one-to-three-sentence description of what it is working on now.
github
Package github is muster's small GitHub REST client: the repository and pull-request shapes, the pull-request listing the GitHub App reads with an installation token (internal/githubapp), and the API base both follow.
Package github is muster's small GitHub REST client: the repository and pull-request shapes, the pull-request listing the GitHub App reads with an installation token (internal/githubapp), and the API base both follow.
githubapp
Package githubapp is muster's GitHub identity when a GitHub App is configured (MUSTER_GITHUB_APP_ID + MUSTER_GITHUB_APP_PRIVATE_KEY): the `github` connector's credential, the dispatch dialog's repository list, and the "is this a connected repository" check behind every dispatch door.
Package githubapp is muster's GitHub identity when a GitHub App is configured (MUSTER_GITHUB_APP_ID + MUSTER_GITHUB_APP_PRIVATE_KEY): the `github` connector's credential, the dispatch dialog's repository list, and the "is this a connected repository" check behind every dispatch door.
gotrue
Package gotrue is muster's client for its own GoTrue instance (accounts PR 4): the password and refresh grants, logout, the admin user calls, and — the part every request depends on — Verify, which decides whether an access token GoTrue minted is one muster will act on.
Package gotrue is muster's client for its own GoTrue instance (accounts PR 4): the password and refresh grants, logout, the admin user calls, and — the part every request depends on — Verify, which decides whether an access token GoTrue minted is one muster will act on.
gotrue/gotruetest
Package gotruetest is an in-memory GoTrue for muster's tests: the endpoints internal/gotrue calls, with the behaviours muster depends on modelled on the MEASURED behaviour of GoTrue v2.197.0 (see internal/gotrue's comments; the same probe run against v2.189.0 differed only where noted below).
Package gotruetest is an in-memory GoTrue for muster's tests: the endpoints internal/gotrue calls, with the behaviours muster depends on modelled on the MEASURED behaviour of GoTrue v2.197.0 (see internal/gotrue's comments; the same probe run against v2.189.0 differed only where noted below).
hostjobs
Package hostjobs is the store of SCHEDULED HOST JOBS (migration 0166; docs/host-jobs.md): each job as its host last reported it, its cron's next fire, and its runs.
Package hostjobs is the store of SCHEDULED HOST JOBS (migration 0166; docs/host-jobs.md): each job as its host last reported it, its cron's next fire, and its runs.
itemorigin
Package itemorigin carries, on a context, WHERE a needs-you row is being made: the officer instance whose tool call is running, its chat session and the moment in it (migration 0185's origin_* columns on attention_asks and plugin_reply_drafts).
Package itemorigin carries, on a context, WHERE a needs-you row is being made: the officer instance whose tool call is running, its chat session and the moment in it (migration 0185's origin_* columns on attention_asks and plugin_reply_drafts).
jobs
Package jobs is the machine job API's record (migration 0037): one-shot jobs an external orchestrator submits — "run this prompt on this agent, optionally at this commit, and give me the result" — and reads back by id.
Package jobs is the machine job API's record (migration 0037): one-shot jobs an external orchestrator submits — "run this prompt on this agent, optionally at this commit, and give me the result" — and reads back by id.
kuberead
Package kuberead is officer_kube_read's engine: one typed, read-only request against a named cluster's API server, run by muster-server itself (docs/officers.md "Reading a cluster: officer_kube_read").
Package kuberead is officer_kube_read's engine: one typed, read-only request against a named cluster's API server, run by muster-server itself (docs/officers.md "Reading a cluster: officer_kube_read").
limitpark
Package limitpark tells a STALE usage-limit menu from a live one.
Package limitpark tells a STALE usage-limit menu from a live one.
llmproxy
Package llmproxy is muster's LLM proxy for officer instances: an Anthropic-Messages-shaped endpoint (POST /llm/v1/messages on the connect listener, internal/api) that a routine officer instance's Claude Code points ANTHROPIC_BASE_URL at, and that forwards to one provider (OpenRouter's Anthropic-compatible POST /api/v1/messages) with the officer's key.
Package llmproxy is muster's LLM proxy for officer instances: an Anthropic-Messages-shaped endpoint (POST /llm/v1/messages on the connect listener, internal/api) that a routine officer instance's Claude Code points ANTHROPIC_BASE_URL at, and that forwards to one provider (OpenRouter's Anthropic-compatible POST /api/v1/messages) with the officer's key.
loopback
Package loopback is THE rule for "this address is this machine": the one predicate every part of muster uses to treat plain http to the loopback interface as safe to use, and nothing else.
Package loopback is THE rule for "this address is this machine": the one predicate every part of muster uses to treat plain http to the loopback interface as safe to use, and nothing else.
mdfence
Package mdfence lists the fenced code blocks of a Markdown message, in order: what the chief's session_context names a message's blocks by (docs/design/chief-in-agent-view.md, 4.1), so a kickoff written as one block (the handoff skill's) can be named {ref, block: k} instead of being copied.
Package mdfence lists the fenced code blocks of a Markdown message, in order: what the chief's session_context names a message's blocks by (docs/design/chief-in-agent-view.md, 4.1), so a kickoff written as one block (the handoff skill's) can be named {ref, block: k} instead of being copied.
memorelay
Package memorelay RELAYS cairn scope memos to dispatched agents: muster reads the live memos of the scopes its agents work on from a cairn memo listener, with ONE read-only credential, and hands each agent each memo once, as a turn through the agent's own gateway.
Package memorelay RELAYS cairn scope memos to dispatched agents: muster reads the live memos of the scopes its agents work on from a cairn memo listener, with ONE read-only credential, and hands each agent each memo once, as a turn through the agent's own gateway.
metrics
Package metrics holds muster's Prometheus instrumentation.
Package metrics holds muster's Prometheus instrumentation.
mirror
Package mirror is the server half of MIRRORED sessions: tmux sessions that live on an operator's own machines (a workstation, a laptop) and appear in muster's sidebar and session switcher beside its provisioned agents, so the list is complete.
Package mirror is the server half of MIRRORED sessions: tmux sessions that live on an operator's own machines (a workstation, a laptop) and appear in muster's sidebar and session switcher beside its provisioned agents, so the list is complete.
mirrorhost
Package mirrorhost is the HOST half of mirrored sessions: what `muster-mirror` runs on an operator's own machine.
Package mirrorhost is the HOST half of mirrored sessions: what `muster-mirror` runs on an operator's own machine.
mirrorpath
Package mirrorpath is where muster-mirror keeps its local files by default, as ONE rule that muster-mirror and `muster doctor` both call — so the doctor looks for the MCP endpoint's secret exactly where muster-mirror writes it, on Linux (XDG_CONFIG_HOME, else ~/.config) and on macOS (~/Library/Application Support) alike.
Package mirrorpath is where muster-mirror keeps its local files by default, as ONE rule that muster-mirror and `muster doctor` both call — so the doctor looks for the MCP endpoint's secret exactly where muster-mirror writes it, on Linux (XDG_CONFIG_HOME, else ~/.config) and on macOS (~/Library/Application Support) alike.
morning
Package morning is the morning report: one push a day, at a fixed local time, saying what happened while the owner was away, and the page it opens (docs/features.md#morning-report).
Package morning is the morning report: one push a day, at a fixed local time, saying what happened while the owner was away, and the page it opens (docs/features.md#morning-report).
noredirect
Package noredirect is THE rule for an outbound HTTP client that carries a credential: it never follows a redirect.
Package noredirect is THE rule for an outbound HTTP client that carries a credential: it never follows a redirect.
notes
Package notes is the persistence domain for TASKS — the table is called `notes` and every id in it is a task number people cite, so the name is kept rather than migrated.
Package notes is the persistence domain for TASKS — the table is called `notes` and every id in it is a task number people cite, so the name is kept rather than migrated.
notifypref
Package notifypref stores each user's notification preferences (migration 0094, notify_preferences).
Package notifypref stores each user's notification preferences (migration 0094, notify_preferences).
officers
Package officers is muster's officer RUNTIME: the long-lived, queue-driven agents whose durable identity, work queue and claim lock live in an HQ server (the "officers" contract), and whose running sessions — instances — muster provisions, wakes and scales to zero.
Package officers is muster's officer RUNTIME: the long-lived, queue-driven agents whose durable identity, work queue and claim lock live in an HQ server (the "officers" contract), and whose running sessions — instances — muster provisions, wakes and scales to zero.
officers/backendtest
Package backendtest is the officer-backend conformance suite (officer-backend/v1, docs/design/officers-first-class.md): the lease, queue, tier and refusal rules every officers.Backend must keep, as named checks over a small World.
Package backendtest is the officer-backend conformance suite (officer-backend/v1, docs/design/officers-first-class.md): the lease, queue, tier and refusal rules every officers.Backend must keep, as named checks over a small World.
officers/builtin
Package builtin is the built-in officer backend: officer-backend/v1 (officers.Backend) kept in muster's own Postgres (migration 0118), so a deployment can run officers with no external HQ (docs/design/officers-first-class.md).
Package builtin is the built-in officer backend: officer-backend/v1 (officers.Backend) kept in muster's own Postgres (migration 0118), so a deployment can run officers with no external HQ (docs/design/officers-first-class.md).
officers/hqtest
Package hqtest is an in-process fake of the HQ officers API (the officers contract, v1), for tests in internal/officers and internal/api.
Package hqtest is an in-process fake of the HQ officers API (the officers contract, v1), for tests in internal/officers and internal/api.
officers/transcript
Package transcript forwards an officer instance's LIVE session transcript to HQ while the instance holds a claimed item (docs/officers.md, "Transcript to HQ"), so HQ's officer pages can show what the officer is doing.
Package transcript forwards an officer instance's LIVE session transcript to HQ while the instance holds a claimed item (docs/officers.md, "Transcript to HQ"), so HQ's officer pages can show what the officer is doing.
officers/usage
Package usage pushes each officer instance's Claude usage — API calls, tokens and turns per session and UTC hour — to the officer's HQ (docs/officers.md, "Claude usage to HQ").
Package usage pushes each officer instance's Claude usage — API calls, tokens and turns per session and UTC hour — to the officer's HQ (docs/officers.md, "Claude usage to HQ").
officership
Package officership is what lets an officer SHIP: push branches, merge its own pull requests and tag releases in one repository, with every write decided in muster-server (docs/officers.md "Shipping officers").
Package officership is what lets an officer SHIP: push branches, merge its own pull requests and tag releases in one repository, with every write decided in muster-server (docs/officers.md "Shipping officers").
opencodehost
Package opencodehost is muster-mirror's side of opencode v2's local server (docs/design/opencode.md): the pair token muster-mirror holds, the one client that reads the server's REST API and event stream with it, and the pairing step that mints the token in the first place.
Package opencodehost is muster-mirror's side of opencode v2's local server (docs/design/opencode.md): the pair token muster-mirror holds, the one client that reads the server's REST API and event stream with it, and the pairing step that mints the token in the first place.
opencodehost/opencodetest
Package opencodetest is a FAKE opencode v2 server for muster's tests and browser suite: the routes muster-mirror reads (shaped from upstream's packages/protocol/openapi.json at 6ec5682), HTTP Basic auth with user "opencode", and pair tokens signed the way upstream signs them (packages/server/src/auth.ts), so a token it issues has the real shape and lifetime.
Package opencodetest is a FAKE opencode v2 server for muster's tests and browser suite: the routes muster-mirror reads (shaped from upstream's packages/protocol/openapi.json at 6ec5682), HTTP Basic auth with user "opencode", and pair tokens signed the way upstream signs them (packages/server/src/auth.ts), so a token it issues has the real shape and lifetime.
pages
Package pages is shareable pages (migration 0116; docs/pages.md, design docs/design/pages.md): a page an agent writes for its owner, its immutable versions, the share links that let someone without a muster account open it, and what those viewers send back.
Package pages is shareable pages (migration 0116; docs/pages.md, design docs/design/pages.md): a page an agent writes for its owner, its immutable versions, the share links that let someone without a muster account open it, and what those viewers send back.
pins
Package pins is the session switcher's pinned entries (migration 0017): per user, server-stored, so a pin follows its owner across devices.
Package pins is the session switcher's pinned entries (migration 0017): per user, server-stored, so a pin follows its owner across devices.
plainscan
Package plainscan holds the scans the plain-UI guards share (the operator rule: muster is for people who are not engineers, so its own chrome shows no address, flag, variable, command or jargon in its top layer).
Package plainscan holds the scans the plain-UI guards share (the operator rule: muster is for people who are not engineers, so its own chrome shows no address, flag, variable, command or jargon in its top layer).
plugins
Package plugins is muster's PLUGIN INTERFACE: out-of-process connectors that bring inbound messages from some upstream system to their owner's chief agent.
Package plugins is muster's PLUGIN INTERFACE: out-of-process connectors that bring inbound messages from some upstream system to their owner's chief agent.
podagent
Package podagent is the part of an agent pod's in-pod supervisor that does not depend on which agent runtime the pod runs: muster's agent-facing routes as the pod reaches them, git's routing through muster's connector proxy, and the agent's repository checkout.
Package podagent is the part of an agent pod's in-pod supervisor that does not depend on which agent runtime the pod runs: muster's agent-facing routes as the pod reaches them, git's routing through muster's connector proxy, and the agent's repository checkout.
preview/tunnel
Package tunnel is the preview tunnel's transport: one WebSocket from a host to the gateway, carrying HTTP/2 with the roles reversed — the host runs the HTTP/2 SERVER (Serve), the gateway holds the CLIENT (NewClient) and opens one CONNECT stream per upstream TCP connection (Client.Dial).
Package tunnel is the preview tunnel's transport: one WebSocket from a host to the gateway, carrying HTTP/2 with the roles reversed — the host runs the HTTP/2 SERVER (Serve), the gateway holds the CLIENT (NewClient) and opens one CONNECT stream per upstream TCP connection (Client.Dial).
preview/wire
Package wire is the preview tunnel's protocol, shared by the gateway (cmd/muster-preview), the host (muster-mirror -preview) and, in phase 2, an agent pod's gate, so the three cannot disagree about it.
Package wire is the preview tunnel's protocol, shared by the gateway (cmd/muster-preview), the host (muster-mirror -preview) and, in phase 2, an agent pod's gate, so the three cannot disagree about it.
previewgw
Package previewgw is the preview gateway (cmd/muster-preview): it accepts hosts' preview tunnels on two listeners, checks their host tokens, keeps one tunnel per (owner, host), reads each tunnel's offer stream into memory, and asks muster every minute whether each owner's plugin token still holds the viewer capability.
Package previewgw is the preview gateway (cmd/muster-preview): it accepts hosts' preview tunnels on two listeners, checks their host tokens, keeps one tunnel per (owner, host), reads each tunnel's offer stream into memory, and asks muster every minute whether each owner's plugin token still holds the viewer capability.
previewhost
Package previewhost is muster-mirror's half of previews: serving a loopback web server an agent started on this host to its owner, through the preview gateway (docs/design/previews.md).
Package previewhost is muster-mirror's half of previews: serving a loopback web server an agent started on this host to its owner, through the preview gateway (docs/design/previews.md).
procstat
Package procstat parses /proc/<pid>/stat — the ONE parser muster-mirror has: the process table the locators and the paste guard read (internal/mirrorhost).
Package procstat parses /proc/<pid>/stat — the ONE parser muster-mirror has: the process table the locators and the paste guard read (internal/mirrorhost).
provision
Package provision is muster's pluggable provisioner contract: the seam between "an agent should exist, configured like this" and whatever actually runs it — a Kubernetes cluster, a container daemon, a process on the box.
Package provision is muster's pluggable provisioner contract: the seam between "an agent should exist, configured like this" and whatever actually runs it — a Kubernetes cluster, a container daemon, a process on the box.
provision/compose
Package compose is the provisioner driver for the chief on the public `docker compose` install: a container the Compose file declares (the `chief` service, `--profile chief`), configured by FILES this driver writes into a named volume the two containers share.
Package compose is the provisioner driver for the chief on the public `docker compose` install: a container the Compose file declares (the `chief` service, `--profile chief`), configured by FILES this driver writes into a named volume the two containers share.
provision/k8s
Package k8s provisions muster instances onto a Kubernetes cluster by rendering its own minimal manifests.
Package k8s provisions muster instances onto a Kubernetes cluster by rendering its own minimal manifests.
provision/provisiontest
Package provisiontest is the CONTRACT SUITE every muster provisioner driver must pass.
Package provisiontest is the CONTRACT SUITE every muster provisioner driver must pass.
prroute
Package prroute is deterministic PULL-REQUEST → SESSION routing's pure half: which pull request a review mail is about (ParseMail), and the shape of an authorship report (Signal) — which pull request a session created, or which branch it pushed — as a host's PostToolUse hook sends it to POST /api/pr-sessions (internal/api/pr_routes.go).
Package prroute is deterministic PULL-REQUEST → SESSION routing's pure half: which pull request a review mail is about (ParseMail), and the shape of an authorship report (Signal) — which pull request a session created, or which branch it pushed — as a host's PostToolUse hook sends it to POST /api/pr-sessions (internal/api/pr_routes.go).
push
Package push is muster's own Web Push: the VAPID identity, the per-owner subscription store (migration 0013, under row-level security), and the Service that delivers one owner's notification to that owner's devices and prunes the ones the push service reports gone.
Package push is muster's own Web Push: the VAPID identity, the per-owner subscription store (migration 0013, under row-level security), and the Service that delivers one owner's notification to that owner's devices and prunes the ones the push service reports gone.
recents
Package recents is the "recently viewed" entries (migration 0018) — the session switcher's Recent view, and where home goes with no chief: per user, server-stored, so they follow their owner across devices.
Package recents is the "recently viewed" entries (migration 0018) — the session switcher's Recent view, and where home goes with no chief: per user, server-stored, so they follow their owner across devices.
redact
Package redact is THE ONE secret redactor: what looks like a credential in a line of text an agent or a page will be shown is replaced by Mark.
Package redact is THE ONE secret redactor: what looks like a credential in a line of text an agent or a page will be shown is replaced by Mark.
router
Package router is muster's client for the permission router it was extracted from — the ONE place every outbound call to that service is spelled.
Package router is muster's client for the permission router it was extracted from — the ONE place every outbound call to that service is spelled.
safedial
Package safedial is THE rule for "may muster-server open a connection to this address": one predicate over a resolved IP (Guard.Allowed) and one dialer that applies it at connect time (Guard.DialContext).
Package safedial is THE rule for "may muster-server open a connection to this address": one predicate over a resolved IP (Guard.Allowed) and one dialer that applies it at connect time (Guard.DialContext).
searchrank
Package searchrank is how well a label matches what was typed into a search, as a TIER: the order the operator asked searches to list their matches in.
Package searchrank is how well a label matches what was typed into a search, as a TIER: the order the operator asked searches to list their matches in.
sendqueue
Package sendqueue is the SERVER-SIDE SEND QUEUE (migration 0019): messages a user queued for a mirrored Claude Code window, which the server sends ONE AT A TIME, each only once that window's Claude Code session has been idle for a while (Dispatcher).
Package sendqueue is the SERVER-SIDE SEND QUEUE (migration 0019): messages a user queued for a mirrored Claude Code window, which the server sends ONE AT A TIME, each only once that window's Claude Code session has been idle for a while (Dispatcher).
sessionname
Package sessionname is THE RULE for what a session is called: one stable, human name for a dispatched agent or a mirrored Claude Code / opencode session, the same on every surface that names it — its sidebar row and switcher pill, its page's header and <title>, the terminal page, a push, an attention item, a dispatch card, and every chief tool that lists or names sessions (docs/focus.md#a-sessions-name).
Package sessionname is THE RULE for what a session is called: one stable, human name for a dispatched agent or a mirrored Claude Code / opencode session, the same on every surface that names it — its sidebar row and switcher pill, its page's header and <title>, the terminal page, a push, an attention item, a dispatch card, and every chief tool that lists or names sessions (docs/focus.md#a-sessions-name).
sessionstate
Package sessionstate is one code-computed state per session of an owner's — needs_you, stalled or working — and the EPISODES those states open: one row per stop of one session (docs/design/session-state.md).
Package sessionstate is one code-computed state per session of an owner's — needs_you, stalled or working — and the EPISODES those states open: one row per stop of one session (docs/design/session-state.md).
sessiontags
Package sessiontags is the labels a user puts on a session (migration session_tags): per user, server-stored, and private — like pins and recents.
Package sessiontags is the labels a user puts on a session (migration session_tags): per user, server-stored, and private — like pins and recents.
sessionwake
Package sessionwake is the store of the lines muster owes a MIRRORED Claude Code session because its owner decided something the session was waiting on (migration 0177, session_wakes; docs/attention.md "Delivery"): an ask it raised was answered or dismissed, a reply draft it wrote was decided and later sent or not, or a page it made got a response — and (migration 0178) work it ASKED for: an officer's draft for an item it enqueued was decided and later sent or not, or a step-up card its call raised was settled.
Package sessionwake is the store of the lines muster owes a MIRRORED Claude Code session because its owner decided something the session was waiting on (migration 0177, session_wakes; docs/attention.md "Delivery"): an ask it raised was answered or dismissed, a reply draft it wrote was decided and later sent or not, or a page it made got a response — and (migration 0178) work it ASKED for: an officer's draft for an item it enqueued was decided and later sent or not, or a step-up card its call raised was settled.
signinreq
Package signinreq is the store behind "Sign in with the muster app" (migration 0174; docs/design/qr-sign-in.md): a signed-out browser starts a REQUEST and shows its code as a QR; a phone already signed in to muster opens the code, is shown the request's details and approves or denies it; the browser that started it redeems the approval for a session of the approver.
Package signinreq is the store behind "Sign in with the muster app" (migration 0174; docs/design/qr-sign-in.md): a signed-out browser starts a REQUEST and shows its code as a QR; a phone already signed in to muster opens the code, is shown the request's details and approves or denies it; the browser that started it redeems the approval for a session of the approver.
sse
Package sse implements a small Server-Sent Events broadcaster: subscribers register a channel FOR ONE USER, the broadcaster fans an Event out to the subscribers of the user who owns it, and subscribers unregister when done.
Package sse implements a small Server-Sent Events broadcaster: subscribers register a channel FOR ONE USER, the broadcaster fans an Event out to the subscribers of the user who owns it, and subscribers unregister when done.
stepup
Package stepup is the "prove it's you again" gate: an action that is worth more than an ordinary signed-in request — typing into a mirrored host's tmux, which is a shell on that host — needs a sign-in that happened RECENTLY, not merely a session that is still valid.
Package stepup is the "prove it's you again" gate: an action that is worth more than an ordinary signed-in request — typing into a mirrored host's tmux, which is a shell on that host — needs a sign-in that happened RECENTLY, not merely a session that is still valid.
stt
Package stt is muster's client for an OpenAI-style speech-to-text service: `POST /v1/audio/transcriptions`, a multipart body whose `file` part is the recording, authenticated with a bearer token.
Package stt is muster's client for an OpenAI-style speech-to-text service: `POST /v1/audio/transcriptions`, a multipart body whose `file` part is the recording, authenticated with a bearer token.
suggest
Package suggest is SUGGESTED REPLIES: up to three short drafts the operator can tap into a mirrored session's composer when the agent has handed control back ("Which do you prefer?", "Should I open the PR?").
Package suggest is SUGGESTED REPLIES: up to three short drafts the operator can tap into a mirrored session's composer when the agent has handed control back ("Which do you prefer?", "Should I open the PR?").
taskstatus
Package taskstatus is the SINGLE definition of a task's lifecycle vocabulary.
Package taskstatus is the SINGLE definition of a task's lifecycle vocabulary.
telemetry
Package telemetry is muster's tracing: OpenTelemetry spans for the server (muster-server) and the host agent (muster-mirror), exported over OTLP/HTTP, and the W3C trace context that joins them into one trace across the browser, the server and the mirror tunnel.
Package telemetry is muster's tracing: OpenTelemetry spans for the server (muster-server) and the host agent (muster-mirror), exported over OTLP/HTTP, and the W3C trace context that joins them into one trace across the browser, the server and the mirror tunnel.
termscreen
Package termscreen reads a tmux pane capture WITH its styles (`tmux capture-pane -p -e`) into rows of cells.
Package termscreen reads a tmux pane capture WITH its styles (`tmux capture-pane -p -e`) into rows of cells.
termsize
Package termsize is the ONE rule for how big a muster terminal's tmux client is, and the in-band report that tells the browser what was decided.
Package termsize is the ONE rule for how big a muster terminal's tmux client is, and the in-band report that tells the browser what was decided.
textplain
Package textplain turns a markdown-flavoured string into the plain text a reader of the rendered markdown would see, on one line.
Package textplain turns a markdown-flavoured string into the plain text a reader of the rendered markdown would see, on one line.
theme
Package theme is the server's THEME: muster's palette as named tokens, the presets an admin picks from, an optional accent colour of the admin's own, and the contrast table every theme must pass before it is saved (docs/ui-kit.md#the-theme).
Package theme is the server's THEME: muster's palette as named tokens, the presets an admin picks from, an optional accent colour of the admin's own, and the contrast table every theme must pass before it is saved (docs/ui-kit.md#the-theme).
tmuxver
Package tmuxver reads tmux versions, for the decisions that depend on one: how muster-mirror pastes a picker's keys (internal/mirrorhost) and what `muster doctor` says about this machine's tmux (cmd/muster).
Package tmuxver reads tmux versions, for the decisions that depend on one: how muster-mirror pastes a picker's keys (internal/mirrorhost) and what `muster doctor` says about this machine's tmux (cmd/muster).
ui
Package ui renders the muster web UI with gomponents.
Package ui renders the muster web UI with gomponents.
uikit
Package uikit builds the plugin UI kit muster serves at /ui-kit/v1/ (docs/ui-kit.md): kit.css, theme.css, icons.svg and kit.js.
Package uikit builds the plugin UI kit muster serves at /ui-kit/v1/ (docs/ui-kit.md): kit.css, theme.css, icons.svg and kit.js.
uploads
Package uploads is the message composer's file attachments (migration 0024): a file the operator attaches is stored in an S3-compatible object store (e.g.
Package uploads is the message composer's file attachments (migration 0024): a file the operator attaches is stored in an S3-compatible object store (e.g.
uploads/uploadstest
Package uploadstest is in-memory fakes of internal/uploads' two ports — the row store and the object store — for tests that drive the upload routes without Postgres or an S3 server.
Package uploadstest is in-memory fakes of internal/uploads' two ports — the row store and the object store — for tests that drive the upload routes without Postgres or an S3 server.
users
Package users is muster's account store: the `users` and `invites` tables (migration 0006).
Package users is muster's account store: the `users` and `invites` tables (migration 0006).
workspacefile
Package workspacefile confines a path an agent names to the directory it works in: THE ONE rule every caller that reads an agent-named file off a filesystem muster-server cannot see applies — an officer pod's ask image (internal/podagent, `ccd ask-image`), a dispatched pod's ask attachment (`ccd ask-attach`) and a mirrored session's attention_ask attachments (internal/mirrorhost's MCP proxy, against the session's working directory).
Package workspacefile confines a path an agent names to the directory it works in: THE ONE rule every caller that reads an agent-named file off a filesystem muster-server cannot see applies — an officer pod's ask image (internal/podagent, `ccd ask-image`), a dispatched pod's ask attachment (`ccd ask-attach`) and a mirrored session's attention_ask attachments (internal/mirrorhost's MCP proxy, against the session's working directory).
Package web holds the files muster serves under /static/, plus the two root-scoped PWA documents (/sw.js and /manifest.webmanifest).
Package web holds the files muster serves under /static/, plus the two root-scoped PWA documents (/sw.js and /manifest.webmanifest).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL