From 92c49aa1e111249cc16f07e04d0ac1a125774d1d Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 3 Dec 2026 17:20:23 +0100 Subject: [PATCH] =?UTF-8?q?Answer=20stability=20round=201:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=201=20=F0=9F=9F=A1=20(0=20misread);=20drop=20the?= =?UTF-8?q?=20repeated=20sentence=20and=20the=20term=20from=20the=20incide?= =?UTF-8?q?nt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agents/stability-reviewer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/stability-reviewer.md b/agents/stability-reviewer.md index f25e190d..fafa81ec 100644 --- a/agents/stability-reviewer.md +++ b/agents/stability-reviewer.md @@ -88,7 +88,7 @@ Catch behavior that is unclear or under-specified — "building in ambiguousness - Is mutable shared state properly protected? - Check-then-act races, including at the DB (exists-then-insert, `firstOrCreate`): is there a unique constraint that wins when two requests race? - **Does correctness depend on reading process-global mutable state set by a *prior* call** — `json_last_error()`/`json_last_error_msg()`, `errno`, `preg_last_error()`, last-insert-id, locale, default timezone? This is **blocking** (🔴): the verdict silently breaks the moment any call is reordered or inserted between the setter and the reader, and code-reading will not catch the regression. Demand a self-contained alternative (`JSON_THROW_ON_ERROR`, an explicit return value, capturing the result on the adjacent line) even when the current ordering happens to work. -- **Where the change keeps a callback, handler or hook from running in some window** (before a constructor returns, while a lock is held, after close), list every path that can reach it, not only the direct call the diff touches: background goroutines and threads, queues and retries, timers, and process-wide handlers such as a global error handler. Report each path the guard leaves open as a finding. A guard that closes the direct call while a background path of the same record still reaches the callback is not complete. +- Where the change adds a guard that keeps a callback, handler or hook from running in some window (before a constructor returns, while a lock is held, after the owner is closed), list every path that can reach the callback, not only the direct call the diff touches: background goroutines and threads, queues and retries, timers, and process-wide handlers such as a global error handler. Report each path the guard leaves open. - Are there potential deadlocks? - Is state mutation predictable and traceable?