mash

module
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: Apache-2.0

README

mash

mash ("mail mesh") gives each of your AI agent sessions an inbox that keeps its mail. The inbox lives on a NATS server (NATS is an open-source message server). Mail waits (in a single-replica inbox; see durability), signed by its sender, until the recipient has seen it, whether that session is busy, idle or stopped, on this machine or another. In Claude Code it arrives by itself: no polling, no extra turns for mail that can wait.

mash is deliberately small: one Go binary per agent (an "agent" here is one running Claude Code session, named by you; the docs also call it an endpoint), one outbound connection to one NATS server, no open ports and no per-agent server. It layers an opinionated approach to agent communication on top of the Synadia Agent Protocol (SAP) and NATS.

The key values that mash provides:

  1. Fast, durable, secure mail between agents.
  2. No polling, no blocking, no extra turns.
  3. Location-agnostic.
  4. Agent discovery and presence.
  5. Agent wake on urgent message delivery.
  6. Agent-agnostic (ROADMAP).
  7. Messaging policy (ROADMAP).

Use mash when your agents are sessions you run, in one NATS account, working on related problems (a dev swarm), and messages must wait for a busy or stopped recipient. Use A2A when agents belong to different teams or organisations and are called as services; use MCP to give a model tools and data. The two can sit side by side: A2A at the edge, mash inside. See how mash compares, including "why not A2A?".

Why not Claude Code's built-in cross-session messaging? It is tied to one agent host and one user, needs a claude.ai sign-in to reach another machine, holds mail for an offline session only until it reconnects, and describes no sender proof. Use mash when mail must outlive the recipient's session, when you want signed sender proof with trust labels, when you run your own NATS server, or when more than one user or machine is involved. The comparison table is in architecture.md, and comparison.md says when the built-in feature is the better choice.

How mash connects sessions

Two paths, one bus: live traffic (presence, status, live prompts) rides plain NATS and is not stored; mail rides JetStream (the NATS feature that stores messages on the server) and is kept up to 30 days. (details)

Status: v0.5.5, one host adapter (Claude Code). Known limits are listed in the comparison.

Supported platforms: Linux and macOS (amd64, arm64). Native Windows is not supported. WSL 2 with the Linux binary is expected to work but has not been tested.

Install mash

Download a release (recommended). A release binary is the build that the project's release workflow made from a tag, and you can check that. Download the binary for your platform and SHA256SUMS from the v0.5.5 release. The four binaries are:

  • mash-linux-amd64
  • mash-linux-arm64
  • mash-darwin-amd64
  • mash-darwin-arm64
BASE=https://github.com/bogworks/mash/releases/download/v0.5.5
curl -fsSLO $BASE/mash-linux-amd64
curl -fsSLO $BASE/SHA256SUMS
grep ' mash-linux-amd64$' SHA256SUMS | sha256sum -c - &&   # macOS: shasum -a 256 -c -
gh attestation verify mash-linux-amd64 -R bogworks/mash \
  --signer-workflow bogworks/mash/.github/workflows/release.yml \
  --source-ref refs/tags/v0.5.5 &&
chmod +x mash-linux-amd64 &&
BIN=~/.local/bin &&                                         # any directory; it must be on your PATH
mkdir -p "$BIN" && mv mash-linux-amd64 "$BIN/mash"
case ":$PATH:" in *":$BIN:"*) ;; *) echo "add $BIN to your PATH" ;; esac
mash version

The checksum shows the file arrived whole. The attestation, a record signed by GitHub, shows that this binary was built from the v0.5.5 tag by the release workflow (more). gh is the GitHub CLI.

One command (from the release that carries install.sh). curl -fsSL https://github.com/bogworks/mash/releases/latest/download/install.sh | bash installs mash and mashctl from the same release into ~/.local/bin, after checking each against the release's checksums (and the attestation too, when gh is installed). docs/install.md says what it does and how to check the script first.

go install (builds from source). go install github.com/bogworks/mash/cmd/mash@v0.5.5 needs Go 1.27.4 or newer. It compiles the source on your machine, so the result is not the attested build, and mash version prints unknown as the commit.

