Register prepared glossary input identities

This commit is contained in:
2026-11-27 16:24:08 +00:00
parent caddd668ca
commit 1bb1daa1f2
8 changed files with 81 additions and 13 deletions

View File

@@ -158,6 +158,9 @@ func validateNotariusReferences(references map[string]string) error {
if source != strings.TrimSpace(source) {
return fmt.Errorf("pipeline.notarius.references.%s source must be normalized", selector)
}
if source == artifactpolicy.SourceInputGlossary {
return fmt.Errorf("pipeline.notarius.references.%s: replace %s with an explicit narratio.input.glossary.<party|campaign|setting|spells> source", selector, source)
}
if _, ok := artifactpolicy.DescribePreparedInputSource(source); !ok {
return fmt.Errorf("pipeline.notarius.references.%s source %q is not a supported prepared input source", selector, source)
}