diff --git a/AGENTS.md b/AGENTS.md index fa334ea2d..7f44f9ed0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -48,6 +48,8 @@ People trust SolidCraft with their designs; a crash loses their work. **This out `crashes replay ` (or the `diagnostics.crash_reports` command / MCP `crash_reports` tool). - **Prove it:** every crash fix lands with a regression test (see `hostile_params_never_panic`); a crash report's `design.solidcraft` + `replay.json` is the test's starting point. +- **Where tests go:** a regression test goes into the existing test file for its area (booleans, blends, + shell, sweep, STEP, naming…), never a new file named after the bug (#3226). - Every production crate root carries `#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]`. diff --git a/CLAUDE.md b/CLAUDE.md index 26b27e44f..e996301cf 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -50,6 +50,8 @@ People trust SolidCraft with their designs; a crash loses their work. **This out `crashes replay ` (or the `diagnostics.crash_reports` command / MCP `crash_reports` tool). - **Prove it:** every crash fix lands with a regression test (see `hostile_params_never_panic`); a crash report's `design.solidcraft` + `replay.json` is the test's starting point. +- **Where tests go:** a regression test goes into the existing test file for its area (booleans, blends, + shell, sweep, STEP, naming…), never a new file named after the bug (#3226). - Every production crate root carries `#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]`.