docs(audit): log S9 per living-document protocol

This commit is contained in:
2026-08-21 17:27:54 -05:00
parent fef46eee58
commit 9d323bbb07
+3 -1
View File
@@ -160,7 +160,9 @@ what invisible-to-upstream rot never could.
| S7 | Several first-draft patches were sloppy and immediately rewritten (duplicate `Parameters` export in remove.ts, `yield` inside non-generator `iife` in provider.ts, clumsy sap-ai-core edit) | Moving too fast, edit-then-hope | Typecheck each time | LOW |
| S8 | Wordmark capability gating was written to wait for an event that may never fire before first render; logo silently fell back to ASCII | Guessed at renderer API instead of reading OpenTUI's protocol resolution first | User reported wordmark not rendering | MED |
**Pattern across S1S8:** every incident came from *editing by pattern-match
**S9** | Guard module got a duplicate `appendFileSync` import from an insert that didn't check existing content | Edit-then-hope again | Typecheck TS2300 | LOW
**Pattern across S1S9:** every incident came from *editing by pattern-match
instead of reading the whole structure first*, and every one was caught by a
gate we kept intact (typecheck, tests, hook) — which is the strongest argument
for keeping those gates.