Enforcement catches
Return type assertion on a function
2026-05-30A `return ... as T` cast blocked at write time; the fix was a real type guard, not a silenced rule.
Double cast through unknown
2026-06-09An `as unknown as T` the edit merely carried over from existing code still got blocked — and replaced with a mapper.
Non-null assertion (!)
2026-06-09A `tab.children!` blocked at write time; optional chaining went in instead.
Lazy Function / Object type
2026-05-26A bare Function-shaped type in an API route blocked at write time; the helper got rewritten with a specific signature.
SQL template literal with interpolation
2026-06-09The hook blocked an interpolated SQL string — twice — until the query became a fixed prepared statement.
Supabase service_role key in app code
2026-06-08Three write attempts blocked; the agent reverted to the clean committed state and flagged the RPC route instead of forcing a hack.
'use client' on a layout file
2026-06-10A layout about to become a client component got blocked; the interactive part became its own component instead.
Bare except Exception in Python
2026-05-31The rules aren't TypeScript-only — a Python script's blanket exception handler got blocked the same way.