Skip to content

Allow the listed hospital address through the Guardrail - #236

Merged
MAOFILHO merged 1 commit into
stagingfrom
sandcastle/address-allow
Oct 29, 2026
Merged

MAOFILHO merged 1 commit into
stagingfrom
sandcastle/address-allow

Conversation

@MAOFILHO

Copy link
Copy Markdown
Owner

Problem

"What's the hospital full address?" escalates. The reply holds the example address from the contact directory, and the Bedrock Guardrail anonymizes ADDRESS, so Verification fails.

Fix

Owner decision 2026-10-29, in chat: allow the one listed hospital address, as with the 8 listed phone numbers. hide_hospital_address swaps that exact string for the word "address" before the text goes to the Guardrail. Any other address still reaches the Guardrail. infra/ and the Guardrail config are unchanged.

Tests

  • The Guardrail adapter sends "address" for the listed address and keeps another street address.
  • The listed address appears in approved/contact-directory.md.
  • Golden: the address question gets the listed address with one approved/ citation.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@MAOFILHO
MAOFILHO merged commit 3925960 into staging Oct 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant