Skip to content

fix(chat): target publicSafeSummary in the private-lane-signal redaction test - #5211

Closed
JSONbored wants to merge 1 commit into
mainfrom
fix/chat-redaction-test-summary-field
Closed

fix(chat): target publicSafeSummary in the private-lane-signal redaction test#5211
JSONbored wants to merge 1 commit into
mainfrom
fix/chat-redaction-test-summary-field

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Summary

Validation

  • npx vitest run test/unit/ai-chat-qa.test.ts — 31/31 passing (was 1 failing on main).
  • npm run typecheck — clean.
  • Test-only change; no src/** production code touched.

…ion test

The private-lane-signal redaction test (#5149) seeded the private-lane
phrasing into the action's why field, but #5106 already dropped why/
blockedBy from the grounding bundle entirely (a stronger data-minimization
boundary than field-level redaction). The two changes don't textually
conflict, but merged together the test asserts on content that no longer
reaches the prompt at all -- currently failing on main. publicSafeSummary
is the one action field #5106 still forwards through redactGroundingText,
so it's the field this test needs to seed.
@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@JSONbored

Copy link
Copy Markdown
Owner Author

Superseded — #5201 fixed the same root cause (ai-chat-qa.test.ts's why→publicSafeSummary field) and merged first. Closing this one.

@JSONbored JSONbored closed this Jul 12, 2026
@JSONbored
JSONbored deleted the fix/chat-redaction-test-summary-field branch July 12, 2026 09:25
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