Skip to content

fix(repo): forbid client info from leaking into PR body - #844

Merged
YusukeHirao merged 2 commits into
devfrom
chore/pr-skill-no-client-info
Aug 1, 2026
Merged

fix(repo): forbid client info from leaking into PR body#844
YusukeHirao merged 2 commits into
devfrom
chore/pr-skill-no-client-info

Conversation

@YusukeHirao

Copy link
Copy Markdown
Member

Summary

  • /pr スキルの全体再チェック(ステップ4)に、git/SKILL.md の「機密・案件情報の検出」を追加。従来は「サンプル値の慣例チェック」のみが対象で、コミット単位のチェックをすり抜けた企業名・顧客情報が PR 全体 diff の再チェックから漏れていた
  • PR body 生成(ステップ5)に「PR body は diff の要約であり会話の要約ではない」という明示ルールを追加。セッション中に出てきた顧客名・案件名・社外秘情報を、diff 自体に含まれていない限り書き込まないことを明記

Test plan

The PR skill's full-diff re-check only replayed the sample-value
convention check, skipping the confidential/client-info check defined
in the git skill. PR body generation also had no rule against
summarizing session context, so client names could leak in even when
the diff itself was clean.
@YusukeHirao
YusukeHirao merged commit 87aa6f3 into dev Aug 1, 2026
1 check passed
@YusukeHirao
YusukeHirao deleted the chore/pr-skill-no-client-info branch August 1, 2026 01:57
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