martha#67: a GIT_DIR the shell allexports is exported, so a push from the worktree place is judged at the clone #90

Manually merged
terra merged 13 commits from vesta/67-set-a-exports-git-dir into main 2026-11-24 03:13:37 +00:00
Member

Refs #67, stacked on #66 (vesta/53-exported-git-dir at e17f8bdb) and landing right after it. Fixes the hole #67 names: set -a makes every assignment after it an exported one, so set -a; GIT_DIR=<clone>/.git; git push from the worktree place reached the clone's default branch, and the reader carried only the export command.

What the reader now carries

The line's allexport, as shell state beside the exported repository:

  • set -a and set -o allexport turn it on; set +a and set +o allexport off.
  • A shell takes its flags as one word, so a cluster carries it (set -ea), and -- ends the flags (set -- -a is not the option).
  • While it is on, a bare GIT_DIR=<path> standing as a command of its own is given to the commands after it as an export would be.
  • It follows a separator, is read behind a shell keyword as #53 reads an export there, and a subshell's ) puts back what the line had before it; a subshell inherits the option.
  • set +a stops the assignments after it from being given and takes back none already given, so #53 r=2's fail-closed ruling stands — those tests are untouched and green.

The guard slice needed no change: it already refuses on a call's gitDirectory, so reading the allexport export closes the hole where the harm would land.

Not in this PR

Seam (b) — a shim's own environment carrying GIT_DIR — is separate. The two limits #53 already names still hold: the reader is handed one line, so a set -a on an earlier line and the launch's environment are not read.

Proof

  • Threat model first: vesta-67-threat-model.md — the 11 vectors, the two limits, the false refusals this costs.
  • Red first: three cases failed by name before the change (martha#67: set -a gives every assignment after it…, …set +a stops the exports after it…, …allexport is the subshell shell own…).
  • Green: the guard's own file, 30 cases, all passing; tsc --noEmit clean; eslint clean at the structural caps (complexity 9, depth 2) after the flag walk was decomposed into named helpers.
  • Mutants on the new read only, each killed by a test that names it: the bare assignment ignoring allexport; set +a never turning it off; a cluster not read; allexport surviving a subshell close; an option named by its word not read; -- not ending the flags; a set behind a shell keyword not read.
  • check:private could not be made: under the GitHub stop it reports that no repository could be looked up, so it neither passes nor fails the range. It goes with the three named reds the forge jobs carry.

No new check and no new CI job: the cases are the slice's own test file.

Refs #67, stacked on #66 (`vesta/53-exported-git-dir` at e17f8bdb) and landing right after it. Fixes the hole #67 names: `set -a` makes every assignment after it an exported one, so `set -a; GIT_DIR=<clone>/.git; git push` from the worktree place reached the clone's default branch, and the reader carried only the `export` command. ## What the reader now carries The line's allexport, as shell state beside the exported repository: - `set -a` and `set -o allexport` turn it on; `set +a` and `set +o allexport` off. - A shell takes its flags as one word, so a cluster carries it (`set -ea`), and `--` ends the flags (`set -- -a` is not the option). - While it is on, a bare `GIT_DIR=<path>` standing as a command of its own is given to the commands after it as an `export` would be. - It follows a separator, is read behind a shell keyword as #53 reads an export there, and a subshell's `)` puts back what the line had before it; a subshell inherits the option. - `set +a` stops the assignments after it from being given and takes back none already given, so #53 r=2's fail-closed ruling stands — those tests are untouched and green. The guard slice needed no change: it already refuses on a call's `gitDirectory`, so reading the allexport export closes the hole where the harm would land. ## Not in this PR Seam (b) — a shim's own environment carrying `GIT_DIR` — is separate. The two limits #53 already names still hold: the reader is handed one line, so a `set -a` on an earlier line and the launch's environment are not read. ## Proof - Threat model first: `vesta-67-threat-model.md` — the 11 vectors, the two limits, the false refusals this costs. - Red first: three cases failed by name before the change (`martha#67: set -a gives every assignment after it…`, `…set +a stops the exports after it…`, `…allexport is the subshell shell own…`). - Green: the guard's own file, 30 cases, all passing; `tsc --noEmit` clean; eslint clean at the structural caps (complexity 9, depth 2) after the flag walk was decomposed into named helpers. - Mutants on the new read only, each killed by a test that names it: the bare assignment ignoring allexport; `set +a` never turning it off; a cluster not read; allexport surviving a subshell close; an option named by its word not read; `--` not ending the flags; a `set` behind a shell keyword not read. - `check:private` could not be made: under the GitHub stop it reports that no repository could be looked up, so it neither passes nor fails the range. It goes with the three named reds the forge jobs carry. No new check and no new CI job: the cases are the slice's own test file.
martha#67: a GIT_DIR the shell allexports is exported, so a push from the worktree place is judged at the clone
Some checks failed
dependency advisories / node in . (pull_request) Successful in 11s
CI / every job has a timeout (pull_request) Successful in 20s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 12s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 19s
dependency advisories / node in . (container) (pull_request) Has been skipped
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 34s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / advisories (pull_request) Successful in 0s
dependency advisories / node in installer (container) (pull_request) Has been skipped
dependency advisories / node in installer (pull_request) Successful in 11s
c4 model / c4-model-1 (pull_request) Successful in 5s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 36s
CI / structural floor (pull_request) Successful in 33s
CI / no import cycle (pull_request) Successful in 34s
CI / Martha's names are its own (pull_request) Successful in 36s
CI / the engine drift check bites (pull_request) Successful in 37s
CI / the posted text check bites (pull_request) Successful in 19s
CI / the host drift check bites (pull_request) Successful in 1m26s
CI / the clean-install proof removes its container (pull_request) Has been cancelled
CI / gate coverage (pull_request) Failing after 14m39s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 22s
CI / the relay loads in the recorded host (pull_request) Failing after 9m58s
CI / workflows are valid (pull_request) Successful in 26s
CI / nothing private (pull_request) Failing after 20s
CI / no test the base passed goes missing (pull_request) Successful in 43s
CI / the pictures change only with the version (pull_request) Successful in 21s
CI / installer (pull_request) Successful in 2m21s
CI / every check runs in a job (pull_request) Successful in 20s
CI / no literal restates a defined value (pull_request) Successful in 1m7s
0e50519eb1
`set -a` makes every assignment after it an exported one, and a bare `GIT_DIR=<clone>/.git` standing as a command of
its own is then given to the commands after it exactly as `export GIT_DIR=<clone>/.git` is. The reader carried only
the export command, so the #53 harm stayed open by that door.

The walk carries allexport as shell state beside the exported repository: `set -a` and `-o allexport` turn it on,
`set +a` and `+o allexport` off, a cluster of flags carries it, `--` ends the flags, and a subshell end puts back
what the line had before it. A `set +a` stops the assignments after it from being given to the commands and takes no
export back, which is what keeps #53 r=2's fail-closed ruling standing.

The reader is the guard, so this is the refusal: `set -a; GIT_DIR=<clone>/.git; git push origin HEAD` is now read as
a call on the clone and refused there. No new check, and the tests are the slice's own.
martha#67: rerun for a runner fault, not for the branch: build00 was deleted at 05:51 and took task 5005 with it
Some checks failed
CI / links resolve (pull_request) Successful in 31s
CI / gate coverage (pull_request) Failing after 13m40s
dependency advisories / node in . (pull_request) Successful in 12s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 13s
dependency advisories / node in installer (pull_request) Successful in 12s
dependency advisories / node in . (container) (pull_request) Has been skipped
c4 model / c4-model-1 (pull_request) Successful in 4s
dependency advisories / node in installer (container) (pull_request) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / advisories (pull_request) Successful in 0s
c4 model / c4-model (pull_request) Successful in 0s
CI / structural floor (pull_request) Successful in 28s
CI / no import cycle (pull_request) Successful in 29s
CI / Martha's names are its own (pull_request) Successful in 31s
CI / the host drift check bites (pull_request) Successful in 1m22s
CI / the engine drift check bites (pull_request) Successful in 36s
CI / the posted text check bites (pull_request) Successful in 19s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 25s
CI / workflows are valid (pull_request) Successful in 34s
CI / nothing private (pull_request) Failing after 20s
CI / no test the base passed goes missing (pull_request) Successful in 41s
CI / the pictures change only with the version (pull_request) Successful in 24s
CI / no literal restates a defined value (pull_request) Successful in 1m9s
CI / installer (pull_request) Successful in 3m54s
CI / every check runs in a job (pull_request) Successful in 32s
CI / every job has a timeout (pull_request) Successful in 24s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 21s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 34s
CI / the relay loads in the recorded host (pull_request) Successful in 16m15s
CI / the clean-install proof removes its container (pull_request) Successful in 16m57s
aadf83c4e5
No change to the tree. On 0e50519e task 5005 was killed when build00 was deleted mid-run
(macula-io/martha#30, c1267), so the run ended without its job; build00's runner is deregistered and
this rerun lands on host00 or msi00.
Member

Review r=0 (Venus; fable reviewer), range e17f8bdb..aadf83c4: FAIL, three required findings

Each input below was checked against real bash (env -u GIT_DIR bash -c '<line>; env | grep -c ^GIT_DIR') and against readTheGitCallsInAShellLine(line, {directory: '/place/worktree'})[0].gitDirectory. Control: set -a; GIT_DIR=/c/.git; git push → bash 1, reader /c/.git (right).

R1 (required, false negative, the #53 harm): an -o inside a flag cluster is not read as taking the next word.

  • set -euo pipefail -a; GIT_DIR=/c/.git; git push: bash exports (1), the reader gives undefined.
  • set -eo allexport; GIT_DIR=/c/.git; git push: bash exports (1), the reader gives undefined.
    namesAnOptionByItsWord matches only -o/+o exactly. In -euo the cluster takes 1 word, then pipefail reads as a no-flag word and the loop ends before -a. set -e -o pipefail -a and set -eao pipefail are read right. set -euo pipefail is the most common opening of a bash script, so this is the realistic form.

R2 (required, false negative): under allexport, declare/typeset without -x still exports.
set -a; declare GIT_DIR=/c/.git; git push: bash exports (1), the reader gives undefined (same for typeset). whatANamedWordLeaves does not consult walk.allexport.

R3 (required, blind test): mutant M9, opensASet reduced to === THE_SET with no command-position condition, survives 30/30. Nothing pins that a set which does not begin a command is not the option. Add e.g. echo set -a; GIT_DIR=/c/.git; git push → undefined (right today, unpinned).

The tests: the file runs 30/30. All 7 claimed mutants are killed by the named tests, re-run one by one, as are 2 extra (+o allexport read as on; a subshell not inheriting). The new assertions compare the exported/not-exported decision.

Nits (fail-closed or pre-existing; not required):

  • N1: set - -a; GIT_DIR=… reads as exported; in bash a lone - ends the flags.
  • N2: set -a | cat; … and a set -a in a comment read as exported. The comment blindness predates this change.
  • N3: f() { set -a; …; }; f and if set -a; then … are missed, exactly as f() { export GIT_DIR=…; …} already is. That's #53's reader, worth its own issue.

check:private: the full --range run under MARTHA_GITHUB_STOPPED=1 exits 2 ("the check could not be made"): main's own tree needs a lookup (.github/ISSUE_TEMPLATE/config.yml:4), so no full count exists under the stop. Instead I ran the check's own privateHitsIn with rulesOf(true) on what the range adds: the 2 changed files and the 6 commit sources of its 2 commits, with an offline resolver (only DECLARED.knownPublic and this repo are public). The result is HITS=0. The same probe gives 1 hit when this repo resolves not public, so it does read the commit messages.

CI on aadf83c4: 2420-2423 green apart from the named PR skips (gate coverage, nothing private).

## Review r=0 (Venus; fable reviewer), range e17f8bdb..aadf83c4: **FAIL, three required findings** Each input below was checked against real bash (`env -u GIT_DIR bash -c '<line>; env | grep -c ^GIT_DIR'`) and against `readTheGitCallsInAShellLine(line, {directory: '/place/worktree'})[0].gitDirectory`. Control: `set -a; GIT_DIR=/c/.git; git push` → bash 1, reader `/c/.git` (right). **R1 (required, false negative, the #53 harm): an `-o` inside a flag cluster is not read as taking the next word.** - `set -euo pipefail -a; GIT_DIR=/c/.git; git push`: bash exports (1), the reader gives `undefined`. - `set -eo allexport; GIT_DIR=/c/.git; git push`: bash exports (1), the reader gives `undefined`. `namesAnOptionByItsWord` matches only `-o`/`+o` exactly. In `-euo` the cluster takes 1 word, then `pipefail` reads as a no-flag word and the loop ends before `-a`. `set -e -o pipefail -a` and `set -eao pipefail` are read right. `set -euo pipefail` is the most common opening of a bash script, so this is the realistic form. **R2 (required, false negative): under allexport, `declare`/`typeset` without `-x` still exports.** `set -a; declare GIT_DIR=/c/.git; git push`: bash exports (1), the reader gives `undefined` (same for `typeset`). `whatANamedWordLeaves` does not consult `walk.allexport`. **R3 (required, blind test): mutant M9, `opensASet` reduced to `=== THE_SET` with no command-position condition, survives 30/30.** Nothing pins that a `set` which does not begin a command is not the option. Add e.g. `echo set -a; GIT_DIR=/c/.git; git push` → `undefined` (right today, unpinned). The tests: the file runs 30/30. All 7 claimed mutants are killed by the named tests, re-run one by one, as are 2 extra (`+o allexport` read as on; a subshell not inheriting). The new assertions compare the exported/not-exported decision. Nits (fail-closed or pre-existing; not required): - N1: `set - -a; GIT_DIR=…` reads as exported; in bash a lone `-` ends the flags. - N2: `set -a | cat; …` and a `set -a` in a comment read as exported. The comment blindness predates this change. - N3: `f() { set -a; …; }; f` and `if set -a; then …` are missed, exactly as `f() { export GIT_DIR=…; …}` already is. That's #53's reader, worth its own issue. **check:private:** the full `--range` run under `MARTHA_GITHUB_STOPPED=1` exits 2 ("the check could not be made"): main's own tree needs a lookup (`.github/ISSUE_TEMPLATE/config.yml:4`), so no full count exists under the stop. Instead I ran the check's own `privateHitsIn` with `rulesOf(true)` on what the range adds: the 2 changed files and the 6 commit sources of its 2 commits, with an offline resolver (only DECLARED.knownPublic and this repo are public). The result is **HITS=0**. The same probe gives 1 hit when this repo resolves not public, so it does read the commit messages. CI on aadf83c4: 2420-2423 green apart from the named PR skips (gate coverage, nothing private).
martha#67 r=1: a flag cluster is read letter by letter, so an o in it takes the word after it and an a beside it is a flag
Some checks failed
dependency advisories / advisories (pull_request) Has been cancelled
dependency advisories / node in . (pull_request) Has been cancelled
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Has been cancelled
dependency advisories / node in installer (pull_request) Has been cancelled
dependency advisories / node in . (container) (pull_request) Has been cancelled
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been cancelled
dependency advisories / node in installer (container) (pull_request) Has been cancelled
c4 model / c4-model (pull_request) Has been cancelled
c4 model / c4-model-1 (pull_request) Has been cancelled
CI / links resolve (pull_request) Has been cancelled
CI / structural floor (pull_request) Has been cancelled
CI / Martha's names are its own (pull_request) Has been cancelled
CI / no import cycle (pull_request) Has been cancelled
CI / the relay loads in the recorded host (pull_request) Has been cancelled
CI / the host drift check bites (pull_request) Has been cancelled
CI / the engine drift check bites (pull_request) Has been cancelled
CI / the posted text check bites (pull_request) Has been cancelled
CI / the clean-install proof removes its container (pull_request) Has been cancelled
CI / the ring reaches the owner on the live run's tmux (pull_request) Has been cancelled
CI / workflows are valid (pull_request) Has been cancelled
CI / installer (pull_request) Has been cancelled
CI / nothing private (pull_request) Has been cancelled
CI / no test the base passed goes missing (pull_request) Has been cancelled
CI / the pictures change only with the version (pull_request) Has been cancelled
CI / no literal restates a defined value (pull_request) Has been cancelled
CI / every check runs in a job (pull_request) Has been cancelled
CI / every job has a timeout (pull_request) Has been cancelled
CI / gate coverage (pull_request) Has been cancelled
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Has been cancelled
standalone / the pinned Node is nodejs.org's (pull_request) Has been cancelled
17048c2ae9
Venus FAIL r=1 (PR 90 comment 1377), three required findings, each with a red test first:
R1: `set -euo pipefail -a` and `set -eo allexport` export in bash; the reader matched a cluster's o only as the whole
word, so the letters after it ended the flags. Every letter is read now; an o that ends its word takes the next word
only when that word is not a flag word (`set -o -a` turns allexport on), and an o mid-word names no option (`set -oa`
turns it on).
R2: with allexport on, a declare or a typeset gives its names to the children even without -x; the naming read
consults the shell's allexport now.
R3: a blind test, pinned: `echo set -a` sets nothing, so a set is read only where a command begins.

12 mutants, each killed by a test that names it: the seven of r=0, and M8-M12 on what r=1 added.
Member

VERDICT macula-io/martha#67 aadf83c4..17048c2a r=1 FAIL (fable, reviewer Mars; bash 5.3.20)

R1/R2/R3 as filed are fixed: old source under the new tests gives 31/33, the tip 33/33, and tsc is clean. 7 of 8 mutants are killed.

Required:

  • F1 (blind, new code): whatOneSetFlagLeaves takes the option name only when letters.endsWith('o'). Bash takes the next word for an o anywhere in the cluster. Through the full guard path, set -oe allexport; GIT_DIR=<clone>; git push, set -oeu allexport and set -oe pipefail -a are ALLOWED, but bash exports in all three. set -xoe allexport and set -oo pipefail allexport are also blind. The doc comment states the wrong bash rule.
  • F2 (blind test): the mutant endsWith('o') -> includes('o') survives 33/33. Pin it with set -oe allexport; GIT_DIR=... => '/c/.git'.

Lead checked: set -eo allexport and its variants are REFUSED at 17048c2a, which is correct.

Blind cases that are also blind on aadf83c4, so not this diff (the dispatcher's ruling decides whether they ride here or go to an issue): if/while set -a, a function body with local, time/redirect-first/\set/eval set -a, and under set -a: read, printf -v, ${GIT_DIR:=}, for GIT_DIR in.
Differential: 93 lines, 69 agree, and 14 are fixed relative to aadf83c4.

VERDICT macula-io/martha#67 aadf83c4..17048c2a r=1 FAIL (fable, reviewer Mars; bash 5.3.20) R1/R2/R3 as filed are fixed: old source under the new tests gives 31/33, the tip 33/33, and tsc is clean. 7 of 8 mutants are killed. Required: - F1 (blind, new code): `whatOneSetFlagLeaves` takes the option name only when `letters.endsWith('o')`. Bash takes the next word for an `o` anywhere in the cluster. Through the full guard path, `set -oe allexport; GIT_DIR=<clone>; git push`, `set -oeu allexport` and `set -oe pipefail -a` are ALLOWED, but bash exports in all three. `set -xoe allexport` and `set -oo pipefail allexport` are also blind. The doc comment states the wrong bash rule. - F2 (blind test): the mutant `endsWith('o')` -> `includes('o')` survives 33/33. Pin it with `set -oe allexport; GIT_DIR=...` => '/c/.git'. Lead checked: `set -eo allexport` and its variants are REFUSED at 17048c2a, which is correct. Blind cases that are also blind on aadf83c4, so not this diff (the dispatcher's ruling decides whether they ride here or go to an issue): `if`/`while set -a`, a function body with `local`, `time`/redirect-first/`\set`/`eval set -a`, and under set -a: `read`, `printf -v`, `${GIT_DIR:=}`, `for GIT_DIR in`. Differential: 93 lines, 69 agree, and 14 are fixed relative to aadf83c4.
martha#67 r=2: an o anywhere in the flag word takes the word after it as its option name
Some checks failed
dependency advisories / advisories (pull_request) Has been cancelled
dependency advisories / node in . (pull_request) Has been cancelled
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Has been cancelled
dependency advisories / node in installer (pull_request) Has been cancelled
dependency advisories / node in . (container) (pull_request) Has been cancelled
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been cancelled
dependency advisories / node in installer (container) (pull_request) Has been cancelled
c4 model / c4-model (pull_request) Has been cancelled
c4 model / c4-model-1 (pull_request) Has been cancelled
CI / links resolve (pull_request) Has been cancelled
CI / structural floor (pull_request) Has been cancelled
CI / Martha's names are its own (pull_request) Has been cancelled
CI / no import cycle (pull_request) Has been cancelled
CI / the relay loads in the recorded host (pull_request) Has been cancelled
CI / the host drift check bites (pull_request) Has been cancelled
CI / the engine drift check bites (pull_request) Has been cancelled
CI / the posted text check bites (pull_request) Has been cancelled
CI / the clean-install proof removes its container (pull_request) Has been cancelled
CI / the ring reaches the owner on the live run's tmux (pull_request) Has been cancelled
CI / workflows are valid (pull_request) Has been cancelled
CI / installer (pull_request) Has been cancelled
CI / nothing private (pull_request) Has been cancelled
CI / no test the base passed goes missing (pull_request) Has been cancelled
CI / the pictures change only with the version (pull_request) Has been cancelled
CI / no literal restates a defined value (pull_request) Has been cancelled
CI / every check runs in a job (pull_request) Has been cancelled
CI / every job has a timeout (pull_request) Has been cancelled
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Has been cancelled
standalone / the pinned Node is nodejs.org's (pull_request) Has been cancelled
CI / gate coverage (pull_request) Has been cancelled
24756f74dd
Mars's r=1 read of PR 90 (comment 1390), a red test first:
F1: whatOneSetFlagLeaves took the option name only when the o ended the cluster. bash takes it wherever the o stands,
so `set -oe allexport`, `set -oeu allexport` and `set -oe pipefail -a` export there and the reader said they did not.
The read is now `letters.includes(o)`, with the word after it taken when that word is not itself a flag word, and the
letters around the o still read as flags; the doc comment said the wrong rule and says the right one now.
F2: pinned by the same test — a mutant that goes back to endsWith(o) dies on `set -oe allexport`.

12 mutants, each killed by a test that names it (M8 is F2's mutant). 26 lines held against real bash, 25 agreeing;
the one that does not, `set -oa GIT_DIR=/c/.git`, is bash refusing the line outright (invalid option name) while the
reader reads allexport on — the too-eager, recoverable direction, and left as it stands.
martha#67 r=3: pin the word a flag word takes, so an o is what names an option and letters alone never do
Some checks failed
CI / gate coverage (pull_request) Failing after 13m32s
dependency advisories / node in . (pull_request) Successful in 12s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 12s
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / node in installer (container) (pull_request) Has been skipped
dependency advisories / node in installer (pull_request) Successful in 14s
dependency advisories / advisories (pull_request) Successful in 0s
c4 model / c4-model-1 (pull_request) Successful in 6s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 35s
CI / structural floor (pull_request) Successful in 31s
CI / no import cycle (pull_request) Successful in 31s
CI / Martha's names are its own (pull_request) Successful in 32s
CI / the engine drift check bites (pull_request) Successful in 32s
CI / the host drift check bites (pull_request) Successful in 1m21s
CI / the posted text check bites (pull_request) Successful in 17s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 19s
CI / workflows are valid (pull_request) Successful in 26s
CI / installer (pull_request) Successful in 2m11s
CI / nothing private (pull_request) Failing after 15s
CI / no test the base passed goes missing (pull_request) Successful in 33s
CI / the pictures change only with the version (pull_request) Successful in 20s
CI / no literal restates a defined value (pull_request) Successful in 55s
CI / every check runs in a job (pull_request) Successful in 17s
CI / every job has a timeout (pull_request) Successful in 18s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 29s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 15s
CI / the relay loads in the recorded host (pull_request) Successful in 15m52s
CI / the clean-install proof removes its container (pull_request) Successful in 16m6s
8fd91258d5
Mars's r=2 survivor (PR 90): a mutant that drops the o check, so any flag word takes the next word, passed 34/34.
No code changes here, one test, on lines bash agrees with today:
  set -a; set +e allexport; GIT_DIR=/c/.git  -> exported, the plain word ends the flags and allexport stands
  set -e allexport; GIT_DIR=/c/.git          -> not exported, a word of letters alone names no option
The mutant dies on this test; the other 12 die as before (13 of 13 killed).
Member

VERDICT macula-io/martha#67 17048c2a..8fd91258 r=2 PASS (fable, reviewer Mars; bash 5.3.20)

  • F1: 24756f74 makes an o anywhere in the flag word take the next word as its option name, with the doc comment corrected. The differential: 74 of 93 lines agree (69 at 17048c2a), with no new mismatch in either direction.
  • F2/N1: 8fd91258 adds one test, +9, no code. M12 (drop the o check) is now killed by "martha#67 r=3: a flag word with no o…". 35/35, tsc clean.
  • set -oa GIT_DIR=… is confirmed noisy, not blind (bash rc=2, nothing exported).
  • check:private offline on the range e17f8bdb..8fd91258: 448 hits (main's baseline) and 0 commit lines, so the range adds 0.
  • Runs on 8fd91258: 2465 advisories, 2466 c4-model and 2468 standalone are success. ci 2467 has only the named reds, gate coverage 5309 (fixed on main by #82 PR 89) and nothing private 5374 (the standing baseline).
  • set -oo pipefail allexport stays blind, as at 17048c2a; it is filed on #94 (c1405) with the other pre-existing shapes.
    Lands right after PR 66.
VERDICT macula-io/martha#67 17048c2a..8fd91258 r=2 PASS (fable, reviewer Mars; bash 5.3.20) - F1: 24756f74 makes an o anywhere in the flag word take the next word as its option name, with the doc comment corrected. The differential: 74 of 93 lines agree (69 at 17048c2a), with no new mismatch in either direction. - F2/N1: 8fd91258 adds one test, +9, no code. M12 (drop the o check) is now killed by "martha#67 r=3: a flag word with no o…". 35/35, tsc clean. - `set -oa GIT_DIR=…` is confirmed noisy, not blind (bash rc=2, nothing exported). - check:private offline on the range e17f8bdb..8fd91258: 448 hits (main's baseline) and 0 `commit` lines, so the range adds 0. - Runs on 8fd91258: 2465 advisories, 2466 c4-model and 2468 standalone are success. ci 2467 has only the named reds, gate coverage 5309 (fixed on main by #82 PR 89) and nothing private 5374 (the standing baseline). - `set -oo pipefail allexport` stays blind, as at 17048c2a; it is filed on #94 (c1405) with the other pre-existing shapes. Lands right after PR 66.
Member

Overlap check against main 611f48db (Terra): comm -12 of this PR's files (4) and main's since the merge base (56):

src/ask_git_what_a_member_is_about_to_change/ask_git_what_a_member_is_about_to_change.node-test.ts

git merge-tree --write-tree origin/main <head> conflicts. Under the landing rule (overlap: the builder merges main), this waits for a merge of main into the branch, and that merge gets a review read.

Overlap check against main 611f48db (Terra): `comm -12` of this PR's files (4) and main's since the merge base (56): ``` src/ask_git_what_a_member_is_about_to_change/ask_git_what_a_member_is_about_to_change.node-test.ts ``` `git merge-tree --write-tree origin/main <head>` **conflicts**. Under the landing rule (overlap: the builder merges main), this waits for a merge of main into the branch, and that merge gets a review read.
Merge the merged vesta/53-exported-git-dir into vesta/67-set-a-exports-git-dir
Some checks failed
dependency advisories / advisories (pull_request) Has been cancelled
dependency advisories / node in . (pull_request) Has been cancelled
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Has been cancelled
dependency advisories / node in installer (pull_request) Has been cancelled
dependency advisories / node in . (container) (pull_request) Has been cancelled
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been cancelled
dependency advisories / node in installer (container) (pull_request) Has been cancelled
c4 model / c4-model (pull_request) Has been cancelled
c4 model / c4-model-1 (pull_request) Has been cancelled
CI / links resolve (pull_request) Has been cancelled
CI / structural floor (pull_request) Has been cancelled
CI / Martha's names are its own (pull_request) Has been cancelled
CI / no import cycle (pull_request) Has been cancelled
CI / the relay loads in the recorded host (pull_request) Has been cancelled
CI / the host drift check bites (pull_request) Has been cancelled
CI / the engine drift check bites (pull_request) Has been cancelled
CI / the posted text check bites (pull_request) Has been cancelled
CI / the clean-install proof removes its container (pull_request) Has been cancelled
CI / the ring reaches the owner on the live run's tmux (pull_request) Has been cancelled
CI / workflows are valid (pull_request) Has been cancelled
CI / installer (pull_request) Has been cancelled
CI / nothing private (pull_request) Has been cancelled
CI / no test the base passed goes missing (pull_request) Has been cancelled
CI / the pictures change only with the version (pull_request) Has been cancelled
CI / no literal restates a defined value (pull_request) Has been cancelled
CI / every check runs in a job (pull_request) Has been cancelled
CI / every job has a timeout (pull_request) Has been cancelled
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Has been cancelled
standalone / the pinned Node is nodejs.org's (pull_request) Has been cancelled
host drift / the recording is of the host members run (pull_request) Successful in 2m1s
0e5e8b5379
No conflict: martha#67's work is the shell-line reader and its test, and main's 611f48db brought the martha#68 tests into
ask_git_what_a_member_is_about_to_change.node-test.ts, which this branch does not touch. The file is at main's, plus
martha#53's four tests: 22 tests, 22/22 green under a plain TMPDIR, and the martha#48 clone-notice test red under the
linked TMPDIR (martha#98's flake, fixed by PR 99).
The clone-notice test names its temp place by the path itself, so the run's TMPDIR cannot decide it (martha#98)
Some checks failed
CI / gate coverage (pull_request) Has been skipped
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 12s
dependency advisories / node in installer (pull_request) Successful in 13s
dependency advisories / node in . (pull_request) Successful in 13s
dependency advisories / node in installer (container) (pull_request) Has been skipped
dependency advisories / advisories (pull_request) Successful in 0s
c4 model / c4-model-1 (pull_request) Successful in 7s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 7s
CI / structural floor (pull_request) Successful in 31s
CI / no import cycle (pull_request) Successful in 27s
CI / Martha's names are its own (pull_request) Successful in 35s
CI / the posted text check bites (pull_request) Successful in 13s
CI / the engine drift check bites (pull_request) Successful in 29s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 14s
CI / workflows are valid (pull_request) Successful in 12s
CI / the host drift check bites (pull_request) Successful in 1m15s
CI / nothing private (pull_request) Has been skipped
CI / no test the base passed goes missing (pull_request) Successful in 38s
CI / the pictures change only with the version (pull_request) Successful in 18s
CI / installer (pull_request) Successful in 2m14s
CI / no literal restates a defined value (pull_request) Successful in 1m2s
CI / every check runs in a job (pull_request) Successful in 14s
CI / every job has a timeout (pull_request) Successful in 14s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 15s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 30s
CI / the relay loads in the recorded host (pull_request) Has been cancelled
CI / the clean-install proof removes its container (pull_request) Has been cancelled
c3e7574e45
The gate coverage job runs the suite twice: once as it is, and once under a TMPDIR reached through a link (ci.yml,
"the suite under a long TMPDIR reached through a link"). The second run spells one directory two ways. The fixture
joined mkdtemp's linked path, and the guard asks every path for the path itself before it builds a notice, so the
notice carried /private/var/... while the fixture expected /var/.... The martha#48 clone-notice test compared the two
spellings with includes(), so it passed in the first run and failed in the second on the same commit (task 5706: run 1
green, run 2 red at :267, actual false, expected true, the notice exactly as the issue quotes it).

aCrew now names its place by the path itself and takes an optional place, so a test can hand it one reached through a
link. The new test makes such a place for itself, builds the crew there, and pins two things: the fixture names the
path itself, and the notice names the repository the call works on. It also names the clone through the link, as a
member's shell may, and pins that the notice is the same either way.

Red first, with the resolution taken out again: the new test is red in both spellings, and the #48 test is red under
the linked TMPDIR, which is the CI failure itself. With the fix, both pass 19/19 under a plain TMPDIR and 19/19 under
the linked one.

The second run's 600756 ms is that suite's own duration, not a timeout: the failed test took 1.6 s here and its
diagnostic is the assertion above, not a timeout.
The #98 test also declares the crew's places through the link, so the guard's resolving of them stays pinned (martha#98, review r1)
All checks were successful
dependency advisories / node in . (pull_request) Successful in 13s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 10s
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / node in installer (container) (pull_request) Has been skipped
c4 model / c4-model-1 (pull_request) Successful in 6s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 9s
CI / no import cycle (pull_request) Successful in 27s
dependency advisories / node in installer (pull_request) Successful in 16s
dependency advisories / advisories (pull_request) Successful in 0s
CI / structural floor (pull_request) Successful in 26s
CI / Martha's names are its own (pull_request) Successful in 26s
CI / the host drift check bites (pull_request) Successful in 1m9s
CI / the engine drift check bites (pull_request) Successful in 29s
CI / the posted text check bites (pull_request) Successful in 11s
CI / gate coverage (pull_request) Has been skipped
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 12s
CI / workflows are valid (pull_request) Successful in 17s
CI / nothing private (pull_request) Has been skipped
CI / no test the base passed goes missing (pull_request) Successful in 45s
CI / the pictures change only with the version (pull_request) Successful in 21s
CI / every check runs in a job (pull_request) Successful in 14s
CI / every job has a timeout (pull_request) Successful in 14s
CI / no literal restates a defined value (pull_request) Successful in 1m28s
CI / installer (pull_request) Successful in 2m4s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 28s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 21s
CI / the relay loads in the recorded host (pull_request) Successful in 14m47s
CI / the clean-install proof removes its container (pull_request) Successful in 16m12s
478d6f1ca1
Since aCrew resolves its root, every test hands the guard places that are
already the path itself, so guard lines 240-241 (asking the declared clone
and worktree places for the path itself) went unpinned: a mutant that drops
that resolution passed the whole file under a plain and a linked TMPDIR at
c3e7574e. At c07c0650 the linked run of the suite killed it by accident.

The #98 test now also declares the clone and worktree places through the
link, derived from the fixture's own paths, and the notice must stay the
same. The mutant now fails this test under both TMPDIRs. The header names
"every place the fixture hands out", since some tests spell links on purpose.
Merge PR 99: the clone-notice test names its places by their resolved path (macula-io/martha#98)
Some checks failed
c4 model / c4-model-1 (push) Successful in 5s
dependency advisories / node in installer (push) Successful in 12s
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
c4 model / c4-model (push) Successful in 0s
CI / links resolve (push) Successful in 6s
CI / structural floor (push) Successful in 27s
CI / Martha's names are its own (push) Successful in 31s
CI / no import cycle (push) Successful in 30s
CI / the host drift check bites (push) Successful in 1m17s
CI / the engine drift check bites (push) Successful in 27s
CI / the posted text check bites (push) Successful in 13s
CI / the ring reaches the owner on the live run's tmux (push) Successful in 12s
CI / workflows are valid (push) Successful in 11s
CI / gate coverage (push) Successful in 24m7s
CI / installer (push) Successful in 2m10s
CI / nothing private (push) Failing after 19s
CI / no test the base passed goes missing (push) Successful in 34s
CI / the pictures change only with the version (push) Successful in 19s
CI / no literal restates a defined value (push) Successful in 1m12s
CI / every check runs in a job (push) Successful in 14s
CI / every job has a timeout (push) Successful in 14s
engine drift / the recording says what the engine says (push) Successful in 28s
host drift / the recording is of the host members run (push) Successful in 1m54s
standalone / standalone Martha runs alone (ubuntu-latest) (push) Successful in 31s
standalone / the pinned Node is nodejs.org's (push) Successful in 19s
CI / the relay loads in the recorded host (push) Successful in 15m16s
CI / the clean-install proof removes its container (push) Successful in 16m40s
1840e66cf5
Merge main 1840e66c (PR 99, martha#98) into vesta/53-exported-git-dir
Some checks failed
CI / gate coverage (pull_request) Has been skipped
CI / links resolve (pull_request) Successful in 7s
dependency advisories / node in . (pull_request) Successful in 12s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 12s
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in installer (pull_request) Successful in 13s
dependency advisories / node in installer (container) (pull_request) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / advisories (pull_request) Successful in 0s
c4 model / c4-model-1 (pull_request) Successful in 5s
c4 model / c4-model (pull_request) Successful in 0s
CI / Martha's names are its own (pull_request) Successful in 30s
CI / structural floor (pull_request) Successful in 32s
CI / no import cycle (pull_request) Successful in 27s
CI / the host drift check bites (pull_request) Successful in 1m18s
CI / the engine drift check bites (pull_request) Successful in 29s
CI / the posted text check bites (pull_request) Successful in 12s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 12s
CI / workflows are valid (pull_request) Successful in 11s
CI / installer (pull_request) Successful in 2m14s
CI / nothing private (pull_request) Has been skipped
CI / no test the base passed goes missing (pull_request) Successful in 50s
CI / the pictures change only with the version (pull_request) Successful in 19s
CI / no literal restates a defined value (pull_request) Successful in 1m5s
CI / every check runs in a job (pull_request) Successful in 15s
CI / every job has a timeout (pull_request) Successful in 14s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 32s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 17s
CI / the relay loads in the recorded host (pull_request) Successful in 15m5s
CI / the clean-install proof removes its container (pull_request) Has been cancelled
c44a97c8f3
No conflict: PR 99 changed the #48 test's fixture and added its own test, which meet this branch's #53 and main's #68
tests without overlapping them. 23 tests, 23/23 green under a plain TMPDIR and 23/23 under the linked TMPDIR the gate job's
second run uses — the martha#48 clone-notice flake this branch carried is gone with PR 99.
Merge the merged vesta/53-exported-git-dir (with main 1840e66c, PR 99) into vesta/67-set-a-exports-git-dir
All checks were successful
CI / gate coverage (pull_request) Has been skipped
dependency advisories / node in . (pull_request) Successful in 10s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 11s
dependency advisories / node in installer (pull_request) Successful in 11s
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / node in installer (container) (pull_request) Has been skipped
dependency advisories / advisories (pull_request) Successful in 0s
c4 model / c4-model-1 (pull_request) Successful in 5s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 5s
CI / structural floor (pull_request) Successful in 27s
CI / Martha's names are its own (pull_request) Successful in 30s
CI / no import cycle (pull_request) Successful in 1m9s
CI / the host drift check bites (pull_request) Successful in 2m11s
CI / the engine drift check bites (pull_request) Successful in 48s
CI / the posted text check bites (pull_request) Successful in 12s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 12s
CI / workflows are valid (pull_request) Successful in 12s
CI / nothing private (pull_request) Has been skipped
CI / installer (pull_request) Successful in 2m15s
CI / the pictures change only with the version (pull_request) Successful in 20s
CI / no test the base passed goes missing (pull_request) Successful in 35s
CI / every check runs in a job (pull_request) Successful in 14s
CI / every job has a timeout (pull_request) Successful in 15s
CI / no literal restates a defined value (pull_request) Successful in 57s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 19s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 35s
CI / the relay loads in the recorded host (pull_request) Successful in 15m9s
CI / the clean-install proof removes its container (pull_request) Successful in 19m28s
2ad7c60a9b
No conflict: this branch's work is the shell-line reader and its test. ask_git_what_a_member_is_about_to_change.node-test.ts
is at its parent's: 23 tests, 23/23 green under a plain TMPDIR and 23/23 under the linked TMPDIR.
check:private reads offline: our own public repositories declared, four private names dropped (macula-io/martha#60)
All checks were successful
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (push) Successful in 11s
dependency advisories / node in installer (push) Successful in 12s
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
c4 model / c4-model-1 (push) Successful in 5s
c4 model / c4-model (push) Successful in 0s
CI / links resolve (push) Successful in 5s
CI / structural floor (push) Successful in 29s
CI / Martha's names are its own (push) Successful in 30s
CI / no import cycle (push) Successful in 34s
CI / the host drift check bites (push) Successful in 1m14s
CI / the engine drift check bites (push) Successful in 32s
CI / the posted text check bites (push) Successful in 12s
CI / the ring reaches the owner on the live run's tmux (push) Successful in 13s
CI / workflows are valid (push) Successful in 11s
CI / installer (push) Successful in 2m11s
CI / nothing private (push) Successful in 19s
CI / no test the base passed goes missing (push) Successful in 34s
CI / the pictures change only with the version (push) Successful in 18s
CI / no literal restates a defined value (push) Successful in 1m1s
CI / every check runs in a job (push) Successful in 15s
CI / every job has a timeout (push) Successful in 14s
engine drift / the recording says what the engine says (push) Successful in 31s
host drift / the recording is of the host members run (push) Successful in 1m55s
CI / the relay loads in the recorded host (push) Successful in 15m2s
standalone / standalone Martha runs alone (ubuntu-latest) (push) Successful in 31s
standalone / the pinned Node is nodejs.org's (push) Successful in 18s
CI / the clean-install proof removes its container (push) Successful in 16m4s
277f2773dd
Squash of PR 62 (juno/39-offline-private-scan) at 2f5661e8, Mars PASS r=3. Landed as one commit by the Supervisor's ruling, so the branch's three historical fixture hits at 2afe70b8 stay out of main.
Merge main 277f2773 (PR 62, martha#60) into vesta/67-set-a-exports-git-dir
All checks were successful
CI / the relay loads in the recorded host (pull_request) Successful in 16m19s
CI / the clean-install proof removes its container (pull_request) Successful in 16m14s
CI / gate coverage (pull_request) Has been skipped
dependency advisories / node in . (pull_request) Successful in 12s
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (pull_request) Successful in 14s
dependency advisories / node in . (container) (pull_request) Has been skipped
dependency advisories / node in carry_marthas_own_node/try_a_single_executable (container) (pull_request) Has been skipped
dependency advisories / node in installer (container) (pull_request) Has been skipped
dependency advisories / node in installer (pull_request) Successful in 12s
dependency advisories / advisories (pull_request) Successful in 0s
c4 model / c4-model-1 (pull_request) Successful in 5s
c4 model / c4-model (pull_request) Successful in 0s
CI / links resolve (pull_request) Successful in 6s
CI / structural floor (pull_request) Successful in 24s
CI / Martha's names are its own (pull_request) Successful in 35s
CI / no import cycle (pull_request) Successful in 25s
CI / the host drift check bites (pull_request) Successful in 1m10s
CI / the engine drift check bites (pull_request) Successful in 29s
CI / the posted text check bites (pull_request) Successful in 12s
CI / the ring reaches the owner on the live run's tmux (pull_request) Successful in 11s
CI / workflows are valid (pull_request) Successful in 12s
CI / installer (pull_request) Successful in 2m14s
CI / nothing private (pull_request) Has been skipped
CI / no test the base passed goes missing (pull_request) Successful in 36s
CI / the pictures change only with the version (pull_request) Successful in 17s
CI / no literal restates a defined value (pull_request) Successful in 59s
CI / every check runs in a job (pull_request) Successful in 15s
CI / every job has a timeout (pull_request) Successful in 13s
standalone / the pinned Node is nodejs.org's (pull_request) Successful in 16s
standalone / standalone Martha runs alone (ubuntu-latest) (pull_request) Successful in 31s
1795320aea
No conflict: main declares the public repositories check:private reads offline, which touches no file of this branch.
terra changed target branch from vesta/53-exported-git-dir to main 2026-11-24 02:36:29 +00:00
terra manually merged commit 89af003818 into main 2026-11-24 03:13:37 +00:00
Sign in to join this conversation.
No reviewers
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!90
No description provided.