Repository navigation
docs(agents): 新增個資與公司資訊保護規則 - #122
Merged
Merged
Conversation
- AGENTS.md 加入跨 repo 共用的 privacy-guard 區塊:禁止提交公司資訊、個人資訊、本機路徑與主機名、憑證 - 規定 commit 作者必須是 GitHub noreply email,只 add 本次改動並逐行檢查 staged diff - 註明開發機的 privacy-guard git hook,不得用 --no-verify 等方式繞過 - 發現既有外洩時回報使用者,不自行改寫歷史或 force push - CLAUDE.md 以 @AGENTS.md 匯入,讓 Claude Code 讀到同一份規則 驗證:區塊以 BEGIN/END 標記包住,重新套用結果不變;只改 AGENTS.md 與 CLAUDE.md。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
AGENTS.md加入跨 repo 共用的 privacy-guard 規則區塊(<!-- BEGIN/END:privacy-guard -->):禁止提交公司資訊、個人資訊、本機路徑與主機名、憑證。--no-verify等方式繞過開發機的 privacy-guard hook。CLAUDE.md以@AGENTS.md匯入同一份規則,讓 Claude Code 也讀得到。驗證
AGENTS.md、CLAUDE.md,以最新的origin/main為基底。🤖 Generated with Claude Code