Commit c0fdae3
committed
docs: RULE #1 — no automated fallbacks, fail fast/loud (CLAUDE.md + AGENTS.md)
Every op goes through ONE clear path; when it does not work as expected/errors/misbehaves,
RAISE IMMEDIATELY with where+what and crash so the bug surfaces and we fix the root cause.
Forbidden: silent/automated fallbacks (try/except->degraded path, except:pass, eager-replaces-
fused, gated-off-by-default, clamp-instead-of-raise, return zeros/garbage, best-effort). Fail-
closed by raising a clear error is correct; silent fallback producing degraded/wrong/zero output
is forbidden. Also fixed AGENTS.md tensor rule (was permitting 'fall back to production path').1 parent 6fbb007 commit c0fdae3
2 files changed
Lines changed: 37 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
3 | 13 | | |
4 | 14 | | |
5 | 15 | | |
| |||
8 | 18 | | |
9 | 19 | | |
10 | 20 | | |
11 | | - | |
12 | | - | |
| 21 | + | |
| 22 | + | |
13 | 23 | | |
14 | 24 | | |
15 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments