engineering · 2026-09-10

A fix that reproduced its own defect

The negation list was matched as a substring. The word for “a” contains the word for “not”, and a requested deck quietly disappeared.

Written and covered by tests — not yet observed in a live runDeskworth · published · updated · 1 source · Deskworth OS 0.0.22

A request naming three deliverables produced two. The parser was new, written specifically to stop a request from producing something it had not asked for.

#The cause

Negation was detected by substring search. In French, the indefinite article contains the negation particle: “une présentation” contains “ne”. The parser read a requested presentation as a refused one, and dropped it.

#The fix, and why it is small

Negation is matched on whole words, splitting on everything that is not alphanumeric, the apostrophe excepted. Two lines. The interesting part is what caught it: a test asserting that a combined request yields three distinct outputs, written before the parser was trusted.

#Two neighbouring lessons from the same pass

All three have the same shape: the check was looking at prose or at a global, when the property lived in a structure.

#Sources

  1. Deskworth OS — handover report 0.0.22Deskworthinternal handover report · Deskworth OS 0.0.22 · commit d59e30e · published 2026-09-10 · read 2026-09-10Internal document, not published

Read next