#281 closed green but its docs are stranded on sandcastle/rescue-20261017-062529 — GOTCHAS 76 + journal 281 are not on main (run 22832) #282

Closed
opened 2026-10-17 06:28:57 +00:00 by matou-build-agent · 3 comments

Filed by the healer for run 22832 (signature e9d7ba086503, stage reconcile push to main, reason push-parked-on-rescue).

What happened

Two hosts fixed the SAME lib within four seconds:

commit host ticket
a4be7db 06:23:53 session-runner@elitebook-distributed-server-03 #280
8c79668 06:23:57 worker@bens-mac-04 (run 22832) #281

a4be7db won the push race. Run 22832's reconcile was rejected (! [rejected] HEAD -> main (fetch first)), its rebase onto the new origin/main hit CONFLICT (content): Merge conflict in STATUS.md, so run-swarm parked 8c79668 on sandcastle/rescue-20261017-062529 and exited 1 (job-log.txt lines 126-144). That park is correct behaviour — nothing was lost on disk, and git-setup.sh's unconditional git reset --hard origin/main self-clears the host workdir on the next tick (it was left ahead 1, behind 1; workdir-git.txt).

But #281 was closed success at 06:24:39 — 46 seconds BEFORE the push failed. The worker's close-report says "Landed & closed: committed 8c79668, pushed to the worker branch for the host to land on main" (worker-logs.txt line 154). The push-mode gate verified reachability against the pushed worker branch, not against main. Same false-green landing seam #244/#271 own — logged here only as another instance, not a new mechanism.

What is and is not on main

