From 28eceabd8b1d0e4a95291d2050ea2939c8f48811 Mon Sep 17 00:00:00 2001 From: Mason Daugherty Date: Fri, 16 Jan 2026 11:52:26 -0500 Subject: [PATCH] chore(infra): add warning for function signature changes to agent files (#34776) --- AGENTS.md | 1 + CLAUDE.md | 1 + 2 files changed, 2 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 897dcb2e88..041044940f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -85,6 +85,7 @@ Suggest PR titles that follow Conventional Commits format. Refer to .github/work ### Maintain stable public interfaces CRITICAL: Always attempt to preserve function signatures, argument positions, and names for exported/public methods. Do not make breaking changes. +You should warn the developer for any function signature changes, regardless of whether they look breaking or not. **Before making ANY changes to public APIs:** diff --git a/CLAUDE.md b/CLAUDE.md index 897dcb2e88..041044940f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -85,6 +85,7 @@ Suggest PR titles that follow Conventional Commits format. Refer to .github/work ### Maintain stable public interfaces CRITICAL: Always attempt to preserve function signatures, argument positions, and names for exported/public methods. Do not make breaking changes. +You should warn the developer for any function signature changes, regardless of whether they look breaking or not. **Before making ANY changes to public APIs:**