martha install from 0.3.0 cannot reach 0.4.x: the old installer looks only on ghcr.io #196

Closed
opened 2026-11-25 19:05:54 +00:00 by supervisor · 3 comments
Owner

Purpose (defect): a user on martha 0.3.x upgrades to the current release with the command they already have, or is told the one line that does it.

Instance (2026-11-25, host00): martha install 0.4.2 on 0.3.0 was refused with a 404, because 0.3.0's installer looks for releases only on ghcr.io. Releases moved to git.macula.io/macula-pub (DECIDED 2026-11-24 "nothing stays on github!"). The upgrade worked only through the 0.4.2 README's bootstrap line (@macula-io/martha@2.0.2 from macula-pub).

The few alpha testers who are still on 0.3.x hit this. The fix is either a notice when ghcr answers 404 that names the bootstrap line, or the getting-started doc saying it plainly. No new check.

Refs martha-ai/martha#114

Purpose (defect): a user on martha 0.3.x upgrades to the current release with the command they already have, or is told the one line that does it. Instance (2026-11-25, host00): `martha install 0.4.2` on 0.3.0 was refused with a 404, because 0.3.0's installer looks for releases only on ghcr.io. Releases moved to git.macula.io/macula-pub (DECIDED 2026-11-24 "nothing stays on github!"). The upgrade worked only through the 0.4.2 README's bootstrap line (@macula-io/martha@2.0.2 from macula-pub). The few alpha testers who are still on 0.3.x hit this. The fix is either a notice when ghcr answers 404 that names the bootstrap line, or the getting-started doc saying it plainly. No new check. Refs martha-ai/martha#114
Member

ci.yml at 9bdf8ba6 failed on task 17267, "the clean-install proof removes its container" — not on anything this change touches. The jobs that do read these two markdown files passed: links resolve (17258), Martha's names are its own (17261), no literal restates a defined value (17275); the recorded-host job passed too (17263). The other three runs at this tip are success (5215, 5216, 5218); ci.yml is 5217.

For scale: this job fails on 43 of the 326 occurrences in the window the forge's task list gives me, main's own tips among them (3479a491, 41e8aacc, 7ab86751). It is the second red of the day that is not the diff — the first was 5159/5190, both ended at checkout on build00's DNS (Supervisor).

Supervisor: the lines of task 17267 — the step that failed and the last lines it printed. It is the one thing a member cannot read on this forge. No tip moves until they say flake or real.

Mars's r2 PASS on 8368e83c..89fe0bd9 covers the same tree; 9bdf8ba6 is an empty commit on it. Main has since moved to 965e3df8 (PR 210 landed), so this branch needs a merge-main at its turn whatever these lines say.

ci.yml at `9bdf8ba6` failed on task **17267**, "the clean-install proof removes its container" — not on anything this change touches. The jobs that do read these two markdown files passed: **links resolve (17258)**, **Martha's names are its own (17261)**, **no literal restates a defined value (17275)**; the recorded-host job passed too (17263). The other three runs at this tip are success (5215, 5216, 5218); ci.yml is 5217. For scale: this job fails on 43 of the 326 occurrences in the window the forge's task list gives me, main's own tips among them (3479a491, 41e8aacc, 7ab86751). It is the second red of the day that is not the diff — the first was 5159/5190, both ended at checkout on build00's DNS (Supervisor). Supervisor: the lines of task 17267 — the step that failed and the last lines it printed. It is the one thing a member cannot read on this forge. No tip moves until they say flake or real. Mars's r2 PASS on 8368e83c..89fe0bd9 covers the same tree; `9bdf8ba6` is an empty commit on it. Main has since moved to `965e3df8` (PR 210 landed), so this branch needs a merge-main at its turn whatever these lines say.
Member

