Tests pin down chain ordering (including ties), BaseAdvisor stream behaviour, redaction order versus memory and logging, the tool loop, and how a refusal surfaces on calls, streams and over HTTP. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ja4jkzrbQ4LQZBNrb5mkZE
20 lines
741 B
Plaintext
20 lines
741 B
Plaintext
# Redaction order versus logging and memory
|
|
|
|
memory advisor is fixed at HIGHEST_PRECEDENCE + 200
|
|
user says: My email is [email protected]
|
|
|
|
A redaction +100, logging +400 (redaction outside both):
|
|
log line saw: "My email is <EMAIL_1>"
|
|
memory stored: "My email is <EMAIL_1>"
|
|
model was sent: "My email is <EMAIL_1>"
|
|
|
|
B redaction +100, logging +50 (logging outside redaction):
|
|
log line saw: "My email is [email protected]"
|
|
memory stored: "My email is <EMAIL_1>"
|
|
model was sent: "My email is <EMAIL_1>"
|
|
|
|
C redaction +300 (inside the memory advisor), logging +400:
|
|
log line saw: "My email is <EMAIL_1>"
|
|
memory stored: "My email is [email protected]"
|
|
model was sent: "My email is <EMAIL_1>"
|