Assert the memory note, not the prompt's prose `an anonymous request carries no memory note` pinned the entire default system prompt with `==`, so hardening that prompt against model and vendor identity leaks broke a test that has nothing to do with either. Main went red on a change that was correct. It now asserts what its name says: no `[From memory: ` marker for a caller we do not recognize — the same marker the recognized-caller tests above assert the presence of — plus that it is still the default prompt. The next wording change will not break it, and a memory leaking into an anonymous request still will.
Assert the memory note, not the prompt's prose
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
- pushed
- by user · WAL seq 441 · 2026-08-26T08:25:10.807818Z
Changed files
-
modified
test/openagents_web/controllers/responses_controller_test.exs
Diff
1 file changed, +10 -1
test/openagents_web/controllers/responses_controller_test.exs modified +10 -1
@@ -388,7 +388,16 @@ defmodule OpenAgentsWeb.ResponsesControllerTest do
| 388 | 388 |
|
| 389 | 389 |
|
| 390 | 390 |
|
| 391 |
|
|
| 391 |
|
|
| 392 |
|
|
| 393 |
|
|
| 394 |
|
|
| 395 |
|
|
| 396 |
|
|
| 397 |
|
|
| 398 |
|
|
| 399 |
|
|
| 400 |
|
|
| 392 | 401 |
|
| 393 | 402 |
|
| 394 | 403 |
|