claude-dev-env 8.46.24 → 8.46.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/CODE_RULES.md +2 -0
- package/package.json +1 -1
package/docs/CODE_RULES.md
CHANGED
|
@@ -96,6 +96,8 @@ Open [details](code-rules/design-and-structure.md) when renaming symbols.
|
|
|
96
96
|
|
|
97
97
|
Never swallow a failure into a default unless the caller explicitly opted in at the boundary. Name the specific exception (`except KeyError:`) and propagate the rest. Collapsing every error class to `None` masks programming errors and makes debugging impossible.
|
|
98
98
|
|
|
99
|
+
A member loop catches its declared `*ItemBlocked` type inside the loop and lets a `*RunFatal` pass through, and an `except Exception` in that loop triggers this rule.
|
|
100
|
+
|
|
99
101
|
Open [details](code-rules/design-and-structure.md) when handling batch failures.
|
|
100
102
|
|
|
101
103
|
## 9.8 REMOVE CODE YOU ORPHAN (Dead Code Elimination)
|