Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .review/RUBRIC.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ Edit it to match your team. Findings fall into two categories.
- a defensive `?.` / `??` fallback on a value the type or schema already guarantees — e.g. `x?.foo ?? x.y.foo`
when `x` is required (or should be). Drop the optional chain and the fallback (it's `x.foo`); if `x` is
wrongly optional, fix the schema/type, don't paper over it at the call site
- regex or string matching as the product mechanism — detecting, classifying, routing, or extracting
meaning by sniffing strings (`match`/`split`/`includes` heuristics). A fake owner: works on the examples
tried, silently breaks on the next input. **fix:** the structured field, schema, persisted state, real
parser, or model output that actually owns the answer. String matching is plumbing for flat text only
- denormalized parallel constants or hardcoded membership lists (derive a Set/Record from ONE `as const` array)
- speculative config seams / unused `mode` switches / injectable-override defaults nothing needs yet
- additive churn on a cleanup; code that "looks productive" over the minimal change
Expand Down