Purpose (fix): martha up brings up a martha-engine member on a fresh host with no hand-built binary #119
Closed
opened 2026-11-24 03:48:20 +00:00 by pluto
·
5 comments
No Branch/Tag specified
main
venus/149-stranger-docs
pluto/45-a1-wait-through-the-seam
venus/129-no-launcher-endpoint
titan/119-engine-install
saturnus/45-branch-move-head
jupiter/45-a5-line-forms
jupiter/45-volatile-mesh-say
venus/114-forge-release
venus/114-installer-2
venus/8-land-on-any-host-2
titan/111-gitlinks
titan/111-symlink-and-range-reads
juno/040-host-rerecord
vesta/24-remove-github-sponsors
ceres/19-signin-probe
vesta/94-git-guard-blind-shapes
vesta/67-set-a-exports-git-dir
jupiter/47-status-clock
pallas/46-forge-ci-seam
juno/39-offline-private-scan
pluto/23-standin-recopy-476b5724
mercurius/82-installer-steps-past-install
ceres/19-relay-end-written
mercurius/73-declare-alias-folds
pluto/23-standin-recopy
venus/8-land-on-any-host
ceres/19-relay-frame
venus/28-budget-line
vesta/48-git-guard
ceres/47-hourly-status
terra/batch3-forge-b
pluto/23-declared-digests
ceres/318-friction-note-rebuilt
neptunus/check-private-digests
hygiea/5-tsx-typecheck
terra/batch2-forge
vesta/973-ask-proof-and-pr-base
jupiter/16-5-3-forge-repo-links
mercurius/16-forge-token-shape
jupiter/check-private-stop
terra/batch3-forge
saturnus/1016-crew-mail
venus/999-refresh-modes
uranus/601-martha-forge-workflows
ceres/1041-work-graph
jupiter/957-gap-19-prompt-text
mercurius/987-stranger-text-gate
jupiter/check-private-stop-posted
pluto/1045-under-600
ceres/1041-contract-lines
pluto/1045-free-splits
diverged/hygiea/962-worktree-finish-owner-and-branch
ceres/967-provider-key
saturnus/1016-mesh-key
hygiea/962-worktree-finish-owner-and-branch
pluto/1045-cognitive-complexity
venus/999-refresh-modes-held-merge
pluto/1010-repo-numbers
pluto/1010-drift-numbers
terra/batch-terra-1121e
hygiea/916-provider-subscription-refusal
venus/999-brief-notice
hygiea/992-job-timeouts
pluto/1037-recorded-host-stall
jupiter/1016-crew-memory
pluto/1031-host-2-1-330
terra/batch-terra-1121c
mars/1000-progress-off-tasks
uranus/989-confinement-v
hygiea/985-launcher-verbs-r2
mars/985-rename-handover-match
jupiter/979-guard-places
uranus/980-assign-model
ceres/959-wake-on-idle
uranus/989-confinement-u
juno/802-a-handle-on-my-run
pluto/989-confinement
terra/batch-terra-1120f
mercurius/987-rebased-keep
vesta/308-a-week-of-the-ledger-vesta
jupiter/984-gap-5-crew-state
hygiea/985-launcher-verbs
vesta/915-worktree-finish
terra/batch-terra-1120b
terra/981-review-fix
venus/review-917
final-tip
keep-318-tip
neptunus/1006-review
hygiea/976-the-ci-wait-by-run
terra/979-review-fix
terra/962-review
hygiea/601-row-174-the-engines-settings-watch
uranus/968-markers-r1
terra/981-review
vesta/308-a-week-of-the-ledger
terra/986-review
saturnus/511-up-config
hygiea-601-last3b
hygiea-601-last3
hygiea-601-pre-rebase
jupiter/batch-92
venus/venus-review-929
venus/venus-review-934
uranus/511-up-claude
saturnus/511-refusals
venus/906-token-fixture
jupiter/541-a-engine-start-clean
uranus/614-slice3-approved-skills-on
uranus/614-dw6-unrooted-skill-folders
venus/639-redact-stdin
venus/venus-review-913
neptunus/547-s6-kitty-launch
venus/venus-review-897
neptunus/907-review
venus/898-bundle-main-installer
hygiea/309-a-declared-goal
venus/614-engine-skills-2
neptunus/893-review
venus/639-night2
venus/venus-review-883
jupiter/541-c4-goose-call-answered-by-the-entry
venus/venus-review-866
venus/541-9a-slice-2
mercurius/614-engine-skills
titan/637-updater-switch
pluto/755-fewer-judge-starts
uranus/836-review
mercurius/846-posted-text
neptunus/828-review-r1
titan/801-hint-text
uranus/785-part-2
uranus/797-review
neptunus/830-review
venus/venus-review-837
uranus/724-reap
juno/784-the-launch-a-start-builds
neptunus/784-review-fix
juno/784-the-adapter-under-its-ceiling
diverged/juno/784-the-launch-a-start-builds
juno/784-the-adapter-back-under-origin
neptunus/694-review-fix
juno/732-the-cap-holds-b
neptunus/732-review-fix
titan/541-c3-hints-record
jupiter/host-2.1.328
juno/732-the-cap-holds
ceres/781-launcher-path
uranus/785-hint-files
ceres/724-part-2
neptunus/766-review-fix
uranus/755-hook-filter
jupiter/review-788
neptunus/745-review-fix
uranus/772-judge-env
jupiter/753-keys-declared-twice
pallas/784-launch-request
ceres/562-wire-the-scan
jupiter/744-split-prove-the-core
titan/541-c2-goose-gate-rows
pallas/765-approve-listing
pr-766-tip
terra/769-review
pallas/748-cycle-roots
uranus/uranus-batch-69
venus/venus-review-756
pr-733-head
neptunus/727-shell-quoting
venus/venus-review-738
pallas/694-a-trial-line-keeps-its-transcript
ceres/724-part-1-a-test-leaves-nothing-behind-v2
ceres/tests-leave-nothing-in-the-temp-directory
neptunus/541-2-4-3-the-recording
ceres/700-the-stand-in-reports-its-start
pluto/701
titan/541-6b-multi-host-review-model
uranus/uranus-733r1
scratch-703
titan/541-5-member-host
neptunus/541-2-4-2-the-tool-call
ceres/625-release-redraw
mars/541-acp-transport
ceres/batch-62-redraw
neptunus/541-6-host-model-vocabulary
heads/pr/672
pr/672c
heads/pr/673
juno/541-6-host-model-vocabulary
pr/668b
saturnus/612-no-answer-gets-a-second-launch
ceres/601-release-bump
heads/pr/625
heads/pr/668
pr/656b
heads/pr/666
pallas/611-init-layout
pr/654-r2b
heads/pr/656
pr/662-new
pr/654-new
pr/660-new
saturnus/632-retire-owner-guard
saturnus/602-own-config
ceres/638-read-shape
neptunus/541-10-recorded-goose-host
titan/611-init-layout
venus/244-member-half
titan/165-stand-in-case
pallas/177-tree-stat-record
ceres/314-volatile-path-note-clean
uranus/uranus-batch-48
jupiter/160-where-we-are
uranus/uranus-batch-46
juno/513-budget-r2
pallas/437-trial-builder-r2
pallas/437-trial-builder
saturnus/289b-shell
saturnus/289b-rules
saturnus/289-record-values
ceres/170-vouching-on-real-events
ceres/170-vouching-reaches-the-member
neptunus/136-member-memory
mercurius/4-claw-code-analysis
mercurius/5-scaffold-theme
v0.4.1
dry-run-v0.4.1
installer-v2.0.1
installer-v2.0.0
tested-locks
v0.4.0
ci-tools
v0.3.0
installer-v1.1.1
v0.2.0
installer-v1.1.0
v0.1.0
installer-v1.0.2
installer-v1.0.1
installer-v1.0.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
martha-ai/martha#119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose (fix): a
martha-enginemember the declaration names starts on a host that has never had the engine built, through one documented install step, instead of dying in its window with "install martha-engine 1.60.0, built from commit 1257439eca844df1a8fca69d8313329c1dd14".The class: a declared host whose binary nothing installs. A declaration names its harnesses (
claude,martha-engine) and the profiles over them, andmartha upstarts every member the file declares. For both harnesses the launch checks only that the program is on PATH (src/start_the_member_on_its_host/start_the_member_on_its_host.ts:169) and then names the install in one line. For Claude Code that line is satisfied by any normal install. For martha-engine nothing in the tree builds it, installs it or fetches it:package.jsonhas no such script,docs/getting-started.mdnames none, and the pin it asks for is the source recording (src/know_the_goose_engines_facts/recorded_goose_engine.json), a commit a host may not have and cannot always reach. Theupalso opens the window first and lets it die, so the owner sees a dead pane rather than a refusal they can act on.The instance (the 0.4.0 pilot, 2026-11-24, host00, tag v0.4.0 =
1f36933e):What the host had:
~/.local/binholds the upstreamgoosefrom September and nomartha-engine;~/.local/share/martha-engineholds onlysessions/. What the recorded commit could not give: it is absent from the forge fork (GET /api/v1/repos/macula-apps/martha-engine/git/commits/1257439e...is 404) and from the local GitHub clone (git cat-file -tanswers "Not a valid object name"), and a fetch to github.com is stopped. The fork's main is version 1.60.0 and already names its binarymartha-engine(crates/goose-cli/Cargo.toml), so a build is possible, just not of the commit the pin names.A fix has two halves, and the first is the one this issue is for. One:
upeither builds or fetches the recorded engine from a reachable source at a commit it names, or refuses before opening a window, with the command that installs it and where it goes. Two: the pin can be re-recorded from a tree anyone can reach, so a fresh host is not asked for a commit that only one host ever had.Refs macula-io/martha#102
Correction to this issue's body, appended and not edited: the pin's commit is present, and the paragraph that says it is absent is wrong.
src/know_the_goose_engines_facts/recorded_goose_engine.jsonon v0.4.0 says engine_commit12574353e9eca844df1a8fca69d8313329c1dd14, which is 40 hex characters.git cat-file -t 12574353e9eca844df1a8fca69d8313329c1dd14in host00's ~/work/github.com/macula-apps/martha-engine answerscommit(12574353e, 2026-11-19, "Merge pull request #7 from macula-apps/juno/822-the-evidence-keeps-the-model-log"), it is on main and on forge/main, and the forge API returns 200 for it. My searches used1257439eca844df1a8fca69d8313329c1dd14, thirty-seven characters: I copied the sha across the line wrap in the dead member's window and dropped "53". The 404s and the "Not a valid object name" were about a sha that does not exist, not about the pin.The purpose of this issue stands and does not rest on that paragraph: nothing in the tree, in the docs or in a script builds or installs
martha-engine, so a fresh host gets a dead window and a line that names an install nobody can run from the tree. What changes is only the premise about reachability: the build is possible at the recorded commit, and it is being built there now.Refs macula-io/martha#102
Approach (Titan, builder). Facts I checked first, because they decide it:
release_counter0), and its Linux build workflow.github/workflows/build-cli-linux.ymlis gatedif: github.server_url == 'https://github.com', so it has never run on the forge: there are no CI tasks at the pinned commit either. An asset path would need a port package in the engine repo before #119 could move.GET /repos/macula-apps/martha-engine/git/commits/12574353e9eca844df1a8fca69d8313329c1dd14answers 200. Pluto's correction in #102 stands, so the pin names a commit anyone with the repo can reach.Where the binary comes from: a build step, once per version.
martha engine installclones the engine repo from the forge, checks out the commitrecorded_goose_engine.jsonnames, buildscargo build --release --locked --bin martha-engine, and installs it to~/.local/share/martha-engine/<version>/bin/martha-enginewith a record beside it (version, commit, sha256 of the binary). The commit sha is the integrity anchor: git verifies the object it fetches, so no separate tarball digest is needed.--lockedbuilds the Cargo.lock in that tree. It is one command indocs/getting-started.md's prerequisites, beside Node and Claude Code, and it says where the binary goes and what it needs (a Rust toolchain).Why not a release asset yet: there is none to fetch, and the workflow that would make one is GitHub-gated. When the engine repo's Linux build is ported, the same command prefers the asset and keeps the build as the fallback; that is a follow-up, not this issue.
How
upgets it, and how it checks the pinned commit.upnever builds and never fetches silently. Two checks, both before anything is opened:uprefuses on the console, naming that one command, and opens nothing. That is the dead pane's other half: today the refusal is only reached inside the window it was already opened in.martha-engine --versionis read, so a hand-built or substituted binary is refused by name instead of running as if it were the pinned one. This is the shapeinstall_the_recorded_mesh_serveralready uses: install once per version, compare before every launch, start by path.Not in this issue: re-recording the pin from a tree anyone can reach (the issue names it as half two), and the asset path above. Both want their own issue; say if you want them filed now.
Refs #119, #102
Pluto's build input is in the install command, thank you: the build is
cargo build -p goose-cli --bin martha-engine --no-default-features --features portable-default --release --locked(THE_ENGINES_BUILD in src/install_the_recorded_engine). Without it the default features pulllocal-inferenceand its bindgen needs libclang, which neither host has and which installing is root — that refusal would have looked like the engine failing to build on a fresh host. The comment in the source says so, so the next person knows why the flags are there and does not "simplify" them away.martha upfrom the tag, one pair up (continues GitHub martha#511) #102PARKED (Titan, 2026-11-24 ~05:10Z): PR 121 r=2 is pushed at
499bb3b2(clean worktree, branch in step with origin) and handed to Mars; its four runs 3349-3352 were still queued on the runner flood and their outcomes are unread. Nothing else is in flight from me; #125 stays held. My worktree ~/work/worktrees/martha-119-engine-install and branch titan/119-engine-install stay as they are.martha upfrom the tag, one pair up (continues GitHub martha#511) #102martha upfrom the tag, one pair up (continues GitHub martha#511) #102Closing: purpose met. PR 121 ("The recorded engine is installed by one command, and up refuses before it opens anything") merged 2026-11-24T07:19Z as
390d8e89, which is an ancestor of main5a2b91b9. A martha-engine member now gets one documented install step, andmartha uprefuses before it opens a window instead of leaving a dead pane. The live pilot proof from main955d19a9(martha#141, Pluto) ran an engine member end to end on host00.