Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ aisync is **agent-agnostic at its core**. It provides native hooks for Claude Co
[![Homebrew](https://img.shields.io/badge/Homebrew-maxont%2Ftap-FBB040?logo=homebrew&logoColor=white)](https://github.com/MaxonT/homebrew-tap)
[![GHCR](https://img.shields.io/badge/GHCR-container-2496ED?logo=docker&logoColor=white)](https://github.com/MaxonT/aisync/pkgs/container/aisync)
[![GitHub stars](https://img.shields.io/github/stars/MaxonT/aisync.svg?style=social)](https://github.com/MaxonT/aisync/stargazers)
[![MaxonT/aisync MCP server](https://glama.ai/mcp/servers/MaxonT/aisync/badges/score.svg)](https://glama.ai/mcp/servers/MaxonT/aisync)

**English** · [中文](README.zh-CN.md) · [日本語](README.ja.md) · [한국어](README.ko.md) · [Español](README.es.md) · [Français](README.fr.md) · [Deutsch](README.de.md) · [Português](README.pt.md) · [Русский](README.ru.md) · [Website](https://maxont.github.io/aisync/) · [Demo status board](https://maxont.github.io/aisync/board/)

Expand Down
6 changes: 6 additions & 0 deletions tools/privacy_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
# commit messages already public on main, exempt by commit (decided 2026-11-16 by the owner: the npm scope
# is the public package name). Only the message is exempt; the author names and addresses are still scanned.
PUBLIC_COMMIT_MESSAGES = {"72abf433": "npm scope in the message of 72abf433; already public, owner decision 2026-11-16"}
# merged contributor PRs whose author address is already public on main (the owner's decision, 2026-11-23,
# same pattern as above). Exempt by exact commit and only the author line; committers and messages stay scanned.
PUBLIC_AUTHOR_COMMITS = {"8b8c07b0": "contributor author address already public on main; owner decision 2026-11-23",
"026e84d5": "contributor author address already public on main; owner decision 2026-11-23"}
SKIP_SUFFIX = {".pyc", ".gif", ".png", ".jpg", ".ico", ".mp4", ".whl", ".gz"}


Expand Down Expand Up @@ -129,6 +133,8 @@ def history_items(root: Path, everything: bool = False):
# name (same address, different name). That name comes from the host, not from what we push.
if not (ce == ae and cn != an):
people.append(f"<{ce}>" if public(cn) else f"{cn} <{ce}>")
if any(sha.startswith(k) for k in PUBLIC_AUTHOR_COMMITS):
people = people[1:]
if any(sha.startswith(k) for k in PUBLIC_COMMIT_MESSAGES):
# only the lines that name the public npm scope are exempt; the rest of the message is scanned
body = "\n".join(l for l in body.splitlines() if "mingyang2026" not in l.lower())
Expand Down
Loading