feat(directives): add rule-statement header to 9-16 of 66 v1.md files

This commit is contained in:
ed
2026-07-03 09:45:46 -04:00
parent cf8eab9f79
commit 85ae99c6a5
8 changed files with 16 additions and 0 deletions
@@ -1,3 +1,5 @@
# dict[str, Any], Any, Optional[T] returns are allowed only at the literal wire boundary (TOML/JSON parse)
### 17.7 The one exception: the boundary layer
The ONLY place these patterns are allowed is at the literal wire boundary — the function that calls `tomllib.load()`, `json.loads()`, or a vendor SDK's response parser. The boundary is 2-3 functions per file. Every consumer IMMEDIATELY converts to a typed dataclass via `from_dict()`.