Normative exhibits
Anti-patterns
ShippedCanonReal code that shipped or nearly shipped. Each exhibit is the failing shape, why it fails review, and the replacement. Numbers continue as scars land.
Exhibit 1 Hand-rolled dynamic JSON where the protocol is closed
Exhibit 2 Ad-hoc child-process plumbing around Process
Exhibit 3 Awaiting exit before draining child pipes
Exhibit 4 Per-byte AsyncBytes iteration for bulk pipe reads
Exhibit 5 Hand-rolled encode(to:) to keep one key null
Exhibit 6 Enum labels built by rawValue concatenation
Exhibit 7 A .task-gated “settled” state that renders void
Exhibit 8 Lazy containers for fixed, small collections
Exhibit 9 @_nonSendable(_assumed) types crossing isolation
Exhibit 10 A tolerant record lane re-shipping committed files as fresh
Exhibit 11 The Go-shaped actor — porting another language’s structure
Exhibit 13 JSONEncoder on macOS 26 randomizes key order per-process
Rides PR #75 — canonical writer + ≥5 suite runs before trusting format-sensitive green.
Exhibit 14 xcodegen regen wipes hand-edited entitlements
Author generated files in project.yml. sim-green ≠ device-green for entitlement-class bugs.