No description
  • TypeScript 94%
  • JavaScript 3%
  • Shell 3%
Find a file
beamologist d4a554a4cc
Some checks are pending
CI / gate coverage (push) Has started running
dependency advisories / node in installer (push) Successful in 14s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (push) Successful in 14s
dependency advisories / node in . (push) Successful in 14s
dependency advisories / node in . (container) (push) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (push) Has been skipped
dependency advisories / node in installer (container) (push) Has been skipped
dependency advisories / advisories (push) Successful in 0s
CI / links resolve (push) Successful in 8s
c4 model / c4-model-1 (push) Successful in 9s
c4 model / c4-model (push) Successful in 0s
CI / structural floor (push) Successful in 32s
CI / the relay loads in the recorded host (push) Has started running
CI / no import cycle (push) Successful in 29s
CI / Martha's names are its own (push) Successful in 31s
CI / the engine drift check bites (push) Successful in 44s
CI / the posted text check bites (push) Successful in 13s
CI / the clean-install proof removes its container (push) Has started running
CI / the host drift check bites (push) Successful in 1m8s
CI / workflows are valid (push) Successful in 13s
CI / the ring reaches the owner on the live run's tmux (push) Successful in 14s
CI / installer (push) Successful in 2m10s
CI / nothing private (push) Successful in 16s
CI / no test the base passed goes missing (push) Successful in 33s
CI / the pictures change only with the version (push) Successful in 17s
CI / no literal restates a defined value (push) Successful in 58s
CI / every check runs in a job (push) Successful in 16s
CI / every job has a timeout (push) Successful in 15s
engine drift / the recording says what the engine says (push) Successful in 27s
host drift / the recording is of the host members run (push) Successful in 1m52s
standalone / standalone Martha runs alone (ubuntu-latest) (push) Successful in 32s
standalone / the pinned Node is nodejs.org's (push) Successful in 17s
Merge PR 152: The source is public on the forge: the clone line and sourceRepository name martha-ai/martha (#149)
2026-11-25 00:36:00 +01:00
.github Engine drift: the fork's own path after the move, not the redirect (#149) 2026-11-24 20:39:59 +01:00
architecture martha#119 r=3: a direct start runs only the recorded engine; lint, types and the engine's tests green 2026-11-24 06:56:10 +01:00
assets martha 0.4.1: the version, and the C4 picture it draws (macula-io/martha#114) 2026-11-24 11:34:25 +01:00
bin The command's answers move to the slice that says what the owner is shown (martha#371) 2026-11-18 01:49:50 +01:00
carry_marthas_own_node A standalone Martha ships for linux-x64 alone (owner's decision 2026-11-19 "Drop arm64 (Recommended)") 2026-11-19 13:10:13 +01:00
docs Docs a stranger can follow: macula.io links, versions from the installed release, a pair's declaration (#149) 2026-11-24 19:52:19 +01:00
fetch_the_direnvs martha#443 part 1: point every import and path at the slice that now holds the code 2026-11-14 23:12:49 +01:00
fetch_the_kitty kitty at Martha's floor in the gate job, held to the owner's digest, so K1 and K2 run in CI (#547 S6 r=1 R2) 2026-11-19 22:41:18 +01:00
install_from_the_ubuntu_archive fix(#271): a stale index is apt's refusal, not the runner's resolver 2026-11-11 16:55:41 +01:00
installer The source is public on the forge: the clone line and sourceRepository name martha-ai/martha (#149) 2026-11-25 00:09:57 +01:00
pack_a_release A Martha release is a pushed tag the forge builds: release.yml and installer.yml on git.macula.io (#114) 2026-11-24 10:02:46 +01:00
prove_a_clean_install_in_a_throwaway_container martha install fetches the installer from the registry the release names, and a pin is one sha512 (#114 r=2) 2026-11-24 10:16:02 +01:00
prove_the_core A Martha release is a pushed tag the forge builds: release.yml and installer.yml on git.macula.io (#114) 2026-11-24 10:02:46 +01:00
prove_the_recorded_engine_is_current Engine drift: the fork's own path after the move, not the redirect (#149) 2026-11-24 20:39:59 +01:00
prove_the_recorded_host_is_current Host drift passes a release whose facts are the recorded ones on its version alone, with a notice (#811) 2026-11-19 10:07:09 +01:00
prove_the_relay_loads Merge origin/main 3f33bf21 into saturnus/1016-mesh-key: main's martha week test and box line kept beside the roster's 2026-11-21 00:56:47 +01:00
src Merge remote-tracking branch 'origin/main' into terra/own-slug-after-move 2026-11-24 21:34:44 +01:00
trial_the_goose_host Every notice a cut refusal became is said, and the tests follow it (martha#601) 2026-11-20 09:19:39 +01:00
watch_a_live_launch Bare martha start needs a terminal, its no-desktop test reaches the opener, and watch:kitty types no kitty value (#547 S6 r=1 R1, R3, R4) 2026-11-19 21:42:36 +01:00
.gitattributes A Martha release is a pushed tag the forge builds: release.yml and installer.yml on git.macula.io (#114) 2026-11-24 10:02:46 +01:00
.gitignore feat(#154): a member cannot write the owner's user-scope text 2026-11-09 22:39:57 +01:00
CODE_OF_CONDUCT.md docs: scaffold and theme the repo (#5) (#6) 2026-11-02 23:54:17 +01:00
CONTRIBUTING.md a wedged test file is ended by a clock its own timers cannot starve (martha#57) 2026-11-23 05:32:32 +01:00
eslint.config.mjs Hold every source file to one line cap in eslint, 1105, the largest source file today 2026-11-19 09:28:19 +01:00
floor.txt Red tests: the signed version floor (martha#21, R9 of #84) 2026-11-14 02:21:12 +01:00
LICENSE Initial commit 2026-11-02 22:23:15 +01:00
package-lock.json martha 0.4.1: the version, and the C4 picture it draws (macula-io/martha#114) 2026-11-24 11:34:25 +01:00
package.json martha 0.4.1: the version, and the C4 picture it draws (macula-io/martha#114) 2026-11-24 11:34:25 +01:00
README.md The source is public on the forge: the clone line and sourceRepository name martha-ai/martha (#149) 2026-11-25 00:09:57 +01:00
SECURITY.md docs: scaffold and theme the repo (#5) (#6) 2026-11-02 23:54:17 +01:00
tsconfig.json typecheck: the relay's .tsx hooks are read, so a dropped name is caught 2026-11-22 05:41:32 +01:00

Martha

License Buy Me a Coffee

Macula Martha

A crew of coding agents that builds software the way a good team does


Goal: one developer, or a whole team, runs a crew of coding agents that plans, builds, reviews and releases software, with one method and one tool.

Status: early 0.x. What follows is what Martha is and how it works; the design is still open (martha#1). The docs, for the latest release, are at macula.io/martha. How the existing crew conductor moves in, slice by slice, is in the port map, and which of its steps are built, in flight or planned is in where we are. What Martha talks to and what it is made of is drawn in the architecture.

What is Martha?

Martha gives each coding agent a job on a crew: one builds, another reviews, and a conductor hands work from one to the next. Every hand-off, verdict and release is written down, so you can always see who did what and why.

The crew works with one method: event storming to find the business, vertical slices (one directory per capability), and event sourcing. Names say what the code does.

Two modes, one tool

Solo Team
Who one developer on one machine several people, several machines
Needs nothing else: no mesh, no account the Macula mesh
Who may approve a push or a release you the people the team names

The mode is a table of who may do what, not a different program. Solo is a table with one person allowed to do everything; team is a table with roles. Start solo and move to team without changing tools.

What it is, and what it is not

It is

  • fully open source;
  • a core that no coding tool owns; its one host adapter is for Claude Code;
  • usable alone, with the mesh only when a team wants it.

It is not

  • a hosted service, or anything that needs an account;
  • a replacement for your own review: every push and every release still waits for a person's yes.

What keeps a member from acting as you

A member runs as your own OS user. Martha refuses your own acts (martha approve, release, bells, pin-key, keep-shapes, start) when they are typed from inside a member, and refuses a member's file tools in Martha's own state. These are speed bumps, not a wall: a member that sets out to could still fake your yes, by making a terminal of its own outside its process tree or by writing Martha's state files directly. Martha draws no OS wall between a member and you; your review and your yes on every push and release are the line.

A member keeps its shell

A member is a trusted helper. By default it keeps its shell after it reads a file, a tool result or a background agent's answer; what checks it is your review plus your yes on every push and release.

If you want the strict rule instead — text Martha cannot trace stops every later shell command in that session until the session is replaced — turn it on in the crew's declaration, .martha/martha.json, with "house_rules": { "strict_gate": true }. Reading stays allowed under it, and the launch gate, the refused writes to your memory and the rule against a member widening its own reach stand either way. Getting started walks through it.

Install

Martha runs on Node, from the version its engines field sets, and starts one coding tool, whose version the Claude Code adapter records. Its second host, the engine built on Goose, is recorded the same way, at the commit its recorder read. The installer refuses a Node older than engines and names the version it needs. Once Martha is installed, these three commands print all of them from the installed release (from a checkout, the same files sit under its top):

cd ~/.local/share/martha/current/martha
node -p "require('./package.json').engines.node"
node -p "require('./src/claude_code_host/recorded_claude_code_host.json').host_version"
node -p "require('./src/know_the_goose_engines_facts/recorded_goose_engine.json').engine_version"

Those files are where the versions are set: upgrade Node to the one the first names, and sign in to the coding tool the second names (claude --version is what you have). The third is the engine's pin, read from the engine's own source and re-taken only by its recorder, so no version is written on this page.

Install one of two ways: from the published package, when you want to run Martha, or from a checkout, when you are working on Martha itself.

From the published package

With Node alone:

npx -y --ignore-scripts --registry https://git.macula.io/api/packages/macula-pub/npm/ @macula-io/martha@<exact version>

Name the installer's exact version: npm never lets a published version be replaced, so that line is what you trust. The registry names the current one:

npm view --registry https://git.macula.io/api/packages/macula-pub/npm/ @macula-io/martha version

What the installer checks before it writes anything is in the installer's README.

On Windows: inside WSL2 (Ubuntu)

Martha runs on Linux x86_64. On an x86_64 Windows PC, run it inside WSL2 with Ubuntu. Every step after the first is typed in the Ubuntu shell, not in PowerShell or cmd.

  1. In PowerShell, as administrator, install Ubuntu under WSL2. Restart if Windows asks, then open Ubuntu from the Start menu and create your Linux user:

    wsl --install -d Ubuntu
    
  2. In the Ubuntu shell, install Node from nodejs.org's Linux x64 build, at the version Martha's engines field names (above). Ubuntu's own nodejs package is older than that.

    NODE_VERSION=<the version engines names>
    curl -fsSLO "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz"
    mkdir -p ~/.local/node
    tar -xzf "node-v${NODE_VERSION}-linux-x64.tar.gz" -C ~/.local/node --strip-components=1
    echo 'export PATH="$HOME/.local/node/bin:$HOME/.local/bin:$PATH"' >> ~/.bashrc
    export PATH="$HOME/.local/node/bin:$HOME/.local/bin:$PATH"
    
  3. Still in the Ubuntu shell, install Martha with the same line as above, and check it:

    npx -y --ignore-scripts --registry https://git.macula.io/api/packages/macula-pub/npm/ @macula-io/martha@<exact version>
    martha --version
    
  4. Install Claude Code inside Ubuntu as well, at the version the recording names (above), and sign in there. Martha starts the claude it finds on Ubuntu's PATH, never a Windows one.

    npm install -g @anthropic-ai/claude-code@<the recorded version>
    claude --version
    

Keep your projects in Ubuntu's own file system (under ~), not on a Windows drive under /mnt/c. Martha is only tested on a Linux file system.

From a checkout

git clone https://git.macula.io/martha-ai/martha.git
cd martha
mkdir -p ~/.local/bin
ln -s "$PWD/bin/martha" ~/.local/bin/martha
martha --version

martha --version prints the release's version. If your shell cannot find martha, put ~/.local/bin on your PATH.

Upgrading an installed Martha

Once Martha is installed, upgrade it with its own command, never with the bootstrap line above:

martha install [<version>] [--downgrade] [--digest sha256:<hex>]

martha install runs the installer the release you are running pins, and no other. Each release carries a pin — installer.json, three fields: the installer's name, its version, and the npm integrity of the bytes npm serves for it, a sha512. The release job reads it from the registry the installer is published to, and refuses to build a release unless this tree's installer/ is what its own installer-v tag published. So taking over the publishing account cannot put a new installer in front of you: the release you run names those bytes by hash.

What it does, in order: reads the pin from the running release (missing or malformed is a refusal, before anything is fetched); fetches exactly that version into a temporary directory with the npm that ships beside your node, empty user and global config, the registry the release names given explicitly, its own cache and --ignore-scripts; refuses bytes that do not match the pin and never retries them; runs the installer with your arguments unchanged; and removes the temporary directory whatever happens.

It needs no terminal: a member with a shell can already type the bootstrap line, so the pin is what bounds an install, not who typed it.

What a refusal means:

What you see What it means
... carries no readable installer pin ... this release predates the pin; upgrade once with the bootstrap line above
... the installer pin in this release carries no <field> ... the release's pin is damaged: do not run it, install a good release
... pins <name>, and Martha's installer is <name>. the pin names a package this release does not accept: do not run it
... npm does not serve <name>@<version>, which this release pins ... that installer version is gone from npm, or never published; nothing was installed
... npm served bytes for <name>@<version> that are not the ones this release pins ... npm is serving other bytes than the release vouched for; nothing was installed
... the npm of this node is not at <path> ... your Node came without npm; use the bootstrap line, or a Node that carries npm

Changing installer/ needs an npm publish before the next Martha release. The release pins the installer version this tree carries, and refuses to build when installer/ is not what that version's installer-v tag published — a fix merged there without a version bump and a publish stops the release, in words, instead of quietly never reaching anyone.

Then follow getting started: a crew of two on your own project.

Why "Martha"?

Martha was Paul McCartney's Old English sheepdog, the one in "Martha My Dear". A sheepdog keeps a flock together and moving the same way without doing the grazing itself. That is the job.

Contributing

See CONTRIBUTING.md and our Code of Conduct. To report a vulnerability, see SECURITY.md.

License

Apache-2.0. See LICENSE.