mashctl (the tool that sets up servers and administers endpoints) is not among the release assets: v0.5.5 carries only the four mash-<os>-<arch> binaries. For now install it with go install github.com/bogworks/mash/cmd/mashctl@v0.5.5; mashctl version prints 0.0.0-dev from a go install.

Quick start: one machine, no account

This path needs no Synadia account and no server you run by hand. You need:

  • mash installed as above, and a Go 1.27.4 or newer toolchain for mashctl, with the directory go install writes to on your PATH (go env GOBIN, or $(go env GOPATH)/bin when GOBIN is empty; ~/go/bin by default).
  • nats-server, a current 2.x release with JetStream, on your PATH. Get it from the nats-server releases (this repository builds and tests against 2.15).
  • Claude Code with channels (a claude.ai or Console sign-in, not Bedrock, Agent Platform or Foundry). A channel is how a plugin pushes a message into a running session.

Start the server. mashctl is the tool that runs the server and makes endpoints; mash is what each session runs.

If MASH_SERVER, MASH_ENDPOINT or other MASH_* variables are set from another setup, clear them first (unset $(env | sed -n 's/^\(MASH_[A-Z_]*\)=.*/\1/p')). They override the config files, and the commands below would go to that other server.

go install github.com/bogworks/mash/cmd/mashctl@v0.5.5   # mashctl is not in the release assets
mashctl init --local --owner alice --start                # a TLS-only NATS server that only this machine can reach, plus a local CA, keys and credentials

An agent is an endpoint with an address of three tokens, owner.group.instance. Here the owner is alice, the group is dev and the instances are design and review, so the addresses are alice.dev.design and alice.dev.review. A group has no default: you always name it.

Make each endpoint in three commands. The endpoint makes its own key, mashctl signs the public half into a join file, and the endpoint joins with it. The seed never leaves the endpoint's machine.

mash key create --out design.seed                                                   # writes design.seed and design.seed.pub
mashctl endpoint create alice.dev.design --out alice.dev.design.join --public-key design.seed.pub
mash join alice.dev.design.join --key design.seed                                   # installs alice.dev.design in the config directory

mash key create --out review.seed
mashctl endpoint create alice.dev.review --out alice.dev.review.join --public-key review.seed.pub
mash join alice.dev.review.join --key review.seed

When the endpoint and mashctl are on the same machine, one command does all three:

mashctl endpoint create alice/dev/design --make-key
mashctl endpoint create alice/dev/review --make-key

--make-key has one limit: the host that runs mashctl makes the key and holds it while the command runs, so it is the wrong form when the endpoint is on another machine. Use the three-command form there (an endpoint on another machine).

Then install the plugin and start two sessions:

claude plugin marketplace add bogworks/mash
claude plugin install mash@mash
MASH_ENDPOINT=alice.dev.design claude --dangerously-load-development-channels plugin:mash@mash   # terminal 1
MASH_ENDPOINT=alice.dev.review claude --dangerously-load-development-channels plugin:mash@mash   # terminal 2

Send mail from a shell and read it:

MASH_ENDPOINT=alice.dev.design mash send alice.dev.review "hello"
MASH_ENDPOINT=alice.dev.review mash inbox

When you are done, stop the local server: D=<the server directory that mashctl init --local printed>; kill "$(cat "$D/server.pid")". The directory is server inside the config directory, which depends on MASH_CONFIG_DIR and XDG_CONFIG_HOME, so use the one init --local printed.

MASH_ENDPOINT (or endpoint in config.json, or --endpoint), the full address owner.group.name, names the endpoint a session runs as. With none set, mash uses the one endpoint whose creds file sits directly in the config directory; if several are installed it stops and you name one. Each endpoint has a directory record and a credentials ("creds") file named <owner>.<group>.<instance>.creds that proves who it is; mashctl endpoint create makes both. Recipients in mash send are written owner.group.instance or the flat key owner_group_instance; a bare name is refused.

