docs(568): record the full-seeded-path builtIn discriminator in graphics-elements.md

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015QqCpYFsKgnAnx6jVwrKiV
This commit is contained in:
2026-09-05 21:35:14 +02:00
co-authored by Claude Fable 5.1
parent 900dac9832
commit c84bdd2427
+6 -2
View File
@@ -121,8 +121,12 @@ never overwrites an operator's file. Two rules govern it after that:
- Updating the shipped default → `graphics.seeded-template-upgrade-by-fingerprint`.
- It is attached to channels by default → `graphics.on-now-next-on-by-default`.
Identity is the **filename** (`GraphicsElementDefaults.OnNowNextFileName`), never the editable `Name`;
`GraphicsElementResponseModel.BuiltIn` is derived from it server-side so the SPA never name-matches.
Identity is the **full seeded path** (`GraphicsElementDefaults.OnNowNextSeededPath`), never the editable
`Name` and never the bare filename (`OnNowNextFileName`) alone — a filename-only, folder-agnostic
comparison let a user element named exactly `on-now-next.yml` in a different template folder also
report `builtIn:true` (#568). `GraphicsElementResponseModel.BuiltIn` and
`GraphicsElementSeeder.GetBuiltInElementId` both compare against the full path server-side so the SPA
never name-matches.
## Tests