From f18802e4fc13671f322603eff36cc0985bd2efc7 Mon Sep 17 00:00:00 2001 From: garrytan Date: Fri, 6 Nov 2026 12:00:49 +0000 Subject: [PATCH] docs: the UID sidecar proof counts only another declaration of the UID (GST-1604) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- docs/ship-policy.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/ship-policy.md b/docs/ship-policy.md index a829c89b1..b991a2fbb 100644 --- a/docs/ship-policy.md +++ b/docs/ship-policy.md @@ -1857,9 +1857,11 @@ reader, when all of these hold: whole content is `uid://` with an optional trailing `\n`: the id canonical (no leading `a` digit unless it is `a`), at most 13 digits and at most 2^63−1 (`d4n4ub6itg400`); -- no other file in the current tree names the same `uid://`: a copied - sidecar would give two resources one UID, and a scene that already refers - to the id leaves the `.uid` to a reader; +- no other file in the current tree declares the same `uid://`: another + `.uid` holding it, a `[gd_scene]` or `[gd_resource]` header, or an + `.import` file's `uid=` line. A copied sidecar would give two resources one + UID; a scene that only references the script by it (`[ext_resource … uid=]`) + doesn't count; - neither it nor its sibling matches the base policy's [`review_exclude_paths`](#review-exclude-paths) or `readers.forbid_paths`, since no reader saw an excluded script.