Skip to content

[release/11.0.1xx] Address reviewed PoliCheck terminology findings - #27089

Merged
rolfbjarne merged 1 commit into
release/11.0.1xxfrom
dev/rolf/backport-pr-26962-release/11.0.1xx-2026-10-27
Oct 27, 2026
Merged

rolfbjarne merged 1 commit into
release/11.0.1xxfrom
dev/rolf/backport-pr-26962-release/11.0.1xx-2026-10-27

Conversation

@rolfbjarne

@rolfbjarne rolfbjarne commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Update 12 editable comments/XML documentation sentences with country/region, Bangla/Odia and block-list terminology, including the directly associated wording corrections.
  • Preserve Quinn's original forum signature in both certificate attribution comments, along with the original links and all quoted technical text. Handle the two contextual rule 79647 findings with their observed Guardian fingerprints.
  • Rename 25 exact AssemblyDefinition identifier tokens from ass to assembly in internal mono-api-info helpers. Preserve all other tokens, whitespace, literals and XML output.
  • Add exactly 32 observed, fingerprint-specific false-positive records to the existing tools/devops/governance/suppress.gdnsuppress. Each full fingerprint has its own API/technical/attribution-context justification; every new alternativeSignatures list is empty and every new record belongs to the existing default set.

Why the 32 fingerprint-specific records retain their original text

The individual justifications are included beside each fingerprint in the suppression file:

API or technical context Records Reason to retain the text
Address/metadata selectors, properties, enum members, dictionary keys and documentation/sample references 13 Preserve the existing Apple bindings, public names, key mappings and resolvable documentation/code references.
Established deprecated or native-backed block/allow-list-related API names 6 Preserve the exact native selectors/constants, managed identifiers, getter bindings, numeric enum values and flags. Editable narrative terminology is changed separately.
SpriteKit path orientation and WebKit overflow orientation 6 orient describes positioning/overflow, not geography. Existing selectors, public parameter names, properties and XML parameter references remain compatible.
NaturalLanguage language/script identifiers 2 Preserve Bengali/Oriya public members and Apple's corresponding native language/script constants while using Bangla/Odia in editable language summaries.
CoreText typography descriptions 2 “Capitals” and “capital numbers” refer to uppercase/decorated glyphs and numeral case, not geographic capitals.
Shell permission syntax 1 “Capital X” distinguishes the uppercase chmod u+wX flag and accurately explains directory traversal versus file executability.
Apple Developer Forums attribution 2 Preserve Quinn's self-chosen forum signature in the linked PKCS#12 bug-confirmation and keychain troubleshooting attributions. These are proper-name references, not descriptions of an ethnic group.

No broad rule, term or path exclusions are added, and no alternative fingerprints are invented.

Compatibility and preservation

  • Public APIs, native attributes/selectors/constants, enum values/order, parameter names, cref/altmember targets and sample-code references are unchanged.
  • All 14 existing suppression records, including the four prior Severity 1 records, are preserved. Existing record-object bytes, root metadata and suppression-set configuration are unchanged.
  • The separate secure-RNG change already on current main is retained; this PR changes only the reviewed terminology/identifier/suppression scope.

Validation

Static checks against the main baseline and the attribution follow-up verified:

  • The exact 12 intended prose edits, with the rest of those files unchanged relative to the baseline; native mappings, documentation references, attribution, links and technical quotations preserved.
  • Complete lexical equivalence for the helper file except for the 25 intended identifier tokens, with no naming collisions in the reviewed internal scopes.
  • JSON parsing with duplicate-key rejection; the exact 32 reviewed added fingerprints and individual record contents; all baseline records and metadata preserved.
  • Both attribution signatures match the captured Guardian rule 79647 findings from build 15760280. The follow-up restores only the two original attributions and preserves all 44 suppression records present before that follow-up.
  • Exactly 11 changed files, 323 additions and 35 deletions; working-tree, staged and committed whitespace checks passed.

No builds, compilation, tests, PoliCheck/Guardian scans, or manual CI queue/reruns were performed. This is targeted cleanup, not a fresh-clean-scan or full-compliance assertion. Matching of the restored attributions still needs confirmation in the next scan.

Note

Generated with GitHub Copilot.

Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com
Copilot-Session: ae5d539e-066a-48db-a7ab-feb2d684ab54

Backport of #26962.

## Summary

- Update 14 editable comments/XML documentation sentences with
country/region, Bangla/Odia and block-list terminology, including the
directly associated wording corrections.
- Remove only the optional nickname from two certificate attribution
comments. Keep Quinn's attribution, the original links and all quoted
technical text.
- Rename 25 exact `AssemblyDefinition` identifier tokens from `ass` to
`assembly` in internal `mono-api-info` helpers. Preserve all other
tokens, whitespace, literals and XML output.
- Add exactly 30 observed, fingerprint-specific false-positive records
to the existing `tools/devops/governance/suppress.gdnsuppress`. Each
full fingerprint has its own API/technical-context justification; every
new `alternativeSignatures` list is empty and every new record belongs
to the existing default set.

## Why the 30 fingerprint-specific records retain their original text

The individual justifications are included beside each fingerprint in
the suppression file:

