commit 9169cf965b11b6344d26b8e48154b7d9c83feb83 from: Isaac Meerleo date: Fri Jul 17 23:10:18 2026 UTC Isolate Agent bounds from auto Compaction commit - 2eaf4e2d3ae39bc43653019764acdb4944b99952 commit + 9169cf965b11b6344d26b8e48154b7d9c83feb83 blob - 05c4c569f89683d639cdd28935393b7b07c745eb blob + 8ff2bc5682349f3e4f3d4140bc2508efb4caf9b8 --- regress/agent/run.sh +++ regress/agent/run.sh @@ -702,6 +702,10 @@ stop_stub rm -rf "$HOME/.fugu" start_stub AGENTCALL RETAINLIMIT RETAINCONCLUDE RETAINSYNTH write_conf +# This fixture isolates the subagent's 1 MiB retained-report boundary. Its +# deliberately oversized Tool result would otherwise exercise the independent +# automatic-Compaction path before the Lead synthesis. +printf 'auto_compact no\n' >> "$dir/fugu.conf" run_fugu "exercise a large retained subagent report" ok "retained report: lead turn completes" $([ "$rc" -eq 0 ]; echo $?) grep -q 'RETAIN-SYNTHESIS-MARKER' "$dir/out" @@ -739,6 +743,9 @@ stop_stub rm -rf "$HOME/.fugu" start_stub AGENTCALL RETAINTOOL ERROR RETAINERRSYNTH write_conf +# Keep the terminal-error truncation contract independent of automatic +# Compaction for the same deliberately oversized retained prose. +printf 'auto_compact no\n' >> "$dir/fugu.conf" run_fugu "exercise a terminal error after a large retained report" ok "retained error: lead turn completes" $([ "$rc" -eq 0 ]; echo $?) grep -q 'RETAIN-ERROR-SYNTHESIS-MARKER' "$dir/out"