Commit edb87e7
committed
docs(incident): stop promising byte-for-byte fidelity the command no longer offers
The card said the command 'exits non-zero if the stored text doesn't
match the file byte-for-byte'. That stopped being true when the comment
text started being trimmed before the write: leading and trailing
whitespace never reaches storage, so an agent following the card's own
heredoc idiom would be promised a fidelity the command deliberately does
not provide. State what actually holds instead — the write is verified,
surrounding whitespace is stripped on both ends, everything else
including interior blank lines survives.
The guidance test pinned that exact sentence, so it was keeping the
false claim in place. Assert the property instead: the guarantee must be
documented (read-back + non-zero exit), and the byte-for-byte promise
must NOT come back. Verified load-bearing - restoring the old sentence
turns the new assertion red.1 parent 0dd4678 commit edb87e7
2 files changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
46 | 57 | | |
47 | 58 | | |
48 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments