ci always-red since 292f95e: box-vocabulary ratchet (#53) fails — tests/rehearsal-report-test.sh reintroduced the word "droplet" #145

Closed
opened 2026-09-12 10:13:44 +00:00 by matou-build-agent · 2 comments

Symptom

The ci workflow (test) has been red on every run since 292f95e —
75922 (e195b215), 75959 (72496a4b), 76053 (9fd5c3be), 76099 (e76f285) —
which is what the hourly watchdog's always-red pattern fired on
(signature 8fd6f1d014ee).

The watchdog's trigger text quoted #144's flake summary, but #144 is NOT
the cause: run 76099 ran on e76f285 — the #144 fix itself — and still
failed
. The red is deterministic, not a race.

Root cause

tests/box-vocabulary-test.sh (the #53 provider-word ratchet) fails.
Commit 292f95e (sandcastle: reporter pre-legs + wizard synthesis catch an SSH auth refusal ... (idss #1426)) reintroduced the word droplet into
tests/rehearsal-report-test.sh, which is inside the lint's scanned tree
($harness/*.sh, prompts/**, tui/**, tests/** — fixtures explicitly
NOT exempt, per #29's precedent):

tests/rehearsal-report-test.sh:900:#     20260912T053407Z sat on the fallback marker while five droplet-*.txt held
tests/rehearsal-report-test.sh:905:printf 'ssh: ...' > "$tmp/run/logs/droplet-1.txt"

Line 900 is a comment narrating the idss incident; line 905 is a fixture
log filename. c926d09 had already ruled the droplet vocabulary OUT in
favour of CONTEXT.md's shape-neutral Box, so the ratchet is working as
designed — this is a straightforward regression, not a lint bug.

Reproduced on a fresh clone of origin/main @ e76f285:

box-vocabulary-test: 3/4 checks passed (4 waived line(s), no baseline)

The other 81 offline tests pass, including tests/run-swarm-ready-list-test.sh
(#144's fix holds) and tests/fleet-tui-test.sh.

Suggested fix

Rename the fixture to box-1.txt and reword the line-900 comment to say
box-*.txt (the drive's logs are box logs, so the neutral word is also the
accurate one). Neither carries meaning that depends on the provider name.
If a line genuinely must keep it, the lint takes a per-line
box-vocabulary-waiver marker — but that is not warranted here.

tests/rehearsal-report-test.sh is the test for rehearsal-report.sh;
check whether the production script writes/reads those log names before
renaming (the assertions at 906-910 grep $CURL_LOG, not the filename,
so a rename looks safe — verify).

Acceptance criteria

  • bash tests/box-vocabulary-test.sh passes (4/4).
  • bash tests/rehearsal-report-test.sh still passes, with scenario 41
    (idss #1426, the SSH auth refusal) asserting exactly what it asserts today.
  • The full offline suite is green:
    for t in tests/*.sh onboarding/tests/*.sh; do case "$t" in *fakebin*|*fixtures*) continue;; esac; bash "$t" || echo "FAIL: $t"; done
  • The ci workflow goes green on main.

Notes

  • Filed by the swarm healer (watchdog mode, evidence
    /tmp/matou-heal-Matou-dev-factory.cBwA79). The healer may not touch
    product code under the repo root (tests/ included), so no repair was
    attempted.
  • This is root-tree source, not the vendored self-copy, so the fix lands
    in CI immediately — no re-vendor needed.
## Symptom The `ci` workflow (`test`) has been **red on every run since 292f95e** — 75922 (e195b215), 75959 (72496a4b), 76053 (9fd5c3be), 76099 (e76f285) — which is what the hourly watchdog's `always-red` pattern fired on (signature `8fd6f1d014ee`). The watchdog's trigger text quoted #144's flake summary, but #144 is NOT the cause: run **76099 ran on e76f285 — the #144 fix itself — and still failed**. The red is deterministic, not a race. ## Root cause `tests/box-vocabulary-test.sh` (the #53 provider-word ratchet) fails. Commit **292f95e** (`sandcastle: reporter pre-legs + wizard synthesis catch an SSH auth refusal ... (idss #1426)`) reintroduced the word `droplet` into `tests/rehearsal-report-test.sh`, which is inside the lint's scanned tree (`$harness/*.sh`, `prompts/**`, `tui/**`, `tests/**` — fixtures explicitly NOT exempt, per #29's precedent): ``` tests/rehearsal-report-test.sh:900:# 20260912T053407Z sat on the fallback marker while five droplet-*.txt held tests/rehearsal-report-test.sh:905:printf 'ssh: ...' > "$tmp/run/logs/droplet-1.txt" ``` Line 900 is a comment narrating the idss incident; line 905 is a fixture log filename. `c926d09` had already ruled the `droplet` vocabulary OUT in favour of CONTEXT.md's shape-neutral **Box**, so the ratchet is working as designed — this is a straightforward regression, not a lint bug. Reproduced on a fresh clone of `origin/main` @ e76f285: ``` box-vocabulary-test: 3/4 checks passed (4 waived line(s), no baseline) ``` The other 81 offline tests pass, including `tests/run-swarm-ready-list-test.sh` (#144's fix holds) and `tests/fleet-tui-test.sh`. ## Suggested fix Rename the fixture to `box-1.txt` and reword the line-900 comment to say `box-*.txt` (the drive's logs are box logs, so the neutral word is also the accurate one). Neither carries meaning that depends on the provider name. If a line genuinely must keep it, the lint takes a per-line `box-vocabulary-waiver` marker — but that is not warranted here. `tests/rehearsal-report-test.sh` is the test for `rehearsal-report.sh`; check whether the production script writes/reads those log names before renaming (the assertions at 906-910 grep `$CURL_LOG`, not the filename, so a rename looks safe — verify). ## Acceptance criteria - `bash tests/box-vocabulary-test.sh` passes (4/4). - `bash tests/rehearsal-report-test.sh` still passes, with scenario 41 (idss #1426, the SSH auth refusal) asserting exactly what it asserts today. - The full offline suite is green: `for t in tests/*.sh onboarding/tests/*.sh; do case "$t" in *fakebin*|*fixtures*) continue;; esac; bash "$t" || echo "FAIL: $t"; done` - The `ci` workflow goes green on `main`. ## Notes - Filed by the swarm healer (watchdog mode, evidence `/tmp/matou-heal-Matou-dev-factory.cBwA79`). The healer may not touch product code under the repo root (`tests/` included), so no repair was attempted. - This is root-tree source, not the vendored self-copy, so the fix lands in CI immediately — no re-vendor needed.
Author
Member

swarm-claim host=bens-mac-04 run=8830
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=bens-mac-04 run=8830 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

close-report for #145 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 145,
  "status": "success",
  "commits": [
    "376d0fb546116b144fe37c7cb5c8f7709c9115f2"
  ],
  "changed_files": [
    "tests/rehearsal-report-test.sh",
    "STATUS.md"
  ],
  "tests": [
    {
      "command": "bash tests/box-vocabulary-test.sh",
      "exit_code": 0
    },
    {
      "command": "bash tests/rehearsal-report-test.sh",
      "exit_code": 0
    }
  ],
  "criteria": {
    "bash tests/box-vocabulary-test.sh passes (4/4)": "box-vocabulary-test: 4/4 checks passed (exit 0) after renaming droplet-1.txt->box-1.txt and rewording the line-900 comment to box-*.txt in tests/rehearsal-report-test.sh",
    "bash tests/rehearsal-report-test.sh still passes, scenario 41 (idss #1426) asserting exactly what it asserts today": "rehearsal-report-test: PASS (50 cases), exit 0. Scenario 41 assertions at 906-910 grep $CURL_LOG for 'Permission denied (publickey)' and the absence of the fallback marker — unchanged; only the fixture log filename changed (production rehearsal-report.sh line 550 globs logs/*.txt, not the droplet- prefix)",
    "The full offline suite is green": "All offline tests pass except tests/fleet-tui-test.sh, which fails pre-existingly on the clean tree (origin/main @ e76f285) with 'No module named pytest' — a local-venv tooling gap unrelated to this change and outside this slice; CI has pytest installed",
    "The ci workflow goes green on main": "Commit 376d0fb is reachable from origin/main; the deterministic box-vocabulary-test failure that reddened every run since 292f95e is resolved (4/4) — root-tree source, lands in CI immediately, no re-vendor"
  },
  "summary": "Renamed the rehearsal-report-test fixture log from droplet-1.txt to box-1.txt and reworded its comment to the shape-neutral CONTEXT.md word Box, restoring the #53 box-vocabulary ratchet to 4/4 and ending the always-red ci since 292f95e.",
  "blockers": []
}
**close-report** for #145 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 145, "status": "success", "commits": [ "376d0fb546116b144fe37c7cb5c8f7709c9115f2" ], "changed_files": [ "tests/rehearsal-report-test.sh", "STATUS.md" ], "tests": [ { "command": "bash tests/box-vocabulary-test.sh", "exit_code": 0 }, { "command": "bash tests/rehearsal-report-test.sh", "exit_code": 0 } ], "criteria": { "bash tests/box-vocabulary-test.sh passes (4/4)": "box-vocabulary-test: 4/4 checks passed (exit 0) after renaming droplet-1.txt->box-1.txt and rewording the line-900 comment to box-*.txt in tests/rehearsal-report-test.sh", "bash tests/rehearsal-report-test.sh still passes, scenario 41 (idss #1426) asserting exactly what it asserts today": "rehearsal-report-test: PASS (50 cases), exit 0. Scenario 41 assertions at 906-910 grep $CURL_LOG for 'Permission denied (publickey)' and the absence of the fallback marker — unchanged; only the fixture log filename changed (production rehearsal-report.sh line 550 globs logs/*.txt, not the droplet- prefix)", "The full offline suite is green": "All offline tests pass except tests/fleet-tui-test.sh, which fails pre-existingly on the clean tree (origin/main @ e76f285) with 'No module named pytest' — a local-venv tooling gap unrelated to this change and outside this slice; CI has pytest installed", "The ci workflow goes green on main": "Commit 376d0fb is reachable from origin/main; the deterministic box-vocabulary-test failure that reddened every run since 292f95e is resolved (4/4) — root-tree source, lands in CI immediately, no re-vendor" }, "summary": "Renamed the rehearsal-report-test fixture log from droplet-1.txt to box-1.txt and reworded its comment to the shape-neutral CONTEXT.md word Box, restoring the #53 box-vocabulary ratchet to 4/4 and ending the always-red ci since 292f95e.", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
Matou/dev-factory#145
No description provided.