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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user