docs-budget-test.sh fails in every vendored copy — it resolves STATUS.md/GOTCHAS.md relative to tests/.., which is .sandcastle/ in a consumer #294

Closed
opened 2026-10-21 05:19:05 +00:00 by ben · 66 comments
Owner

tests/docs-budget-test.sh (#196) resolves STATUS.md and docs/GOTCHAS.md as $here/../STATUS.md — the repo root when run from tests/ in this repo, but .sandcastle/ when the test is vendored into a consumer (or into this repo's own .sandcastle/ self-copy). Observed 2026-10-21 running the vendored suite in Matou/coa at a2dc353 and in this repo's self-copy at a4be7db:

FAIL: STATUS.md not found at <repo>/.sandcastle/tests/../STATUS.md
FAIL: docs/GOTCHAS.md not found at <repo>/.sandcastle/tests/../docs/GOTCHAS.md
docs-budget-test: 0 passed, 2 failed

Its own header says "tests/ IS .sandcastle/tests/ in a consumer", so the intent is known; the test just needs to either skip when the budgeted docs are absent (a consumer has no factory STATUS/GOTCHAS under .sandcastle/) or be excluded from the vendored manifest. Every consumer's for t in .sandcastle/tests/*.sh loop reds on it today.

`tests/docs-budget-test.sh` (#196) resolves `STATUS.md` and `docs/GOTCHAS.md` as `$here/../STATUS.md` — the repo root when run from `tests/` in this repo, but `.sandcastle/` when the test is vendored into a consumer (or into this repo's own `.sandcastle/` self-copy). Observed 2026-10-21 running the vendored suite in `Matou/coa` at `a2dc353` and in this repo's self-copy at `a4be7db`: ``` FAIL: STATUS.md not found at <repo>/.sandcastle/tests/../STATUS.md FAIL: docs/GOTCHAS.md not found at <repo>/.sandcastle/tests/../docs/GOTCHAS.md docs-budget-test: 0 passed, 2 failed ``` Its own header says "tests/ IS .sandcastle/tests/ in a consumer", so the intent is known; the test just needs to either skip when the budgeted docs are absent (a consumer has no factory STATUS/GOTCHAS under `.sandcastle/`) or be excluded from the vendored manifest. Every consumer's `for t in .sandcastle/tests/*.sh` loop reds on it today.

This was generated by AI during triage.

Ruled by agent under ADR 0174 — veto anytime.

Ruling: confirmed bug, routed ready-for-agent.

Why it is a two-way door: the fix is a self-contained edit to the docs-budget ratchet test (a root tests/ file — not a prompt skeleton, not the .sandcastle/ self-copy, not .forgejo/, so a swarm worker may do it). It is revertible by a later commit and provable by running the offline suite in both contexts. It is not on the one-way-door list (no credentials, no security-posture widening, no trust accept, no data destruction, no spend).

What proves it: running bash tests/docs-budget-test.sh from the factory root must still pass (and still red if STATUS.md / GOTCHAS.md are genuinely missing there), while bash .sandcastle/tests/docs-budget-test.sh in this repo's self-copy — today 0 passed, 2 failed — must go green with a visible skip line.

Reproduced during triage in this repo's .sandcastle/ self-copy:

FAIL: STATUS.md not found at <repo>/.sandcastle/tests/../STATUS.md
FAIL: docs/GOTCHAS.md not found at <repo>/.sandcastle/tests/../docs/GOTCHAS.md
docs-budget-test: 0 passed, 2 failed

Cause is exactly as filed: the test resolves STATUS.md / docs/GOTCHAS.md at $here/.., which is the repo root in the factory core but .sandcastle/ when vendored — and docs/** and the root STATUS.md are vendor-excluded, so those budgeted docs never exist alongside the vendored test. Every consumer's for t in .sandcastle/tests/*.sh loop reds on it.

Ruled approach (option a): make the ratchet skip visibly when the budgeted docs are absent — which is precisely the vendored case — rather than drop it from the vendor manifest. This keeps the test byte-identical across all copies (no per-file manifest exclusion to maintain) and matches the suite's established "visible skip on stdout, never a silent pass" idiom (see close-report-test.sh). The skip must be distinguishable from a genuine regression: a missing budgeted doc in the factory core (where it is supposed to exist) must still red.


Agent Brief

Category: bug
Summary: The docs-budget ratchet test (tests/docs-budget-test.sh, #196) reds in every vendored copy because it resolves STATUS.md / docs/GOTCHAS.md at a path that only holds those files in the factory core.

Current behavior:
The test measures STATUS.md and docs/GOTCHAS.md relative to the test's own directory's parent. In the factory core that parent is the repo root (files present → budgets checked). When the test is vendored — into any consumer's .sandcastle/, or into this repo's own .sandcastle/ self-copy — that parent is .sandcastle/, which carries no root STATUS.md and no docs/GOTCHAS.md (both are vendor-excluded). The test calls fail for each absent file, so every vendored run reports 0 passed, 2 failed and reds the whole .sandcastle/tests/*.sh loop.

Desired behavior:
When the budgeted docs are absent because the test is running from a vendored copy, the test skips them visibly (a line on stdout naming the skip and why) and does not count a failure. When run from the factory core, the budgets are enforced exactly as today, and a genuinely missing STATUS.md or docs/GOTCHAS.md there still reds — the skip must not mask a real regression in the core repo.

Key interfaces / contract:

  • Keep the test vendored byte-identical (it stays in tests/**); do not solve this by excluding it from the vendor manifest.
  • Distinguish "vendored, docs legitimately absent" from "factory core, doc missing = regression". A reliable signal is whether the test's resolved root is the vendored self-copy directory (its basename is .sandcastle) versus a real repo root; use whatever signal is robust, but the two cases must diverge.
  • Reuse the suite's shared helpers in tests/lib.sh (check/fail/ok/summary); emit the skip through a stdout line, not a silent pass, consistent with the close-report-test.sh skip idiom.

Acceptance criteria:

  • bash tests/docs-budget-test.sh from the factory root still passes and still enforces all current budgets (STATUS.md size, longest-line, no **Last updated lead, GOTCHAS.md index size).
  • bash .sandcastle/tests/docs-budget-test.sh in this repo's self-copy exits 0 and prints a visible skip line for each absent budgeted doc (no FAIL: lines).
  • The same vendored run in a consumer (.sandcastle/tests/docs-budget-test.sh) exits 0.
  • If STATUS.md or docs/GOTCHAS.md is removed from the factory root, the test from the factory root still reds (the skip does not mask a core regression).
  • The whole offline suite stays green: for t in tests/*.sh onboarding/tests/*.sh; do case "$t" in *fakebin*|*fixtures*) continue;; esac; bash "$t" || echo "FAIL: $t"; done

Out of scope:

  • Changing any budget threshold value.
  • Touching the vendor manifest or the set of vendored files.
  • Any other test's vendored-context behavior (this ticket is the docs-budget ratchet only).
> *This was generated by AI during triage.* **Ruled by agent under ADR 0174 — veto anytime.** **Ruling:** confirmed bug, routed `ready-for-agent`. **Why it is a two-way door:** the fix is a self-contained edit to the docs-budget ratchet test (a root `tests/` file — not a prompt skeleton, not the `.sandcastle/` self-copy, not `.forgejo/`, so a swarm worker may do it). It is revertible by a later commit and provable by running the offline suite in both contexts. It is not on the one-way-door list (no credentials, no security-posture widening, no trust accept, no data destruction, no spend). **What proves it:** running `bash tests/docs-budget-test.sh` from the factory root must still pass (and still red if STATUS.md / GOTCHAS.md are genuinely missing there), while `bash .sandcastle/tests/docs-budget-test.sh` in this repo's self-copy — today `0 passed, 2 failed` — must go green with a visible skip line. **Reproduced during triage** in this repo's `.sandcastle/` self-copy: ``` FAIL: STATUS.md not found at <repo>/.sandcastle/tests/../STATUS.md FAIL: docs/GOTCHAS.md not found at <repo>/.sandcastle/tests/../docs/GOTCHAS.md docs-budget-test: 0 passed, 2 failed ``` Cause is exactly as filed: the test resolves `STATUS.md` / `docs/GOTCHAS.md` at `$here/..`, which is the repo root in the factory core but `.sandcastle/` when vendored — and `docs/**` and the root `STATUS.md` are vendor-excluded, so those budgeted docs never exist alongside the vendored test. Every consumer's `for t in .sandcastle/tests/*.sh` loop reds on it. **Ruled approach (option a):** make the ratchet skip *visibly* when the budgeted docs are absent — which is precisely the vendored case — rather than drop it from the vendor manifest. This keeps the test byte-identical across all copies (no per-file manifest exclusion to maintain) and matches the suite's established "visible skip on stdout, never a silent pass" idiom (see `close-report-test.sh`). The skip must be distinguishable from a genuine regression: a missing budgeted doc in the *factory core* (where it is supposed to exist) must still red. --- ## Agent Brief **Category:** bug **Summary:** The docs-budget ratchet test (`tests/docs-budget-test.sh`, #196) reds in every vendored copy because it resolves `STATUS.md` / `docs/GOTCHAS.md` at a path that only holds those files in the factory core. **Current behavior:** The test measures `STATUS.md` and `docs/GOTCHAS.md` relative to the test's own directory's parent. In the factory core that parent is the repo root (files present → budgets checked). When the test is vendored — into any consumer's `.sandcastle/`, or into this repo's own `.sandcastle/` self-copy — that parent is `.sandcastle/`, which carries no root `STATUS.md` and no `docs/GOTCHAS.md` (both are vendor-excluded). The test calls `fail` for each absent file, so every vendored run reports `0 passed, 2 failed` and reds the whole `.sandcastle/tests/*.sh` loop. **Desired behavior:** When the budgeted docs are absent *because the test is running from a vendored copy*, the test skips them visibly (a line on stdout naming the skip and why) and does not count a failure. When run from the factory core, the budgets are enforced exactly as today, and a genuinely missing `STATUS.md` or `docs/GOTCHAS.md` there still reds — the skip must not mask a real regression in the core repo. **Key interfaces / contract:** - Keep the test vendored byte-identical (it stays in `tests/**`); do **not** solve this by excluding it from the vendor manifest. - Distinguish "vendored, docs legitimately absent" from "factory core, doc missing = regression". A reliable signal is whether the test's resolved root is the vendored self-copy directory (its basename is `.sandcastle`) versus a real repo root; use whatever signal is robust, but the two cases must diverge. - Reuse the suite's shared helpers in `tests/lib.sh` (`check`/`fail`/`ok`/`summary`); emit the skip through a stdout line, not a silent pass, consistent with the `close-report-test.sh` skip idiom. **Acceptance criteria:** - [ ] `bash tests/docs-budget-test.sh` from the factory root still passes and still enforces all current budgets (STATUS.md size, longest-line, no `**Last updated` lead, GOTCHAS.md index size). - [ ] `bash .sandcastle/tests/docs-budget-test.sh` in this repo's self-copy exits 0 and prints a visible skip line for each absent budgeted doc (no `FAIL:` lines). - [ ] The same vendored run in a consumer (`.sandcastle/tests/docs-budget-test.sh`) exits 0. - [ ] If `STATUS.md` or `docs/GOTCHAS.md` is removed from the factory root, the test from the factory root still reds (the skip does not mask a core regression). - [ ] The whole offline suite stays green: `for t in tests/*.sh onboarding/tests/*.sh; do case "$t" in *fakebin*|*fixtures*) continue;; esac; bash "$t" || echo "FAIL: $t"; done` **Out of scope:** - Changing any budget threshold value. - Touching the vendor manifest or the set of vendored files. - Any other test's vendored-context behavior (this ticket is the docs-budget ratchet only).

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

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

swarm-claim host=elitebook-distributed-server-03 run=23556
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23556 (automated multi-host claim — lowest live claim id works this ticket)

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

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

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

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

swarm-claim host=elitebook-distributed-server-03 run=23556
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23556 (automated multi-host claim — lowest live claim id works this ticket)

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

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

swarm-claim host=elitebook-distributed-server-03 run=23566
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23566 (automated multi-host claim — lowest live claim id works this ticket)

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

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

swarm-claim host=elitebook-distributed-server-03 run=23566
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23566 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23566
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23566 (automated multi-host claim — lowest live claim id works this ticket)

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

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

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

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

swarm-claim host=elitebook-distributed-server-03 run=23568
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23568 (automated multi-host claim — lowest live claim id works this ticket)

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

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

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

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

swarm-claim host=elitebook-distributed-server-03 run=23568
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23568 (automated multi-host claim — lowest live claim id works this ticket)

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

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

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

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

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

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

swarm-claim host=elitebook-distributed-server-03 run=23573
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23573 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23573
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23573 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23573
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23573 (automated multi-host claim — lowest live claim id works this ticket)

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

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

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

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

swarm-claim host=elitebook-distributed-server-03 run=23578
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23578 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23578
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23578 (automated multi-host claim — lowest live claim id works this ticket)

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

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

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

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

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

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

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

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

swarm-claim host=elitebook-distributed-server-03 run=23580
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23580 (automated multi-host claim — lowest live claim id works this ticket)

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

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

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

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

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

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

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

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

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

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

swarm-claim host=elitebook-distributed-server-03 run=23587
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23587 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23587
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23587 (automated multi-host claim — lowest live claim id works this ticket)

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

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

swarm-claim host=elitebook-distributed-server-03 run=23587
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23587 (automated multi-host claim — lowest live claim id works this ticket)

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

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

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

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

swarm-claim host=elitebook-distributed-server-03 run=23590
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23590 (automated multi-host claim — lowest live claim id works this ticket)

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

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

swarm-claim host=elitebook-distributed-server-03 run=23590
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23590 (automated multi-host claim — lowest live claim id works this ticket)

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

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

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

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

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

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

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

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

swarm-claim host=elitebook-distributed-server-03 run=23597
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23597 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23597
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23597 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23597
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=23597 (automated multi-host claim — lowest live claim id works this ticket)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

⏩ independent reviewer for #294 — verdict unauthenticated

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

close-report for #294 — status success

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

envelope
{
  "issue": 294,
  "status": "success",
  "commits": [
    "1294f3e"
  ],
  "changed_files": [
    "tests/docs-budget-test.sh",
    "docs/journal/2026-10-21-294.md"
  ],
  "tests": [
    {
      "command": "bash tests/docs-budget-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": {
    "factory-root run still passes and enforces all current budgets": "bash tests/docs-budget-test.sh -> 4 passed, 0 failed (STATUS size/longest-line/no **Last updated/GOTCHAS size)",
    "vendored .sandcastle run exits 0 with a visible skip line per absent doc, no FAIL:": "elif [ \"$vendored\" -eq 1 ] prints 'SKIPPING ... absent in vendored copy'; simulated .sandcastle/ root -> exit 0, two skip lines, no FAIL (the live .sandcastle/ copy goes green at the next FACTORY_REF re-vendor per GOTCHAS 4)",
    "consumer vendored run exits 0": "same elif branch; vendored flag set when resolved root basename == .sandcastle",
    "removing STATUS.md/GOTCHAS.md from the factory root still reds": "else fail branch retained for non-vendored root; simulated core run with docs removed -> 0 passed, 2 failed, exit 1",
    "whole offline suite stays green": "full suite loop printed no FAIL lines"
  },
  "summary": "docs-budget ratchet now skips an absent budgeted doc visibly when run from a vendored .sandcastle/ copy, while still reding a genuinely-missing doc in the factory core.",
  "blockers": []
}
**close-report** for #294 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 294, "status": "success", "commits": [ "1294f3e" ], "changed_files": [ "tests/docs-budget-test.sh", "docs/journal/2026-10-21-294.md" ], "tests": [ { "command": "bash tests/docs-budget-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": { "factory-root run still passes and enforces all current budgets": "bash tests/docs-budget-test.sh -> 4 passed, 0 failed (STATUS size/longest-line/no **Last updated/GOTCHAS size)", "vendored .sandcastle run exits 0 with a visible skip line per absent doc, no FAIL:": "elif [ \"$vendored\" -eq 1 ] prints 'SKIPPING ... absent in vendored copy'; simulated .sandcastle/ root -> exit 0, two skip lines, no FAIL (the live .sandcastle/ copy goes green at the next FACTORY_REF re-vendor per GOTCHAS 4)", "consumer vendored run exits 0": "same elif branch; vendored flag set when resolved root basename == .sandcastle", "removing STATUS.md/GOTCHAS.md from the factory root still reds": "else fail branch retained for non-vendored root; simulated core run with docs removed -> 0 passed, 2 failed, exit 1", "whole offline suite stays green": "full suite loop printed no FAIL lines" }, "summary": "docs-budget ratchet now skips an absent budgeted doc visibly when run from a vendored .sandcastle/ copy, while still reding a genuinely-missing doc in the factory core.", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 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
Matou/dev-factory#294
No description provided.