Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

docs: wave 9 CHANGELOG wording

time-attack0e4422657f29
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6c3c272957..b1082672d3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -27,7 +27,7 @@ Efficiency wave 9 (GBRA-75). Base is master at wave 8 (310371559). Measured on 4
### Itemized changes
-- **Full Git groups yield to a queued write** (`persistence/effects.ts`). A Git group without the durability hook already stood aside, for at most 20 claims, when a publication was queued or running on its worktree. Groups of 100 never did, though, so under a backlog every group was full. A write's publication found the worktree lock held, was released as `writer_busy`, and missed every gap until the backlog ended. Every group now yields, in a single update with `publication_pending` (250 ms). The attempt cap still bounds the delay under a steady stream of writes. Effects stay in claim order per worktree, and no group spans a publication of its own worktree.
+- **Full Git groups yield to a queued write** (`persistence/effects.ts`). A Git group in a folder with the durability hook already stood aside, for at most 20 claims, when a publication was queued or running on its worktree. Groups of 100 never did, though, so under a backlog every group was full. A write's publication found the worktree lock held, was released as `writer_busy`, and missed every gap until the backlog ended. Every group now yields, in a single update with `publication_pending` (250 ms). The attempt cap still bounds the delay under a steady stream of writes. Effects stay in claim order per worktree, and no group spans a publication of its own worktree.
- **A released claim no longer looks like a stalled preparation** (`persistence/journal.ts`). An uncharged release (`writer_busy`, `owner_unavailable`, `recovery_required`, capacity) now clears the claim phase. A row that waits on the worktree lock used to keep reading `preparing` / `waiting_on=unknown`. A charged `preparation_deadline` release keeps its phase, which kill accounting reads.
- **One bounded-read session per waiver run** (`persistence/bounded-reads.ts` `withBoundedReadSession`, `sync-run.ts`, `sync-waivers.ts`, `postgres-engine.ts`). On Postgres, a waiver run's screens now share one reserved connection and one transaction. `SET LOCAL statement_timeout` is set again before any read whose bound differs by more than 25 ms, so every read keeps its server-side budget. Before, each bounded read had its own `BEGIN; SET LOCAL; read; COMMIT`. A failed read rolls back the transaction, and reads it aborted run again in a new transaction. A lost connection, a pool with no long-hold capacity, or PGLite all fall back to the per-read path. Session reads are prepared statements unless the pool is a transaction pooler.
- Tests: