The recorded engine is installed by one command, and up refuses before it opens anything #121
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "titan/119-engine-install"
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.What is here:
src/install_the_recorded_engine:martha engine installtakes the engine repository's tree at the commitrecorded_goose_engine.jsonnames, builds it once with the Cargo.lock it carries, installs the binary at~/.local/bin/martha-engine, and writes~/.local/share/martha-engine/installed.json(version, commit, sha256 of the binary). The commit is the integrity anchor — git verifies the object it fetches — so no separate archive digest is kept.MARTHA_ENGINE_SOURCE: a git URL, or a local checkout that holds the commit. The repository is private, so this tree does not name it (the private gate refused a first version that did, and it was right).cargo build -p goose-cli --bin martha-engine --no-default-features --features portable-default --release --locked. The default features pulllocal-inference, whose bindgen needs libclang, which neither host has and cannot install without root (Pluto's build, #102 c3307 thread).martha uprefuses before it opens anything when an engine member would start and the host's engine is missing, installed from another commit, or a binary whose bytes changed since its install: one line on the owner's terminal namingmartha engine install. That is the dead-pane half of the issue, and it also ends Pluto's wrapped-sha nuisance, since the line is printed unwrapped on a terminal.docs/getting-started.md: the third prerequisite, with the one command.Proof:
install_the_recorded_engine.node-test.ts4/4; the whole dispatcher file 78/78 in the worktree;check:privateon the range says nothing private. The structural checks that needtypescript(check:no-literal-restates-a-value,check:every-link-resolves) cannot run in this clone — no node_modules — so CI is their first run.Not here, and named in my approach comment: the issue's half two (re-record the pin from a tree anyone can reach) and a release-asset path, which needs the engine repository to publish one first.
Refs #119, #102
martha upfrom the tag, one pair up (continues GitHub martha#511) #102