test(config-audit): add marketplace-small/medium/large scanner fixtures
This commit is contained in:
parent
2a8dc8655f
commit
0c2aa0f0c2
14 changed files with 222 additions and 0 deletions
9
tests/fixtures/marketplace-large/.claude/shared-errors.md
vendored
Normal file
9
tests/fixtures/marketplace-large/.claude/shared-errors.md
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Shared Error-Handling Patterns
|
||||
|
||||
- Subclass `Error` with typed messages
|
||||
- Never swallow errors silently
|
||||
- Prefer `Result<T, E>` return types in business logic
|
||||
- Log only at boundaries, never inside pure functions
|
||||
- Validate inputs only at the system edge
|
||||
- Treat all third-party API responses as untrusted input
|
||||
- Bail early on contract violations rather than degrading silently
|
||||
Loading…
Add table
Add a link
Reference in a new issue