Gate 3b has never worked: the host gofmt gate scans the gitignored .sandcastle/nix-store/, so every Go push is refused with ~340 foreign files — the bypass that let ce04cd10 red #344 #1913

Closed
opened 2026-09-27 17:38:37 +00:00 by matou-build-agent · 0 comments

CI run 34250 on main red at Go: gofmt (tabs) — no formatting debt (#344) is the symptom (#1912 holds the one-line product fix). This issue is the harness root cause — the answer to #1912's open question, "so on the pushing machine either core.hooksPath was not set or the push used --no-verify; gate logic itself looks correct."

Gate logic is not correct. Gate 3b has never been able to produce a clean verdict on this host.

Root cause

gate_gofmt_default_cmd (.sandcastle/gate-lib.sh) scans the tree with gofmt -l ., filtering only ^node_modules/. The swarm workdir also carries .sandcastle/nix-store/ — gitignored (.sandcastle/.gitignore:9), untracked, present since 2026-09-11 — and that store holds the Go distribution's own share/go/src/. So the host gate reports:

  • ~340 files gofmt calls unformatted, all of them the Go project's own sources;
  • 316 lines of parse errors from src/cmd/compile/internal/syntax/testdata/ (deliberately-malformed Go), printed before any verdict.

Reproduced read-only against the swarm workdir at ce04cd10:

$ printf 'refs/heads/main %s refs/heads/main %s\n' ce04cd10 be44b096 \
    | bash .sandcastle/gate.sh --prepush-host
gate: Go change detected — running the cheap gofmt-only host gate (#1458)
... 316 lines of nix-store parse errors ...
gofmt debt — run gofmt -w on:
.sandcastle/nix-store/store/41y1amjf…-go-1.23.8/share/go/src/cmd/cgo/zdefaultcc.go
… ~340 more nix-store paths …
internal/controlapi/idip_backend_identity_test.go     ← the one real line, last
exit 1

Gate 3b landed 2026-09-12 (70b3d228) — one day after the nix store appeared. It was born broken: every Go-touching push from a workdir carrying a nix store is refused with a verdict about files this repo does not own and cannot fix, whatever the pushed code looks like. CI never saw it (a clean checkout has no nix-store/), so #344 stayed the only honest gofmt verdict.

That is the mechanism behind #1912's open question. A gate that blocks every push with 340 irrelevant files is a gate that gets bypassed — and gofmt debt reached main again in ce04cd10, the exact repeat of f291b547/#1429 that Gate 3b exists to stop. #1912's own diagnosis used git ls-files '*.go' | xargs gofmt -l, which is why it saw a clean tree and the gate looked fine.

The fix — and why the healer could not land it

Prune the scan's input (not its output, so the parse-error wall goes too), and fail closed if the pruner finds no Go file at all — an empty scan is a broken scan, not a clean tree. Patch below is written and verified, but .sandcastle/gate-lib.sh and .sandcastle/tests/gate-lib-test.sh are factory-vendored (ADR 0180; FACTORY_MANIFEST:21,102). check-harness-drift.sh confirms a direct edit drifts from FACTORY_REF 87e1b556, and the pre-push drift gate blocks it. So this must land the vendored way:

  1. land the patch in Matou/dev-factory,
  2. bump .sandcastle/FACTORY_REF and re-vendor (onboarding/onboard.sh vendor),
  3. push.

scripts/seam-smoke.sh:208 carries the same gofmt -l . | grep -v '^node_modules/' line. It is not vendored and is not broken in CI (clean checkout, no nix-store), but it is the same landmine for anyone running the seam locally on matou-workstation. Sync it in the same change rather than leaving two implementations of one scan.

Verification already done

Against the real workdir, patched lib sourced read-only:

case before after
real debt present (ce04cd10) exit 1, 318-line verdict, ~340 bogus files exit 1, 2-line verdict: internal/controlapi/idip_backend_identity_test.go
tree gofmt-clean (debt fixed) — exit 0, silent
pruner finds no Go file (would pass — fail-open) exit 4, fails closed

.sandcastle/tests/gate-lib-test.sh goes 34 → 37 checks. The three new ones exercise gate_gofmt_default_cmd itself — every existing check stubs it via GATE_GOFMT_CMD, which is precisely how this shipped untested. Confirmed they fail against the un-patched lib:

FAIL: artifact-only gofmt debt must not block the push, got rc=1:
  .sandcastle/nix-store/…/broken.go:2:15: expected boolean expression, found assignment
  gofmt debt — run gofmt -w on:
  .sandcastle/nix-store/…/foreign.go

and pass against the patched one (gate-lib: 37 checks passed).

The patch

diff --git a/.sandcastle/gate-lib.sh b/.sandcastle/gate-lib.sh
index 22e0dcf0..a5ee77fa 100644
--- a/.sandcastle/gate-lib.sh
+++ b/.sandcastle/gate-lib.sh
@@ -51,7 +51,13 @@ gate_langs_for_files() {
 gate_go_default_cmd() {
   local root="$1"
   nix develop "$root#go-ci" --command bash -euo pipefail -c '
-    unformatted="$(gofmt -l . | grep -v "^node_modules/" || true)"
+    gofiles="$(find . -type f -name "*.go" \
+      -not -path "./node_modules/*" -not -path "./.sandcastle/nix-store/*" \
+      -printf "%P\\n" 2>/dev/null || true)"
+    if [ -z "$gofiles" ]; then
+      echo "gofmt debt check FAILED: found no Go files to scan — refusing to pass" >&2; exit 1
+    fi
+    unformatted="$(printf "%s\\n" "$gofiles" | xargs -d "\\n" -r gofmt -l || true)"
     if [ -n "$unformatted" ]; then
       echo "gofmt debt — run gofmt -w on:"; printf "%s\n" "$unformatted"; exit 1
     fi
@@ -170,6 +176,30 @@ gate_ts_stage() {
   ( cd "$root" && gate_scrub_git_env && gate_ts_default_cmd "$root" )
 }
 
+# gate_gofmt_tree_go_files — newline-separated, root-relative list of the repo's
+# OWN Go files: the tree minus the gitignored local build artifacts that carry
+# FOREIGN Go, `node_modules/` and `.sandcastle/nix-store/`. Pruning the scan's
+# INPUT (not
+# filtering its output) is what keeps the verdict readable: a vendored nix store
+# ships the Go distribution's own `src/`, whose deliberately-malformed testdata
+# makes gofmt print hundreds of parse errors before any verdict at all.
+#
+# The nix-store entry is why the host gofmt gate never worked. Gate 3b landed
+# 2026-09-12, one day AFTER a nix store appeared in the swarm workdir, and that
+# store holds ~340 files gofmt calls unformatted. So every Go push from a workdir
+# carrying one was blocked by a verdict about files this repo does not own and
+# cannot fix, whatever the pushed code looked like. CI never saw it (a clean
+# checkout has no nix-store), leaving #344 the only honest gofmt verdict — and a
+# gate that always blocks is a gate that gets bypassed, which is how gofmt debt
+# reached main again in ce04cd10, the repeat of f291b547/#1429 Gate 3b exists to
+# stop. Prune the input, never the exit status: the gate still fails closed.
+# Assumes cwd is the repo root.
+gate_gofmt_tree_go_files() {
+  find . -type f -name '*.go' \
+    -not -path './node_modules/*' -not -path './.sandcastle/nix-store/*' \
+    -printf '%P\n' 2>/dev/null || true
+}
+
 # gate_gofmt_default_cmd <root> — the cheap gofmt-only check: `gofmt -l` over the
 # tree (mirrors the gofmt step of gate_go_default_cmd / seam-smoke.sh's #344
 # stage), with NO nix shell and NO compile — a pure parse+print, sub-second on a
@@ -177,8 +207,17 @@ gate_ts_stage() {
 # where the full Go seam (build/vet/test/lint) cannot (#198): it costs nothing.
 # Assumes cwd is <root> (its caller cd's there inside the git-env-scrub subshell).
 gate_gofmt_default_cmd() {
-  local unformatted
-  unformatted="$(gofmt -l . | grep -v '^node_modules/' || true)"
+  local gofiles unformatted
+  gofiles="$(gate_gofmt_tree_go_files)"
+  # No Go file at all in a repo whose pushed range touched Go means the pruner or
+  # the cwd is wrong, not that the tree is clean. Fail CLOSED, like the missing-
+  # gofmt arm of gate_gofmt_stage: a blocked push beats a red main (#1458).
+  if [ -z "$gofiles" ]; then
+    echo "gate: gofmt check found no Go files to scan under $PWD — refusing to" >&2
+    echo "gate: report a clean tree it never looked at (#1458). Fix the scan." >&2
+    return 4
+  fi
+  unformatted="$(printf '%s\n' "$gofiles" | xargs -d '\n' -r gofmt -l || true)"
   if [ -n "$unformatted" ]; then
     echo "gofmt debt — run gofmt -w on:" >&2
     printf '%s\n' "$unformatted" >&2
diff --git a/.sandcastle/tests/gate-lib-test.sh b/.sandcastle/tests/gate-lib-test.sh
index 6de1f4e2..c0956e63 100644
--- a/.sandcastle/tests/gate-lib-test.sh
+++ b/.sandcastle/tests/gate-lib-test.sh
@@ -334,4 +334,53 @@ pass=$((pass+1))
 lang="$(printf '%s\n' "$files" | gate_langs_for_files)"
 eq "go" "$lang" "the pushed range is a Go change"
 
+# --- the DEFAULT gofmt command: what it scans (the #1458 regression) --------
+# Every check above stubs the stage with GATE_GOFMT_CMD, so gate_gofmt_default_cmd
+# — the arm that actually runs on a host push — was never exercised, which is how
+# it shipped scanning `.sandcastle/nix-store/`. That store holds the Go
+# distribution's own src/, ~340 files gofmt calls unformatted plus a wall of
+# deliberately-malformed testdata parse errors: the host gate blocked EVERY Go
+# push with a verdict about files this repo cannot fix, so it got bypassed and
+# gofmt debt reached main again (ce04cd10). These checks pin the scan's shape.
+if command -v gofmt >/dev/null 2>&1; then
+  fmtrepo="$(mktemp -d)"
+  mkdir -p "$fmtrepo/internal" "$fmtrepo/node_modules/dep" \
+           "$fmtrepo/.sandcastle/nix-store/store/go-1.23.8/share/go/src/cmd"
+  # gofmt wants a tab indent; two spaces is debt.
+  debt='package p\n\nfunc f() {\n  return\n}\n'
+  clean='package p\n\nfunc f() {\n\treturn\n}\n'
+  printf "$clean" > "$fmtrepo/internal/ours.go"
+  printf "$debt"  > "$fmtrepo/node_modules/dep/vendored.go"
+  printf "$debt"  > "$fmtrepo/.sandcastle/nix-store/store/go-1.23.8/share/go/src/cmd/foreign.go"
+  # and the malformed testdata that makes gofmt print parse errors, not a verdict
+  printf 'package p\nfunc f() { if x := 1 {} }\n' \
+    > "$fmtrepo/.sandcastle/nix-store/store/go-1.23.8/share/go/src/cmd/broken.go"
+
+  # Debt that lives ONLY in gitignored artifact trees is not this repo's debt.
+  rc=0; out="$(gate_gofmt_stage "$fmtrepo" 2>&1)" || rc=$?
+  [ "$rc" -eq 0 ] || fail "artifact-only gofmt debt must not block the push, got rc=$rc: $out"
+  [ -z "$out" ] || fail "the gate must stay silent on a clean tree, got: $out"
+  pass=$((pass+1))
+
+  # Debt in the repo's OWN Go is still caught, and named root-relative.
+  printf "$debt" > "$fmtrepo/internal/ours.go"
+  rc=0; out="$(gate_gofmt_stage "$fmtrepo" 2>&1)" || rc=$?
+  [ "$rc" -ne 0 ] || fail "real gofmt debt must block the push"
+  printf '%s\n' "$out" | grep -qx 'internal/ours.go' \
+    || fail "the verdict must name the offending file root-relative, got: $out"
+  printf '%s\n' "$out" | grep -qv 'nix-store' \
+    || fail "the verdict must not mention nix-store, got: $out"
+  [ "$(printf '%s\n' "$out" | wc -l)" -le 2 ] \
+    || fail "the verdict must be the debt and nothing else, got: $out"
+  pass=$((pass+1))
+
+  # A scan that finds no Go file at all is a broken scan, not a clean tree:
+  # fail CLOSED rather than wave a push through unchecked.
+  rc=0; gate_gofmt_stage "$(mktemp -d)" >/dev/null 2>&1 || rc=$?
+  [ "$rc" -ne 0 ] || fail "a scan that found no Go files must fail closed (#1458)"
+  pass=$((pass+1))
+
+  rm -rf "$fmtrepo"
+fi
+
 echo "gate-lib: $pass checks passed"

Evidence: healer run heal-Matou-idss-1790530202-517383, signature db456344a32d, evidence dir /tmp/matou-heal-Matou-idss.CN21JG. Run: https://git.matou.nz/Matou/idss/actions/runs/34250

Filed by the swarm healer: harness-infra fault it could diagnose and fix but not land — the target files are factory-vendored, so the charter's one-attempt repair surface does not reach them.

CI run 34250 on `main` red at **Go: gofmt (tabs) — no formatting debt (#344)** is the *symptom* (#1912 holds the one-line product fix). This issue is the **harness root cause** — the answer to #1912's open question, "so on the pushing machine either `core.hooksPath` was not set or the push used `--no-verify`; gate logic itself looks correct." Gate logic is **not** correct. Gate 3b has never been able to produce a clean verdict on this host. ## Root cause `gate_gofmt_default_cmd` (`.sandcastle/gate-lib.sh`) scans the tree with `gofmt -l .`, filtering only `^node_modules/`. The swarm workdir also carries `.sandcastle/nix-store/` — gitignored (`.sandcastle/.gitignore:9`), untracked, present since **2026-09-11** — and that store holds the Go distribution's own `share/go/src/`. So the host gate reports: - **~340 files** gofmt calls unformatted, all of them the Go project's own sources; - **316 lines** of parse errors from `src/cmd/compile/internal/syntax/testdata/` (deliberately-malformed Go), printed before any verdict. Reproduced read-only against the swarm workdir at `ce04cd10`: ``` $ printf 'refs/heads/main %s refs/heads/main %s\n' ce04cd10 be44b096 \ | bash .sandcastle/gate.sh --prepush-host gate: Go change detected — running the cheap gofmt-only host gate (#1458) ... 316 lines of nix-store parse errors ... gofmt debt — run gofmt -w on: .sandcastle/nix-store/store/41y1amjf…-go-1.23.8/share/go/src/cmd/cgo/zdefaultcc.go … ~340 more nix-store paths … internal/controlapi/idip_backend_identity_test.go ← the one real line, last exit 1 ``` **Gate 3b landed 2026-09-12 (`70b3d228`) — one day after the nix store appeared.** It was born broken: every Go-touching push from a workdir carrying a nix store is refused with a verdict about files this repo does not own and cannot fix, whatever the pushed code looks like. CI never saw it (a clean checkout has no `nix-store/`), so #344 stayed the only honest gofmt verdict. That is the mechanism behind #1912's open question. A gate that blocks every push with 340 irrelevant files is a gate that gets bypassed — and gofmt debt reached `main` again in `ce04cd10`, the exact repeat of `f291b547`/#1429 that Gate 3b exists to stop. #1912's own diagnosis used `git ls-files '*.go' | xargs gofmt -l`, which is why it saw a clean tree and the gate looked fine. ## The fix — and why the healer could not land it Prune the scan's **input** (not its output, so the parse-error wall goes too), and fail **closed** if the pruner finds no Go file at all — an empty scan is a broken scan, not a clean tree. Patch below is **written and verified**, but `.sandcastle/gate-lib.sh` and `.sandcastle/tests/gate-lib-test.sh` are **factory-vendored** (ADR 0180; `FACTORY_MANIFEST:21,102`). `check-harness-drift.sh` confirms a direct edit drifts from `FACTORY_REF 87e1b556`, and the pre-push drift gate blocks it. So this must land the vendored way: 1. land the patch in `Matou/dev-factory`, 2. bump `.sandcastle/FACTORY_REF` and re-vendor (`onboarding/onboard.sh vendor`), 3. push. `scripts/seam-smoke.sh:208` carries the same `gofmt -l . | grep -v '^node_modules/'` line. It is **not** vendored and is **not** broken in CI (clean checkout, no nix-store), but it is the same landmine for anyone running the seam locally on `matou-workstation`. Sync it in the same change rather than leaving two implementations of one scan. ## Verification already done Against the real workdir, patched lib sourced read-only: | case | before | after | |---|---|---| | real debt present (`ce04cd10`) | exit 1, 318-line verdict, ~340 bogus files | **exit 1**, 2-line verdict: `internal/controlapi/idip_backend_identity_test.go` | | tree gofmt-clean (debt fixed) | — | **exit 0**, silent | | pruner finds no Go file | (would pass — fail-open) | **exit 4**, fails closed | `.sandcastle/tests/gate-lib-test.sh` goes 34 → 37 checks. The three new ones exercise `gate_gofmt_default_cmd` itself — every existing check stubs it via `GATE_GOFMT_CMD`, which is precisely how this shipped untested. Confirmed they **fail** against the un-patched lib: ``` FAIL: artifact-only gofmt debt must not block the push, got rc=1: .sandcastle/nix-store/…/broken.go:2:15: expected boolean expression, found assignment gofmt debt — run gofmt -w on: .sandcastle/nix-store/…/foreign.go ``` and pass against the patched one (`gate-lib: 37 checks passed`). ## The patch ```diff diff --git a/.sandcastle/gate-lib.sh b/.sandcastle/gate-lib.sh index 22e0dcf0..a5ee77fa 100644 --- a/.sandcastle/gate-lib.sh +++ b/.sandcastle/gate-lib.sh @@ -51,7 +51,13 @@ gate_langs_for_files() { gate_go_default_cmd() { local root="$1" nix develop "$root#go-ci" --command bash -euo pipefail -c ' - unformatted="$(gofmt -l . | grep -v "^node_modules/" || true)" + gofiles="$(find . -type f -name "*.go" \ + -not -path "./node_modules/*" -not -path "./.sandcastle/nix-store/*" \ + -printf "%P\\n" 2>/dev/null || true)" + if [ -z "$gofiles" ]; then + echo "gofmt debt check FAILED: found no Go files to scan — refusing to pass" >&2; exit 1 + fi + unformatted="$(printf "%s\\n" "$gofiles" | xargs -d "\\n" -r gofmt -l || true)" if [ -n "$unformatted" ]; then echo "gofmt debt — run gofmt -w on:"; printf "%s\n" "$unformatted"; exit 1 fi @@ -170,6 +176,30 @@ gate_ts_stage() { ( cd "$root" && gate_scrub_git_env && gate_ts_default_cmd "$root" ) } +# gate_gofmt_tree_go_files — newline-separated, root-relative list of the repo's +# OWN Go files: the tree minus the gitignored local build artifacts that carry +# FOREIGN Go, `node_modules/` and `.sandcastle/nix-store/`. Pruning the scan's +# INPUT (not +# filtering its output) is what keeps the verdict readable: a vendored nix store +# ships the Go distribution's own `src/`, whose deliberately-malformed testdata +# makes gofmt print hundreds of parse errors before any verdict at all. +# +# The nix-store entry is why the host gofmt gate never worked. Gate 3b landed +# 2026-09-12, one day AFTER a nix store appeared in the swarm workdir, and that +# store holds ~340 files gofmt calls unformatted. So every Go push from a workdir +# carrying one was blocked by a verdict about files this repo does not own and +# cannot fix, whatever the pushed code looked like. CI never saw it (a clean +# checkout has no nix-store), leaving #344 the only honest gofmt verdict — and a +# gate that always blocks is a gate that gets bypassed, which is how gofmt debt +# reached main again in ce04cd10, the repeat of f291b547/#1429 Gate 3b exists to +# stop. Prune the input, never the exit status: the gate still fails closed. +# Assumes cwd is the repo root. +gate_gofmt_tree_go_files() { + find . -type f -name '*.go' \ + -not -path './node_modules/*' -not -path './.sandcastle/nix-store/*' \ + -printf '%P\n' 2>/dev/null || true +} + # gate_gofmt_default_cmd <root> — the cheap gofmt-only check: `gofmt -l` over the # tree (mirrors the gofmt step of gate_go_default_cmd / seam-smoke.sh's #344 # stage), with NO nix shell and NO compile — a pure parse+print, sub-second on a @@ -177,8 +207,17 @@ gate_ts_stage() { # where the full Go seam (build/vet/test/lint) cannot (#198): it costs nothing. # Assumes cwd is <root> (its caller cd's there inside the git-env-scrub subshell). gate_gofmt_default_cmd() { - local unformatted - unformatted="$(gofmt -l . | grep -v '^node_modules/' || true)" + local gofiles unformatted + gofiles="$(gate_gofmt_tree_go_files)" + # No Go file at all in a repo whose pushed range touched Go means the pruner or + # the cwd is wrong, not that the tree is clean. Fail CLOSED, like the missing- + # gofmt arm of gate_gofmt_stage: a blocked push beats a red main (#1458). + if [ -z "$gofiles" ]; then + echo "gate: gofmt check found no Go files to scan under $PWD — refusing to" >&2 + echo "gate: report a clean tree it never looked at (#1458). Fix the scan." >&2 + return 4 + fi + unformatted="$(printf '%s\n' "$gofiles" | xargs -d '\n' -r gofmt -l || true)" if [ -n "$unformatted" ]; then echo "gofmt debt — run gofmt -w on:" >&2 printf '%s\n' "$unformatted" >&2 diff --git a/.sandcastle/tests/gate-lib-test.sh b/.sandcastle/tests/gate-lib-test.sh index 6de1f4e2..c0956e63 100644 --- a/.sandcastle/tests/gate-lib-test.sh +++ b/.sandcastle/tests/gate-lib-test.sh @@ -334,4 +334,53 @@ pass=$((pass+1)) lang="$(printf '%s\n' "$files" | gate_langs_for_files)" eq "go" "$lang" "the pushed range is a Go change" +# --- the DEFAULT gofmt command: what it scans (the #1458 regression) -------- +# Every check above stubs the stage with GATE_GOFMT_CMD, so gate_gofmt_default_cmd +# — the arm that actually runs on a host push — was never exercised, which is how +# it shipped scanning `.sandcastle/nix-store/`. That store holds the Go +# distribution's own src/, ~340 files gofmt calls unformatted plus a wall of +# deliberately-malformed testdata parse errors: the host gate blocked EVERY Go +# push with a verdict about files this repo cannot fix, so it got bypassed and +# gofmt debt reached main again (ce04cd10). These checks pin the scan's shape. +if command -v gofmt >/dev/null 2>&1; then + fmtrepo="$(mktemp -d)" + mkdir -p "$fmtrepo/internal" "$fmtrepo/node_modules/dep" \ + "$fmtrepo/.sandcastle/nix-store/store/go-1.23.8/share/go/src/cmd" + # gofmt wants a tab indent; two spaces is debt. + debt='package p\n\nfunc f() {\n return\n}\n' + clean='package p\n\nfunc f() {\n\treturn\n}\n' + printf "$clean" > "$fmtrepo/internal/ours.go" + printf "$debt" > "$fmtrepo/node_modules/dep/vendored.go" + printf "$debt" > "$fmtrepo/.sandcastle/nix-store/store/go-1.23.8/share/go/src/cmd/foreign.go" + # and the malformed testdata that makes gofmt print parse errors, not a verdict + printf 'package p\nfunc f() { if x := 1 {} }\n' \ + > "$fmtrepo/.sandcastle/nix-store/store/go-1.23.8/share/go/src/cmd/broken.go" + + # Debt that lives ONLY in gitignored artifact trees is not this repo's debt. + rc=0; out="$(gate_gofmt_stage "$fmtrepo" 2>&1)" || rc=$? + [ "$rc" -eq 0 ] || fail "artifact-only gofmt debt must not block the push, got rc=$rc: $out" + [ -z "$out" ] || fail "the gate must stay silent on a clean tree, got: $out" + pass=$((pass+1)) + + # Debt in the repo's OWN Go is still caught, and named root-relative. + printf "$debt" > "$fmtrepo/internal/ours.go" + rc=0; out="$(gate_gofmt_stage "$fmtrepo" 2>&1)" || rc=$? + [ "$rc" -ne 0 ] || fail "real gofmt debt must block the push" + printf '%s\n' "$out" | grep -qx 'internal/ours.go' \ + || fail "the verdict must name the offending file root-relative, got: $out" + printf '%s\n' "$out" | grep -qv 'nix-store' \ + || fail "the verdict must not mention nix-store, got: $out" + [ "$(printf '%s\n' "$out" | wc -l)" -le 2 ] \ + || fail "the verdict must be the debt and nothing else, got: $out" + pass=$((pass+1)) + + # A scan that finds no Go file at all is a broken scan, not a clean tree: + # fail CLOSED rather than wave a push through unchecked. + rc=0; gate_gofmt_stage "$(mktemp -d)" >/dev/null 2>&1 || rc=$? + [ "$rc" -ne 0 ] || fail "a scan that found no Go files must fail closed (#1458)" + pass=$((pass+1)) + + rm -rf "$fmtrepo" +fi + echo "gate-lib: $pass checks passed" ``` **Evidence:** healer run `heal-Matou-idss-1790530202-517383`, signature `db456344a32d`, evidence dir `/tmp/matou-heal-Matou-idss.CN21JG`. Run: https://git.matou.nz/Matou/idss/actions/runs/34250 Filed by the swarm healer: harness-infra fault it could diagnose and fix but not land — the target files are factory-vendored, so the charter's one-attempt repair surface does not reach them.
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/idss#1913
No description provided.