From 71608c06f2569ee8615b6b1634a820174e7bc7c4 Mon Sep 17 00:00:00 2001 From: tegwick Date: Wed, 14 Oct 2026 02:03:14 +0200 Subject: [PATCH] Fix FI brief rebase tests failing under the fleet pre-commit hook The fixture's origin commit touches only WORK-RECORDS.md, which the global repo-manager hook rejects as generated-only; bypass hooks for that fixture commit. Both tests had failed on every hooked workstation. Co-Authored-By: Claude Opus 5.5 Assistant: claude-code Assistant-Model: opus Assistant-Process: 269692@bnt-lap001 Assistant-Session: 8077e68a-0985-4b41-898c-2dc602b0d6be --- .custodian-brief.md | 5 ++--- tests/test_fi_research_brief.py | 5 ++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.custodian-brief.md b/.custodian-brief.md index 6823e83..ac84d63 100644 --- a/.custodian-brief.md +++ b/.custodian-brief.md @@ -2,19 +2,18 @@ # Custodian Brief — rein-aharness **Domain:** agents -**Last synced:** 2026-10-13 21:26 UTC +**Last synced:** 2026-10-13 23:55 UTC **State Hub:** http://127.0.0.1:8000 *(adjust if running on a remote machine)* ## Active Workstreams ### Simpler metered retry: free rehearsal, zero-cost hold release, one-command renewal -Progress: 2/7 done | workplan_id: `187c2599-84a6-5764-a14f-7e9121975bf2` +Progress: 3/7 done | workplan_id: `187c2599-84a6-5764-a14f-7e9121975bf2` **Open tasks:** - ! C. Envelopes that cover several attempts (decision) `898e02af` - ! E. Ship the owner runtime as a container image (decision) `b486e86b` - ! F. Approvals per envelope (decision) `4cf721e6` -- · B. Release holds that provably cost nothing `6a413f5a` - · Retry on the corrected runtime `80318842` ### Governed runtime integrity and intent convergence diff --git a/tests/test_fi_research_brief.py b/tests/test_fi_research_brief.py index 878a4c9..4cd2e94 100644 --- a/tests/test_fi_research_brief.py +++ b/tests/test_fi_research_brief.py @@ -113,7 +113,10 @@ def _advance_origin(tmp_path: Path, name: str, rel: str) -> None: (other / rel).parent.mkdir(parents=True, exist_ok=True) (other / rel).write_text("moved\n", encoding="utf-8") _git(other, "add", rel) - _git(other, "-c", "user.email=o@example.invalid", "-c", "user.name=o", "commit", "-qm", "move origin") + # Bypass the developer's global hooks: a fleet pre-commit hook rejects a + # commit touching only generated files such as WORK-RECORDS.md. + _git(other, "-c", "core.hooksPath=/dev/null", "-c", "user.email=o@example.invalid", + "-c", "user.name=o", "commit", "-qm", "move origin") _git(other, "push", "-q", "origin", "HEAD:main")