diff --git a/agents/stability-reviewer.md b/agents/stability-reviewer.md index 6c377ab4..5beafbc8 100644 --- a/agents/stability-reviewer.md +++ b/agents/stability-reviewer.md @@ -73,7 +73,7 @@ Catch behavior that is unclear or under-specified — "building in ambiguousness - Zero and absent are different values: `empty('0')`, `if ($amount)`, `$x ?: $default`, JS `||` conflate them one way; null coerced to `'0'` conflates them the other (a past prod bug: phantom 0-amount reversals). Both directions are findings. - Multibyte text (åäö): truncation, length checks, and comparisons must be mb-safe; encoding consistent end-to-end. - Where the change splits text on a separator or strips a suffix, look in the fixtures and a sample of the source data for a value where the separator or suffix also occurs as data, such as an address split on `,` whose last part holds a comma. Report a row the parse then misplaces or drops, silently or with only a log line. -- Where the change builds a lookup key by joining path segments, or matches a key by prefix, look for two inputs that give one key, such as a segment equal to its parent's name or a namespace that is a dot-prefix of another (`ns` and `ns.sub`). Report the input the lookup credits to the wrong entry. +- Where the change builds a lookup key by joining path segments, look for two inputs that join to one key, such as a column named like its own table. Where it matches a key by prefix, look for a key that two prefixes match, such as `ns` and `ns.sub`. Report the input the lookup resolves to the wrong entry. - Are payload and collection sizes bounded at the boundary? ### 6. Concurrency & State Management