| API or technical context | Records | Reason to retain the text |
| --- | ---: | --- |
| Address/metadata selectors, properties, enum members, dictionary keys
and documentation/sample references | 13 | Preserve the existing Apple
bindings, public names, key mappings and resolvable documentation/code
references. |
| Established deprecated or native-backed block/allow-list-related API
names | 6 | Preserve the exact native selectors/constants, managed
identifiers, getter bindings, numeric enum values and flags. Editable
narrative terminology is changed separately. |
| SpriteKit path orientation and WebKit overflow orientation | 6 |
`orient` describes positioning/overflow, not geography. Existing
selectors, public parameter names, properties and XML parameter
references remain compatible. |
| NaturalLanguage language/script identifiers | 2 | Preserve
`Bengali`/`Oriya` public members and Apple's corresponding native
language/script constants while using Bangla/Odia in editable language
summaries. |
| CoreText typography descriptions | 2 | “Capitals” and “capital
numbers” refer to uppercase/decorated glyphs and numeral case, not
geographic capitals. |
| Shell permission syntax | 1 | “Capital X” distinguishes the uppercase
`chmod u+wX` flag and accurately explains directory traversal versus
file executability. |

No broad rule, term or path exclusions are added, and no alternative
fingerprints are invented.

## Compatibility and preservation

- Public APIs, native attributes/selectors/constants, enum values/order,
parameter names, `cref`/`altmember` targets and sample-code references
are unchanged.
- All 14 existing suppression records, including the four prior Severity
1 records, are preserved. Existing record-object bytes, root metadata
and suppression-set configuration are unchanged.
- The separate secure-RNG change already on current `main` is retained;
this PR changes only the reviewed terminology/identifier/suppression
scope.

## Validation

Static checks against the freshly fetched `main` baseline verified:

- The exact 14 intended prose edits, with the rest of those files
unchanged relative to the new baseline; native mappings, documentation
references, attribution, links and technical quotations preserved.
- Complete lexical equivalence for the helper file except for the 25
intended identifier tokens, with no naming collisions in the reviewed
internal scopes.
- JSON parsing with duplicate-key rejection; the exact 30 reviewed added
fingerprints and individual record contents; all baseline records and
metadata preserved.
- Exactly 12 changed files, 307 additions and 37 deletions;
working-tree, staged and committed whitespace checks passed.

No builds, compilation, tests, PoliCheck/Guardian scans, or manual CI
queue/reruns were performed. This is targeted cleanup, not a
fresh-clean-scan or full-compliance assertion.

> [!NOTE]
> Generated with GitHub Copilot.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ae5d539e-066a-48db-a7ab-feb2d684ab54
@rolfbjarne
rolfbjarne requested a review from dalexsoto as a code owner October 27, 2026 15:36
Copilot AI balanced review requested due to automatic review settings October 27, 2026 15:36
@rolfbjarne rolfbjarne added backported ready-to-review This PR is ready to review/merge. labels Oct 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The narrow changes preserve behavior and API compatibility; the remaining description mismatch is a non-blocking documentation correction.

1 open issue
What changed in this PR

Backports #26962’s targeted PoliCheck cleanup to the release branch while preserving public Apple bindings and runtime behavior.

Changes:

  • Updates 12 documentation/comment passages with revised terminology and wording.
  • Renames 25 internal AssemblyDefinition identifier tokens without changing behavior or XML output.
  • Adds 32 fingerprint-specific suppressions, including two for retained certificate attributions.
File Description
tools/​devops/​governance/​suppress.gdnsuppress Adds narrowly scoped, individually justified suppressions.
tools/​api-tools/​mono-api-info/​mono-api-info.cs Renames internal assembly identifiers.
src/​uikit.cs Corrects text-field documentation wording.
src/​passkit.cs Updates geographic and block-list terminology.
src/​NaturalLanguage/​Enums.cs Uses Bangla/Odia in language summaries.
src/​corespotlight.cs Updates geographic terminology and corrects a typo.
src/​corelocation.cs Updates placemark summary terminology.
src/​AddressBookUI/​ABAddressFormatting.cs Updates parameter documentation terminology.
src/​AddressBook/​ABPerson.cs Updates address-property summary wording.
src/​addressbook.cs Updates address-key summaries.
runtime/​xamarin-support.m Updates a locale fallback comment only.

Review effort: Balanced

"memberOf": [
"default"
],
"justification": "PoliCheck 79647 contextual false positive: the PKCS#12 bug-confirmation attribution in src/Security/Certificate.cs preserves Quinn's self-chosen Apple Developer Forums signature, as used in the linked reply (https://forums.developer.apple.com/forums/thread/31711). This is a proper-name attribution, not a reference to an ethnic group; retain the original name and technical quotation.",
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 444c5b572c73acaf3450a6db3b003d8ca5a2915a [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #444c5b5] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 269 tests passed 🎉

Tests counts

✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 7 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ linker (iOS): All 31 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 31 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 31 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 25 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 25 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 20 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 25 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Golden Gate (27): All 5 tests passed. Html Report (VSDrops) Download

Linux Build Verification

✅ Linux build succeeded

Pipeline on Agent
Hash: 444c5b572c73acaf3450a6db3b003d8ca5a2915a [PR build]

@rolfbjarne
rolfbjarne merged commit 032f3f5 into release/11.0.1xx Oct 27, 2026
56 checks passed
@rolfbjarne
rolfbjarne deleted the dev/rolf/backport-pr-26962-release/11.0.1xx-2026-10-27 branch October 27, 2026 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backported ready-to-review This PR is ready to review/merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants