Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
musterd
command
Command musterd is the Muster daemon: it owns the tmux sessions, ingests Claude Code hooks and status-line posts, derives session state, and serves the dashboard.
|
Command musterd is the Muster daemon: it owns the tmux sessions, ingests Claude Code hooks and status-line posts, derives session state, and serves the dashboard. |
|
internal
|
|
|
claudecode
Package claudecode is the adapter boundary for everything Claude-Code-specific: hook payloads, the status-line payload, CLI invocation and version pinning.
|
Package claudecode is the adapter boundary for everything Claude-Code-specific: hook payloads, the status-line payload, CLI invocation and version pinning. |
|
claudecode/claudecodetest
Package claudecodetest builds Claude-Code-wire-format request bodies for tests in other packages.
|
Package claudecodetest builds Claude-Code-wire-format request bodies for tests in other packages. |
|
ghissue
Package ghissue is a minimal GitHub Issues client: obtaining a bearer token and filing one issue.
|
Package ghissue is a minimal GitHub Issues client: obtaining a bearer token and filing one issue. |
|
gitutil
Package gitutil shells out to the `git` CLI (docs/conventions.md: "Git/GitHub: never go-git") to answer the small set of questions m1-sessions needs about a launch directory: is it a git checkout, what branch is it on, and is it a linked worktree.
|
Package gitutil shells out to the `git` CLI (docs/conventions.md: "Git/GitHub: never go-git") to answer the small set of questions m1-sessions needs about a launch directory: is it a git checkout, what branch is it on, and is it a linked worktree. |
|
locate
Package locate resolves a dropped file's original on-disk path from its bytes alone (plan file-drop-fix): a browser hands a page a dropped file's name and bytes, never its path, so the daemon locates the original by asking a sequence of Finders for basename+size candidates and verifying each one byte-for-byte before it counts.
|
Package locate resolves a dropped file's original on-disk path from its bytes alone (plan file-drop-fix): a browser hands a page a dropped file's name and bytes, never its path, so the daemon locates the original by asking a sequence of Finders for basename+size candidates and verifying each one byte-for-byte before it counts. |
|
selfupdate
Package selfupdate is to GitHub Releases what internal/claudecode is to Claude Code: the one place that knows the redirect shape of {base}/latest, GoReleaser's asset naming and checksums.txt format, and the minisign signature file format.
|
Package selfupdate is to GitHub Releases what internal/claudecode is to Claude Code: the one place that knows the redirect shape of {base}/latest, GoReleaser's asset naming and checksums.txt format, and the minisign signature file format. |
|
server
Package server wires up musterd's HTTP+WS surface.
|
Package server wires up musterd's HTTP+WS surface. |
|
session
Package session holds the state machine (kb:anchor/state) and the in-memory session registry that feeds it.
|
Package session holds the state machine (kb:anchor/state) and the in-memory session registry that feeds it. |
|
store
Package store owns Muster's SQLite database: opening it in WAL mode, applying migrations, and the hand-written SQL for the kv and event tables.
|
Package store owns Muster's SQLite database: opening it in WAL mode, applying migrations, and the hand-written SQL for the kv and event tables. |
|
termbridge
Package termbridge owns the daemon-side PTY lifecycle for one terminal socket (kb:anchor/terminal.ws): spawning `tmux attach-session` under a `creack/pty`-managed pseudo-terminal, streaming raw bytes both directions, and resizing per FINDINGS §7(d) (pty.Setsize then tmux resize-window, never the pane-level primitive).
|
Package termbridge owns the daemon-side PTY lifecycle for one terminal socket (kb:anchor/terminal.ws): spawning `tmux attach-session` under a `creack/pty`-managed pseudo-terminal, streaming raw bytes both directions, and resizing per FINDINGS §7(d) (pty.Setsize then tmux resize-window, never the pane-level primitive). |
|
tmux
Package tmux wraps the `tmux` CLI operations Muster needs, always against a dedicated socket (CLAUDE.md hard rule: never the user's default server).
|
Package tmux wraps the `tmux` CLI operations Muster needs, always against a dedicated socket (CLAUDE.md hard rule: never the user's default server). |
|
tmux/tmuxtest
Package tmuxtest is the one shared per-test tmux socket helper (plan v1-cleanup REQ-4): internal/tmux, internal/termbridge, internal/server and cmd/musterd's tests all built their own copy of the same os.MkdirTemp + t.Cleanup(kill-server) idiom, so this replaces all of them.
|
Package tmuxtest is the one shared per-test tmux socket helper (plan v1-cleanup REQ-4): internal/tmux, internal/termbridge, internal/server and cmd/musterd's tests all built their own copy of the same os.MkdirTemp + t.Cleanup(kill-server) idiom, so this replaces all of them. |
|
triage
Package triage reduces public GitHub issue bodies to validated, enumerated data before any model holding tools can act on them.
|
Package triage reduces public GitHub issue bodies to validated, enumerated data before any model holding tools can act on them. |
|
usage
Package usage holds the account-level usage aggregator (m3-gauges): a neutral Sample shape plus one in-memory Aggregator, the kb:adr/usage-no-source-interface seam for a second usage source down the line.
|
Package usage holds the account-level usage aggregator (m3-gauges): a neutral Sample shape plus one in-memory Aggregator, the kb:adr/usage-no-source-interface seam for a second usage source down the line. |
|
webui
Package webui embeds the built dashboard (web/vite.config.ts's outDir) into the musterd binary, so a copy of the binary moved away from the checkout still serves its own frontend (plan embed-dashboard REQ-1).
|
Package webui embeds the built dashboard (web/vite.config.ts's outDir) into the musterd binary, so a copy of the binary moved away from the checkout still serves its own frontend (plan embed-dashboard REQ-1). |
|
test
|
|
|
rig/capture
command
Command capture is the interface-probe capture server.
|
Command capture is the interface-probe capture server. |
|
rig/failproxy
command
Command failproxy is a fault-injection stand-in for the Anthropic API, used by interface probes to induce API errors inside a Claude Code turn (point ANTHROPIC_BASE_URL at it — honoured under subscription OAuth, spikes/FINDINGS.md §3).
|
Command failproxy is a fault-injection stand-in for the Anthropic API, used by interface probes to induce API errors inside a Claude Code turn (point ANTHROPIC_BASE_URL at it — honoured under subscription OAuth, spikes/FINDINGS.md §3). |
|
tools
|
|
|
kb
command
Command kb indexes and gates the docs/ knowledge base: the record frontmatters in the eight record directories (rules, adr, diagrams, facts, lessons, runbooks, references, and the per-feature spec.md), the kb:anchor comments in docs/protocol.md, and every generated file rendered from them.
|
Command kb indexes and gates the docs/ knowledge base: the record frontmatters in the eight record directories (rules, adr, diagrams, facts, lessons, runbooks, references, and the per-feature spec.md), the kb:anchor comments in docs/protocol.md, and every generated file rendered from them. |
|
triage
command
Command triage is the program half of /triage.
|
Command triage is the program half of /triage. |
|
versions
command
Command versions keeps internal/claudecode/observed_versions.txt and the generated fragments in README.md and docs/claude-code-versions.md in sync (docs/claude-code-versions.md "The green ritual").
|
Command versions keeps internal/claudecode/observed_versions.txt and the generated fragments in README.md and docs/claude-code-versions.md in sync (docs/claude-code-versions.md "The green ritual"). |
Click to show internal directories.
Click to hide internal directories.
