Skip to content

Fix Unicode source spans in the public privacy gate (v0.24.1) - #28

Merged
Hao0321 merged 1 commit into
mainfrom
fix/unicode-privacy-spans-20261016
Oct 15, 2026
Merged

Hao0321 merged 1 commit into
mainfrom
fix/unicode-privacy-spans-20261016

Conversation

@Hao0321

@Hao0321 Hao0321 commented Oct 15, 2026

Copy link
Copy Markdown
Owner

Fix UTF-8 source-span normalization in the fixed build-policy declaration. Python AST positions are byte offsets; the privacy gate now applies them to UTF-8 bytes, preserving neighboring source content when a multibyte prefix appears on the same line.

Positive and negative Unicode-prefix controls cover the corrected boundary. Existing rule categories and the narrow owned-policy exception remain enforced. This prepares v0.24.1; installer behavior, media modules, public capability limits, and the bundled Cleanup source are unchanged.

Validation is recorded locally and in the required six-platform/Python matrix plus reproducible-release job. Merge and release require all exact-head checks to succeed. The owner requested publication; retain the documented owner maintenance exception, exact tested tree, and unchanged protections. No independent approving review, live-account acceptance, signed-update assurance, or zero-REVIEW whole-product closure is claimed.

@Hao0321
Hao0321 merged commit 83a570e into main Oct 15, 2026
7 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.

1 participant