Topic

validation

2 min read

The New Validation Rejected the Empty Optional a Legacy Client Always Sends

A stricter parser added by an agent rejected a request because an optional field arrived as an empty string. The agent's own synthetic test omitted the field entirely, so it never saw the empty-string shape that older clients have been sending for years.

Read article
2 min read

The agent added validation after the write instead of before it

The agent added a guard to reject negative quantity, but placed it after the order was already saved. The standalone guard test went green while invalid rows kept landing in the table. A check that runs after the side effect protects nobody.

Read article