Inspect and manage Mash services
Esta página aún no está disponible en tu idioma.
Run mash dash and open services in the dashboard’s rail. It shows the
local SQLite schema, registered MCP and watcher processes, the dashboard
process, and configured Qdrant and shared-server endpoints. Checks never start
indexing, migrate SQLite or rebuild Qdrant.

The page is a map of how your services connect. On the chosen machine it draws Mash’s pipeline: agent histories, automatic indexing, the SQLite index, local search, and the dashboard and agents (over MCP) that search it. Above that are the shared server this machine publishes to, if it shares, and your other machines. Choose any box for its details beside the map, then Full details for its diagnostics, schema compatibility, log and controls. Choose another machine’s box to see its map.
- A box’s colour and text both give its state. A dashed box is unknown, or works but can’t search because something it depends on is down.
- A line is solid when the connection works, red and dashed when a fault at the end it depends on breaks it, and grey and dashed when that end’s state is unknown.
- The map shows only what is reported. When this machine shares, the shared server’s own status gives its address, its group, every machine in the group and when each last published; a copy older than two days is marked with its age. A machine only the server knows of has a card but no map to open. The server’s search index box says Ready once it has caught up with every machine, or names the machines it is still building for or catching up with. A server running an older Mash doesn’t report this, so the box says so instead of guessing.
- Agent sessions on an older build show as reconnect to update, and an unsupervised watcher has no verdict. Neither counts against the machine.
- Needs attention lists every machine’s faults and what to do, with a button such as Start where a control would fix it.
- Check again refreshes the report. Nothing polls on a timer, so an old green result is not a current one.
This much needs no configuration. Service controls, other machines and fleet operations are opt-in and described from Enable service access onward.
Check each machine’s agent setup
Section titled “Check each machine’s agent setup”Under the selected machine’s services, agent setup gives each agent one
line of status, such as Ready or Hooks need approval, then each part of
the integration. mash status --installation runs the same check on one machine.
- Connection: the agent has Mash registered as an MCP server.
- Plugin and Skill: the Mash plugin is installed and matches the Mash binary on that machine.
- Hooks: the plugin’s hook scripts are present and unmodified.
- Hook approval: Codex only. Codex runs a plugin’s hooks after you review
them in its
/hooksscreen, and asks again when they change.
A part that needs attention shows what to do. Mash only reads settings and files, so a part can read as present without having run, and an approved Codex hook reads as recorded because only Codex can confirm it matches the current hooks. A machine running an older Mash cannot report its setup: update it first.
When the plugin does not match the installed Mash, Reinstall the plugin
does what mash init --yes --no-index does, inside that machine’s dashboard:
it finds each agent’s CLI where your shell would, including the usual install
folders, and reinstalls the plugin through it. With fleet manager, Update
Mash and the plugin deploys Mash to the machine first. The dashboard there
has to run the release it is fixing the plugin for, so the button waits for
it to restart on the new release when the fleet inventory lists that
dashboard as a controllable service (see
Run fleet operations); otherwise it asks you to
restart that dashboard. Restarting the agent is always left to you. The steps
by hand stay folded underneath and open when the button cannot finish.
Interpret status and schema warnings
Section titled “Interpret status and schema warnings”A running process is not necessarily ready. Supervisor reports, Qdrant readiness and shared-server checks are separate, and a successful endpoint check does not certify every collection or client session. A machine’s dot reflects the most severe reported condition, including unknown checks.
For registered MCPs and watchers, compatibility compares the database’s
user_version with the running binary’s reported schema. A mismatch is red even
when the process is alive; the details show both schemas, the running and
observing builds, blocked operations and a next step. Older runtime records
without schema evidence show Unknown.
A compatible runtime whose executable was replaced, or differs from the observer, gets a separate warning. Reconnect agent-owned MCPs from the agent; a managed watcher restarts itself once its active pass ends. The database does not need another migration.
Only processes registered for the selected --db are listed. Pre-registration
releases and processes using other databases may be absent.
Enable service access
Section titled “Enable service access”To add Start, Stop, Restart and View log for services your OS supervisor already runs, list them in a separate, private TOML file. The dashboard does not install units, so the named unit must already exist.
node = "xenia"
[[services]]id = "watcher"name = "Index watcher"kind = "watcher"manager = "systemd_user"unit = "mash-index-watch.service"allow_control = truemash dash --services-config /private/mash-services.tomlOnly services with allow_control = true get controls.
- The service APIs have no browser sign-in. Anyone who can reach the dashboard can view and control its services.
- For remote access, bind explicitly with
--listen ADDRESS:PORT, and only on a trusted private encrypted network such as Tailscale, or behind a correctly configured HTTPS proxy. - Leave
token_envunset on any dashboard you open in a browser. The browser cannot supply the bearer token and its requests would be refused. - The request Host must match the dashboard’s bound address. Cross-origin browser action requests are rejected.
Supervisor targets and logs
Section titled “Supervisor targets and logs”Supported kind values for managed targets are watcher, qdrant, server and
dashboard. The serving dashboard cannot stop or restart itself. MCPs and
SQLite never have process controls.
| Manager | Existing target | Available controls |
|---|---|---|
systemd_user |
User unit, for example mash-index-watch.service |
Start, stop, restart |
systemd_system |
System unit accessible to the dashboard account | Start, stop, restart; no elevation prompt |
launchd |
User GUI-domain label; plist is required for control |
Bootstrap, bootout, kickstart |
windows_service |
Service name | Start, stop, restart |
windows_task |
Scheduled task name in the root task folder | Start, stop |
- Names may use ASCII letters, digits,
_,-and., with no leading-. IDs must be unique. - A dashboard accepts at most 16 supervisor targets and 32 remote machines.
- Unsupported managers and unverifiable states show Unknown with no controls.
- OS permissions still apply. Mash never runs sudo or installs a service.
- For launchd, add an absolute
plist = "/Users/you/Library/LaunchAgents/…plist"path matching the label.
View log reads the last 100 journal entries for systemd. Other managers need
an absolute log = "/private/path/to/service.log", of which the final 64 KiB
is read. Recognizable credentials are masked, but logs can still contain
private operational data. The API never accepts a log path from a browser.
To add read-only schema checks for other local silver files, such as each node database owned by a shared server, list up to 64 of them by their real paths:
[[databases]]id = "shared-macbook"name = "Shared silver · dev-macbook"path = "/private/shared-silver/dev-macbook.sqlite3"These compare against the observing dashboard’s schema, not the server process’s.
Actions, interruptions and recovery
Section titled “Actions, interruptions and recovery”Select a service, choose Start, Stop or Restart, and confirm the named machine and service. Start is offered for stopped or failed targets; stop and restart need a running one. A confirmation is rejected if the target’s configuration has changed since it was displayed. There is no fleet-wide restart.
Recent activity records each request and its result. An action succeeds only when the requested process state is observed. Timeouts and unconfirmed outcomes are Unknown and nothing retries automatically: check status and history before requesting the action again.
Receipts live beside the service configuration in FILENAME.operations/. Keep
this directory across dashboard restarts. Closing the browser does not cancel an
action under way. If the dashboard exits before a result is recorded, the
receipt stays unknown. History shows the latest 100 receipts.
Add other machines
Section titled “Add other machines”Optional. Run mash dash --services-config ... on each machine with its own
node name and supervisor targets, then add them to the dashboard you open:
[[machines]]id = "dev-macbook"url = "http://100.64.0.12:8790"# token_env = "MASH_MACBOOK_SERVICES_TOKEN"The remote node must equal id. A peer token_env is optional: when omitted,
the remote dashboard must also run without a token, and both endpoints must stay
on a trusted private network. The main dashboard reads remote tokens from its
own environment and never sends them to the browser.
Each remote executes only its own configured actions, and requests do not chain through further dashboards. An unavailable or incorrectly authenticated machine appears Unknown, not Stopped, and shows no controls until it reports again.
A machine added here can also be read live from the
viewing switcher: its chats,
search and memory come from its own dashboard, through this one. The remote
dashboard accepts the services token for those history reads as well as for
its services, so give each machine its own token_env if anyone else can
reach it. Only those reads are forwarded, never actions.
Manage the fleet from one inventory
Section titled “Manage the fleet from one inventory”Optional, for multi-machine setups. One private TOML inventory gives
mash-fleet and the dashboard the same machines, services and watcher
definitions. It replaces --services-config; do not pass both flags.
Copy the example inventory outside Git and
replace its paths and machine addresses. The controller needs the Mash
checkout, a built mash-fleet binary and its Ansible runtime dependencies; see
fleet setup.
mash-fleet --fleet-config /private/mash-fleet.toml status --allmash dash --fleet-config /private/mash-fleet.tomlOn each peer, pass its machine ID and an explicit private listen address:
mash dash --fleet-config /private/mash-fleet.toml --fleet-node macbook --listen 100.64.0.12:8790Keep every dashboard on a trusted private network, because the browser does not sign in. Keep the inventory and job directory private. Deployment commands belong in the inventory, never in browser requests.
Run fleet operations
Section titled “Run fleet operations”Open fleet manager in the rail on the controller. Choose an operation, select machines, and review the named targets before confirming.
- The controller’s
allow_actionsselects which operations appear. - Deployment also needs configured build, install and preflight commands.
Adding
deployto the allowlist does not provide an installer. - Each target shows one line on what the operation found or why it failed.
- A deploy restarts a running peer dashboard on the release it installed
when that machine lists it as a service with
kind = "dashboard"andallow_control = true(systemd or launchd). It never restarts the controller’s own dashboard or one on Windows. - Jobs continue when you leave the page.
- An unknown outcome means the controller could not confirm completion. Check the affected machines before starting another operation.
- Command output stays in the private controller job directory. Collect watcher logs saves logs there without displaying them in the browser.
Watchers
Section titled “Watchers”Watcher start, or mash-fleet watch start HOST, installs the configured
watcher (mash-index-watch.service on Linux, dev.mash.index-watch on macOS)
and starts mash index --watch through your launcher. Stop disables that
supervisor job.
- Fleet watcher operations need their action in
allow_actions. The watcher’sallow_controlseparately enables its individual service buttons, which use the same definition. - After an upgrade the watcher starts the new binary itself. Deploys do not touch it.
mash statusreports awatcherwhoserunningis false when the job is installed but no watcher runs for that index. Start it again.
Windows machines and shared servers
Section titled “Windows machines and shared servers”A Windows machine uses platform = "windows" and appears through its own
mash dash peer, with the services you list for it under the windows_task or
windows_service managers. The fleet can check it, index and publish its
history, and rebuild its local search. It can also deploy: the machine builds
its own binary from the published code and the fleet swaps it in (see
fleet setup). Its watcher is a scheduled task named
mash-index-watch that starts with the machine. Give the machine a
[machines.watcher] whose launcher is the script or program to run.
A shared server is a service of the machine that runs it, not a machine of its
own. Give its entry under that machine a deployment table and it appears under
services in the picker, named by its id. Machines that publish to it list
that id in requires; select the server along with them when deploying.