mashctl init --local makes a server on port 4222 by default; if something else uses 4222, pass --port N to pick another. The server uses TLS with a certificate from a local certificate authority that init --local makes (ca.pem in the server directory); servers in config.json is tls://127.0.0.1:4222 and ca names ca.pem, so mashctl and endpoints on this host need no extra setting.

--channels and --dangerously-load-development-channels are Claude Code research-preview flags. They are not shown in claude --help, but they work.

The config and the credentials land in the config directory, ~/.config/mash by default or $MASH_CONFIG_DIR; init --local prints it. The development flag lets the plugin wake an idle session without the channel allowlist (a list of channel plugins that Claude Code lets run without asking), and Claude Code asks you to confirm it at each launch; that is expected. Without the flag, mail still arrives at a session's next prompt or tool call. The steps are explained in docs/install.md, and docs/operations.md covers the local server, including how to stop it and start it again.

Synadia Cloud

Synadia Cloud is not supported by mashctl in 0.5.6; see #876.

Addresses and the Synadia Agent Protocol

mash is a SAP agent per session, with one departure. An endpoint is addressed owner.group.instance, and its subjects are agents.<verb>.<owner>.<group>.<instance> (verbs mail, prompt, status, hb). SAP says the first subject slot SHOULD carry the harness; mash puts the owner there, because that is what lets a credential be fenced to its owner. So finding agents by a wildcard on the harness slot does not work with mash; discovery by the service name does. The metadata still says agent: claude-code and adds owner, group and instance. The three slots:

  • owner: whose fleet this is; the permission fence. A credential publishes agents.{mail,prompt,status}.<owner>.*.*, so it is open to the whole owner by default, and it reaches no other owner.
  • group: a set of endpoints of one owner working together (a project or a swarm). It is part of the address, not a permission boundary.
  • instance: the session's own name.

What you get

  • Mail that waits. Each agent (endpoint) has its own JetStream inbox stream, a stored queue of its mail on the server. Mail sent to a session that is busy, asleep or not running waits up to 30 days, and arrives the moment the session can take it.
  • Mail kinds cut turn cost. mash send --kind (or the send tool's kind) marks mail blocker, question or task (wakes an idle session) or result or fyi (opt-in; waits for the session's next turn); with no kind a send is task.
  • No polling turns. Mail that lands mid-turn rides along with the next tool result (a hook). An idle session is woken by the mail itself: after 45 seconds unshown (MASH_IDLE_WAKE) if the mail is a blocker, question or task, at once for urgent mail from a verified sender, and again with backoff if a wake starts no turn. A burst arrives as one turn. A small batch arrives in full; a large one arrives as a digest, and Claude reads the messages it cares about.
  • Fast replies. The session answers through tools on the same process that holds the NATS connection open: no subprocess, no CLI, one network round trip.
  • Verified senders. Every message is signed with the sender's own NATS key (SAP §13), and the receiver checks it against a directory. A forged message is dropped; an unproven one is labelled as such.
  • Unique endpoints. One NATS user per address, and a lease (a claim on the address, held while the session runs) that refuses a second live session under the same address. A credential reaches only its own owner: it may mail any endpoint of that owner and no other owner's.
  • Live prompts too. Because each session is a SAP agent, you can mash prompt it (or use any SAP client) and get a streamed answer.

Policy commands (mashctl policy, allow lists) are not in this release; the engine arrives in 0.5.5.

How it works

The design, with every subject, permission and limit, is in docs/specs/2026-10-21-mash-design.md.

Install

mash needs a NATS server in operator mode (the NATS setup where an operator key signs accounts and accounts sign users) with JWT user credentials (a signed file that names one user and what it may do). Token, user/password and plain nkey authentication are not supported, because an endpoint's SAP signing identity is its NATS user key (the key in its creds file's user JWT; see the design).

Requirements: Claude Code 2.1.312 or newer (the oldest version a live receipt passed on; mash does not refuse older ones).

