Update CLAUDE.md
This commit is contained in:
parent
e5339e9df6
commit
dc58a36c9b
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue