Reserve Promptkit catalog profile names

This commit is contained in:
2026-09-22 12:17:41 +00:00
parent 02fd09955d
commit 4c3828857c
4 changed files with 42 additions and 0 deletions

View File

@@ -72,6 +72,10 @@ manifest, layout, profile ownership, inheritance, and secret-safety rules
before returning raw catalog sources. Internal engine assembly uses those validated
catalogs as the maintained lowest-precedence profile source.
Normalized external catalog profile IDs with the exact `promptkit-` prefix are
rejected at this adapter boundary. That reservation applies only to imported
catalogs; configured consumer sources retain the ordinary profile-ID rules.
The overlay repository consults the next repository only when the
higher-precedence repository reports that a profile is absent. A reliably
selected malformed profile stops fallback, while an unrelated malformed file