You need a NATS server in operator mode with JetStream (TLS recommended: use a tls:// url, and for a private CA or mutual TLS set ca, tls_cert and tls_key; see docs/install.md), an account for mash, and Claude Code with channels (a claude.ai or Console sign-in, not Bedrock, Agent Platform or Foundry; organisations need an Owner to allow mash; the channel wakes an idle session, and hooks deliver the mail). docs/install.md covers it end to end. The short version:

go install github.com/bogworks/mash/cmd/mash@v0.5.5      # Go 1.27.4 or newer; or use the release binary above. `mash version` prints the tag and `unknown` as the commit
claude plugin marketplace add bogworks/mash
claude plugin install mash@mash
# allowlist the channel once per machine (managed settings are the admin-controlled settings file of Claude Code): write /etc/claude-code/managed-settings.json (Linux)
# or /Library/Application Support/ClaudeCode/managed-settings.json (macOS), see docs/install.md section 3, then:
MASH_ENDPOINT=alice.dev.my-session claude --channels plugin:mash@mash

The plugin is installed from its marketplace only (mash plugin export is removed):

claude plugin marketplace add bogworks/mash
claude plugin install mash@mash

Operators set up the server with mashctl init (or mashctl adopt for a server you already run) and make endpoints with mashctl endpoint create. See docs/mashctl.md and docs/operations.md. For TLS, a cluster of NATS servers and a second mashctl machine, see docs/tls-and-clusters.md.

Status

mash is v0.5.5. Use the same version of mash and mashctl (the quick start needs mash key create and mash join, which 0.5.0 does not have); 0.5.0 (released 2026-11-16) stays the version for running deployments until they are moved (see the release notes). It supports Claude Code sessions as endpoints: durable, signed mail with trust labels, delivered by the plugin's hooks with a channel wake for idle sessions, on a NATS server you run (see docs/install.md). The spec is in docs/specs, and an integration suite runs against an in-process NATS server carrying the production permissions. Mail survives process restarts. To survive a host crash on a self-hosted server set sync_interval: always (docs/operations.md). "Durable" means stored on the NATS server until read, for up to 30 days and 16 MiB per inbox, on one replica. Past those limits the oldest messages go first, read or not, and an inbox on a clustered server is unavailable while its node is down; see inbox limits and durability. Upgrading to 0.5.5 is a clean break from 0.5.0: make new endpoints with mashctl endpoint create and remove the old ones with mashctl endpoint delete. Mail unread in an old endpoint is not carried over. Interfaces may still change before the next major revision. Later phases (an archive leaf node, monitoring, approvals) are listed in the spec.

Releases

Releases are signed tags built reproducibly from fresh clones: see docs/release.md.

Changelog

What changed in each release: CHANGELOG.md.

Contributing

See CONTRIBUTING.md. Everyone taking part follows the Code of Conduct.

License

Apache-2.0. See LICENSE.

Directories

Path Synopsis
cmd
mash command
Command mash is a messaging mesh for agents: a Claude Code channel server (mash serve), and a CLI for people and scripts.
Command mash is a messaging mesh for agents: a Claude Code channel server (mash serve), and a CLI for people and scripts.
mashctl command
Command mashctl administers a mash deployment: it creates the directory and lease buckets, sets endpoint metadata, and prints limits and the NATS permissions an endpoint user needs.
Command mashctl administers a mash deployment: it creates the directory and lease buckets, sets endpoint metadata, and prints limits and the NATS permissions an endpoint user needs.
internal
admin
Package admin provisions mash endpoints: the permission template a NATS user needs, and the streams, consumer and directory record behind it.
Package admin provisions mash endpoints: the permission template a NATS user needs, and the streams, consumer and directory record behind it.
adrindex
Package adrindex generates docs/decisions/INDEX.md from the records' front matter (ADR 0068).
Package adrindex generates docs/decisions/INDEX.md from the records' front matter (ADR 0068).
apply
Package apply is mashctl's view of the account resolver through the system account (ADR 0052): it looks the account JWT up on the servers, pushes a revision of it signed with the operator key, and reads it back to verify.
Package apply is mashctl's view of the account resolver through the system account (ADR 0052): it looks the account JWT up on the servers, pushes a revision of it signed with the operator key, and reads it back to verify.
claudesettings
Package claudesettings reads Claude Code's managed settings, read-only, to say whether mash is on the channel allowlist.
Package claudesettings reads Claude Code's managed settings, read-only, to say whether mash is on the channel allowlist.
cliframe
Package cliframe is the frame shared by the mash and mashctl command lines: the global options, accepted anywhere in the arguments, and the error report.
Package cliframe is the frame shared by the mash and mashctl command lines: the global options, accepted anywhere in the arguments, and the error report.
cmdcore
Package cmdcore defines a command once and serves it through both doors: the command line and an MCP tool.
Package cmdcore defines a command once and serves it through both doors: the command line and an MCP tool.
cmdcore/cmds
Package cmds holds the commands defined on cmdcore: each is a params struct, a result struct and a Run, served through both the command line and the MCP tool.
Package cmds holds the commands defined on cmdcore: each is a params struct, a result struct and a Run, served through both the command line and the MCP tool.
cmdcore/render
Package render holds the small text helpers shared by the commands' human output: relative times, aligned tables, the terminal width, colour and plural counts.
Package render holds the small text helpers shared by the commands' human output: relative times, aligned tables, the terminal width, colour and plural counts.
config
Package config loads mash's settings: config.json in the config directory (see ConfigDir), then the environment, which wins.
Package config loads mash's settings: config.json in the config directory (see ConfigDir), then the environment, which wins.
ctl
Package ctl is the admin verb set of mashctl.
Package ctl is the admin verb set of mashctl.
ctlkeys
Package ctlkeys is the key store of mashctl: the account signing seed (and the operator and system keys of a server `mashctl init --local` stood up), kept as 0600 files in a 0700 directory (ADR 0052).
Package ctlkeys is the key store of mashctl: the account signing seed (and the operator and system keys of a server `mashctl init --local` stood up), kept as 0600 files in a 0700 directory (ADR 0052).
endpoint
Package endpoint is one mash endpoint: its NATS connection, identity, lease, inbox and view of the directory.
Package endpoint is one mash endpoint: its NATS connection, identity, lease, inbox and view of the directory.
enroll
Package enroll signs the user credential of an endpoint from a PUBLIC key the endpoint made, so no private key reaches the central host, and records the endpoint (issue record, directory record, inbox).
Package enroll signs the user credential of an endpoint from a PUBLIC key the endpoint made, so no private key reaches the central host, and records the endpoint (issue record, directory record, inbox).
host
Package host isolates what is specific to the agent host a mash session runs in (Claude Code today), so other hosts (Hermes, Pi) can plug in later.
Package host isolates what is specific to the agent host a mash session runs in (Claude Code today), so other hosts (Hermes, Pi) can plug in later.
issue
Package issue is the issue service (REQ-013, ADR 0104): it takes a request that holds a sender's PUBLIC key and the address the key is for, countersigned by the requester on the sender's host, and returns a user JWT for that key, signed with the owner group's scoped signing key and carrying the tags mash's own table gives that address.
Package issue is the issue service (REQ-013, ADR 0104): it takes a request that holds a sender's PUBLIC key and the address the key is for, countersigned by the requester on the sender's host, and returns a user JWT for that key, signed with the owner group's scoped signing key and carrying the tags mash's own table gives that address.
joinfile
Package joinfile is the join file: the one text file whoever runs a mesh hands to a machine that is to join it.
Package joinfile is the join file: the one text file whoever runs a mesh hands to a machine that is to join it.
keycred
Package keycred makes a user key pair.
Package keycred makes a user key pair.
kind
Package kind is a message's kind: what the sender wants of the recipient, which decides whether it wakes an idle session.
Package kind is a message's kind: what the sender wants of the recipient, which decides whether it wakes an idle session.
listset
Package listset turns a list set into scoped-key permission templates and per-sender tags, and refuses to produce anything the NATS server would not enforce exactly as the lists say.
Package listset turns a list set into scoped-key permission templates and per-sender tags, and refuses to produce anything the NATS server would not enforce exactly as the lists say.
mcp
Package mcp is a minimal Model Context Protocol server over stdio, enough to be a Claude Code channel: initialize (declaring claude/channel), tools, ping, and notifications/claude/channel.
Package mcp is a minimal Model Context Protocol server over stdio, enough to be a Claude Code channel: initialize (declaring claude/channel), tools, ping, and notifications/claude/channel.
mint
Package mint makes the NATS user JWT and creds of one endpoint: signed by the account signing key and carrying the endpoint's own permission set (admin.Permissions).
Package mint makes the NATS user JWT and creds of one endpoint: signed by the account signing key and carrying the endpoint's own permission set (admin.Permissions).
namerule
Package namerule reads and applies mash's name-acceptance rule file, name-rule@1 (docs/name-rule.md, ADR 0077).
Package namerule reads and applies mash's name-acceptance rule file, name-rule@1 (docs/name-rule.md, ADR 0077).
natsauth
Package natsauth connects to NATS with a user creds file without turning the client into a signing oracle.
Package natsauth connects to NATS with a user creds file without turning the client into a signing oracle.
natsfixture
Package natsfixture is test fixtures only: nothing in a release binary may import it (isolation_test.go checks).
Package natsfixture is test fixtures only: nothing in a release binary may import it (isolation_test.go checks).
policy
Package policy holds the size limits the JWTs mash makes must fit.
Package policy holds the size limits the JWTs mash makes must fit.
policyapply
Package policyapply is the core of the applied-policy gate (contract mash-messaging-policy REQ-011, draft-3).
Package policyapply is the core of the applied-policy gate (contract mash-messaging-policy REQ-011, draft-3).
policydoc
Package policydoc decodes the list-set document: the one value per account that a policy author keeps and mash applies.
Package policydoc decodes the list-set document: the one value per account that a policy author keeps and mash applies.
policyintake
Package policyintake is the intake of list sets: it watches the key `listset.<account>` of the policy bucket, checks each delivered revision against the account's adoption marker, hands a verified list set to an applier and reports every refusal.
Package policyintake is the intake of list sets: it watches the key `listset.<account>` of the policy bucket, checks each delivered revision against the account's adoption marker, hands a verified list set to an applier and reports every refusal.
policyserve
Package policyserve is the production assembly of the list-set intake: the adapters the intake needs (decode, document in force, refusals, held keys, the write guard), the signer over the key store, the server limits read through the system account, and the Applier that builds everything policyapply.Apply needs for one verified document.
Package policyserve is the production assembly of the list-set intake: the adapters the intake needs (decode, document in force, refusals, held keys, the write guard), the signer over the key store, the server limits read through the system account, and the Applier that builds everything policyapply.Apply needs for one verified document.
policyview
Package policyview is the responder behind `mash policy show` and `mash policy explain` (REQ-010).
Package policyview is the responder behind `mash policy show` and `mash policy explain` (REQ-010).
portable
Package portable holds the portable-code lint: a plain go test that walks the source tree and counts places where product code carries a personal convention (a person's or machine's name, a home or temp path, a foreign GitHub org, an inline long timeout).
Package portable holds the portable-code lint: a plain go test that walks the source tree and counts places where product code carries a personal convention (a person's or machine's name, a home or temp path, a foreign GitHub org, an inline long timeout).
reconcile
Package reconcile is the first-list-set reconcile of an adopted account (AT-015, ADR 0111): it plans, and with a signer executes, the removal of what the account held before its first list set that the list set does not own.
Package reconcile is the first-list-set reconcile of an adopted account (AT-015, ADR 0111): it plans, and with a signer executes, the removal of what the account held before its first list set that the list set does not own.
refgen
Package refgen generates the plain-markdown command reference under docs/reference from the spec files in spec/.
Package refgen generates the plain-markdown command reference under docs/reference from the spec files in spec/.
releasenotes
Package releasenotes is the one place that judges a release's notes (ADR 0105, release standard rule 23): a release's notes and its change-log section are the same text, and it opens with prose before any list.
Package releasenotes is the one place that judges a release's notes (ADR 0105, release standard rule 23): a release's notes and its change-log section are the same text, and it opens with prose before any list.
render
Package render turns mail into the text a Claude session sees: a small batch in full, a large one as a digest of one line per message.
Package render turns mail into the text a Claude session sees: a small batch in full, a large one as a digest of one line per message.
requesterreg
Package requesterreg is the static requester registry: a file that says which requester public key may countersign an issue request for which host and owner group (REQ-013, ADR 0104).
Package requesterreg is the static requester registry: a file that says which requester public key may countersign an issue request for which host and owner group (REQ-013, ADR 0104).
sap
Package sap implements the parts of the Synadia Agent Protocol 0.3 that mash uses: subjects (§2), and sender identity (§13).
Package sap implements the parts of the Synadia Agent Protocol 0.3 that mash uses: subjects (§2), and sender identity (§13).
spool
Package spool is the hand-over between serve and a Claude Code session's hooks (hook delivery, mash v0.2.0).
Package spool is the hand-over between serve and a Claude Code session's hooks (hook delivery, mash v0.2.0).
store
Package store holds mash's JetStream layout: per-endpoint inbox streams, their consumer, and the directory and lease KV buckets (spec section 5).
Package store holds mash's JetStream layout: per-endpoint inbox streams, their consumer, and the directory and lease KV buckets (spec section 5).
testenv
Package testenv runs an in-process nats-server in operator mode for integration tests.
Package testenv runs an in-process nats-server in operator mode for integration tests.
scripts
adrlint command
Command adrlint enforces the architecture decision records under docs/decisions (adr-lint.yml's checker).
Command adrlint enforces the architecture decision records under docs/decisions (adr-lint.yml's checker).
buildrelease command
Command buildrelease builds mash (or mashctl, with -cmd) exactly as a release does and prints "<sha256> <path>".
Command buildrelease builds mash (or mashctl, with -cmd) exactly as a release does and prints "<sha256> <path>".
changelog command
Command changelog keeps CHANGELOG.md out of pull requests (ADR 0068): a user-facing change adds a fragment file changelog.d/<slug>.<kind>.md, and release preparation folds the fragments into CHANGELOG.md.
Command changelog keeps CHANGELOG.md out of pull requests (ADR 0068): a user-facing change adds a fragment file changelog.d/<slug>.<kind>.md, and release preparation folds the fragments into CHANGELOG.md.
dirbench command
Command dirbench is a MEASUREMENT TOOL, not product code (bogworks/mash#43, "directory polling grows with the square of the endpoint count").
Command dirbench is a MEASUREMENT TOOL, not product code (bogworks/mash#43, "directory polling grows with the square of the endpoint count").
liveat command
Command liveat runs the live acceptance tests AT-001 to AT-003 and AT-4 (the security boundaries, at004) of the 0.5.5 endpoint-model contract against a build of this checkout.
Command liveat runs the live acceptance tests AT-001 to AT-003 and AT-4 (the security boundaries, at004) of the 0.5.5 endpoint-model contract against a build of this checkout.
liveat/nodeinit command
Command nodeinit is the only helper in an AT-005 node image.
Command nodeinit is the only helper in an AT-005 node image.
publishcheck command
Command publishcheck is publish-check.yml's checker: "publishing must be deterministic".
Command publishcheck is publish-check.yml's checker: "publishing must be deterministic".
refgen command
Command refgen generates the plain-markdown command reference under docs/reference from the spec files in spec/.
Command refgen generates the plain-markdown command reference under docs/reference from the spec files in spec/.
releasecheck command
Command release-check is mash's release gate.
Command release-check is mash's release gate.
reviewgate command
Command reviewgate is the verdict engine of the in-session review gate (ADR 0080).
Command reviewgate is the verdict engine of the in-session review gate (ADR 0080).
scrubcheck command
Command scrubcheck is a one-time verification: it finds the words in words.txt in the shipped surfaces.
Command scrubcheck is a one-time verification: it finds the words in words.txt in the shipped surfaces.

Jump to

Keyboard shortcuts

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