Update CLAUDE.md

This commit is contained in:
Davíð Steinn Geirsson 2026-03-25 23:09:59 +00:00
parent e5339e9df6
commit dc58a36c9b

View file

@ -41,6 +41,7 @@ Crash artifacts: `lib/fuzz/artifacts/<target>/`. Response validation is in `lib/
3. **No `unsafe`** in parsing or sanitization paths.
4. **Validate at the boundary**: Check constraints immediately after deserialization, not deep in business logic.
5. **Update fuzz assertions**: Tighten the invariant assertions in `lib/src/fuzz_helpers.rs` whenever you add or change a constraint — the fuzzer can only find violations it can check.
6. We are using our own nusb fork, and API compatibility is not a concern. If an issue is better fixed in nusb, stop and explain the situation.
## Key architecture