Verified against origin/main = a4be7db:

  • Already landed, byte-identical — protected-paths-lib.sh and tests/protected-paths-lib-test.sh are IDENTICAL between 8c79668 and a4be7db (git diff 8c79668:<f> a4be7db:<f> is empty for both). bash tests/protected-paths-lib-test.sh → 47 checks passed; tests/docs-budget-test.sh → 4 passed. The #281 code fix is on main. No code is missing.
  • Stranded on the rescue branch — doc-only content:
    • docs/GOTCHAS.md index row 76 (unquoted $list splitting in a path-matching lib rewrites its patterns from the caller's cwd)
    • docs/gotchas/76-unquoted-list-splitting-in-a-path-matching-lib-rewrites-patterns.md (47-line body)
    • docs/journal/2026-10-17-281.md
    • the STATUS.md header line (superseded by #280's — do NOT restore it)

a4be7db instead EXTENDED GOTCHAS 75's body with the word-split trap rather than minting 76, so the two overlap. That is the editorial call this ticket needs.

What to do

  1. git fetch origin sandcastle/rescue-20261017-062529 and take ONLY the doc paths from 8c79668 — never the lib or the test (identical to main; a cherry-pick of the whole commit will conflict on STATUS.md for no gain).
  2. Decide 76 vs 75: either keep 76 as a distinct hazard (the word-split/cwd trap, separate from 75's runtime-tree fingerprinting) and trim the overlap out of 75's extended body, or fold 76's body into 75 and drop the row. One hazard, one row — repo rule.
  3. Add a docs/journal/2026-10-17-<this ticket>.md entry recording the reconciliation (keep 2026-10-17-281.md if you land it; journal is append-only). Leave the STATUS header as #280's unless this change itself moves project state; update the affected surface row either way.
  4. Keep tests/docs-budget-test.sh green — the STATUS header is at 2046 B of a 2048 B budget, so do not grow it.

Root-class docs change: INERT in the running .sandcastle/ self-copy until a human re-vendors (GOTCHAS 4) — but these are docs, so nothing runtime depends on it. #280's own re-vendor follow-up still applies to the lib.

Not a repair the healer could make

Root-tree docs needing an editorial merge decision (76 vs 75) are out of the healer's charter, so no repair was attempted. Host workdir needed no reset — git-setup.sh resets it unconditionally each run.

Filed by the healer for run [22832](https://git.matou.nz/Matou/dev-factory/actions/runs/22832) (signature `e9d7ba086503`, stage `reconcile push to main`, reason `push-parked-on-rescue`). ## What happened Two hosts fixed the SAME lib within four seconds: | commit | host | ticket | |---|---|---| | `a4be7db` 06:23:53 | session-runner@elitebook-distributed-server-03 | #280 | | `8c79668` 06:23:57 | worker@bens-mac-04 (run 22832) | #281 | `a4be7db` won the push race. Run 22832's reconcile was rejected (`! [rejected] HEAD -> main (fetch first)`), its rebase onto the new `origin/main` hit `CONFLICT (content): Merge conflict in STATUS.md`, so run-swarm parked `8c79668` on `sandcastle/rescue-20261017-062529` and exited 1 (`job-log.txt` lines 126-144). That park is correct behaviour — nothing was lost on disk, and `git-setup.sh`'s unconditional `git reset --hard origin/main` self-clears the host workdir on the next tick (it was left `ahead 1, behind 1`; `workdir-git.txt`). **But #281 was closed `success` at 06:24:39 — 46 seconds BEFORE the push failed.** The worker's close-report says "Landed & closed: committed `8c79668`, pushed to the worker branch for the host to land on `main`" (`worker-logs.txt` line 154). The push-mode gate verified reachability against the pushed worker branch, not against `main`. Same false-green landing seam #244/#271 own — logged here only as another instance, not a new mechanism. ## What is and is not on main Verified against `origin/main` = `a4be7db`: - **Already landed, byte-identical** — `protected-paths-lib.sh` and `tests/protected-paths-lib-test.sh` are IDENTICAL between `8c79668` and `a4be7db` (`git diff 8c79668:<f> a4be7db:<f>` is empty for both). `bash tests/protected-paths-lib-test.sh` → 47 checks passed; `tests/docs-budget-test.sh` → 4 passed. **The #281 code fix is on main. No code is missing.** - **Stranded on the rescue branch** — doc-only content: - `docs/GOTCHAS.md` index row **76** (unquoted `$list` splitting in a path-matching lib rewrites its patterns from the caller's cwd) - `docs/gotchas/76-unquoted-list-splitting-in-a-path-matching-lib-rewrites-patterns.md` (47-line body) - `docs/journal/2026-10-17-281.md` - the `STATUS.md` header line (superseded by #280's — do NOT restore it) `a4be7db` instead EXTENDED GOTCHAS 75's body with the word-split trap rather than minting 76, so the two overlap. That is the editorial call this ticket needs. ## What to do 1. `git fetch origin sandcastle/rescue-20261017-062529` and take ONLY the doc paths from `8c79668` — never the lib or the test (identical to main; a cherry-pick of the whole commit will conflict on STATUS.md for no gain). 2. Decide 76 vs 75: either keep 76 as a distinct hazard (the word-split/cwd trap, separate from 75's runtime-tree fingerprinting) and trim the overlap out of 75's extended body, or fold 76's body into 75 and drop the row. One hazard, one row — repo rule. 3. Add a `docs/journal/2026-10-17-<this ticket>.md` entry recording the reconciliation (keep `2026-10-17-281.md` if you land it; journal is append-only). Leave the STATUS header as #280's unless this change itself moves project state; update the affected surface row either way. 4. Keep `tests/docs-budget-test.sh` green — the STATUS header is at 2046 B of a 2048 B budget, so do not grow it. Root-class docs change: INERT in the running `.sandcastle/` self-copy until a human re-vendors (GOTCHAS 4) — but these are docs, so nothing runtime depends on it. #280's own re-vendor follow-up still applies to the lib. ## Not a repair the healer could make Root-tree docs needing an editorial merge decision (76 vs 75) are out of the healer's charter, so no repair was attempted. Host workdir needed no reset — `git-setup.sh` resets it unconditionally each run.
Author
Member

swarm-claim host=matou-dev-server-01 run=22844
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=22844 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

⏩ independent reviewer for #282 — verdict unauthenticated

review JSON
{
  "verdict": "unauthenticated",
  "findings": []
}
:fast_forward: **independent reviewer** for #282 — verdict `unauthenticated` <details><summary>review JSON</summary> ```json { "verdict": "unauthenticated", "findings": [] } ``` </details>
Author
Member

close-report for #282 — status success

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

envelope
{
  "issue": 282,
  "status": "success",
  "commits": [
    "02bafcbc7e46c3a8cdbfcc74f9fa48b58cfbe172"
  ],
  "changed_files": [
    "docs/GOTCHAS.md",
    "docs/gotchas/75-the-protected-path-boundary-fingerprints-gitignored-runtime-trees.md",
    "docs/gotchas/76-unquoted-list-splitting-in-a-path-matching-lib-rewrites-patterns.md",
    "docs/journal/2026-10-17-281.md",
    "docs/journal/2026-10-17-282.md"
  ],
  "tests": [
    {
      "command": "bash tests/docs-budget-test.sh",
      "exit_code": 0
    },
    {
      "command": "bash tests/protected-paths-lib-test.sh",
      "exit_code": 0
    },
    {
      "command": "for t in tests/*.sh onboarding/tests/*.sh; do case \"$t\" in *fakebin*|*fixtures*) continue;; esac; bash \"$t\" || echo FAIL: $t; done",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Take ONLY the doc paths from 8c79668, never the lib/test": "docs/gotchas/76-*.md and docs/journal/2026-10-17-281.md restored via `git checkout 8c79668 -- <doc paths>` and verified byte-identical to 8c79668 (diff -q empty for both); protected-paths-lib.sh and tests/protected-paths-lib-test.sh are NOT in the commit's changed_files (already on main, byte-identical to a4be7db)",
    "Decide 76 vs 75: one hazard, one row": "Kept 76 as a distinct hazard (general unquoted-list-split + pathname-expansion shell hazard, sibling to GOTCHAS 15) and trimmed the overlapping 'Second trap' paragraph out of 75's body (docs/gotchas/75-*.md) to a one-line pointer to 76; index row 76 added to docs/GOTCHAS.md; 75's Related cross-references 76. Editorial call ruled by agent under the two-way-door rule, recorded in docs/journal/2026-10-17-282.md",
    "Add a journal entry for this ticket recording the reconciliation; keep 2026-10-17-281.md": "docs/journal/2026-10-17-282.md added (the reconciliation + editorial call); docs/journal/2026-10-17-281.md landed byte-identical from 8c79668 (append-only, both present)",
    "Leave STATUS header as #280's; do not restore #281's; update affected surface row either way": "STATUS.md is NOT in changed_files — #280's header is untouched and #281's blank header was not restored; no consumer/host surface row is affected by a docs-only reconciliation",
    "Keep tests/docs-budget-test.sh green (STATUS header budget)": "bash tests/docs-budget-test.sh -> 4 passed, 0 failed; STATUS.md unchanged so the header stays within budget; GOTCHAS.md 19023 bytes < 24576"
  },
  "summary": "Reconciled #281's stranded doc-only content (GOTCHAS 76 + body + journal) onto main, trimming the overlap out of 75 and keeping 76 as a distinct hazard, with the editorial call recorded in a new journal entry.",
  "blockers": []
}
**close-report** for #282 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 282, "status": "success", "commits": [ "02bafcbc7e46c3a8cdbfcc74f9fa48b58cfbe172" ], "changed_files": [ "docs/GOTCHAS.md", "docs/gotchas/75-the-protected-path-boundary-fingerprints-gitignored-runtime-trees.md", "docs/gotchas/76-unquoted-list-splitting-in-a-path-matching-lib-rewrites-patterns.md", "docs/journal/2026-10-17-281.md", "docs/journal/2026-10-17-282.md" ], "tests": [ { "command": "bash tests/docs-budget-test.sh", "exit_code": 0 }, { "command": "bash tests/protected-paths-lib-test.sh", "exit_code": 0 }, { "command": "for t in tests/*.sh onboarding/tests/*.sh; do case \"$t\" in *fakebin*|*fixtures*) continue;; esac; bash \"$t\" || echo FAIL: $t; done", "exit_code": 0 } ], "criteria": { "Take ONLY the doc paths from 8c79668, never the lib/test": "docs/gotchas/76-*.md and docs/journal/2026-10-17-281.md restored via `git checkout 8c79668 -- <doc paths>` and verified byte-identical to 8c79668 (diff -q empty for both); protected-paths-lib.sh and tests/protected-paths-lib-test.sh are NOT in the commit's changed_files (already on main, byte-identical to a4be7db)", "Decide 76 vs 75: one hazard, one row": "Kept 76 as a distinct hazard (general unquoted-list-split + pathname-expansion shell hazard, sibling to GOTCHAS 15) and trimmed the overlapping 'Second trap' paragraph out of 75's body (docs/gotchas/75-*.md) to a one-line pointer to 76; index row 76 added to docs/GOTCHAS.md; 75's Related cross-references 76. Editorial call ruled by agent under the two-way-door rule, recorded in docs/journal/2026-10-17-282.md", "Add a journal entry for this ticket recording the reconciliation; keep 2026-10-17-281.md": "docs/journal/2026-10-17-282.md added (the reconciliation + editorial call); docs/journal/2026-10-17-281.md landed byte-identical from 8c79668 (append-only, both present)", "Leave STATUS header as #280's; do not restore #281's; update affected surface row either way": "STATUS.md is NOT in changed_files — #280's header is untouched and #281's blank header was not restored; no consumer/host surface row is affected by a docs-only reconciliation", "Keep tests/docs-budget-test.sh green (STATUS header budget)": "bash tests/docs-budget-test.sh -> 4 passed, 0 failed; STATUS.md unchanged so the header stays within budget; GOTCHAS.md 19023 bytes < 24576" }, "summary": "Reconciled #281's stranded doc-only content (GOTCHAS 76 + body + journal) onto main, trimming the overlap out of 75 and keeping 76 as a distinct hazard, with the editorial call recorded in a new journal entry.", "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#282
No description provided.