From b579a13db759c38c41541a021bbbac188f4bf8a8 Mon Sep 17 00:00:00 2001 From: Tianyi Cui <53024+tianyicui@users.noreply.github.com> Date: Tue, 14 Jul 2026 00:28:20 +0800 Subject: [PATCH] test: trim PostToolUse snapshot retries --- .../2026-07-04-hook-snapshot-matrix.md | 4 +- examples/acp-agent/tests/acp.snapshot.ts | 3 - .../hook-cc-posttool-block/input.json | 2 +- .../hook-cc-posttool-block/session.jsonl | 694 +----------------- .../stdout.golden.jsonl | 434 +---------- .../hook-codex-posttool-block/input.json | 2 +- .../hook-codex-posttool-block/session.jsonl | 2 +- 7 files changed, 16 insertions(+), 1125 deletions(-) diff --git a/docs/rfc/implemented/testing/2026-07-04-hook-snapshot-matrix.md b/docs/rfc/implemented/testing/2026-07-04-hook-snapshot-matrix.md index 47db2cd793..1b3e70eb13 100644 --- a/docs/rfc/implemented/testing/2026-07-04-hook-snapshot-matrix.md +++ b/docs/rfc/implemented/testing/2026-07-04-hook-snapshot-matrix.md @@ -29,6 +29,8 @@ Thirteen scenarios under `examples/acp-agent/tests/snapshots/`, naming `hook-