Model and Prompt Changes

2 patterns for this issue

Goal: Changes to the model or prompt never surprise users: they are tested, announced, and reversible.

Why this family exists

Teams change the model, the system prompt, and the experiment setup behind a chat assistant all the time. Users see only the result: a bot that suddenly answers differently, refuses more, or behaves one way for them and another way for a friend. This family covers how those changes are made, tested, and rolled back. Guidance only; test on your own data.

How we measure it

Shared metrics the patterns below report against. Targets are starting points to tune on your own data.

MetricTargetDefined in
Regressions per prompt changeStart: 0 shipped regressions in topics the change note says must not changeprompt edits by non-engineers break other behavior (GitHub)
Cross-arm contamination in tests0memory contaminates conversation experiments (GitHub)

Patterns

PatternOne line
Prompt edits by non-engineers break other behavior (GitHub)A fix for one conversation changes others nobody retested
Memory contaminates conversation experiments (GitHub)Remembered state carries across A/B test arms and mixes the results

Examples added to patterns elsewhere