From 12cc8ec55460901d4017d868672d2d0e719c5ff3 Mon Sep 17 00:00:00 2001 From: tommy-ca <140900186+tommy-ca@users.noreply.github.com> Date: Tue, 20 Oct 2026 20:05:36 +0200 Subject: [PATCH] fix(test): reconcile absorbed-intent overnight needle with upstream 0.15.29 (#639) --- .grok/skills/verify-pstack/scripts/absorbed.py | 2 +- tests/test_absorbed_intent.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.grok/skills/verify-pstack/scripts/absorbed.py b/.grok/skills/verify-pstack/scripts/absorbed.py index 7aa25c4f..0b7d567e 100755 --- a/.grok/skills/verify-pstack/scripts/absorbed.py +++ b/.grok/skills/verify-pstack/scripts/absorbed.py @@ -12,7 +12,7 @@ PIN_RE = re.compile(r"^tree ([0-9a-f]{40})$", re.M) PRESENT = ( - ("docs/guide/07-overnight.md", "starts a round at the owner"), + ("docs/guide/07-overnight.md", "checks the owner's code-ready head"), ("docs/guide/07-overnight.md", "scheduler_create"), ("docs/guide/07-overnight.md", "pstack:comment-sicko"), ("skills/show-me-your-work/scripts/log.sh", '[ ! -s "$logfile" ]'), diff --git a/tests/test_absorbed_intent.py b/tests/test_absorbed_intent.py index 49b88519..522663b1 100644 --- a/tests/test_absorbed_intent.py +++ b/tests/test_absorbed_intent.py @@ -68,7 +68,7 @@ def test_missing_overnight_sentence_fails(tmp_path: Path) -> None: overnight = root / "docs/guide/07-overnight.md" overnight.write_text( overnight.read_text(encoding="utf-8").replace( - "starts a round at the owner", "checks every merge-ready head" + "checks the owner's code-ready head", "checks every merge-ready head" ), encoding="utf-8", ) @@ -76,7 +76,7 @@ def test_missing_overnight_sentence_fails(tmp_path: Path) -> None: commits.write_text("", encoding="utf-8") proc = _run(root, ["--commits-file", str(commits)]) assert proc.returncode != 0 - assert "missing docs/guide/07-overnight.md: starts a round at the owner" in proc.stdout + assert "missing docs/guide/07-overnight.md: checks the owner's code-ready head" in proc.stdout assert "pstack commits after pin" not in proc.stdout