Skip to content

ci: flag internal-info leaks in PR review prompt#8990

Merged
mr-neptune merged 1 commit into
masterfrom
WCN-850_catch_internal_details
Jun 11, 2026
Merged

ci: flag internal-info leaks in PR review prompt#8990
mr-neptune merged 1 commit into
masterfrom
WCN-850_catch_internal_details

Conversation

@mr-neptune

@mr-neptune mr-neptune commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

ci: flag internal-info leaks in PR review prompt

Description: This PR adds a guardrail to the BitGoJS automated @claude code-review prompt (.github/prompts/code-review.md) to catch internal information that AI coding agents tend to leak into public source. Because BitGoJS is a public repository, agents frequently inject development-process narrative into comments—explaining when, how, or why a change was made—rather than describing what the code does. The change introduces a new "Internal Information Leakage" section instructing the reviewer to flag verification/testing metadata, internal team/system names and codenames, internal ticket IDs or doc links, and how/why rationale in comments, JSDoc, test names, and error/log strings—and to suggest a behavior-only rewrite for each—plus a dedicated item in the review's closing checklist so leaks are surfaced and removed before merge.

File changed: .github/prompts/code-review.md

Ticket: WCN-850

@mr-neptune mr-neptune requested review from a team as code owners June 10, 2026 21:49
@linear-code

linear-code Bot commented Jun 10, 2026

Copy link
Copy Markdown

WCN-850

@mr-neptune mr-neptune force-pushed the WCN-850_catch_internal_details branch from c21e530 to 298cb0a Compare June 10, 2026 21:56
@mr-neptune mr-neptune changed the title Ticket: WCN-850 ci: flag internal-info leaks in PR review prompt Jun 11, 2026
@mr-neptune mr-neptune merged commit 62d708b into master Jun 11, 2026
22 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.

3 participants