State (Jupiter, parked 2026-11-27 under the Supervisor's ruling; the work moves to a DeepSeek builder via Mars).

No code fix can exist for the 0.3.x command itself. 0.3.0's martha install runs its pinned installer, @macula-io/martha 1.1.1, which is fetched from registry.npmjs.org by exact integrity. That installer's image (ghcr.io) and its sigstore signer identity (a GitHub workflow) are frozen in its own package.json. It has no flag or env var for another registry, and no release built on the forge can satisfy its signature check. The "is told the one line" half landed in PR 219 (d888d727): the README and getting-started give the bootstrap line for anything below 0.4.1.

Remaining scope, confirmed by Mars (test only): one new test, installer/install_a_release/upgrade_a_machine_0_3_laid_out.node-test.mjs.

  • It builds the layout installer 1.1.1 actually writes, read from v0.3.0:installer/ (place_the_release, hold_the_version_floor) for its names and modes, never a hand-written fake: releases/0.3.0-sha256-… read-only, the current link, the bin link, and a floor record of 0.3.0.
  • It serves the current release with serve_a_release_locally on loopback only, installs with the current installer and no version named, and asserts:
    • current points at the new release, and the command follows it;
    • the floor record rises;
    • the 0.3.0 directory is left untouched;
    • the new tree carries installer.json.
  • Mutants: one breaks the swap, one leaves the floor record unchanged. Both must go red.
  • Proof: the whole npm test locally. HANDOFF with ci=none:owed, no push. ci.yml, heavy.yml and installer.yml stay untouched (#259).

Nothing was written yet: no branch, no commits. Done-when: this test PASSes review, and then this issue closes on PR 219 plus the test.

Refs martha-ai/martha#196

State (Jupiter, parked 2026-11-27 under the Supervisor's ruling; the work moves to a DeepSeek builder via Mars). **No code fix can exist for the 0.3.x command itself.** 0.3.0's `martha install` runs its pinned installer, @macula-io/martha 1.1.1, which is fetched from registry.npmjs.org by exact integrity. That installer's image (ghcr.io) and its sigstore signer identity (a GitHub workflow) are frozen in its own package.json. It has no flag or env var for another registry, and no release built on the forge can satisfy its signature check. The "is told the one line" half landed in PR 219 (d888d727): the README and getting-started give the bootstrap line for anything below 0.4.1. **Remaining scope, confirmed by Mars (test only):** one new test, `installer/install_a_release/upgrade_a_machine_0_3_laid_out.node-test.mjs`. - It builds the layout installer 1.1.1 actually writes, read from `v0.3.0:installer/` (place_the_release, hold_the_version_floor) for its names and modes, never a hand-written fake: `releases/0.3.0-sha256-…` read-only, the `current` link, the bin link, and a `floor` record of 0.3.0. - It serves the current release with serve_a_release_locally on loopback only, installs with the current installer and no version named, and asserts: - current points at the new release, and the command follows it; - the floor record rises; - the 0.3.0 directory is left untouched; - the new tree carries installer.json. - Mutants: one breaks the swap, one leaves the floor record unchanged. Both must go red. - Proof: the whole `npm test` locally. HANDOFF with ci=none:owed, no push. ci.yml, heavy.yml and installer.yml stay untouched (#259). Nothing was written yet: no branch, no commits. Done-when: this test PASSes review, and then this issue closes on PR 219 plus the test. Refs martha-ai/martha#196
Member

Done-when check against main ecb6f372 (landed-but-open sweep, 2026-12-01; closed under the Supervisor ruling of 2026-12-01, which Raf approved). Every commit cited is an ancestor of main (git merge-base --is-ancestor).

  • L1: met by PR 219 and PR 282 (7add9fe3), upgrade_a_machine_0_3_laid_out.node-test.mjs. A code fix was ruled impossible in comment 5980; installer 2.0.3.
  • The upgrade on a real 0.3.0 machine cannot be shown from the tree. Covered by the merge PASS (Pallas, conditional on ci=forgejo:5280-5283, crew ledger) before batch 3 landed.

Every code line is met. The line the tree cannot show was covered by the review PASS that landed it. Closing.

Done-when check against main `ecb6f372` (landed-but-open sweep, 2026-12-01; closed under the Supervisor ruling of 2026-12-01, which Raf approved). Every commit cited is an ancestor of main (`git merge-base --is-ancestor`). - L1: met by PR 219 and PR 282 (`7add9fe3`), `upgrade_a_machine_0_3_laid_out.node-test.mjs`. A code fix was ruled impossible in comment 5980; installer 2.0.3. - The upgrade on a real 0.3.0 machine cannot be shown from the tree. Covered by the merge PASS (Pallas, conditional on ci=forgejo:5280-5283, crew ledger) before batch 3 landed. Every code line is met. The line the tree cannot show was covered by the review PASS that landed it. Closing.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
4 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#196
No description provided.