From 15db51304ee2a038fcc24b1381594b4e67ce3521 Mon Sep 17 00:00:00 2001 From: bherbruck Date: Mon, 19 Oct 2026 15:53:34 -0400 Subject: [PATCH] Agent instructions: a regression test goes into its area's test file, not a new per-bug file (#3230) Refs #3226. Co-authored-by: Claude Opus 5.5 --- AGENTS.md | 2 ++ CLAUDE.md | 2 ++ 2 files changed, 4 insertions(+) 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)]`.