From 79d96131cc4e7697814c2e3c45641c97cf0276a3 Mon Sep 17 00:00:00 2001 From: Azalee Bostroem Date: Wed, 25 Nov 2026 08:52:50 -0800 Subject: [PATCH 1/2] foundation: the Kafka sweep removes each set's downloaded container once read, so a long-running loop's disk does not grow with the sets it sweeps Co-Authored-By: Claude Opus 5.5 --- system/foundation.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/system/foundation.md b/system/foundation.md index af0a657..2215eb0 100644 --- a/system/foundation.md +++ b/system/foundation.md @@ -945,7 +945,10 @@ opens one database connection and one producer and takes its sets one at a time, each flushed within 120 s; a set with a failed acknowledgement stays unstamped and the verb exits 70 naming it, and a flush that does not finish in time leaves its set and every later one -unstamped and stops the call. A crash between the last acknowledgement +unstamped and stops the call. Each set's container, downloaded from +the outbox, is removed from the call's download cache once read, so a +long-running loop's disk does not grow with the sets it sweeps; a set +sent again is downloaded again. A crash between the last acknowledgement and the stamp offers the set again, so a consumer may see a packet twice; replay is allowed. A job killed between its database publish and its send, proven on a live run, is sent by the next pass. A set that From b2fdfc9e7100f36962936a8d28e5e6460693fdb9 Mon Sep 17 00:00:00 2001 From: Azalee Bostroem Date: Wed, 25 Nov 2026 08:52:50 -0800 Subject: [PATCH 2/2] foundation: the Kafka sweep removes each set's downloaded Avro packet file once read, so a long-running loop's disk does not grow with the sets it sweeps Co-Authored-By: Claude Opus 5.5 --- system/foundation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/foundation.md b/system/foundation.md index 2215eb0..a72a02e 100644 --- a/system/foundation.md +++ b/system/foundation.md @@ -945,8 +945,8 @@ opens one database connection and one producer and takes its sets one at a time, each flushed within 120 s; a set with a failed acknowledgement stays unstamped and the verb exits 70 naming it, and a flush that does not finish in time leaves its set and every later one -unstamped and stops the call. Each set's container, downloaded from -the outbox, is removed from the call's download cache once read, so a +unstamped and stops the call. Each set's Avro packet file, downloaded +from the outbox, is removed from the call's download cache once read, so a long-running loop's disk does not grow with the sets it sweeps; a set sent again is downloaded again. A crash between the last acknowledgement and the stamp offers the set again, so a consumer may see a packet