Commit d6922a2
errors: catalog grows from 259 → 702 patterns
Adds 443 new ErrorPattern entries:
- 34 arity patterns for the new LLM-facing builtins (canonical,
code_intel, session-memory, tokenizer introspection)
- 38 hand-written entries for runtime errors not previously
catalogued: math overflow / NaN / infinity, borrow conflicts,
UTF-8 issues, file/network I/O failures, recursion limits,
parser errors (RBrace, RParen, RBracket, Colon, EOF, etc.),
type-coercion failures, lambda capture issues, generator-
misuse, module-import failures, autograd tape misuse,
hash collisions, regex compile, format mismatches, OOM,
substrate range, Singularity values.
- 371 generic "name: " patterns covering every interpreter builtin
so non-arity errors from any builtin still match the catalog
(the entry points back to omc_help for the right signature).
Coverage: every builtin in the interpreter now has at least two
distinct error patterns (arity + generic) in the knowledge base.
The omc_explain_error builtin's matched-pattern rate goes way up.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 5059b06 commit d6922a2
1 file changed
Lines changed: 443 additions & 0 deletions
0 commit comments